function changeType(f) {
//		alert=(f);

		if (document.all) {
			document.all[f].innerHTML="<input name=password type=password class=campoForm maxlength=8>";
		} else {	
			f.type = "password";
		}
}

//function changeType(f) {
//	alert=(f);
//	f.type = "password";
//  document.all[campo].innerHTML="<input name=password type=password class=campoForm maxlength=8>";
//  document.all.[f].select();
//  document.all.[f].focus();
//}

function cambia(target) {
      // 22
	      replace = document.getElementById(target.name);
		  var val = replace.value;
	      var parent = replace.parentNode;
		  var sibling = replace.nextSibling;
	      var newel = document.createElement('input');
		  newel.setAttribute('type', 'password');
	      newel.setAttribute('valtue', val);
		  parent.removeChild(replace);
	      parent.insertBefore(newel, sibling);
}

function DisplayMail(Server, Login, Display){
	if ((Display.length == 0) || (Display.indexOf('@')+1)) {
		document.write("<a href=" + "'ma" + "i" + "lto:" + Login + "&#064;" + Server + "'>" + Login + "&#064;" + Server + "</a>"); 
	} else {
		document.write("<a href=" + "'ma" + "i" + "lto:" + Login + "&#064;" + Server + "'>" + Display + "</a>"); 
	}
}