// Get screen width
var winX = screen.width;
var winY = screen.height;

function openwin(url,w,h){
	x = (winX-w)/2;
	y = ((winY-h)/2)-5;
	newWin=window.open(url,"Videos","Width="+w+",Height="+h+",left="+x+",top="+y+",resize=no,toolbar=no,status=no");
	newWin.focus();
}