var offsetfrommouse=[10,10],displayduration=0,currentimageheight=0;if(document.getElementById||document.all)document.write('<div id="trailimageid" style="display:none; z-index:200; position:absolute;"></div>');function gettrailobj(){if(document.getElementById)return document.getElementById("trailimageid").style;else if(document.all)return document.all.trailimagid.style} function gettrailobjnostyle(){if(document.getElementById)return document.getElementById("trailimageid");else if(document.all)return document.all.trailimagid}function truebody(){return!window.opera&&document.compatMode&&document.compatMode!="BackCompat"?document.documentElement:document.body} function showtrail(b,c,a){if(a>0)currentimageheight=a;document.onmousemove=followmouse;newHTML='<div style="padding: 5px; background-color: #FFF; border: 1px solid #CCC;"><h3 style="margin-bottom:3px;padding-bottom:3px;border-bottom: 1px dotted #CCC;">'+c+"</h3>";newHTML+='<div align="center" style="padding:4px;"><img id="trail_img" src="'+b+'" border="0"></div></div>';gettrailobjnostyle().innerHTML=newHTML;currentimageheight=0;gettrailobj().display="inline"} function hidetrail(){gettrailobj().innerHTML=" ";gettrailobj().display="none";document.onmousemove="";gettrailobj().left="-15000px"} function followmouse(b){var c=offsetfrommouse[0],a=offsetfrommouse[1];if(document.all){truebody();truebody()}var d=document.all?Math.min(truebody().scrollHeight,truebody().clientHeight):Math.min(window.innerHeight);ox=gettrailobjnostyle().clientWidth;oy=gettrailobjnostyle().clientHeight+12;if(typeof b!="undefined"){c=b.pageX-c-ox;if(d-b.pageY<currentimageheight+oy){scrollTop=document.body?Math.max(truebody().scrollTop,document.body.scrollTop):truebody().scrollTop;a+=b.pageY-Math.max(0,oy+currentimageheight+ b.pageY-d-scrollTop)}else a+=b.pageY}else if(typeof window.event!="undefined"){c=event.clientX+truebody().scrollLeft-c-ox;a+=d-event.clientY<currentimageheight+oy?event.clientY+truebody().scrollTop-Math.max(0,oy+currentimageheight+event.clientY-d):truebody().scrollTop+event.clientY}if(a<0)a*=-1;gettrailobj().left=c+"px";gettrailobj().top=a+"px"};