function videoPop(cont) {
	
	var w = 427;
	var left = (screen.width - w) / 2;
	
	document.getElementById(cont).style.left = left + "px";
	
	document.getElementById('msgpopbg').style.display = 'block';
	document.getElementById(cont).style.display = 'block';	
	
}

function msgPopHide(cont) {
	document.getElementById('msgpopbg').style.display = 'none';
	document.getElementById(cont).style.display = 'none';	
}





function showstuff(){
	if(document.getElementById('whatisoffsetting').style.display == "block"){
		document.getElementById('whatisoffsetting').style.display = "none";
	} else {
		document.getElementById('whatisoffsetting').style.display = "block";
		document.getElementById('showlink').style.display = "none";
	}
}

<!-- Popup and Form validation code --->
function NewWindow(mypage, myname, w, h, scroll) {
	
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+''
	win = window.open(mypage, myname, winprops)
	
	if (parseInt(navigator.appVersion) >= 4) {
		win.window.focus();
	}
}