var ie4=document.all;
var ns4=document.layers;
var ie5=navigator.appVersion;
if(ie4){
    if(ie5.indexOf("MSIE 5")<0){ // Remove for forms and embedded controls
        document.onmousedown=iecapture;
        document.onmouseup=iecapture;
        document.onclick=iecapture;
        document.ondblclick=iecapture;
    } // Remove for forms and embedded controls
}else if(ns4){
    window.captureEvents(Event.MOUSEDOWN)
    window.onmousedown=nscapture
}
function iecapture(){
    var el=event.srcElement;
    if(event.button==2){
        if((el.tagName!="INPUT")&&(el.tagName!="TEXTAREA")&&(el.tagName!="SELECT")&&(el.tagName!="OBJECT")&&(el.tagName!="EMBED")){
            alert('©1998-2005 Three Point One - All Rights Reserved.');
        }
    }
}
function nscapture(ev){
    if(ev.which!=1){
	alert(' ©1998-2005 Three Point One - All Rights Reserved.');	
        return false;
    }
}

function VersionNavigateur(Netscape, Explorer) {
  if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') ||      
      (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))
    return true;
else return false;
}

function restrict(){
  if(event.button==2)
   alert("©1998-2005 Three Point One - All Rights Reserved.");
 }
 document.onmousedown=restrict;
function newWindow(file,window) {
    msgWindow=open(file,window,'resizable=no, scrollbars=1, width=550, height=350, left=120,right=5');
    if (msgWindow.opener == null) msgWindow.opener = _MAIN;
}

function stat(txt) {
    window.status = txt;
	return true;
    } 

function mOvr(src,id) { 
if (!src.contains(event.fromElement)) {
document.all.primnav.rows(0).cells(id).bgColor = '#FACD45';
}
}
function mOut(src,id) { 
if (!src.contains(event.toElement)) {
document.all.primnav.rows(0).cells(id).bgColor = '#000066';
}
}
