$(document).ready(function(){
	//when document has loaded
	$("input#sPassword[@type=text]").focus(function(){
		$(this).attr("id","sPasswordOld");
		$(this).attr("name","sPasswordOld");
		$(this).hide();
		$(this).after("<input type='password' name='sPassword' id='sPassword' value='password' />");
		$("input#sPassword[@type=password]").val("");
		$("input#sPassword[@type=password]").focus();
	});
})