// start: get generic browser type
NN = (navigator.appName == "Netscape" && navigator.appVersion.charAt(0) != "5")?true:false;
IE = (navigator.appName != "Netscape")?true:false;


// start: select the appropriate stylesheet
if (!path) var path = ""; // if the path variable was set before the call to this (.js) file

if (NN)
	document.write("<LINK REL=stylesheet HREF=\""+path+"inc/nn4.css\" TYPE=\"text/css\">");
else
	document.write("<LINK REL=stylesheet HREF=\""+path+"inc/default.css\" TYPE=\"text/css\">");

	
// start: mouseover script and image preloader
	
function msover(img,ref)
	{
			document.images[img].src = ref;
	}

function msout(img,ref)
	{
			document.images[img].src = ref;
	}

function getProtocol() {
	return (document.location.href.toLowerCase().indexOf("https") == 0) ? "https" : "http";
}