function checkBrowserForVersion()
{
	appName = navigator.appName;
	var appVersion = navigator.appVersion.substring(0, 1)
	if (appName == "Microsoft Internet Explorer")
	{
		bMSIE = true;
		if (appVersion > 3)
			bCanRotateImages = true;
	}
	else if (appName == "Netscape"  &&  appVersion > 2)
  		bCanRotateImages = true;
		
	if (appVersion >= 4)
		setBrowserVariables(appName), setLogoLocation();
}
function setBrowserVariables(appName)
{
	if (appName == "Microsoft Internet Explorer")
	{
		doc = "";
		style = ".style";
		horz = ".pixelLeft";
		vert = ".pixelTop";
		innerW = "document.body.clientWidth";
		innerH = "document.body.clientHeight";
		offsetX = "document.body.scrollLeft";
		offsetY = "document.body.scrollTop";
		offsetFromRight = 50;
		offsetFromBottom = 40;
	}
	else
	{
		doc = "document.";
		style = "";
		horz = ".left";
		vert = ".top";
		innerW = "window.innerWidth";
		innerH = "window.innerHeight";
		offsetX = "window.pageXOffset";
		offsetY = "window.pageYOffset";
		offsetFromRight = offsetFromBottom = 87;
	}
}
function setLogoLocation()
{
	x = eval(innerW) - offsetFromRight + eval(offsetX)
	y = eval(innerH) - offsetFromBottom + eval(offsetY);
	eval(doc + "logo" + style + horz + "=" + x);
	eval(doc + "logo" + style + vert + "=" + y);
	setTimeout("setLogoLocation()", 400);
}
