function MapPopup(a,b,c,d){this.constructor(a,b,c,d);this.element.className="popupdropshadow";this.img=document.createElement("img");this.content.appendChild(this.img);this.text=document.createElement("div");this.content.appendChild(this.text)}MapPopup.prototype=new PopupElement(0,0);delete MapPopup.prototype.revealClosure;delete MapPopup.prototype.delay;delete MapPopup.prototype.opacity;delete MapPopup.prototype.finalOpacity;MapPopup.prototype.constructor=PopupElement;
MapPopup.prototype.show=function(a){a.alt?this.setContent("images-small/"+a.alt+".jpg",a.alt):this.setContent("none","undefined");PopupElement.prototype.show.call(this)};MapPopup.prototype.setContent=function(a,b){this.img.src=a;this.text.innerHTML=b};MapPopup.prototype.setEventHandlers=function(){for(var a=document.getElementsByTagName("area"),b=0;b<a.length;b++){a[b].onmouseover=show;a[b].onmouseout=hide;a[b].onmousemove=updatePos;(new Image).src="images-small/"+a[b].alt+".jpg"}};
var mappopup=new MapPopup(0,100,10,8);function show(a){if(!a)a=window.event;mappopup.updatePos(a);mappopup.show(this)}function hide(){mappopup.hide()}function updatePos(a){if(!a)a=window.event;mappopup.updatePos(a)};

