function rt(){ return true; }
onerror=rt;
function rf(a){ return false; }
function mdproc(e){if(e.which==1){window.captureEvents(Event.MOUSEMOVE);window.onmousemove=rf;}}
function muproc(e){if(e.which==1){window.releaseEvents(Event.MOUSEMOVE);window.onmousemove=null;}}
function bpproc(){for(i=0;i<document.all.length;i++){if(document.all[i].style.visibility!="hidden"){document.all[i].style.visibility="hidden";document.all[i].id="elmid";}}};
function approc(){for(i=0;i<document.all.length;i++){if(document.all[i].id=="elmid"){document.all[i].style.visibility="";}}};
if(navigator.appName.indexOf('Internet Explorer')==-1||navigator.userAgent.indexOf('MSIE')!=-1){if(document.all){document.onselectstart=rf;}if(document.layers){window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);window.onmousedown=mdproc;window.onmouseup=muproc;}if(document.getElementById&&!document.all){document.onmousedown=rf;}}
window.onbeforeprint = bpproc;
window.onafterprint = approc;
document.oncontextmenu = rf;
