var div1=null;var div2=null;function SetDivWidth(a,b){if(a){a.style.width=b}}function SetDivPos(a,b,c){if(a){if(isNaN(b+c)){return}a.style.left=b+'px';a.style.top=c+'px'}}function SetDivText(a,b){if(a){a.innerHTML=b}}function SetDivFont(a,b,c,d,e,f,g,h){if(a){a.style.color=b;a.style.fontSize=d+'px';a.style.fontFamily=c;if(e){a.style.fontStyle='italic'}else{a.style.fontStyle='normal'}if(f){a.style.fontWeight='bold'}else{a.style.fontWeight='normal'}if(g){a.style.backgroundColor=h}else{a.style.backgroundColor=''}}}function PopupRolloverShow(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){if(o>0){var p=document.body.clientWidth;var q=(p-o)/2;b=b+q;e=e+q}if(div1===null){div1=document.createElement('DIV');div1.style.position='absolute';div1.style.zIndex='100';document.body.appendChild(div1);div2=document.createElement('DIV');div2.style.position='absolute';div2.style.zIndex='100';document.body.appendChild(div2)}onDiv=a;SetDivText(div1,"<a onmouseout='PopupRolloverTimedHide(100)' onmouseover='onDiv=1'><img border=0 name=ib src='"+a+"'></a>");SetDivPos(div1,b,c);if(d){SetDivFont(div2,g,h,i,j,k,l,m);SetDivPos(div2,e,f);SetDivText(div2,"<a onmouseout='PopupRolloverTimedHide(100)' onmouseover='onDiv=2'>"+d+"</a>");SetDivWidth(div2,n)}else{SetDivText(div2,"");SetDivPos(div2,-10000,-10000);SetDivWidth(div2,10)}}function PopupRolloverTimedHide(a){onDiv=0;timeoutID=window.setTimeout('PopupRolloverHide()',a)}function PopupRolloverHide(){if(onDiv===0){SetDivText(div1,"");SetDivPos(div1,-1000,-1000);SetDivText(div2,"");SetDivPos(div2,-1000,-1000)}}
