$(document).ready(function() {
	
	$('input:not(.readonly)').focus(
			function(){
				//if ( $(this).attr("id") == "nombre" ||  $(this).attr("type") == "password" ){
				if ( $(this).attr("type") != 'submit' ){
					$(this).val('');
				}
	});
	
	$('textarea, input:not(.readonly)').dblclick(
			function(){
				if ( $(this).attr("type") != 'submit' ){
					$(this).val('');
				}
	});
	
	
});
