$(document).ready(function(){
		var isSupported = document.getElementById && document.getElementsByTagName;
      if (isSupported) { 
    		document.documentElement.className = "js";	 
		}				
		setTimeout( esconder, 3000);
				
		if ($('input[@type="text"].foco').length){
			enfocar();
		}	
		
		defaultValue = "";
		
		$('input[@type="text"].texto')
       .focus(function() {
               if (this.value == this.defaultValue) this.value = "";
       })
       .blur(function() {
               if (this.value == "") this.value = this.defaultValue;
       });

      $('a.leer-condiciones')
       .click(function() {	
       			var c = $("div.condicionesuso");
					c.is(":visible") ? c.hide("slow") : c.show("slow");			
             	return false;            
       });
});

	function enfocar(){		
		$('input[@type="text"].foco')[0].focus();
	}
	function esconder(){   	 
   	$("div.aviso").fadeOut(3000);   	
    	return false;
  	}



  	