function SimpleContainer(id){this.base=SimpleViewBase;this.base(id);this.type="SimpleContainer";this.hashcode="SimpleContainer@"+Math.floor(Math.random()*9999999999);this.setInfotext=elm_setInfotext;this.setInfosound=elm_setInfosound;this.soundURL=null;this.elmInfotext=document.getElementById(this.id+"Infotext");this.elmInfoIcon=document.getElementById(this.id+"InfotextIcon");this.elmInfotextContent=document.getElementById(this.id+"InfoboxContent");if(this.elmInfoIcon&&this.elmInfotext){this.elmInfoIcon.obj=this;this.elmInfotext.obj=this;this.elmInfoIcon.onmouseover=handleOnMouseOver;this.elmInfotext.onmouseover=handleOnMouseOut;this.elmInfoIcon.onmouseout=handleOnMouseOut;}
function elm_setInfotext(infotext){this.setElement(this.elmInfotextContent,infotext);}
function elm_setInfosound(url){this.soundURL=url;}
function handleOnMouseOver(e){if(eplayer&&eplayer.startPlaying&&this.obj.soundURL){eplayer.startPlaying(this.obj.soundURL);}}
function handleOnMouseOut(e){if(eplayer&&eplayer.stopPlaying&&this.obj.soundURL){eplayer.stopPlaying();if(!e){e=window.event;}
e.cancelBubble=true;}}}
