/**
 * @Copyright CSSJockey - Web Design and Development
 * @Website: http://www.cssjockey.com
 * @Terms of Use: http://www.cssjockey.com/terms-of-use
 * If you change the contents below sky will fall on your head!
 */
DD_roundies.addRule('.round', 5, true);

$(document).ready(function(){
	$("#navigation ul li:last").addClass("lasttab");
});

// WordPress Comments Check
$("#commentform").submit(function(){
	var author = $("#author");
	var email = $("#email");
	var comment = $("#comment");
	var emailFormat = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i;
	if(author.val() == ""){alert("Name must be filled out!");author.focus();return false;}
	if (email.val() == "") {alert("Email must be filled out!");email.focus();return false;}
	if(email.val().search(emailFormat) == -1){alert("Please enter valid email address!");email.focus();return false;}
	if(comment.val() == ""){alert("Got nothing to say?");comment.focus();return false;}	
}); // End Function