function replaceT(obj){
	var newO=document.createElement('input');
	newO.setAttribute('type','password');
	newO.setAttribute('class','p1field hintput required');
	newO.setAttribute('className','p1field hintput required');
	newO.setAttribute('size','22');
	newO.setAttribute('id','pField');
	newO.setAttribute('name',obj.getAttribute('name'));
	obj.parentNode.replaceChild(newO,obj);
	newO.focus();
	$("#pField").keydown(function(e){
   if (e.keyCode == 13) {
     valider();
   }
   });
}
function replaceS(obj){
	var newO=document.createElement('input');
	newO.setAttribute('type','password');
	newO.setAttribute('className','pcofield hintput required');
	newO.setAttribute('class','pcofield hintput required');
	newO.setAttribute('size','22');
	newO.setAttribute('id','pField');	
	newO.setAttribute('name',obj.getAttribute('name'));
	obj.parentNode.replaceChild(newO,obj);
	newO.focus();
	$("#pField").keydown(function(e){
   if (e.keyCode == 13) {
     valider();
   }
   });
}