function ConfirmClick(aForm, aTitle, aMessage, aWidth, aHeight, aConfirmAction, aCancelAction)
{
   Result = ShowDialog(aForm, aTitle, aMessage, aWidth, aHeight);

   if (Result == 'btnOK')
   {
      eval(aConfirmAction);
      return true;
   }
   else if (Result == 'btnCancel')
   {
      eval(aCancelAction);
      return false;
   }
   else
      return false;

}

function ShowDialog(aForm, aTitle, aMessage, aWidth, aHeight)
{
   tmpResult=window.showModalDialog(aForm, null, "dialogWidth:"+aWidth+"px;dialogHeight:"+aHeight+"px;center:1;scroll:0;help:0;status:0");
   return tmpResult;
}

function MyMouseDown(e) {
  if (event.altKey && event.ctrlKey) picLogo.style.background='url(img/mnu_top.gif)';
}


function DoIt()
{
   alert('OK');
}

function CheckSubmit(e)
{
//   var keyCode=window.event?event.keyCode:e.which;
//   var srcElement=window.event?event.srcElement:e.target;
     
//   if(keyCode==13 && srcElement.form)
//      eval("document."+srcElement.form.name+".submit()");
}
