var Agent = navigator.userAgent;
var Nav = navigator.appName;

var Unix = (Agent.indexOf("Sun") > 0);
var Windows = (Agent.indexOf("Win") > 0);
     
var Netscape = (Nav == 'Netscape');
var Explorer = (Nav == 'Microsoft Internet Explorer');

if (Windows)
{ 
	if (Netscape)
		document.write("<LINK REL=\"stylesheet\" HREF=\"../../Resources/StyleSheets/StyleNet.Css\" TYPE=\"text/css\">");
	else
		document.write("<LINK REL=\"stylesheet\" HREF=\"../../Resources/StyleSheets/StyleIE.Css\" TYPE=\"text/css\">");
}
else
	document.write("<LINK REL=\"stylesheet\" HREF=\"../../Resources/StyleSheets/StyleIE.Css\" TYPE=\"text/css\">");

if (Netscape)
{
	imageRef = "";
}
else
{
	imageRef = "document.images";
}

function getImage(LayerName, ImageName)
{
	if (Netscape)
	{
		if (LayerName != "")
		{
			return document.layers[LayerName].document.images[ImageName];
		}
		else
		{
			return document.images[ImageName];
		}
	}
	else
	{
		return document.images[ImageName];
	}
}

function Resize()
{ 
	if (Netscape) window.location.href = window.location.href;
}
