function check()
{
	checkBrowserVer('','older_browser.html');
}

function preLoad (imgfile)
{
	Cache = new Image();
	eval ("Cache.src = \"" + p + imgfile + "\"");
}

function init()
{
	NS4 = (document.layers);
	IE4 = (document.all);
	nummenus = 12;
	NS4 = (document.layers);
	IE4 = (document.all);

        if (NS4)
		{
			widthCheck = window.innerWidth;
			heightCheck = window.innerHeight;
			window.onResize = resizeFix;
                }

	preLoad ('images/clear.gif');
}

function resizeFix()
{
	if (widthCheck != window.innerWidth || heightCheck != window.innerHeight)
	self.location.reload();
}

function SwitchImage(imgSource,imgName)
{
	if (document.images[imgName])
	{
		document.images[imgName].src = imgSource;
		return true;
	}
}

function checkBrowserVer(four,notfour)
{
	if (navigator.appVersion.indexOf('4.') != -1)
	{
		if (four) location.href = four;
	}
	else
	{
		if (notfour) location.href = p + notfour;
	}
}

function checkIt()
{
	if (navigator.appVersion.indexOf("(X11") != -1 || navigator.appVersion.indexOf("(Mac") != -1) return 1
        else return 0
}

function closed()
{
	return true;
}

