jQuery(document).ready(function() {
 
    jQuery('#user_login_ser').val('Usuario');
    jQuery('#user_pass_ser').val('password');
 
    jQuery('#user_login_ser').focus(function(){
     
        jQuery('#user_login_ser').val('');
 
    });
    jQuery('#user_pass_ser ').focus(function(){
     
        jQuery('#user_pass_ser').val('');
 
    });
    jQuery('#s').focus(function(){
     
        jQuery('#s').val('');
 
    });
    
    
    jQuery(".link_olvido_contasena").click(
        function () {
        	var posicion_navegador = $(window).scrollTop();
			var altura_navegador = (($(window).height()*25)/100);
			posicion_navegador = posicion_navegador + altura_navegador;
            jQuery(".olvido_contrasena").show ("slow");        	
            jQuery(".olvido_contrasena").css('display','block');
			jQuery(".wrapper_alert .alert").css('margin',posicion_navegador+'px auto');  
        
        
            return false;
        });
    jQuery(".cerrar_alert").click(
        function () {
            jQuery(".olvido_contrasena").hide ("slow");        	
            jQuery(".olvido_contrasena").css('display','none');    	
        
        });
 
    //pop-up loguin
 
    jQuery(".logueartepopup").click(
        function () {
        	var posicion_navegador = $(window).scrollTop();
			var altura_navegador = (($(window).height()*25)/100);
			posicion_navegador = posicion_navegador + altura_navegador;
            jQuery(".alert_logueate").show ("slow");        	
            jQuery(".alert_logueate").css('display','block'); 
			jQuery(".wrapper_alert .alert").css('margin',posicion_navegador+'px auto');    
        
        
            return false;
        });
    jQuery(".cerrar_alert").click(
        function () {
            jQuery(".alert_logueate").hide ("slow");        	
            jQuery(".alert_logueate").css('display','none');    	
        
        });
 
 

 
//Formulario de registro
 

//fin de ready event
});

function usability(){
    
    jQuery('html').animate({
        scrollTop: 900
    }, 3000);
   
    if(jQuery.browser.webkit){
        jQuery('html body').animate({
            scrollTop: 900
        }, 3000);
    }

}
function resaltaHome() {
    jQuery('#menu-item-63').addClass('current_page_item');
}

