function TopSlider(){var e=.6,r=jQuery(window).width();r<1200&&(r=1200),r>1600&&(e=.55);var t=.5*r,a=r*e,s=.5*(r-jQuery(".container").width()),i=t/1.9;i<235&&(i=235),jQuery("#slider_top").css({height:i+"px"}),jQuery("#slider_top").css({width:r+"px"}),jQuery("#carousel1 li").css({width:r+"px"}),jQuery(".overlap_widget_wrapper").css({width:r+"px"}),jQuery("#slider_top a.callbacks_nav.next").css({right:s+"px",top:.5*i-.5*jQuery("#slider_top a.callbacks_nav.next").height()+"px"}),jQuery("#slider_top a.callbacks_nav.prev").css({left:s+"px",top:.5*i-.5*jQuery("#slider_top a.callbacks_nav.next").height()+"px"}),jQuery("#carousel1 .overlap_widget_wrapper .left_image .title").css({left:s+"px"}),jQuery("#carousel1 .overlap_widget_wrapper .right_image .title").css({right:s+"px"}),jQuery(".overlap_widget_wrapper .left_image").css({width:a+"px"}),jQuery(".overlap_widget_wrapper .left_image .placeholder").css({width:t+"px"}),jQuery(".overlap_widget_wrapper .right_image").css({width:a+"px"}),jQuery(".overlap_widget_wrapper .right_image .placeholder").css({width:t+"px"}),jQuery("#back-top").css({bottom:jQuery("#footer").height()+150+"px"});var p=!1,l=0;jQuery(".placeholder").mouseenter(function(){p=!0,jQuery(this).parent().css({zIndex:"999"}),jQuery(this).stop().animate({width:a+"px"},550,"easeOutQuad")}),jQuery(".placeholder").mouseleave(function(){p=!1,l++,jQuery(this).parent().css({zIndex:l}),jQuery(this).stop().animate({width:t+"px"},550,"easeOutQuad")})}jQuery(function(){jQuery("#slider_top a.callbacks_nav").hover(function(){jQuery(this).stop().animate({opacity:1},500)},function(){jQuery(this).stop().animate({opacity:.6},500)}),jQuery("#carousel1").responsiveSlides({pager:!1,nav:!0,speed:1e3,auto:!0,timeout:3600,namespace:"callbacks"}),jQuery("#carousel").elastislide({easing:"easeInOutQuad",speed:1200})});