jQuery.noConflict();
var timeractive=true;var $nextSelected=null;var $nextImgSelected=null;function slideSwitch(d,c){if(timeractive){var a=jQuery("#tab_style li.tab_selected");var b=jQuery("#slideshow li.active");if(a.length==0){a=jQuery("#slideshow li:last")}if(b.length==0){b=jQuery("#slideshow li:last")}if($nextSelected==null&&$nextImgSelected==null){$next=a.next().length?a.next():jQuery("#tab_style li:first");$nextImg=b.next().length?b.next():jQuery("#slideshow li:first")}else{$next=$nextSelected;$nextImg=$nextImgSelected;$nextSelected=null;$nextImgSelected=null}a.addClass("tab_selected");$next.addClass("tab_selected").animate({opacity:1},d,function(){a.removeClass("tab_selected")});b.addClass("last-active");$nextImg.css({opacity:0}).addClass("active").animate({opacity:1},d+c,function(){b.removeClass("active last-active")})}}jQuery(function(){setInterval("slideSwitch(100, 900)",5000);$hoverTab=jQuery("#tab_style li a");$hoverTab.mouseover(function(a){var b=jQuery(this).attr("id");$nextSelected=jQuery("#tab_text"+b);$nextImgSelected=jQuery("#image"+b);slideSwitch(10,0);timeractive=false});$hoverTab.mouseout(function(a){var b=jQuery(this).attr("id");timeractive=true;$next=jQuery(b+" li:first")});$hoverImg=jQuery("#slideshow li, .display_mid_column map");$hoverImg.mouseover(function(a){var b=jQuery("#slideshow li").attr("id");$nextSelected=jQuery("#tab_text"+b);$nextImgSelected=jQuery("#image"+b);slideSwitch(10,0);timeractive=false});$hoverImg.mouseout(function(a){var b=jQuery(this).attr("id");timeractive=true;$next=jQuery(b+" li:first")})});
