// JavaScript Document
	var params     = {};
	var flashvars  = {};
	var attributes = {};
	
	params.loop               = "false";
	params.menu               = "true";
	params.quality            = "autohigh"; // dunno if this does anything
	params.bgcolor            = "#FFFFFF";
	params.allowfullscreen    = "true";
	params.allowscriptaccess  = "always";
	params.wmode 			  = "transparent";
	
	
	//flashvars.file             = "<%=request.QueryString("file")%>.flv";
	flashvars.displaywidth     = "512";
	flashvars.displayheight    = "384";
	flashvars.autostart    = "true";
	
	/* Redeclare width & height for IE
	   Set the stage height 2px smaller
	   than (displayheight plus controller)
	   to remove that nasty bar at the bottom
	*/
	flashvars.width            = "512"; 
	flashvars.height           = "384";
	flashvars.usefullscreen    = "true";
	flashvars.screencolor      = "000000";
	flashvars.lightcolor       = "FFFFFF";
	flashvars.frontcolor       = "FFFFFF";
	flashvars.backcolor        = "000000";
	flashvars.overstretch      = "true";
	flashvars.thumbsinplaylist = "false";
	flashvars.showicons        = "false";
	flashvars.enablejs         = "true";
	flashvars.javascriptid     = "mpl";
	
function video() {
	swfobject.embedSWF("swf/player.swf", "flashcontent", "320", "240", "8.0.0", false, flashvars, params, attributes);
}

function checkVideo(flv) {
	if (document.getElementById("lista_filmati")) {
		if (document.getElementById(flv)) {
			document.getElementById(flv).style.textDecoration = "underline";
			document.getElementById(flv).style.fontWeight = "bold";
		}
		var others = document.getElementById("lista_filmati").getElementsByTagName("a");
		//alert(others);
		for (i=0; i<others.length; i++) {
			var other = others[i];
			//alert(flv +" | "+ other.id);
			if (other.id != flv) {
				document.getElementById(other.id).style.textDecoration = "none";
				document.getElementById(other.id).style.fontWeight = "normal";
			}
		}
	}
}