// JavaScript Document

$(document).ready(function() {
						   
/*$(function() {
$("#submit").click(function() {
var author = $("#author").val();
var email = $("#email").val();
var comment = $("#comment").val();
var comment_post_ID = $("#comment_post_ID").val();
var dataString = 'author='+ author + '&email=' + email + '&comment=' + comment + '&comment_post_ID=' + comment_post_ID;

if(author=='' || email=='' || comment=='')
{
$('.success').fadeOut(200).hide();
$('.error').fadeOut(200).show();
}
else
{
$.ajax({
type: "POST",
url: "http://fsontheradar.com/wp-comments-post.php",
data: dataString,
success: function(){
$('.success').fadeIn(200).show();
$('.error').fadeOut(200).hide();
}
});
}
return false;
});
});*/
							   
						      
    $("#searchField").focus(function() {
        if ($(this).val() == "SEARCH") {
            $(this).val("");
        }
    });
    
	 $("#searchField").blur(function() {
	if ($(this).val() == "") {
            $(this).val("SEARCH");
        }
    });

   
    
 /*   $("#commentform").submit(function(e) {
        URL = "/?s=" + $("#s").val() + " #inside";
        $mainContent.load(URL, function() {
            $ajaxSpinner.fadeOut();
            $mainContent.animate({ opacity: "1" });
            hashizeLinks();   
        });
        e.preventDefault();
    });
*/

//End document ready func
});
