/* Open popup window */
function launchWin(winurl,winname,W,H,X,Y,S) {

	X=X||Math.ceil((screen.width-W)/2);
	Y=Y||Math.ceil((screen.height-H)/2);
	features='directories=0,fullscreen=0,location=0,menubar=0,status=1,toolbar=0,scrollbars=1';
	
	myke = window.open(winurl,winname,'width='+W+',height='+H+',screenX='+X+',screenY='+Y+',left='+X+',top='+Y+','+features);
}
