var pn=null;function initInfoWindow(h){var g=h+"_self";var i=d_obj(h);var f=d_obj(g);if((i!=null)&&(f!=null)){addEvent(i,"mouseover",function(){areaInfoWinOnMouseOver(h,g)});addEvent(i,"mouseout",function(){areaInfoWinOnMouseOut(h,g)});addEvent(i,"mousemove",function(a){areaInfoWinOnMouseMove(a,h,g)});var j=d_obj(h+"_ii");if(j!=null){addEvent(j,"mouseover",function(){areaInfoWinOnMouseOver(h,g)});addEvent(j,"mouseout",function(){areaInfoWinOnMouseOut(h,g)});addEvent(j,"mousemove",function(a){areaInfoWinOnMouseMove(a,h,g)})}}}function areaInfoWinOnMouseOver(c,d){d_style(d).visibility="visible";if((d_obj(c+"_ln")!=null)&&(navigator.appVersion.indexOf("MSIE")!=-1)){d_style(c+"_ln").display="none"}}function areaInfoWinOnMouseOut(c,d){d_style(d).visibility="hidden";if((d_obj(c+"_ln")!=null)&&(navigator.appVersion.indexOf("MSIE")!=-1)){d_style(c+"_ln").display="block"}}function areaInfoWinOnMouseMove(s,n,q){var e=12;var t=d_obj(n);pn=t;var o=d_obj(q);var r=getMousePosition(s,t);var v=Math.round(o.offsetHeight/2);var u=0;
var m=(r.x-getParentOffsetLeft(o)+e)+d_obj(q).offsetWidth+getParentOffsetLeft(o);var p=Math.round(getParentOffsetLeft(t)+t.offsetLeft+t.offsetWidth+o.offsetWidth);if(p>document.body.offsetWidth){u=d_obj(q).offsetWidth+e+5}d_style(q).left=(r.x-getParentOffsetLeft(o)+e)-u+"px";d_style(q).top=(r.y-getParentOffsetTop(o))-v+"px"}function getMousePosition(d,e){var f={x:null,y:null};if(navigator.appVersion.indexOf("MSIE 8")!=-1){f.x=window.event.x+getParentOffsetLeft(e);f.y=window.event.y+getParentOffsetTop(e)}else{if(navigator.appVersion.indexOf("MSIE")!=-1){f.x=window.event.x+e.offsetParent.offsetParent.offsetParent.offsetParent.offsetLeft;f.y=window.event.y+e.offsetParent.offsetParent.offsetParent.offsetTop}else{f.x=d.pageX;f.y=d.pageY}}return f}function getParentOffsetLeft(d){var f=d.offsetParent;var e=0;while((f.nodeName!="BODY")&&(f.nodeName!="HTML")){e=e+f.offsetLeft;f=f.offsetParent}return e}function getParentOffsetTop(d){var f=d.offsetParent;var e=0;while((f.nodeName!="BODY")&&(f.nodeName!="HTML")){e=e+f.offsetTop;
f=f.offsetParent}return e};
