//*******************************************************************************************
//		Clear Inputs on focus
//*******************************************************************************************

$(document).ready(function(){

	var clearMePrevious = '';
	
	// clear input on focus
	$('.clearMeFocus').focus(function(){
if($(this).val()==this.defaultValue){
$(this).val('');
}
});

// if field is empty afterward, add text again
$('.clearMeFocus').blur(function(){
if($(this).val()==''){
$(this).val(this.defaultValue);
}
});
});

//*******************************************************************************************
//		Validate forms
//*******************************************************************************************

$(document).ready(function(){

	$("#newsletter-subscribe").validate();
	$("#searchform").validate();

});
