//no right click - accounts for Netscape4+ and IE4+

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}

if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

//defines function key to prevent use of control keys
/// THIS STILL NEEDS aRK
function controlClickIE() {if (document.all) {(message);return false;}}
function controlClickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which!=2||e.which!=3) {(message);return false;}}}

if (document.layers) 
{document.captureEvents(Event.KEYDOWN);document.onkeydown=controlClickNS;}
else{document.onkeyup=controlClickNS;document.oncontextmenu=controlClickIE;}

document.oncontextmenu=new Function("return false")

/// ALSO NEED FUNCTION TO RELOAD DOCUMENT WHEN WINDOW IS RESIZED

// defines function to reload browser if window is resized


//end function 

// end script hiding from old browsers -->

function MM_1100checkBrowser(NSvers,NSpass,NSnoPass,IEvers,IEpass,IEnoPass,OBpass,URL,altURL) { //v4.0
  var newURL='', verStr=navigator.appVersion, app=navigator.appName, version = parseFloat(verStr);
  if (app.indexOf('Netscape') != -1) {
    if (version >= NSvers) {if (NSpass>0) newURL=(NSpass==1)?URL:altURL;}
    else {if (NSnoPass>0) newURL=(NSnoPass==1)?URL:altURL;}
  } else if (app.indexOf('Microsoft') != -1) {
    if (version >= IEvers || verStr.indexOf(IEvers) != -1)
     {if (IEpass>0) newURL=(IEpass==1)?URL:altURL;}
    else {if (IEnoPass>0) newURL=(IEnoPass==1)?URL:altURL;}
  } else if (OBpass>0) newURL=(OBpass==1)?URL:altURL;
  if (newURL) { window.location=unescape(newURL); document.MM_1100returnValue=false; }
}

function MM_1100preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_1100p) d.MM_1100p=new Array();
    var i,j=d.MM_1100p.length,a=MM_1100preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_1100p[j]=new Image; d.MM_1100p[j++].src=a[i];}}
}
//-->