$(document).ready(function(){
    $('#radioSet_')
        .click(function()
        {
            if ($(this).is(':checked') == false)
            {
                    selected = true;
                    $('input[name=radioSet[]]').attr('checked', false);
            }
            else
                {
                    selected = false;
                    $('input[name=radioSet[]]').attr('checked', true);
                }            
        });
    $('#banerslider').coinslider({ height: 222, width: 960, navigation: false, delay: 5000});
    $('#login_clave').hide();
    $("#login_email")
        .focus(function(){
            if ($(this).val() == "Email") {
                $(this).val("");
            }
        })
        .blur(function(){
            if ($(this).val() == "") {
                $(this).val("Email");
            }
        });
    $("#login_clave")
        .focus(function(){
            if ($(this).val() == "Contraseña") {
                $(this).val("");
            }
        })
        .blur(function(){
            if ($(this).val() == "") {
                $(this).hide();
                $('#login_clave_aux').val("Contraseña");
                $('#login_clave_aux').show();
                //$('#login_clave_aux').focus();
            }
        });
     $("#login_clave_aux")
        .focus(function() {   
           $(this).hide();
           $('#login_clave').show();
           $('#login_clave').val("");
           $('#login_clave').focus();
        });
        
     $("#nombre")
     .focus(function() {
                $(this).val("");           
     })
     .blur(function() {
         if ($(this).val() == "") {
            $(this).val("Su nombre");
         }
     });

     $("#email2")
     .focus(function() {
                $(this).val("");            
     })
     .blur(function() {
         if ($(this).val() == "") {
             $(this).val("Su correo electrónico");

         }
     });

     $("#consulta")
     .focus(function() {
                $(this).val("");            
     })
     .blur(function() {
         if ($(this).val() == "") {
             $(this).val("Su consulta");
         }
     });

})
