//Script to open trailers (in the center of the screen)
function trailer()
{
	var width = 360;
	var height = 150;
	//Accomodate the player control
	height = height + 160;
	var l,t;
	l = parseInt((screen.width-width)/2);
	t = parseInt((screen.height-height)/2);
	if (l < 0)
		l = 0;
	if (t < 0)
		t = 0;
	window.open("trailers/index.html","popup","toolbar=no,width="+width+",height="+height+",resizable=no, scrollbars=no, left="+l+", top="+t+"");
}
