function bCheck(){this.platform = navigator.platform;this.rawName = navigator.appName;this.rawVersion = navigator.appVersion;	this.specVersion = parseFloat(this.rawVersion);	this.version = parseInt(this.rawVersion);	this.ie = (this.rawName == "Microsoft Internet Explorer");	this.ie4 = (this.rawVersion.indexOf('MSIE 4') > 0);	this.ie5 = (this.rawVersion.indexOf('MSIE 5') > 0);	this.ns = (this.rawName == "Netscape");	this.ns4 = (this.rawName == "Netscape" && this.version == 4);	this.ns408 = (this.rawName == "Netscape" && this.specVersion == 4.08);	this.ns5 = (this.rawName == "Netscape" && this.version == 5);	this.ns6 = (this.rawName == "Netscape" && this.version == 6);		this.win = (this.platform.substr(0, 3) == "Win");	this.mac = (this.platform.substr(0, 3) == "Mac");}var is = new bCheck();var gtg = true;function xp(layerName, parent, x){	if(is.ie)	{		if(x)			var layerPath = "document.all." + layerName;		else			var layerPath = "document.all." + layerName + ".style";		return layerPath;	}	else if(is.ns && parent)// ------------------- creates a layer path for netscape	{		if(parent.indexOf(',') > 0)// ------------ runs only when there are multiple parents		{				var commaLoc = parent.indexOf(',');			var p = "";			while(commaLoc > 0)			{				p += parent.slice(0, commaLoc) + ".document.";				parent = parent.substring(commaLoc + 1);				commaLoc = parent.indexOf(',');				if(commaLoc > 0)					p += ".document.";				else					p += parent + ".document.";			}			parent = p;			var layerPath = "document." + parent + layerName;		}		else			var layerPath = "document." + parent + ".document." + layerName;				return layerPath;	}	else if(is.ns)// --------------------------- Runs only if there is no parent	{		var layerPath = "document." + layerName;		return layerPath;	}}function translator(){	this.top = (is.ie)? ".pixelTop" : ".top";	this.left = (is.ie)? ".pixelLeft" : ".left";	this.layerHeight = (is.ie)? ".scrollHeight" : ".document.height";	this.layerWidth = (is.ie)? ".scrollWidth" : ".document.width";}var xcss = new translator();// Slide Globals and definitionsvar parentLayer = "newsFrame";var childLayer = "newsContent";var originalPath = 'x';			function setGlobals(child, parent){	parentLayer = parent;	childLayer = child;	originalPath = xp(childLayer, parentLayer);}////////////////////////var rCount = 0;function reSetter(){	if (gtg && !(is.ns408 && is.win) && is.ns)	{		location.reload();	}	else if (is.ns408)	{		rCount++;		if(rCount == 2) {			rCount = 0;			location.reload();		}	}}////////////////////////// Layer Manipulationfunction show(layerName, parent){	layerPath = eval(xp(layerName, parent));	layerPath.visibility = "visible";}function hide(layerName, parent){	layerPath = eval(xp(layerName, parent));	layerPath.visibility = "hidden";}// Layer Slide Functionsfunction slide(layerName, speed, parent){	if(!(is.mac && is.ie4))	{		path = eval(xp((layerName + "2"), parent));		path.visibility = "visible";		setGlobals(layerName, parent);		initvar = setInterval("slideFunc()", speed);	}	else	{		obsBrowser = true;	}}function slideFunc(){	var currPath = xp(childLayer, parentLayer);	var currPos = eval(currPath + xcss.top);	var currPath2 = xp((childLayer + "2"), parentLayer);	var currPos2 = eval(currPath + xcss.top);	if(is.ie)	{		var currXPath = xp('newsContent', 'newsFrame', '1');		var height = eval(currXPath + xcss.layerHeight);		var currXPath2 = xp('newsContent2', 'newsFrame', '1');		var height2 = eval(currXPath2 + xcss.layerHeight);	}	else	{		var height = eval(currPath + xcss.layerHeight);		var height2 = eval(currPath2 + xcss.layerHeight);	}	var newPath = eval(currPath);	var newPath2 = eval(currPath2);	if(currPos >= (-height))	{		//newPath2.visibility = "hidden";		newPath.top = currPos - 1;		newPath2.top = eval(currPath + xcss.top) + height;	}	else if(currPos2 <= ((-height)+176))	{		//newPath2.visibility = "visible";		newPath2.top = currPos - 1;		newPath.top = eval(currPath2 + xcss.top) + height2;	}	else		newPath.top = 176;}// end of news section////////////////////////// New Window Functionsfunction bathPop(URL, name, width, height){	var glossPop = open(URL, 'DigitalBath', "height=" + height + ",width=" + width + ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no");}////////////////////////
