var IEbrowser=/*@cc_on!@*/false; $(function(){var move=-15;var zoom=1.2;$("#applications .item").hover(function(){$this1=$(this);width1=$this1.width()*zoom;height1=$this1.height()*zoom;if(IEbrowser)$this1.find("img").stop().css({width:width1,height:height1,top:move,left:move});else $this1.find("img").stop(false,true).animate({width:width1,height:height1,top:move,left:move},{duration:200});if(IEbrowser)$(this).find("div.caption").show();else $this1.find("div.caption").stop(false,true).fadeIn(200)},function(){if(IEbrowser)$this1.find("img").stop().css({width:$this1.width(),height:$this1.height(), top:"0",left:"0"});else $this1.find("img").stop(false,true).animate({width:$this1.width(),height:$this1.height(),top:"0",left:"0"},{duration:100});if(IEbrowser)$(this).find("div.caption").hide();else $this1.find("div.caption").stop(false,true).fadeOut(200)});$("#top-cat-search-links .item2").hover(function(){$this2=$(this);width2=$this2.width()*zoom;height2=$this2.height()*zoom;if(IEbrowser)$this2.find("img").stop().css({width:width2,height:height2,top:move,left:move});else $this2.find("img").stop(false, true).animate({width:width2,height:height2,top:move,left:move},{duration:200});if(IEbrowser)$(this).find("div.caption").show();else $this2.find("div.caption").stop(false,true).fadeIn(200)},function(){if(IEbrowser)$this2.find("img").stop().css({width:$this2.width(),height:$this2.height(),top:"0",left:"0"});else $this2.find("img").stop(false,false).animate({width:$this2.width(),height:$this2.height(),top:"0",left:"0"},{duration:100});if(IEbrowser)$(this).find("div.caption").hide();else $this2.find("div.caption").stop(false, true).fadeOut(200)});$("#tabsHome li a").featureList({output:"#outputHome li",start_item:1});$("#tabsHome li a:first").click()}); (function($){$.fn.featureList=function(options){var tabs=$(this);var output=$(options.output);new jQuery.featureList(tabs,output,options);return this};$.featureList=function(tabs,output,options){function slide(nr){if(typeof nr=="undefined"){nr=visible_item+1;nr=nr>=total_items?0:nr}if(IEbrowser){tabs.removeClass("current").filter(":eq("+nr+")").addClass("current");output.filter(":visible").fadeOut(function(){$(this).find(".short-desc").animate({opacity:"0",height:"0px",bottom:"0px"},300)});output.filter(":eq("+ nr+")").fadeIn(function(){$(this).find(".short-desc").animate({opacity:"0.7",height:"70px",bottom:"0px"},300);visible_item=nr})}else{tabs.removeClass("current").filter(":eq("+nr+")").addClass("current");output.filter(":visible").fadeOut(600,function(){$(this).find(".short-desc").animate({opacity:"0",filter:"alpha(opacity=0)",height:"-13px",bottom:"0px"},300)});output.filter(":eq("+nr+")").fadeIn(600,function(){visible_item=nr;$(this).find(".short-desc").animate({opacity:"0.7",height:"70px",bottom:"0px"}, 300)})}}var options=options||{};var total_items=tabs.length;var visible_item=options.start_item||0;options.pause_on_hover=options.pause_on_hover||true;options.transition_interval=options.transition_interval||5E3;output.hide().eq(visible_item).show();tabs.eq(visible_item).addClass("current");tabs.live("click",function(){if($(this).hasClass("current"))return false;slide(tabs.index(this))});if(options.transition_interval>0){var timer=setInterval(function(){slide()},options.transition_interval);if(options.pause_on_hover)tabs.live("mouseenter", function(){clearInterval(timer)}).live("mouseleave",function(){clearInterval(timer);timer=setInterval(function(){slide()},options.transition_interval)})}}})(jQuery); (function($){$.fn.customFadeIn=function(speed,callback){$(this).fadeIn(speed,function(){if(jQuery.browser.msie)$(this).get(0).style.removeAttribute("filter");if(callback!=undefined)callback()})};$.fn.customFadeOut=function(speed,callback){$(this).fadeOut(speed,function(){if(jQuery.browser.msie)$(this).get(0).style.removeAttribute("filter");if(callback!=undefined)callback()})}})(jQuery);function preload(arrayOfImages){$(arrayOfImages).each(function(){$("<img/>")[0].src=this})} if(IEbrowser)preload(["images/front-content-slider/slide-images/sample1.jpg","images/front-content-slider/slide-images/sample2.jpg","images/front-content-slider/slide-images/sample3.jpg"]);
