function findWH() {
winW = (is.ns)? window.innerWidth : document.body.offsetWidth
winH = (is.ns)? window.innerHeight : document.body.offsetHeight
}

function makeLiquid() {
if ((is.ns && (winW!=window.innerWidth || winH!=window.innerHeight)) || is.ie)
history.go(0)
}

function BrowserCheck() {
	var b = navigator.appName
	if (b.indexOf("Netscape")!=-1) this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.ns = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	this.min = (this.ns||this.ie)
	this.mac = (this.version.indexOf('Macintosh')>0)
}

is = new BrowserCheck()

findWH()

appleft=winW/2 - 740/2
apptop=winH/2 - 410/2

DIVname='lay';

DIVtag='<DIV id="'+DIVname+'" style="position:absolute; left:'+appleft+'px; top:'+apptop+'px; width:740px; z-index:1; visibility: visible">';
document.write(DIVtag)

