function showVideo(destinazione){
	//alert(document.body.clientWidth);
/*	var a1 = document.getElementById("op-Layer");
	var a2 = document.getElementById("v-layer");
	a1.style.width(document.body.clientWidth);
	a2.style.width(document.body.clientWidth);*/
	
	var dest = destinazione;
	var cont = document.getElementById("layout");
	var oLayer = document.createElement("div");
	oLayer.setAttribute("id","op-layer");
	oLayer.style.width=document.body.clientWidth;
	
	cont.appendChild(oLayer);

	var currH = cont.offsetHeight;
	if(currH<900)
	var add= 900-currH;
	currH=currH+add;
	oLayer.style.height = currH + "px";

	var vLayer = document.createElement("div");
	vLayer.setAttribute("id","v-layer");
	vLayer.style.width=document.body.clientWidth;
	cont.appendChild(vLayer);

	var vContLayer = document.createElement("div");
	vContLayer.setAttribute("id","cont-layer");
	vLayer.appendChild(vContLayer);

	var closeLayer = document.createElement("p");
	closeLayer.setAttribute("id","close-video");
	closeLayer.innerHTML = "<a href='#' onclick='closeVideo()'>chiudi</a>";
	vContLayer.appendChild(closeLayer);

	var vid = document.createElement("div");


	vid.innerHTML =	"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='400' height='350' id='FLVPlayer'>" +
					"<param name='movie' value='/video/FLVPlayer_Progressive.swf' />" +
					"<param name='salign' value='lt' />" +
					"<param name='quality' value='high' />" +
					"<param name='scale' value='noscale' />" +
         		    "<param name='FlashVars' value='&skinName=/video/haloSkin_3&streamName=" + dest + "&autoPlay=true&autoRewind=false' />" +
 				    "<embed src='/video/FLVPlayer_Progressive.swf' flashvars='&skinName=/video/haloSkin_3&streamName=" + dest + "&autoPlay=true&autoRewind=false' quality='high' scale='noscale' width='400' height='350' name='FLVPlayer' salign='LT' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />" +
				    "</object>";
/*	var sel = document.getElementById("go-hpbrands");
	var sel2 = document.getElementById("select-dest-video");
	sel.style.visibility = "hidden";
	sel2.style.visibility = "hidden";*/
	vContLayer.appendChild(vid);
	}

function closeVideo(){
	var closeO = document.getElementById("op-layer");
	var closeL = document.getElementById("v-layer");
	var cont = document.getElementById("layout");
	cont.removeChild(closeL);
	cont.removeChild(closeO);
	
/*	var sel = document.getElementById("go-hpbrands");
	var sel2 = document.getElementById("select-dest-video");
	sel.style.visibility = "visible";
	sel2.style.visibility = "visible";*/

	}
