hasxml=window.ActiveXObject || (window.XMLHttpRequest&&ua.indexOf('Konqueror/3.3')==-1);infodiv=null;var sbbeg='<div class="sbox" style="margin:0"><div class="bi"><div class="bt"><div></div></div><div class="bc"><div class="bc2" style="padding: 0 4px">';var sbend='</div></div><div class="bb"><div></div></div></div></div>';function inf(ev,text,r,t){r=r || this.rel; t=t || this;if(r=="info"&&!hasxml){return true; }
ev=ev || window.event;if(ev.pageX || ev.pageY){x=ev.pageX; y=ev.pageY;}else{x=ev.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;y=ev.clientY + document.body.scrollTop + document.documentElement.scrollTop;}
if(r=="footnote")y+=20;w=getwidth();if(w&&x+300 > w){x=w - 320;}
else if(x>400){x=400; }
if(!infodiv){infodiv=document.createElement('div');document.getElementsByTagName('body')[0].appendChild(infodiv);}
st=infodiv.style;st.display="none";
st.position="absolute";
st.left=x+"px";
st.top=y+"px";
st.background='#ffffff';st.width='300px';st.zIndex=5000;if(r=="footnote"){infodiv.innerHTML=sbbeg+text+sbend;st.display="block";
t.onmouseout=closinf;return false;}
var u=t.toString()+";r=1";
var r;if(window.XMLHttpRequest){r=new XMLHttpRequest();r.onreadystatechange=function(){inf2(r,t); }
r.open("GET",u);r.send(null);}else{r=new ActiveXObject("Microsoft.XMLHTTP");if(r){r.onreadystatechange=function(){inf2(r,t); }
r.open("GET",u,true);r.send();}else{return true;}}
return false;}
function closinf(){if(infodiv){infodiv.style.display="none";
}
if(this.rel=="footnote"){this.onmouseout=null;}
return false;}
function inf2(r,obj){if(!infodiv)return;if(r.readyState==4){st=infodiv.style;st.display="block";
infodiv.innerHTML=sbbeg+r.responseText+sbend;list=infodiv.getElementsByTagName('a');for(i=0;i<list.length;i++){if(!list[i].onclick)list[i].onclick=function(){closinf();return true;};
}}}
function _amfn(a){var t=a.title;a.onmouseover=function(ev){inf(ev,t,"footnote",this); };
a.onclick=function(){return false; };
a.title=null;}
function prepinfo(){var list=document.getElementsByTagName('a');for(i=0;i<list.length;i++){var a=list[i];
if(a.rel){if(a.rel=="info"){a.onclick=inf;}
else if(a.rel=="footnote"){_amfn(a);}}}}
_ae('load',prepinfo);