$(document).ready(function() {
	
			$('.entry-content.overlay-blur').each(function() {
			jQuery("a:first", this).prepend('<span class="slide-title">'+jQuery("a:first", this).attr("title")+'<br />'+'</span>');
			});
		  	$('.entry-content.overlay-blur-double').each(function() {
			jQuery("a:first", this).prepend('<span class="slide-title double-blur">'+jQuery("a:first", this).attr("title")+'<br />'+'</span>');
			});


//OPTION 1
		  	jQuery('.entry-content a').mouseover(function(e){
			jQuery(this).find('span.slide-title').stop().fadeTo("fast",1.0);
			//jQuery(this).find('span.slide-title:first').stop().slideUp("fast");
		  	});
		  	jQuery('.entry-content a').mouseout(function(e){
			jQuery(this).find('span.slide-title').stop().fadeTo("fast",0.0);
			//jQuery(this).find('span.slide-title:first').stop().slideDown("fast");
		  	});


/*		$('form#contactForm').submit(function() {
		$('form#contactForm .error').remove();
		var hasError = false;
		$('.requiredField').each(function() {
			if(jQuery.trim($(this).val()) == '') {
				var labelText = $(this).prev('label').text();
				$(this).css({'border-color': '#FF0000'});
				hasError = true;
			} else if($(this).hasClass('email')) {
				var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
				if(!emailReg.test(jQuery.trim($(this).val()))) {
					var labelText = $(this).prev('label').text();
					$(this).attr({value: 'You entered an invalid '+labelText});
					hasError = true;
				}
			}
		});
		if(!hasError) {
			$('form#contactForm li.buttons button').fadeOut('normal', function() {
				$(this).parent().append('<img src="/wp-content/themes/kraud/images/template/loading.gif" alt="Loading&hellip;" height="31" width="31" />');
			});
			var formInput = $(this).serialize();
			$.post($(this).attr('action'),formInput, function(data){
				$('form#contactForm').slideUp("fast", function() {				   
					$(this).before('<p class="thanks"><strong>Thanks!</strong> Your email was successfully sent. I check my email all the time, so I should be in touch soon.</p>');
				});
			});
		}
		
		return false;
		
		}); */

});
