///Fondo de agua estáticofunction fondo_agua(img){if (document.all||document.getElementById)document.body.style.background="url("+img+") white center no-repeat fixed"}///Abrir Popfunction open_pop(url,id,ancho,alto){window.open(url,id,'width=' + ancho + ',height=' + alto + ',toolbar=0,location=0,directories=0,status=0,dependent=0,menuBar=0,scrollbars=1,resizable=0,left=100,top=100');}//Confirmarfunction confirmar(url,str){var confirmar confirmar = confirm (str)if (confirmar==true){location=url}else{return }}//Form 2 popfunction createTarget(target){window.open("", target, "width=600,height=550toolbar=0,location=0,directories=0,status=0,dependent=0,menuBar=0,scrollbars=1,resizable=0,left=100,top=100");return true;}//envia documentos a frames por sus indices | send2Frames(int indice frame, str url, int indice frame, str url, int indice frame, str url ...)    send2Frames(0,'doc0.asp',1,'doc1.htm',2,'doc2.php')function send2Frames(){	fIndex = 0loc  = 1while ((arguments.length/2)-1){		window.parent.frames[arguments[fIndex]].location=arguments[loc]	//alert ("Frame: "+arguments[fIndex]+" \nLocation: "+arguments[loc])	fIndex += 2	loc += 2	}		  }//Validacionfunction genericValid(form,strVacio,skip){	skipped = skip.split(",");			for (var i=0;i<=form.length-1;i++){	  if (!in_array(form.elements[i].name,skipped)){			if (!validateNotEmpty(form.elements[i].value)){			alert(strVacio);			return false;			}	          }		}		return true;	}function in_array(aguja,pajar){		for (i=0;i<=(pajar.length-1);i++){		if (pajar[i] == aguja){			return true;			}		}	return false;	}