function smartRollover(){if(document.getElementsByTagName){var d=document.getElementsByTagName("img");for(var c=0;c<d.length;c++){if(d[c].getAttribute("src").match("_off.")){d[c].onmouseover=function(){this.setAttribute("src",this.getAttribute("src").replace("_off.","_over."))};d[c].onmouseout=function(){this.setAttribute("src",this.getAttribute("src").replace("_over.","_off."))}}}}}if(window.addEventListener){window.addEventListener("load",smartRollover,false)}else{if(window.attachEvent){window.attachEvent("onload",smartRollover)}}$(function(){$("#categoryarea li:first").css("background","none")});$(function(){$("a[href*=#]").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var c=$(this.hash);c=c.length&&c;if(c.length){var b=0;var a=1200;var d=c.offset().top-b;$("html,body").animate({scrollTop:d},{duration:a,easing:"easeOutExpo"});return false}}})});$(function() {$("#history_delete").click(function() {$("#history, #history_content").css("display","none");$.ajax({type: 'POST',url: '/compare/reset/',data: "",success: ""});return false;});});

