function closeDiv() { 
	var fl = document.getElementById('floatLayer').style; 
	fl.display="none"; 
	return false; 
} 

window.onerror = null; 
var topMargin = 150; 
var slideTime = 2500; 
var ns6 = (!document.all && document.getElementById); 
var ie4 = (document.all); 
var ns4 = (document.layers); 

function layerObject(id,_top) { 
	if (ns6) { 
		this.obj = document.getElementById(id).style; 
		this.obj.top = _top; 
		return this.obj; 
	} 
	else if(ie4) { 
		this.obj = document.all[id].style; 
		this.obj.top = _top; 
		return this.obj; 
	} 
	else if(ns4) { 
		this.obj = document.layers[id]; 
		this.obj.top = _top; 
		return this.obj; 
	} 
} 

function layerSetup() {
	pos = pageHeight + 3000
	floatLyr = new layerObject('floatLayer', pos); 
	main(pos);
} 

function floatObject() { 
	if (ns4 || ns6) { 
		findHt = window.innerHeight; 
	} else if(ie4) { 
		findHt = document.body.clientHeight; 
	} 
} 

function main(pos) { 
	if (ns4) { 
		this.currentY = pos; 
		this.scrollTop = window.pageYOffset; 
	} 
	else if(ns6) { 
		this.currentY = pos; 
		this.scrollTop = scrollY; 
	} else if(ie4) { 
		this.currentY = pos; 
		this.scrollTop = document.body.scrollTop; 
	} 
} 

function start() { 
	if(ns6||ns4) { 
		pageHeight = innerHeight; 
		layerSetup(); 
		floatObject(); 
	} 
	else if(ie4) { 
		pageHeight = document.body.clientHeight; 
		layerSetup(); 
		floatObject(); 
	} 
} 