// -----------------------
// DESCRIPTION: browser sniff
// ARGUMENTS: --
// RETURN: br, platform
// -----------------------
function GetBr() {
	var agt = navigator.userAgent.toLowerCase();
	var browser = navigator.appName.toLowerCase();
	var isNav = (browser=="netscape");
	var isMac = (agt.indexOf("mac") != -1);
	if (isMac)	{
		platform='mac';
	} else {
		platform='pc';
	}
	if (agt.indexOf("msie") !=-1) {
		if( platform=='mac') {
			if (agt.split(";")[1].substr(6) < 5)
				br = 'ie4';
			else
				br = 'ie5';
		} else {
			br ='ie';
		}
	}
	if (isNav && agt.indexOf("netscape6") != -1) { 
		br='nn6';
	} else if (isNav) { 
		 br='nn4'
	};
	return br;
	return platform;
}
// -----------------------
// DESCRIPTION: dynamically creates the link to the stylesheet based on browser and platform
// ARGUMENTS: --
// RETURN: --
// -----------------------
function WriteValues() {
	GetBr();
	style = "/common/styles/" + br + platform + "_style.css";
	document.write('<link rel="stylesheet" href="' + style + '" type="text/css" />');
}
WriteValues();
// -----------------------
// DESCRIPTION: popup window
// ARGUMENTS: --
// RETURN: open intersitial window, then close if continue
// -----------------------

function go(newURL) {
	alert(newURL);
    location.href='nextpage.html?' + escape(newURL);
}

function interstitialPopUp() {
 window.open('/common/handshake.html','popup','top=200,left=200,width=520,height=370');
}

 var storage=new Object();
 storage.path=new String();

