
$(document).ready( function(){ 

// For InnerFade on header images
	$('#products').innerfade({
			speed: 3000, 
			timeout: 5000, 
			type: 'sequence', 
			containerheight: '344px' 
	}); 
	$('#renovations').innerfade({
			speed: 3000, 
			timeout: 5000, 
			type: 'sequence', 
			containerheight: '370px' 
	}); 
	$('#home').innerfade({
			speed: 3000, 
			timeout: 5000, 
			type: 'sequence', 
			containerheight: '412px' 
	}); 
	$('#about').innerfade({
			speed: 3000, 
			timeout: 5000, 
			type: 'sequence', 
			containerheight: '300px' 
	}); 
	$('#services').innerfade({
			speed: 3000, 
			timeout: 5000, 
			type: 'sequence', 
			containerheight: '226px' 
	}); 
	$('#contact').innerfade({
			speed: 3000, 
			timeout: 5000, 
			type: 'sequence', 
			containerheight: '226px' 
	}); 


// Create apple styling for input focus actions
	// Add class to label when input is in focus
	jQuery('input').focus(function() {
		jQuery(this).siblings('label').addClass('focus');
	});
	// Remove class from label when input is not in focus
	jQuery('input').blur(function() {
		jQuery(this).siblings('label').removeClass('focus');
	});
	// Upon keystroke, check if input has a value and hide the label if it does
	jQuery('input').keyup(function() {
		var value = jQuery(this).val();
		if(value != '') {
			jQuery(this).siblings('label').css('display', 'none');
		}else{
			jQuery(this).siblings('label').css('display', 'block');
		}
	});


});
