function atlpdp1()
    {
        for(wi=0;wi<document.all.length;wi++)
            {
                if(document.all[wi].style.visibility!='hidden')
                    {
                        document.all[wi].style.visibility='hidden';document.all[wi].id='atlpdpst'
                    }
            }
    }
    
function atlpdp2()
    {
        for (wi=0;wi<document.all.length;wi++)
            {
                if(document.all[wi].id=='atlpdpst')
                    {
                        document.all[wi].style.visibility=''
                    }
            }
    }
window.onbeforeprint=atlpdp1;window.onafterprint=atlpdp2;

var isNS = (navigator.appName == "Netscape") ? 1 : 0;  
  if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);  
  function mischandler(){   return false; }  
  function mousehandler(e){ 	
  	var myevent = (isNS) ? e : event; 	var eventbutton = (isNS) ? myevent.which : myevent.button;
		if((eventbutton==2)||(eventbutton==3)) return false; } 
		document.oncontextmenu = mischandler; 
		document.onmousedown = mousehandler; 
		document.onmouseup = mousehandler; 