function flashPopup(html, x, y, width, height) {
	//alert("explorerNav= " + explorerNav);

		
		//alert("glb_id_programa= " + glb_id_programa);
		
		//alert(" html= " +  html);
		var iframe = document.getElementById('iframe');
		var div = document.getElementById('divFrame');	
		var divTitulo = document.getElementById('divTitulo');	
		
		//alert (height);
		
		iframe.src = html;
		if (width==-1){
			//alert(screen.width);
			iframe.width = screen.width;
			iframe.height = screen.height;
			//iframe.width = screen.availWidth;
			//iframe.height = screen.availHeight;
			//iframe.width = "100%";
			//iframe.height = "100%";
		}else{
			iframe.width = width;
			iframe.height = height;
		
		
			//divTitulo.style.width = width;
			
			if (x == "middle") {
				div.style.left = '50%';
				iframe.style.left = width * -0.5;
					
				//divTitulo.style.left = '50%';
			} else {
				div.style.left = x;
				iframe.style.left = 0;
			}
			
			if (y == "middle") {
				div.style.top = '50%';
				//divTitulo.style.top = '30%';
				iframe.style.top = height * -0.5;
			} else {
				iframe.style.top = 0;
				div.style.top = y;
			}
		}
	
	
	
}
function fCerrarPopUp(){
	javascript:flashPopup('',0,0,0,0,0);
}
