function show_video_layer_NO(title, video){ //********************************************************************************** FUNCTIONS FOR THE VIDEO TOP LAYER


var windowWidth=0;
var windowHeight=0;
	if (typeof(window.innerHeight)=='number') {
		windowHeight=window.innerHeight;
		windowWidth=window.innerWidth-18;
	} else {
		if (document.documentElement&&document.documentElement.clientHeight) {
			windowHeight=document.documentElement.clientHeight;
			windowWidth=document.documentElement.clientWidth;
		} else {
			if (document.body&&document.body.clientHeight) {
				windowHeight=document.body.clientHeight;
				windowWidth=document.body.clientWidth;
			}
		}
	}
	

//set the transparent layer to visible
document.getElementById('coverLayer').style.width = windowWidth +"px";
document.getElementById('coverLayer').style.height = windowHeight +"px";
document.getElementById('coverLayer').style.visibility = "visible";

//display the top layer
document.getElementById('top_video_layer').style.width = "750px";
document.getElementById('top_video_layer').style.height = "602px";
document.getElementById('top_video_layer').style.left = (windowWidth/2)-375+"px";
document.getElementById('top_video_layer').style.top = (windowHeight/2)-400+"px";
document.getElementById('top_video_layer').style.visibility = "visible";
//document.getElementById('top_specs_layer').innerHTML="<div class=\"hd\"><!--Feature header--></div><div class=\"close\"><a href=\"javascript:hide_specification_layer();\">Close [x]</a></div><div style=\"padding: 10px; margin-top: 20px;\">" + innerText + "</div>";
document.getElementById('top_video_layer').innerHTML="<div class=\"hd\">" + title +"</div><div class=\"close\"><a href=\"javascript:hide_video_layer();\">Close [x]</a></div><div style=\"padding: 0px; margin-top: 20px; color: #ffffff;\">" + video + "</div>";
}


function hide_video_layer(){
//set the transparent layer to invisible
document.getElementById('coverLayer').style.width = "1px";
document.getElementById('coverLayer').style.height = "1px";
document.getElementById('coverLayer').style.visibility = "hidden";

//hide the top layer
document.getElementById('top_video_layer').style.left = "0px";
document.getElementById('top_video_layer').style.visibility = "hidden";
document.getElementById('top_video_layer').innerHTML="";
document.getElementById('top_video_layer').style.width = "0px";
document.getElementById('top_video_layer').style.height = "0px";
}


function hide_specs_layer(){
//set the transparent layer to invisible
document.getElementById('coverLayer').style.width = "1px";
document.getElementById('coverLayer').style.height = "1px";
document.getElementById('coverLayer').style.visibility = "hidden";

//hide the top layer
document.getElementById('top_specs_layer').style.left = "0px";
document.getElementById('top_specs_layer').style.visibility = "hidden";
document.getElementById('top_specs_layer').innerHTML="";
document.getElementById('top_specs_layer').style.width = "0px";
document.getElementById('top_specs_layer').style.height = "0px";
}

//******************************************************************************************************************** END FUNCTIONS FOR THE VIDOE TOP LAYER

