window.onload = function() {
    clock_form();
    if (typeof(interfaceLoad)=='function') { 
        interfaceLoad();
        
    }
}

function cleanupNode(node) {
    var el = node;
    while (el.childNodes.length>0) { el.removeChild(el.firstChild); }
}
function insertText(element, text) {
    element.appendChild(document.createTextNode(text));
}

function clock_form()
{
  day=new Date()
  temp_min=day.getMinutes()
  if (temp_min < 10) minutes="0"+temp_min
  if (temp_min > 9) minutes=temp_min
  clock_f=day.getHours()+":"+minutes
  document.form.f_clock.value=clock_f
  id=setTimeout("clock_form()",300)
}

