function playVideoPopup(url,width,height){
	extTab	= url.toLowerCase().split(".");
	ext		= extTab[extTab.length - 1];
	
	videoUrl = ext=="flv" ? "/flvPlayer/index.php?file="+url+"&width="+width+"&height="+height : url;
		
	var mywindow = window.open(videoUrl,"videoPopup",'location=0,toolbar=0,menubar=0,directories=0,status=0,scrollbars=0,width='+width+',height='+height+',resize=no');
	mywindow.title	= "Video";
	/*
	width  	auto  	specifies width of the new window in pixels
	height 	auto 	height of the window in pixels
	top 	auto 	specifies window position
	left 	auto 	specifies window position
	directories 	no 	should the directories bar be shown? (Links bar)
	location 	no 	specifies the presence of the location bar
	resizable 	no 	specifies whether the window can be resized.
	menubar 	no 	specifies the presence of the menu bar
	toolbar 	no 	specifies the presence of the toolbar
	scrollbars 	no 	specifies the presence of the scrollbars
	status 	no 	specifies the presence of the statusbar
	*/
}
