function jQuery(a){return document.getElementById(a)}function gotop(){jQuery("showArea").scrollTop-=spec}function gobottom(){jQuery("showArea").scrollTop+=spec}var MyMar,speed,spec,ipath,thumbs,i;for(document.getElementsByClassName=function(a){var e,f,b=[],c=new RegExp("\\b"+a+"\\b"),d=this.getElementsByTagName("*");for(e=0;e<d.length;e++)f=d[e].className,c.test(f)&&b.push(d[e]);return b},speed=1,spec=1,ipath="../../jq22images/",thumbs=document.getElementsByClassName("thumb_img"),i=0;i<thumbs.length;i++)thumbs[i].onmouseover=function(){jQuery("main_img").src=this.rel,jQuery("main_img").link=this.link},thumbs[i].onclick=function(){location=this.link};jQuery("main_img").onclick=function(){location=this.link},jQuery("gotop").onmouseover=function(){this.src=ipath+"gotop2.gif",MyMar=setInterval(gotop,speed)},jQuery("gotop").onmouseout=function(){this.src=ipath+"gotop.gif",clearInterval(MyMar)},jQuery("gobottom").onmouseover=function(){this.src=ipath+"gobottom2.gif",MyMar=setInterval(gobottom,speed)},jQuery("gobottom").onmouseout=function(){this.src=ipath+"gobottom.gif",clearInterval(MyMar)};