$(document).ready(function(){sfHover=function(){var sfEls=document.getElementById("nav").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfhover";};sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfhover\\b"),"");};}};if(window.attachEvent){window.attachEvent("onload",sfHover);}$("#top_options li:last-child").css('border-right','0');$("#nav li:last-child").css('border-right','1px solid #eaeaea');$("#nav ul li:last-child").css('border','0');$("#breadcrumbs li:first-child").css('list-style','none');$("#breadcrumbs li:last-child").css('padding-right','0');$("#breadcrumbs li:last-child a").css('color','#ec1c23');$("#roi div:last-child").css('padding','20px');function customerSlide(){var active=$('#rail #customers img.active');if(active.length==0)active=$('#rail #customers img:last');var next=active.next().length?active.next():$('#rail #customers img:first');active.addClass('last-active');next.css({opacity:0}).addClass('active').animate({opacity:1},1000,function(){active.removeClass('active last-active')})}(function loop(){customerSlide();setTimeout(loop,5000)})()});
