function writeflash(o,m,w,h,p,oid) { var p=unescape(p); var obj = document.getElementById(o); if (obj==null){ alert(o+' MISSING'); return; } if (oid!=null && oid!=undefined) {tag_name="NAME='"+oid+"'";} else {tag_name="";} if (oid!=null && oid!=undefined) {oid="id='"+oid+"'";} else {oid="";} f=""; f+=""; f+=""; if (p!="") {f+="";} f+=""; f+=""; f+=""; f+=""; f+=""; if (p!="") {f+="";} f+=""; f+=""+clases+"->"+ly.innerHTML); if (!ly) ly=getObj(ly); if (ly==null) {return} class_def = "class"; if (BrowserDetect.browser=="Explorer") class_def = "className"; var cn = setget_attr(ly,class_def); var oc = setget_attr(ly,'oldclass'); if (clases==undefined) { if (oc!=undefined) setget_attr(ly,class_def,oc); return; } setget_attr(ly,'oldclass', cn); setget_attr(ly,class_def,cn+" "+clases); // ly.className=cn+" "+clases; } //OCULTAR LAYERS function force_hide(ly) { veclayers=ly.split(","); for (var i=0;i document.body.offsetHeight){ xScroll = document.body.scrollWidth; yScroll = document.body.scrollHeight; } else { xScroll = document.body.offsetWidth; yScroll = document.body.offsetHeight; } var windowWidth, windowHeight; if (self.innerHeight) { windowWidth = self.innerWidth; windowHeight = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) { windowWidth = document.documentElement.clientWidth; windowHeight = document.documentElement.clientHeight; } else if (document.body) { // other Explorers windowWidth = document.body.clientWidth; windowHeight = document.body.clientHeight; } if(yScroll < windowHeight){ pageHeight = windowHeight; } else { pageHeight = yScroll; } if(xScroll < windowWidth){ pageWidth = windowWidth; } else { pageWidth = xScroll; } arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) return arrayPageSize; } function recomendar_web() { var ly_transparente=getObj("ly_transparente"); var obj=getObj("recomendar"); if (obj.style.display=="") { obj.style.display="none"; ly_transparente.style.display="none"; } else { obj.style.display=""; ly_transparente.style.display=""; showAndCenter('recomendar'); getObj("form_recomendar").minombre.focus(); } } function forzar_mostrar_layer_transparente() { obj=getObj("ly_transparente"); obj.style.display=""; obj.style.width=getPageSize()[0]; obj.style.height=getPageSize()[1]; } function forzar_ocultar_layer_transparente() { obj=getObj("ly_transparente"); if (obj==null) { alert("layer_transparente no encontrado"); return; } obj.style.display="none"; }