function browserCheck() {
	if (document.all) {
		// IE4+
		type = "IE";
	} else if (!document.all && document.getElementById) {
		// Mozilla / NS6+
		type = "MO";
	} else if (document.layers) {
		// NS4
		type = "NN";
	} else if (navigator.userAgent.indexOf("Opera") != -1 && document.getElementById) {
		// Opera
		type = "OP";
	} else {
		// All others, default to Mozilla / NS6+
		type = "MO";
	}
	return type;
}

function closePreloader() {
	if (browserCheck() == "IE") {
		document.all.PRELOADER.style.visibility = "hidden";
		document.all.MASTER_TABLE.style.visibility = "visible";
	} else if (browserCheck() == "MO" || browserCheck() == "OP") {
		document.getElementById("PRELOADER").style.visibility = "hidden";
		document.getElementById("MASTER_TABLE").style.visibility = "visible";
	} else if (browserCheck() == "NN") {
		document.PRELOADER.visibility = "hidden";
		document.MASTER_TABLE.visibility = "visible";
	}
	return;
}

if (document.documentElement.scrollHeight && document.documentElement.scrollWidth) {
	// IE5+
	tH = document.documentElement.scrollHeight;
	tW = document.documentElement.scrollWidth;
} else if (document.body) {
	// IE4
	tH = document.body.scrollHeight;
	tW = document.body.scrollWidth;
} else if (document.Page.document.height && document.Page.document.width) {
	// NS4+
	tH = document.Page.document.height;
	tW = document.Page.document.width;
} else {
	tH = window.innerHeight;
	tH = window.innerWidth;
}
sH = screen.width;
sW = screen.height;
bH = tH / 2;
bW = tW / 2;
xHT = bH / 1.25;
/*
 * OPEN DIV
 */
document.write('<table id="PRELOADER" border="0" class="PRELOADER"><tr><td class="PRELOADER">');
document.write('<div class="PRELOADER">');
document.write('<img src="img/nil.gif" border="0" width="1" height="'+xHT+'"><br>');
document.write('<div class="PRELOADER_COMMENTS">');
document.write('<img src="img/loading2.gif" border="0"><br>');
document.write('<br><form name="preloadscrform"><input class="preloadscr" type="text" name="preloadscr" value=""></form><br>');
/*
 * Close DIV
 */
document.write('<br><font color="#ACACAC"></font><br>');
document.write('</div></div>');
document.write('</td></tr></table>');
  