function openVideo(url)
{
	openWin(url,"video",350,320,0,0,0,0,0);
}
//	Opens a new window with specified properties
function openWin(url,name,w,h,scroll,resize,status,title,tool)
{
	var sFeatures;
	if (typeof(h) == "undefined") h = 300;
	if (typeof(w) == "undefined") w = 400;
	var screenW = screen.width;
	var screenH = screen.height;
	var posX = (screenW/2)-(w/2);
	var posY = (screenH/2)-(h/2);
	sFeatures = "top="+posY+",left="+posX+",height="+h+",width="+w;
	if (typeof(scroll) != "undefined"){ sFeatures += ",scrollbars=" + scroll; }
	if (typeof(resize) != "undefined"){ sFeatures += ",resizable=" + resize; }
	if (typeof(status) != "undefined"){ sFeatures += ",status=" + status; }
	if (typeof(title) != "undefined"){ sFeatures += ",titlebar=" + title; }
	if (typeof(tool) != "undefined"){ sFeatures += ",toolbar=" + tool; }
	
//	alert(sFeatures);
	var win = window.open(url,name,sFeatures);
	win.focus();
}
