Connect(); $MySQL->SelectDB(); $Botones = new Botones; $JavaScript = new JavaScript; ?> Andes Import HeadBegin(); $JavaScript->Libreria(); $JavaScript->ValidaRUT(); ?> function getRS(rootnode, iCurRec, sFieldName) { var iField; var sData; sData = ""; for (iField = 0 ; iField < rootnode.childNodes.item(iCurRec).childNodes.length ; iField++) { if (rootnode.childNodes.item(iCurRec).childNodes.item(iField).tagName == sFieldName) { if (rootnode.childNodes.item(iCurRec).childNodes.item(iField).childNodes.length > 0) { sData = rootnode.childNodes.item(iCurRec).childNodes.item(iField).childNodes.item(0).text; } else { sData = "_"; } } } if (sData == "#20") { sData = ""; } return(sData); } function check(form) { var root2, source2; var i2; var xmlhttp; var sreq; var sT; sreq= "check.php?RUT="+form.RUT.value; source= new ActiveXObject("Microsoft.XMLDOM"); source.async= false; source.load(sreq); root2= source.documentElement; if (root2.childNodes.length==0) { return false; } else { for (i2 = 0 ; i2 if (!error && Trim(form..value)=="") { alert("Debe agregar "); error = true; form..focus(); } if (!error && !ValidarEmail(form.)) { alert("El correo electrónico no es válido"); error = true; form..value=""; form..focus(); } if (!error && Trim(form..value)=="") { alert("Debe agregar "); error = true; form..value=""; form..focus(); } if (!error) { agregar(form); return true; } } function rellenaComunas(comuna) { aux=""; aux+=""; DIVComuna.innerHTML=aux; } function checkUsuario(form) { var root2, source2; var i2; var xmlhttp; var sreq; var sT; sreq= "checkUsuario.php?Usuario="+form.Usuario.value; source= new ActiveXObject("Microsoft.XMLDOM"); source.async= false; source.load(sreq); root2= source.documentElement; if (root2.childNodes.length==0) { return false; } else { for (i2 = 0 ; i2 HeadEnd(); ?>
 
no
     
  Formulario de Registro
(*)RUT
(*)Razón Social
(*)Giro
(*)Dirección
(*)Comuna
(*)Ciudad
(*)Teléfono Boton("Copiar a Fax", "this.form.Fax.value=this.form.Telefono.value;"); ?>
Fax
(*)e-mail
Laboratorio
Contacto
(*)Usuario
(*)Contraseña

(*) campos obligatorios


Boton("Agregar", "Validar()"); ?> Boton("Cancelar", "self.location.href='home.htm';"); ?>
 
no
no no no
 
no no no
Derechos reservados por Andesimport Ltda.
General Gonzalez Balcarce # 2041, Comuna Santiago de Chile.
Fono - Fax : (2) 56-6834510 / Cod.Postal : 6513015
email : andes@andesimport.cl o sitio web www.andesimport.cl
imacom
no no no
Close(); ?>