function theRotator(){$(".asSeenInImg").css({opacity:0});$(".asSeenInImg:first").css({opacity:1});setInterval("rotate()",6000);}function rotate(){var current=($(".asSeenInImg.show")?$(".asSeenInImg.show"):$(".asSeenInImg:first"));var next=((current.next().length)?((current.next().hasClass("show"))?$(".asSeenInImg:first"):current.next()):$(".asSeenInImg:first"));next.css({opacity:0}).addClass("show").animate({opacity:1},1000);current.animate({opacity:0},1000).removeClass("show");}$(function(){theRotator();$.ajaxSetup({error:function(){$.getJSON("sessionCheck",function(data){if(data.sessionBoolean=="false"){location.reload(true);}});}});});
