//****** Advanced DHTML Popup Pro Version 2.40.096.201.019,  Build: 130 ******

// Copyright (c) Digital Flow Software 2005-2006
// The present javascript code is property of Digital Flow Software.
// This code can only be used inside Internet/Intranet web sites located on *web servers*, as the outcome of a licensed Advanced DHTML Popup application only. 
// This code *cannot* be used inside distributable implementations (such as demos, applications or CD-based webs), unless this implementation is licensed with an "Advanced DHTML Popup License for Distributed Applications". 
// Any unauthorized use, reverse-engineering, alteration, transmission, transformation, facsimile, or copying of any means (electronic or not) is strictly prohibited and will be prosecuted.
// ***Removal of the present copyright notice is strictly prohibited***

var df,rf=false,na=navigator.userAgent,dt=document,op=(na.indexOf('Opera')!=-1),dm=(dt.getElementById)?true:false,ie5x=(dt.all&&dm),mci=(na.indexOf('Mac')!=-1);df=((ie5x||op)&&mci);decide();function decide(){if(df){return;}else{rf=true;}}
if(rf){
function initADP(){bdf=0;
// *** Begin advanced user scripting area ***
   htmlstring="<iframe src=\"\" name=\"buttonDropDown\" id=\"buttonDropDown\" width=100% height=100% align=\"center\" Frameborder=\"0\" Scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\"></iframe>"
   new adp("buttonDropDown",htmlstring,"");
   // this line call the function to watch for the close button click:
   detectClose('buttonDropDown'); 
// *** End advanced user scripting area ***
}
initADP();
}
// this function
function detectClose(id){
   idClose=id+'_close';
   document.getElementById(idClose).onclick=function(){
      var paneCancelObj = document.getElementById('paneCancelFunc');
      if (paneCancelObj != undefined && paneCancelObj != null) {
         var paneCancelFuncName = paneCancelObj.value;
          if (paneCancelFuncName != undefined && paneCancelFuncName != null) {
            window[paneCancelFuncName]();
          }
      }
      hide(id);
   }
}
