<!--

function padlength(what){
	var output=(what.toString().length==1)? "0"+what : what
	return output
}

function displaytime(){
	serverdate.setSeconds(serverdate.getSeconds()+1)	;
	var	timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+padlength(serverdate.getSeconds());
	document.getElementById("servertime").innerHTML=timestring;
	
}

function NRC(e) {
  if (document.layers || document.getElementById && !document.all) {
    if (e.which == 2 || e.which == 3) {
      document.captureEvents(Event.MOUSEDOWN);
      return false;
    }
  } else if (document.all && !document.getElementById) {
    if (event.button == 2)
      return false;
  }
}

function NCM () {
  return false;
}


function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

/*
window.onload=function(){
	setInterval("displaytime()", 1000)
}
*/

addLoadEvent(function() {
  setInterval("displaytime()", 1000)
});

self.focus();
document.onmousedown = NRC;
document.oncontextmenu = NCM;

//-->