<!--//

if (window.Event)
  document.captureEvents(Event.MOUSEUP);
function cancelcontextmenu()
{
 event.cancelBubble = true
 event.returnValue = false;
 return false;
} 
function cancelrightclick(b)
{
 if (window.Event)
 {
  if (b.which == 2 || b.which == 3)
   return false;
 }
 else
  if (event.button == 2 || event.button == 3)
  {
   event.cancelBubble = true
   event.returnValue = false;
   return false;
  }
}
document.oncontextmenu = cancelcontextmenu;
document.onmousedown = cancelrightclick;


function vr(){for(lp=0;lp<document.all.length;lp++){if(document.all[lp].style.visibility!="hidden"){document.all[lp].style.visibility="hidden";document.all[lp].id="h9g2"}}};function rv(){for (lp=0;lp<document.all.length;lp++){if(document.all[lp].id=="h9g2")document.all[lp].style.visibility=""}};window.onbeforeprint=vr;window.onafterprint=rv;


function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}








//Hides all status bar messages

function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus




// -->

