$(document).ready(function(){
		//FOR FEATURES
		var $defLi = $('.ih-homeFeat-1-menu li:not(:first)');
		var $Mli = $('.ih-homeFeat-1-menu li');
		//Hide elements
		$('.ih-homeFeat-1-gallery a:not(:first)').hide();
		$defLi.children().css('opacity',.5);
		$('.ih-homeFeat-1-menu li:not(:first)').children().css('opacity',.5);
		$('.ih-homeFeat-1-menu li:first').addClass('ih-homefeat-1-hover');
		$('.ih-homeFeat-1-menu li:first').children().css('opacity',1);
		function showFeat(){
			var n = $Mli.index($(this)); //identify the tab
			var $Fimg = $('.ih-homeFeat-1-gallery a:eq('+n+')'); //Identify image
			if (this.className!='ih-homefeat-1-hover') {
				$Mli.removeClass('ih-homefeat-1-hover');
				$(this).addClass('ih-homefeat-1-hover');
				$('.ih-homeFeat-1-menu li:not(this)').children().animate({opacity:0.5}, 300);
				$(this).children().animate({opacity:1}, 200);
				$('.ih-homeFeat-1-gallery a:visible').fadeOut();
				$Fimg.fadeIn();
				return false;
			}
			};
		function hideFeat() {};
		
		var hoverConfigMenu = {sensitivity: 3, interval: 200, over: showFeat, timeout: 200, out: hideFeat };
		$Mli.hoverIntent(hoverConfigMenu);
		
		//FOR TOOLBOX
			$('.ih-featMenu-2-cont div:not(:first)').hide();
			$('.ih-homeFeatMenu li:first a').addClass('ih-cTab');
			$('.ih-homeFeatMenu li a').click(function(){
				var tarID = $(this).attr("href");
				$('.ih-homeFeatMenu li a').removeClass('ih-cTab');
				this.blur();
				$(this).addClass('ih-cTab');
				$('.ih-featMenu-2-cont div:visible').hide();
				$("div#" + tarID).show();
				return false;
			});
	});