
// <SCRIPT language=JavaScript>
IE4plus = (document.all) ? true : false;
NS4 = (document.layers) ? true : false;
function clickIE()
{
 return false;
}
function clickNS(e)
{
 if (e.which==2 || e.which==3) 
 {
 return false;
 }
}
if (!IE4plus) 
{
 document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
 document.onmousedown=clickNS;
 document.onmouseup= clickNS;
 document.oncontextmenu=clickIE; // For NS 6+
} 
else 
{
 document.onmouseup= clickIE;
 document.oncontextmenu=clickIE;
}

/* </SCRIPT>
<!--End no right click script-->
<SCRIPT type=text/javascript>
*/
/***********************************************
* Disable select-text script- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("|")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}

// </SCRIPT>
