var defaultValue = new Array;

$( function(){
    
    $('input[type=text].js-toggleValue, input[type=password].js-toggleValue, textarea.js-toggleValue').each(function(){
            defaultValue[this.name] = $(this).val();
    }).blur(function(){
        
        if( $(this).val() == "" ){
            $(this).val(defaultValue[this.name]);
        }
    }).focus(function(){
        
        if( $(this).val() == defaultValue[this.name] ){
            $(this).val("");
        }
    });
    
    $('.js-confirm').click( function(){
		
		return confirm("Êtes-vous certains de vouloir continuer ?");
	});
});


