//{
//	document.onload = cssVerScrolls("hidden");
//	alert("1");
//	function cssVerScrolls(val){
//		if (document.body.style.overflowY = val) {
//			alert("function ran");
//		} else {
//			alert("failed");
//		}
//	}
//	alert("2");
//}



// Sets up default WinW value
var winW = 800;

function cssVerScrolls() {
	
	if (parseInt(navigator.appVersion)>3) {
		if (navigator.appName=="Netscape") {
			winW = window.innerWidth;
		}
		if (navigator.appName.indexOf("Microsoft Internet Explorer")!=-1) {
			winW = document.body.offsetWidth;
		}
	}
	if (winW < 800) {
		winW = 800;
	}
	document.getElementById("main_BufPuf_Splash").style.width = winW;
}

// Add 1px white line above first lsn0
var rc=0;
function lsn01px() {
	var lsn0div_change = document.all ? document.all.tags("div") : document.getElementsByTagName("div");
	for (rc=0; rc < lsn0div_change.length; rc++) {
		if (lsn0div_change[rc].className == "lsn0")
		{
			// IE
			lsn0div_change[rc].style.borderTop = "solid #ffffff 1px";  // Adds 1px white border to EWCD lsn0 div
			// Mozilla
			if (!document.all) lsn0div_change[rc].style.borderTop = "solid #ffffff 1px";
			rc = lsn0div_change.length;
		}
	}
}
