function closeWin(thetime) { setTimeout("window.close()", thetime); } function ver_aviso(){ window.open('/web/doc/creditos/default.asp?archivo=aviso_legal.asp','aviso','width=350, height=380, top=10, left=10'); } function ver_politica(){ window.open('/web/doc/creditos/default.asp?archivo=pol_privacidad.asp','politica','width=350, height=400, top=10, left=10'); } function ver_creditos(){ window.open('/web/doc/creditos/default.asp?archivo=creditos.asp','creditos','width=350, height=280, top=10, left=10'); } function ir_a(loc_){ self.location.href=loc_; } function cambia_color(src_,color_){ src_.bgColor=color_ } function limitar_textarea(field, maxlimit) { if (field.value.length > maxlimit) // if too long...trim it! field.value = field.value.substring(0, maxlimit); } function mOvr(src,clrOver) { if (!src.contains(event.fromElement)) { src.bgColor = clrOver; } } function mOut(src,clrIn) { if (!src.contains(event.toElement)) { src.bgColor = clrIn; } } // FUNCIONES PARA DESABILITAR EL BOTÓN DERECHO E INTRODUCIR UN TEXTO EN LA BARRA DE ESTADO // Barra de estado function hidestatus() { window.status='www.prefabricadosaljema.com' return true } if (document.layers) document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) document.onmouseover=hidestatus document.onclick=hidestatus document.onmouseout=hidestatus // Botón derecho var message="@ Prefabricados Alejmea, S.L. 2005-2006"; function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} document.oncontextmenu=new Function("return false")