function displayWindow(tit,html,w,h,l,t)
		    {
		        var ventana=Math.floor(Math.random()*1000);
				win = 'win'+ventana;
				ventana = 'ventana'+ventana;
				var per = (window.screen.height-150)/1109;
				w = 800*per;
				h = 1109*per; 
				//alert(ventana +' '+ win+' '+html+' '+w+' '+h+' '+l+' '+t);
				html='<iframe name="Frame1" frameborder="0" scrolling="no" width='+w+' height='+h+' src='+html+'></iframe>';
				creatediv(ventana, html, w, h)
				displayFloatingDiv(ventana,win,tit,w,h,l,t);
				
		    }
function creatediv(id, html, width, height) {

var newdiv = document.createElement('content');
	newdiv.setAttribute('id', id); 
	newdiv.style.width = width; 
	//ewdiv.className = 'style';
	//newdiv.style.backgroundColor = "transparent";
	newdiv.style.visibility = "hidden";
	newdiv.style.height = height; 
	newdiv.style.position = "absolute"; 
	/*newdiv.style.left = left; 
	newdiv.style.top = top; */
	/*newdiv.style.border = "0px solid #000"; */
		if (html) { 
			newdiv.innerHTML = html; 
			} else { 
			newdiv.innerHTML = "nothing"; 
		} 
		document.body.appendChild(newdiv);
}


