function duk_checkBrowser()
{
	this.ver=navigator.appVersion; this.dom=document.getElementById?1:0;
	this.mac=(this.ver.indexOf("PPC")!= -1)?1:0;	this.win=(this.ver.indexOf("Win")!= -1)?1:0;
	this.ie5up=(this.ver.indexOf("MSIE") && this.dom && parseInt(this.ver) >= 4) ?1:0;
	this.ie4=(document.all && !this.dom)?1:0; this.ie=(this.ie5up || this.ie4);
	this.ns5up=(this.ver.indexOf("MOZILLA") && this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0; this.ns=(this.ns4 || this.ns5up);
	this.duk=(this.ie || this.ns);
	return this;
}
duk=new duk_checkBrowser();

// reload the window if Nav4 resized //
function duk_reloadPage(init)
{
	if (init==true) with (navigator)
		{
			if ((appName=="Netscape")&&(parseInt(appVersion)==4))
			{
				document.duk_pgW=innerWidth; document.duk_pgH=innerHeight; onresize=duk_reloadPage;
			}
		}
	else if (innerWidth!=document.duk_pgW || innerHeight!=document.duk_pgH) location.reload();
}
duk_reloadPage(true);