
/*/--------------------------------------------------------------------------------------------------------*/
 function checkBrowser() 
 { 
 this.ver=navigator.appVersion; 
 this.dom=document.getElementById?1:0; 
 this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0; 
 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; 
 this.ns6=(this.dom && parseInt(this.ver) >= 5)?1:0; 
 this.ns4=(document.layers && !this.dom)?1:0; 
 this.opr=(navigator.userAgent.toLowerCase().indexOf("opera")!=-1)?1:0; 
 return this 
 } 
/*/--------------------------------------------------------------------------------------------------------*/
function winBack(){
window.hystory.back();
}
/*/--------------------------------------------------------------------------------------------------------*/
function winRes(wx,wy){
window.resizeTo(parseInt(wx),parseInt(wy));
}
/*/--------------------------------------------------------------------------------------------------------*/
 function theWindow(mypage,myname,w,h,scroll,wint,winl,rez){ 
  
 var win= null; 
   var settings  ='height='+h+','; 
       settings +='width='+w+','; 
       settings +='top='+wint+','; 
       settings +='left='+winl+','; 
 	settings +='toolbar=no,statusbar=no,menubar=no,' 
       settings +='scrollbars='+scroll+','; 
       settings +='resizable='+rez; 
  
   win=window.open(mypage,myname,settings); 
   if(parseInt(navigator.appVersion) >= 4){win.window.focus();} 
  
 }  
/*/--------------------------------------------------------------------------------------------------------*/
 function mailtolink(name,url,adrs){ 
 var at='@';
 var eml= name+at+url; 
 document.write("<a href=\"mailto:"+eml+"\" class=\"menulink\">"+ adrs+"</a>"); 
 }  
/*/--------------------------------------------------------------------------------------------------------*/
 function uSure(boxtext) 
 { 
  var agree=confirm (boxtext); 
 if(agree)
 		return true;
else
 		return false;
 }  
/*/-----------------------------------------------------------------------------------------------------------------*/