//<html>
//<head><META NAME="GENERATOR" CONTENT="PageID 6 - generated by RedDot 4.0 - 4.0.2.12 - b-8HV"/>
//<title>checkstyle.js</title>
//<head><META NAME="GENERATOR" CONTENT="PageID 6 - generated by RedDot 4.0 - 4.0.2.12 - b-8HV"/>
//<body>

//<!-- template="con_901_js" title="checkstyle.js" ownID="6" ownURL="/sys/js/checkstyle.js" -->
//Default browsercheck, added to all scripts!

bw = new checkBrowser();

/*Set these values, gright for how much from the right you wan't the layer to go
and gbottom for how much from the bottom you want it*/
var gright=750
var gbottom=30
var pageWidth=0


/********************************************************************************
Redirect incompatible browsers 
********************************************************************************/
if( parseInt(bw.ver) <= 3 ||  ( bw.mac && bw.ie4  ) ) {
	if( self.location.href.indexOf("/d_") > -1 || self.location.href.indexOf("_d.") > -1 ) {
	   top.location="d_oldbrowser.htm"; }
	else {
	   top.location="e_oldbrowser.htm"; }	
}	


/********************************************************************************
Constructing the Style Sheet for PC or MAC
********************************************************************************/

if(bw.mac) document.write('<link rel="STYLESHEET" type="text/css" href="sys/css/mac.css">')
else document.write('<link rel="STYLESHEET" type="text/css" href="sys/css/pc.css">')

function checkBrowser(){
  this.ver=navigator.appVersion
  this.dom=document.getElementById?1:0
  this.mac=(this.ver.indexOf("Mac")>-1)?1:0;
  this.ie6=((this.ver.indexOf("MSIE 6")>-1) && this.dom)?1:0;
  this.ie5=this.ie6 || ((this.ver.indexOf("MSIE 5")>-1) && this.dom)?1:0;
  this.ie4=(document.all && !this.dom)?1:0;
  this.ns5=(this.dom && (parseInt(this.ver) >= 5)) ?1:0;
  this.ns4=(!document.all && !this.dom)?1:0;
  this.ie =(this.ver.indexOf("MSIE")>-1)?1:0;
  this.ns = navigator.appName.indexOf("etscape")?1:0;
  this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5 || this.ie6);
  return this;
}

//</body>
//</html>
//io need this
//