function submit_confirm(txt,url)
{
     var txt;
     var url;
     var confirmSub = confirm(txt);
     if (confirmSub)
     {
          window.location = url;
     }
     else
     {
          return false;
     }
}
function delete_confirm(txt)

{
  var txt;
  var confirmSub = confirm(txt);
  if (confirmSub) { return true; } else { return false; }

}
function popWindow(URL,LEFT,TOP,WIDTH,HEIGHT,SCROLLBARS,RESIZE)
{
  day = new Date();
  id = day.getTime();
  eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=" + SCROLLBARS + ",location=0,statusbar=0,menubar=0,left=" + LEFT + ",top=" + TOP + ",screenX=0,screenY=0,resizable=" + RESIZE + ",width=" + WIDTH + ",height=" + HEIGHT + "');");
}
function backupSelect()
{
	for (var i=0;i<document.MyForm.elements.length;i++)
        {
        	var e = document.MyForm.elements[i];
                if ((e.name != 'log') && (e.name != 'structure') && (e.name != 'compress') && (e.type=='checkbox'))
                {
                	e.checked = document.MyForm.log.checked;
                }
        }
}
