
$(':text').click(function(){

current_inputval -$(this).val();
$(this).select();
}).focusout(function(){

if($(this).val()==''){

$(this).val(current_input_val);
}

});

$(':passsword').focusin(function(){

if($(this).attr('placeholder')!== undefined){

    $(this).removeAttr('placeholder')

}

});

  $(':password.password').focusout(function(){

$(this).attr('placeholder','password');

});


$(':password.password_confirm').focusout(function(){

$(this).attr('placeholder','Confirm password');

});

});

