 ICO_INFO="./img/info.png";ICO_WARNING="./img/warn.png";ICO_ERROR="./img/error.png";ICO_QUESTION="./img/question.png";function bm(){var fj=new Date();this.hg="dlgLoad_"+fj.getTime();var he=document.body;var hc=document.createElement("div");hc.setAttribute("id",this.hg);var hd=document.createElement("div");hd.className="hd";hd.innerHTML="Loading please wait";hc.appendChild(hd);var hh=document.createElement("div");hh.className="bd";hh.innerHTML="<img src=\"./grafx/loading.gif\">";hc.appendChild(hh);he.appendChild(hc);var ha=null;this.Show=function(){with(this){if(!ha)return;ha.show();}};this.Hide=function(){with(this){if(!ha)return;ha.hide();}};this.Init=function(){this.ha=new YAHOO.widget.Dialog(this.hg,{width:"230px",heigh:"55",fixedcenter:true,visible:false,modal:true,constraintoviewport:true});this.ha.render();}};function aC(oParams){var fj=new Date();this.hg="MessageBox_"+fj.getTime();var ha=null;this.hi=oParams.Header;this.hk=oParams.Text;this.hj=oParams.IconType;this.hb=null;this.hf=oParams.Buttons;this.Hide=function(){with(this){if(!ha)return;ha.hide();}};this.Close=function(){with(this){if(!ha)return;ha.hide();ha.destroy();}};this.Show=function(){with(this){if(!ha)return;ha.show();}};this.Init=function(){var he=document.body;var hc=document.createElement("div");hc.setAttribute("id",this.hg);var hd=document.createElement("div");hd.className="hd";hd.innerHTML=this.hi;hc.appendChild(hd);this.hb=document.createElement("div");this.hb.className="bd";this.hb.style.float="left";var hn=document.createElement("img");hn.src=this.hj;this.hb.appendChild(hn);var ho=document.createElement("div");ho.innerHTML=this.hk;var hl=hq?"message_txt_ie6":"message_txt";ho.className=hl;this.hb.appendChild(ho);hc.appendChild(this.hb);he.appendChild(hc);this.ha=new YAHOO.widget.Dialog(this.hg,{width:"300px",fixedcenter:true,visible:false,modal:true,constraintoviewport:true});this.ha.render();if(this.hf==null||this.hf==undefined)this.hs();else{for(fX in this.hf){var hp=this.hf[fX];this.hw(hp.text,hp.handler,hp.mapclose);}}};this.hs=function(){var hm=document.createElement("div");hm.className=hq?"buttonOK_ie6":"buttonOK";hm.innerHTML="OK";hm.id="btnOK";this.hb.appendChild(hm);var oOwner=this;function bA(){if(oOwner)oOwner.Close();};this.ht(hm);document.getElementById("btnOK").onclick=bA;this.hu(bA);};this.hw=function(sBtnCaption,pfOnClick,hN){var hm=document.createElement("div");hm.className="buttonDialog";hm.innerHTML=sBtnCaption;var hv=sBtnCaption+"_id";hm.id=hv;this.hb.appendChild(hm);var oOwner=this;function aj(){pfOnClick(oOwner);};document.getElementById(hv).onclick=aj;this.ht(hm);if(hN){this.hu(aj);}};this.ht=function(hm){hm.onmouseover=function(){hm.style.color="#A78406";hm.style.backgroundImage="url('./img/button_roll.png')";};hm.onmouseout=function(){hm.style.color="#6E7888";hm.style.backgroundImage="url('./img/button.png')";}};this.hu=function(pfCloseFunc){if(!this.ha)return;YAHOO.util.Event.addListener(this.ha.close,"click",pfCloseFunc,this.ha);}} 
