function openWin(url) {
	// get the height/width of the user's screen
	var screenHeight = screen.availHeight;
	var screenWidth = screen.availWidth;

	// set the desired height/width of the new window
	var winHeight = 380;
	var winWidth = 444;

	// calculate the exact center
	var winY = Math.round(((screenHeight/2)-(winHeight/2))-50);
	var winX = Math.round((screenWidth/2)-(winWidth/2));

	// open the window at the correct position
	var theWin = window.open(url, "video_window", "width="+winWidth+",height="+winHeight+",top="+winY+",left="+winX+",location=true,resizable=true,menubar=true,titlebar=true");

	// bring the window to the front
	theWin.focus();
}