// JavaScript Document
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

function MM_popupMsg(msg) {
  alert(msg);
}

/* No Right Click. Written by PerlScriptsJavaScripts.com
Copyright http://www.perlscriptsjavascripts.com Free and commercial Perl and JavaScripts     */

isNN = document.layers ? 1 : 0;
function noContext(){return false;}

function noContextKey(e) {
   if(isNN){
       if (e.keyCode == 96){ return (false);}
   } else {
       if (event.keyCode == 96){ return (false);}
   }
}

function noClick(e){
   if(isNN){
       if(e.which > 1) {return false;}
   } else { if(event.button > 1){return false;}
   }
}

if(isNN){ document.captureEvents(Event.MOUSEDOWN);
}

document.oncontextmenu = noContext;
document.onkeypress    = noContextKey;
document.onmousedown   = noClick;
document.onmouseup     = noClick; 