 var ExqModalDialogInterval;
 var ExqModalDialog = new Object;

 function ExqModalDialogMaintainFocus()
 {
   try
   {
     if (ExqModalDialogWindow.closed)
     {
        window.clearInterval(ExqModalDialogInterval);      
        window.location.href = window.location.href;
        return;
     }     
   }
   catch (err) {   }
 } 
        
        
 function ExqModalDialogShow(Address, Key, Args)
 {  
   try   
   {
     var browser=navigator.appName;
               
     ExqModalDialogWindow = window.open(Address, Key, Args);
     ExqModalDialogWindow.focus();
     ExqModalDialogInterval = window.setInterval("ExqModalDialogMaintainFocus()",5);s     
   
   }
   catch(err)
   {}

 }
