$(document).ready(function(){

	$(".slidex").click(function(){
	$("#search_drop_contain").slideToggle("slow");
		$(this).toggleClass("activex"); return false;
	});
	
	 
});

$(document).ready(function() {
	anchor.init()
});

anchor = {
	init : function()  {
		$("a.anchorLink").click(function () {	
			elementClick = $(this).attr("href")
			destination = $(elementClick).offset().top;
			$("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination}, 1100 );
		  	return false;
		})
	}
}
    

/*
navHover = function() {
var lis = document.getElementById("navmenu").getElementsByTagName("LI");
for (var i=0; i<lis.length; i++) {
lis[i].onmouseover=function() {
this.className+=" iehover";
}
lis[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" iehover\\b"), "");
}
}
}

if (window.attachEvent) window.attachEvent("onload", navHover);
*/
  var slide_toggle = 1;
  $(document).ready(function() {
    $('.slideToggle').hover(
		  function() {
				var getWidth = $(this).width();
				if (slide_toggle == 1) {
	  	    $('.slideToggle > .cover').animate({left: -getWidth}, 500);
					slide_toggle = 0;
				}
		});
		// $('.slideToggle').mouseleave (
//		  function() {
//				if (slide_toggle == 0) {
//  	    $('.slideToggle > .cover').animate({left: 0}, 500);
//					slide_toggle = 1;
//				}
//	   });
  });
$(document).ready(function(){
				//To switch directions up/down and left/right just place a "-" in front of the top/left attribute
			
				//Horizontal Sliding
				$('.boxhere.slideplease').hover(function(){
					$(".coverme", this).stop().animate({left:'-281px'},{queue:false,duration:500});
				}, function() {
					$(".coverme", this).stop().animate({left:'0px'},{queue:false,duration:500});
				});
				
			});

    
