// clear the text in the form fields

$(document).ready(function() {
	$('#frm-search input').each(function(){
			$(this).data('iVal', $(this).val());
			$(this).addClass('inactive');
		})
		.focus(function(){
		if($(this).val() === $(this).data('iVal'))
			$(this).val('');
			$(this).removeClass('inactive');
		})
		.blur(function(){
        if ($(this).val() === '') {
	        $(this).val($(this).data('iVal'));
	        $(this).addClass('inactive');
        }
	})
});
