function opener( movie, didas, titule )
{
	var body = document.getElementsByTagName("body")[0];
	
	if ( document.getElementById('divone') )
	{
		body.removeChild ( document.getElementById( 'divone' ) );
	}
	
	var divone = document.createElement('div');
	divone.id = ( 'divone' );
	divone.style.position = 'absolute';
	divone.style.width = '100%'
	divone.style.zIndex = '100';
	divone.style.top = '0px';
	divone.style.left = '0px';
	
	var table = document.createElement("table");
	table.width = "100px";
	table.cellPadding = "0";
	table.cellSpacing = "8";
	table.style.border = "1px solid #074878" ;
	table.bgColor = "#FFFFFF";
	table.align = "center";
	table.style.position= 'relative';
	table.style.top = ( ( document.body.clientHeight / 2) - 180 ) + "px";
	
	var tbody = document.createElement("tbody");
	var close_row = document.createElement("tr");
	var close_cell = document.createElement("td");
	close_cell.innerHTML = "<span onclick='closer()' style='cursor: hand; cursor: pointer;'>Chiudi <strong style='cursor: hand; cursor: pointer;'>X</strong></span>";
	close_cell.align = "right";
	close_cell.className = "Testo";
		
	
	close_row.appendChild ( close_cell );
	tbody.appendChild ( close_row );

	var titolo = document.createElement("tr");

	var titolo_cell = document.createElement("td");
	titolo_cell.className = "Testo";
	titolo_cell.colSpan = "2";
	titolo_cell.innerHTML = "<strong>" + titule.toUpperCase() + "</strong><br>" + didas;
	titolo.appendChild ( titolo_cell );

	var immagini = document.createElement ( 'tr' );
	var immagini_cell = document.createElement ( 'td' );
	immagini_cell.id = "content";
	immagini.appendChild (immagini_cell);
	
	
	tbody.appendChild(close_row);
	tbody.appendChild(immagini);
	tbody.appendChild(titolo);

	table.appendChild(tbody);
		
	divone.appendChild ( table );
	body.appendChild ( divone );	
	
	var sof = new SWFObject("scrubber.swf", "iceClean", "288", "250", "7", "#FFFFFF");
	
	var _video = "videos/" + movie;
	
	sof.addVariable ( "_vidName", _video );
	sof.addParam("quality", "high");
	sof.addParam("wmode", "transparent");
	sof.write("content");
}


function closer()
{
	var div = document.getElementById ( "divone" );
	div.style.display = "none";
}
