function BrowserCheck() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.ns = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	this.min = (this.ns||this.ie)
}

is = new BrowserCheck()

/*======================================================================
   Calls functions that are needed onload for all reports.
====================================================================== */
function reportInit(){
	if (self != top){
		//disables stylesheet in IE 4 for Mac
		if ((top.PRIMARY.BN == "e") && ((top.PRIMARY.BP == "macPPC") || (top.PRIMARY.BP == "mac68k")) && (top.PRIMARY.BV >= 4)){
		   links = document.all.tags("link");
		   links[0].disabled=true;
		}
		top.PRIMARY.updateMenu('trek');
		storeReportCookie();
		updateMagnifierPosition();
		top.PRIMARY.reloadAd();
	}else{
		document.onmousedown = mouseDown
		if (is.ns) document.captureEvents(Event.MOUSEDOWN)
	}
}

function mouseDown(e) {
	return false
}