var search_query_default_text = 'Search';

jQuery(document).ready(function() {

	if( jQuery(".searchform-query").val() == "" ) {

		jQuery(".searchform-query").val( search_query_default_text );

	}	

	// Show some text in the search box
	jQuery(".searchform-query").focus(function() { jQuery(this).val(''); });

	jQuery(".searchform-query").blur(function() { 

		var search_query = jQuery(this).val();

		if( search_query == "" ) {
			jQuery(this).val(search_query_default_text); 
		}	
		
	});

/*
//Comment form - Author Input.
  if( jQuery("#author").val() == "" ) {
    jQuery("#author").val("NAME:");
  }

  // Show some text in the author box
  jQuery("#author").focus(function() { jQuery(this).val(''); });
  jQuery("#author").blur(function() {
    var search_query = jQuery(this).val();
    if( search_query == "" ) {
      jQuery(this).val("NAME:");
    }
  });

//Comment form - Email Input.
  if( jQuery("#email").val() == "" ) {
    jQuery("#email").val("EMAIL:");
  }

  // Show some text in the email box
  jQuery("#email").focus(function() { jQuery(this).val(''); });
  jQuery("#email").blur(function() {
    var search_query = jQuery(this).val();
    if( search_query == "" ) {
      jQuery(this).val("EMAIL:");
    }
  });

//Comment form - Website Input.
  if( jQuery("#url").val() == "" ) {
    jQuery("#url").val("WEBSITE(OPTIONAL):");
  }

  // Show some text in the Website box
  jQuery("#url").focus(function() { jQuery(this).val(''); });
  jQuery("#url").blur(function() {
    var search_query = jQuery(this).val();
    if( search_query == "" ) {
      jQuery(this).val("WEBSITE(OPTIONAL):");
    }
  });

//Comment form - Comment Textarea.
  if( jQuery("#comment").val() == "" ) {
    jQuery("#comment").val("COMMENT:");
  }

  // Show some text in the Comment Textarea
  jQuery("#comment").focus(function() { jQuery(this).val(''); });
  jQuery("#comment").blur(function() {
    var search_query = jQuery(this).val();
    if( search_query == "" ) {
      jQuery(this).val("COMMENT:");
    }
  });


//Contact form - Comment Textarea.
  if( jQuery("#message").val() == "" ) {
    jQuery("#message").val("MESSAGE:");
  }

  // Show some text in the ContactForm  Textarea
  jQuery("#message").focus(function() { jQuery(this).val(''); });
  jQuery("#message").blur(function() {
    var search_query = jQuery(this).val();
    if( search_query == "" ) {
      jQuery(this).val("MESSAGE:");
    }
  });
*/
//Contact Form - CAPTCHA INPUT.
  if( jQuery("#antispam-input").val == "" ) { 
    jQuery("#antispam-input").val("PLEASE ENTER THE CODE:");	 
  }

  //Show some text in the captcha input.
  jQuery("#antispam-input").focus(function() { jQuery(this).val(''); });
    jQuery("#antispam-input").blur(function() {
    var search_query = jQuery(this).val();
    if( search_query == "" ) {
      jQuery(this).val("PLEASE ENTER THE CODE:");
    }
  });

});

