function init ( )
{
  timeDisplay = document.createTextNode ( "" );
  document.getElementById("clock").appendChild ( timeDisplay );
	
  screenShotDisplay = document.createElement('<img src="img1.jpg" />');

  document.getElementById("screenshot").appendChild(screenShotDisplay);
}

function updateClock ( )
{
  var currentTime = new Date ( );

  var currentHours = currentTime.getHours ( );
  var currentMinutes = currentTime.getMinutes ( );
  var currentSeconds = currentTime.getSeconds ( );
  currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
  currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;

  var currentTimeString = currentHours + ":" + currentMinutes + ":" + currentSeconds;

  // Update the time display
  document.getElementById("clock").firstChild.nodeValue = currentTimeString;
}


function winstatus(){
	window.status="" ;
	return true;
} 
if (document.layers) document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT); 
    document.onmouseover=winstatus; 
    document.onmouseout=winstatus; 
    var info = null; 

function showScreenshot(url){ 
    document['screenshot'].src=url;
} 