$(document).ready(function(){

	var prev_text;

    $("input.input_field").focus(function () {
    	prev_text = $(this).val();
		$(this).val('');
		$(this).css('color','black');
    });
    
    $("input.input_field").blur(function () {
		if($(this).val() == ""){
			$(this).val(prev_text);
			$(this).css('color','#787878');
		}
    });
});