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