function rightClick(rButton) {
  if (navigator.appName == 'Netscape' && (rButton.which == 2 || rButton.which == 3)) {
	return false;
  }
  else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
	document.oncontextmenu=new Function("return false");
	return false;
  }
  return true;
}
function checkKey() {
  if (navigator.appName == 'Netscape') {
	window.captureEvents(Event.KEYPRESS);
	window.onkeypress = function(e) {
	  if (e.which == '110')
		return false;
	};
  } else {
	if (window.event.ctrlKey) {
	  if (window.event.keyCode == 78) {
		event.cancelBubble = true;
		event.returnValue = false;
		event.keyCode = false; 
		return false;
	  } else {
		event.returnValue = true;
	  }
	} else {
	  event.returnValue = true;
	}
  }
}
function disableStatus() {
  for (var count = 0; count < document.links.length; count++) {
	//-document.links[count].onmouseover = blankstatus;
	document.links[count].onfocus = blankstatus;
  }
}
function blankStatus() {
  window.status="";
  return true;
}

function popUpnews(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=500,left = 276,top = 132');");
}


var gizmo;
 
function stopClock(){
  clearTimeout(gizmo);
}
 
function yourClock(){
  var nd = new Date();
  var h, m;
  var s;
  var time = " ";
  h = nd.getHours();
  m = nd.getMinutes();
  s = nd.getSeconds();
  if (h <= 9) h = "0" + h;
  if (m <= 9) m = "0" + m;
  if (s <= 9) s = "0" + s;
  time += h + ":" + m + ":" + s; 
  //-document.the_clock.the_time.value = time;
  document.getElementById("the_time").innerHTML = time;
  gizmo = setTimeout("yourClock()", 1000);
}

/*
function popUpYM(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=260,height=430,left = 276,top = 132');");
}


function showimage(val1) {

	var winx = window.open("liveym.html","test","resizable=no,height=400,width=400");

}
*/
