var reg_c=1;
  function reg_set()
  {


    reg_c=reg_c+1;
    if(reg_c>2)  document.reg_save.save_reg.value='';
  }

   function dell(path)
       {
        if(confirm("Удалить?"))
        {
                location.href=path;
        }

       }



function reg_set(obj,name)
  { 
     document.obj.name.style.visibility="hidden";
  }




function MM_jumpMenu(targ,selObj,restore,url){
  eval(targ+".location='"+url+selObj.options[selObj.selectedIndex].value+"'");

  if (restore) selObj.selectedIndex=0;
}

         function time(n) {
    tid=window.setTimeout("time(1)",to);
    today = new Date()
    if(today.getMinutes() < 10){
        pad = "0"}
    else
    pad = "";
    if(today.getSeconds() < 10){
        pads = "0"}
    else
    pads = "";
timestr=today.getHours()+":"+pad+today.getMinutes()+":"+pads+today.getSeconds();
                f.result.value = timestr;
                window.status = timestr;
  window.clearTimeout(tid);
  tid=window.setTimeout("time()",to);
}

function start(x) {
  f=x;
                to=60;
  time(x);
  }

function cleartids() {
 window.clearTimeout(tid);
}