$(document).ready(function(){ 	
	$('input[type=text]').focus(function(){
		if($(this).val() == $(this).attr('placeholder')){
			$(this).val('');
			$(this).removeClass('placeholder');
		}
	});
	$('input[type=text]').blur(function(){
		if($(this).val() == ''){
			$(this).val($(this).attr('placeholder'));
			$(this).addClass('placeholder');
		}
	});
});