// global variablesie4=document.all;ie55=(ie4&&((navigator.userAgent.indexOf("MSIE 5.5")!=-1)||(navigator.userAgent.indexOf("MSIE 6")!=-1)));pc=navigator.platform.indexOf('Win32')!=-1;mac=navigator.platform.indexOf('MacPPC')!=-1;// sinbordes=(ie4&&pc);// rollover para celdasfunction mOvr(src,clrOver) {  if (ie4) {     if (!src.contains(event.fromElement)) {        src.style.cursor = 'hand';      	 src.bgColor = clrOver;     }  }}function mOut(src,clrIn) {  if (ie4) {     if (!src.contains(event.toElement)) {        src.style.cursor = 'default';      	 src.bgColor = clrIn;     }  }}// fin rollover para celdas// rollover doblepedalera de tonifunction cambiacolor(id1,color1,id2,color2) {if(document.all) {  document.all[id1].style.background=color1;  document.all[id2].style.background=color2;	}}function cambiacinco(id1,color1,id2,color2,id3,color3,id4,color4,id5,color5) {if(document.all) {  document.all[id1].style.background=color1;  document.all[id2].style.background=color2;  document.all[id3].style.background=color3;  document.all[id4].style.background=color4;  document.all[id5].style.background=color5;	}}// fin rolloverfunction validateRenewEspacio(){    var f = document.forms["FORMRenew"];    if (f.dom.value=="")    {        alert("Debes indicar un nombre de dominio");        f.dom.focus();        return (false);    }    if (f.esp_username.value=="")    {        alert("Debes indicar el nombre de usuario");        f.esp_username.focus();        return (false);    }    if (f.esp_password.value=="")    {        alert("Debes indicar la contraseña del usuario");        f.esp_password.focus();        return (false);    }    var Domain = f.dom.value;    if (Domain.substring(0,4)=="www.")    {        Domain = Domain.substring(4,Domain.length);    }    pos = -1;	while (Domain.indexOf(".",pos+1)>-1)    {        pos = Domain.indexOf(".",pos+1);	}    invalidChars = " /:,;_áéíóúäëïöüàèìòùñ*+Ç{}|[]";	for (i=0; i<invalidChars.length; i++)    {        // does it contain any invalid characters?		badChar = invalidChars.charAt(i);		if (Domain.indexOf(badChar,0) > -1)        {            alert("El dominio no puede contener el caracter '"+badChar+"'");            f.dom.focus();			return (false);		}	}	if(Domain.charAt(0) == '-'){	    alert("El dominio no puede comenzar con el caracter -");		f.dom.focus();		return (false);	}	if(Domain.charAt(Domain.length-1) == '-'){	    alert("El dominio no puede finalizar con el caracter -");		f.dom.focus();		return (false);     }    f.dom.value = Domain;    return true;}//-->