$(document).ready(function(){
						   
	// Home Page Feature Panels
	$('.HeaderWrap .FeaturedMenu > ul > li').featureList({
		output		: '.HeaderWrap .HeaderImage li',
		pause_on_hover: true,
		onSelected: function(tab){
			tab.css({height: '19px', width: '210px'})
			.animate({height: '64px'}, 500, 'easeOutQuad')
			.animate({width: '235px'}, 500, 'easeOutQuad');
		},
		onDeselected: function(tab){
			tab.css({height: '64px', width: '235px'})
			.animate({height: '19px'}, 500, 'easeOutQuad')
			.animate({width: '210px'}, 500, 'easeOutQuad');
		}
	});
	
	// Main Menu Effect
	$(".current_page_item").addClass('current');
	$(".MainMenu > ul").lavaLamp({ fx: "easeOutBack", speed: 700 });
	
	// Search Box Default text
	var searchDefault = 'Search...';	// Default search box text
	$('#s').val(searchDefault)
	.focusin(function(){
		if($(this).val() == searchDefault){
			$(this).val('');
		}
	})
	.focusout(function(){
		if($(this).val() == ''){
			$(this).val(searchDefault);
		}
	});
});

$(window).bind("load", function() { 
	// Portfolio Main Article Image Gallery
	$(".ImageGallery").slideView();
}); 