(function($) {  
	  $.fn.defaultInputValue = function() {
	  		// Loops over all specified elements and sets default value
			// from the title attribule.
			this.each(function() {
				$(this).val($(this).attr('title'));
			});
			
			// If the value equals the title
			// it will be cleared when input is clicked.
	  		$(this).click(function(){
        		if ($(this).attr('title') == $(this).val()) {
        			$(this).val('');
        		}
        	});
        	
        	// When input lose its focus
        	// and if the value is empty the default text specified in the title
        	// will be set as value.
        	$(this).blur(function(){
        		if ($(this).val() == '') {
        			$(this).val($(this).attr('title'));
        		}
        });
	  };
})(jQuery); 

$(document).ready(function() {
	$(".default-value").defaultInputValue();
});
Cufon.replace('#header_sfrlc .sl, #header_sfrlc h1, #header_sfrlc h2, #header_sfrlc ul.tabs li.tab1, #header_sfrlc ul.tabs li.tab2', { fontFamily: 'SFR light', hover: true });
Cufon.replace('#header_sfrlc .sb, #header_sfrlc .submenu h3', {fontFamily: 'SFR Bold', hover: true});
