onload=function(d,E,b,i,a){
   d=document;E=d.documentElement;b=d.body;if(!E)return;
   for(i=0;a=d.getElementsByTagName("a")[i];i++){
      if(a.rel=='thumb'){
         a.t=d.createElement("div");
         var img=document.createElement('img');
         img.src=a.href;
         a.t.appendChild(img);
         a.t.className="tooltip"
         a.onmouseover=function(e){
            this.onmousemove(e);
            b.appendChild(this.t);
         }
         a.onmouseout=function(){
            b.removeChild(this.t);
         }
         a.onmousemove=function(e){
            e=e||event;with(this.t.style){
               left=e.clientX+(E.scrollLeft||b.scrollLeft)+2+"px"
               top=e.clientY+(E.scrollTop||b.scrollTop)+-372+"px"
            }
         }
      }
   }
}
