var frame_url = encodeURI(window.location.pathname+window.location.search);
var frame_host =  window.location.hostname;
document.write('<script language="JavaScript1.2">')
document.write('function disableselect(e){')
document.write('return false')
document.write('}')
document.write('function reEnable(){')
document.write('return true')
document.write('}')
document.write('document.onselectstart=new Function ("return false");')
document.write('if (window.sidebar){')
document.write('document.onmousedown=disableselect')
document.write('document.onclick=reEnable')
document.write('}')
document.write('</script>')