document.write('<script>\n');
document.write('var edwb_dragapproved=false\n');
document.write('var edwb_minrestore=0\n');
document.write('var edwb_initialwidth,edwb_initialheight\n');
document.write('var ie5=document.all&&document.getElementById\n');
document.write('var ns6=document.getElementById&&!document.all\n');
document.write('function edwb_iecompattest(){\n');
document.write('return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}\n');
document.write('function edwb_drag_drop(e){\n');
document.write('if (ie5&&edwb_dragapproved&&event.button==1){\n');
document.write('document.getElementById("edwb_dwindow").style.left=tempx+event.clientX-offsetx+"px"\n');
document.write('document.getElementById("edwb_dwindow").style.top=tempy+event.clientY-offsety+"px"}\n');
document.write('else if (ns6&&edwb_dragapproved){\n');
document.write('document.getElementById("edwb_dwindow").style.left=tempx+e.clientX-offsetx+"px"\n');
document.write('document.getElementById("edwb_dwindow").style.top=tempy+e.clientY-offsety+"px"}}\n');
document.write('function edwb_initializedrag(e){\n');
document.write('offsetx=ie5? event.clientX : e.clientX\n');
document.write('offsety=ie5? event.clientY : e.clientY\n');
document.write('document.getElementById("edwb_dwindowcontent").style.display="none"\n');
document.write('tempx=parseInt(document.getElementById("edwb_dwindow").style.left)\n');
document.write('tempy=parseInt(document.getElementById("edwb_dwindow").style.top)\n');
document.write('edwb_dragapproved=true\n');
document.write('document.getElementById("edwb_dwindow").onmousemove=edwb_drag_drop}\n');
document.write('function edwb_loadwindow(url,width,height){\n');
document.write('if (!ie5&&!ns6)\n');
document.write('window.open(url,"","width=width,height=height,scrollbars=1")\n');
document.write('else{\n');
document.write('document.getElementById("edwb_dwindow").style.display=\'\'\n');
document.write('document.getElementById("edwb_dwindow").style.width=edwb_initialwidth=width+"px"\n');
document.write('document.getElementById("edwb_dwindow").style.height=edwb_initialheight=height+"px"\n');
document.write('}}\n');
document.write('function edwb_maximize(){\n');
document.write('if (edwb_minrestore==0){\n');
document.write('edwb_minrestore=1 //maximize window\n');
document.write('document.getElementById("edwb_maxname").setAttribute("src","restore.gif")\n');
document.write('document.getElementById("edwb_dwindow").style.width=ns6? window.innerWidth-20+"px" : iecompattest().clientWidth+"px"\n');
document.write('document.getElementById("edwb_dwindow").style.height=ns6? window.innerHeight-20+"px" : iecompattest().clientHeight+"px"}\n');
document.write('else{\n');
document.write('edwb_minrestore=0 //restore window\n');
document.write('document.getElementById("edwb_maxname").setAttribute("src","max.gif")\n');
document.write('document.getElementById("edwb_dwindow").style.width=edwb_initialwidth\n');
document.write('document.getElementById("edwb_dwindow").style.height=edwb_initialheight}\n');
document.write('document.getElementById("edwb_dwindow").style.left=ns6? window.pageXOffset+"px" : iecompattest().scrollLeft+"px"\n');
document.write('document.getElementById("edwb_dwindow").style.top=ns6? window.pageYOffset+"px" : iecompattest().scrollTop+"px"}\n');
document.write('function edwb_closeit(){\n');
document.write('document.getElementById("edwb_dwindow").style.display="none"}\n');
document.write('function edwb_stopdrag(){\n');
document.write('edwb_dragapproved=false;\n');
document.write('document.getElementById("edwb_dwindow").onmousemove=null;\n');
document.write('document.getElementById("edwb_dwindowcontent").style.display=\'\'}\n');
document.write('function edwb_Whois(idioma) {\n') ;
document.write('    switch (idioma) {\n') ;
document.write('        case "cat":\n') ;
document.write('            var sMensajeError1 = "No pot deixar el nom de domini buit" ;\n') ;
document.write('            var sMensajeError2 = "Ha de seleccionar alguna extensio per a buscar" ;\n') ;
document.write('            break ;\n') ;
document.write('        case "eng":\n') ;
document.write('            var sMensajeError1 = "Void Domain Name Not Allowed" ;\n') ;
document.write('            var sMensajeError2 = "Must Select the types of Domains" ;\n') ;
document.write('            break ;\n') ;
document.write('        default:\n') ;
document.write('            var sMensajeError1 = "No puede dejar el nombre de dominio vacio" ;\n') ;
document.write('            var sMensajeError2 = "Debe seleccionar alguna extension para buscar" ;\n') ;
document.write('    }\n') ;
document.write('    v1 = document.edwb_dominios.dominio.value ;\n') ;
document.write('    if (v1.length == 0) {\n') ;
document.write('        alert(sMensajeError1) ;\n') ;
document.write('        return (false) ;\n') ;
document.write('    }\n') ;
document.write('    for (i=0; i<document.edwb_dominios.length; i++) {\n') ;
document.write('        if (document.edwb_dominios.elements[i].name.indexOf("ext") !=-1 ) {\n') ;
document.write('            if (document.edwb_dominios.elements[i].checked) {\n') ;
document.write('                return (true)\n') ;
document.write('            }\n') ;
document.write('        }\n') ;
document.write('    }\n') ;
document.write('    alert(sMensajeError2) ;\n') ;
document.write('    return (false) ;\n') ;
document.write('}\n') ;
document.write('</script>\n');
document.write('<style type="text/css">\n');
document.write('<!--\n');
document.write('.edwb_txt_buscador {\n');
document.write('	font-family: Geneva, Arial, Helvetica, sans-serif;\n');
document.write('	font-size: 9px;\n');
document.write('	color: #9698a1;\n');
document.write('	font-weight: normal;}\n');
document.write('.edwb_www_buscador {\n');
document.write('	font-family: Arial, Helvetica, sans-serif;\n');
document.write('	font-size: 9px;\n');
document.write('	color: #4288de;\n');
document.write('	font-weight: bold;}\n');
document.write('.edwb_combo_buscador {\n');
document.write('	font-family: Arial, Helvetica, sans-serif;\n');
document.write('	font-size: 10px;\n');
document.write('	font-weight: normal;\n');
document.write('	height: 14px;\n');
document.write('	width: 95px;\n');
document.write('	color: #4288de;\n');
document.write('	border: 1px solid #91abe8;}\n');
document.write('.edwb_borde_buscador {\n');
document.write('	border: 1px solid #b4c6ee;}\n');
document.write('.edwb_cuadrado {\n');
document.write('	border: 1px solid #92ace7;\n');
document.write('	height: 14px;\n');
document.write('	width: 14px;}\n');
document.write('.edwb_txtnegro_buscador {\n');
document.write('	font-family: Arial, Helvetica, sans-serif;\n');
document.write('	font-size: 11px;\n');
document.write('	font-weight: normal;\n');
document.write('	height: 14px;\n');
document.write('	color: #000000;\n');
document.write('	}\n');
document.write('-->\n');
document.write('</style>\n');
