function centerPopup(mypage, myname,h,w, scroll) {
    var obj = document.getElementById("NSPlay");
    //alert(obj);
    if( obj!=null && obj.playState == 3){
		obj.controls.pause();
		playStyle();
    } 
	 h = 550;
	 w = 751;
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2 -20;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no,toolbar=no, menubar=no,resizable=no,location=no, status=no'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

