jQuery(document).ready(function($){
	$('.wppt_cycle').cycle()							

	$("#sliding_banner").scrollable({size:1}).circular().autoscroll({steps:1, interval:9000, autoplay: true}).mousewheel(500).navigator({
		navi: "#ban_tabs ul",
		naviItem: 'a', 
		activeClass: 'current'
	});
	$('.services_item').hover(function(){
		$(this).animate({ backgroundColor: "#fefded"}, 500).css('border-color', '#f6cd8c');
	},function(){
		$(this).animate({ backgroundColor: "#F3F5FA" }, 700).css('border-color', '#caccd1');	
   });

	function addMega(){$(this).addClass("hovering");}
    function removeMega(){$(this).removeClass("hovering");}
    var megaConfig = {
         interval: 100,
         sensitivity: 10,
         over: addMega,
         timeout: 100,
         out: removeMega
    };
    $("li.mega").hoverIntent(megaConfig);

	$('.dark_green').hover(function(){$(this).animate({ backgroundColor: "#6c9319"}, 500);},function(){$(this).animate({ backgroundColor: "#82aa21" }, 500)});
	$('.light_green').hover(function(){$(this).animate({ backgroundColor: "#29c834"}, 500);},function(){$(this).animate({ backgroundColor: "#1fb128" }, 500)});
	$('.light_blue').hover(function(){$(this).animate({ backgroundColor: "#33c7dd"}, 500);},function(){$(this).animate({ backgroundColor: "#27b0c9" }, 500)});
	$('.dark_blue').hover(function(){$(this).animate({ backgroundColor: "#2977c8"}, 500);},function(){$(this).animate({ backgroundColor: "#1f61b1" }, 500)});
	$('.voilet_clr').hover(function(){$(this).animate({ backgroundColor: "#b029c8"}, 500);},function(){$(this).animate({ backgroundColor: "#991fb1" }, 500)});
	$('.pink_clr').hover(function(){$(this).animate({ backgroundColor: "#c82999"}, 500);},function(){$(this).animate({ backgroundColor: "#b11f82" }, 500)});
	$('.pnk_vio').hover(function(){$(this).animate({ backgroundColor: "#c8295d"}, 500);},function(){$(this).animate({ backgroundColor: "#b11f4a" }, 500)});

	function cntsHover(){$(this).animate({backgroundPosition: '(0 0)'});}
	function cntsOut(){$(this).animate({backgroundPosition: '(0 -196px)'});}
	
	var configCntct = {    
     sensitivity: 3,
     interval: 100,
     over: cntsHover,
     timeout: 100,
     out: cntsOut
	};

	$('#cntcus').css({backgroundPosition: '0 -196px'}).hoverIntent(configCntct)

	
});
