/* [jQuery] */
$(function() {

	/* [Shadowbox] */
	Shadowbox.init({
		overlayColor: "#000"
	});
	/* [/End shadowbox] */

	/* [Accordion] */
	//Set default open/close settings
	$('.acc_container').hide(); //Hide/close all containers

	//On Click
	$('.acc_trigger').click(function(){
		if( $(this).next().is(':hidden') ) { //If immediate next container is closed...
			$('.acc_trigger').removeClass('active').next().slideUp(); //Remove all "active" state and slide up the immediate next container
			$(this).toggleClass('active').next().slideDown(); //Add "active" state to clicked trigger and slide down the immediate next container
		}
		return false; //Prevent the browser jump to the link anchor
	});
	/* [/End Accordion] */
	
	/* [Hide Label Class] */
	$("label").addClass("hide-label");
	/* [/End Hide Label Class] */
	
	/* [Fix Placeholder HTML5] */	
	$('input[placeholder], textarea[placeholder]').placeholder();
	/* [/End Fix Placeholder HTML5] */
	

	/* [Slideshow] */
	$('#slideshow').lofJSidernews( { 
			interval: 6000,
		 	easing: 'easeInOutQuad',
			duration: 1200,
			auto: true 
		});		
	/* [/End Slideshow] */
	
	/* [DropDown Menu] */	
	function addMega(){
			$(this).addClass("hovering");
		}
		function removeMega(){
			$(this).removeClass("hovering");
		}
	var megaConfig = {
		interval: 80,
		sensitivity: 4,
		over: addMega,
		timeout: 300,
		out: removeMega
	}
	$("#menu ul li").hoverIntent(megaConfig)
	/* [/End DropDown Menu] */		
	
});	
/* [/End jQuery] */	

/* [Share Icons Settings] */	
stLight.options({publisher:'12345'});
/* [/End Share Icons Settings] */	
