function clock() {
if (!document.layers && !document.all) return;
var digital = new Date();
var hours = digital.getHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
var amOrPm = "AM";
var month = digital.getMonth();
var day = digital.getDate();
var year = digital.getYear();

var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
var themonth = months[month];
if (hours > 11) amOrPm = "PM";
if (hours > 12) hours = hours - 12;
if (hours == 0) hours = 12;
if (minutes <= 9) minutes = "0" + minutes;
if (seconds <= 9) seconds = "0" + seconds;

dispTime = themonth + " " + day + ", " + year + " " + hours + ":" + minutes + ":" + seconds + " " + amOrPm  ;

//if it is IE
if (document.all)
	{
	pendule.innerHTML=dispTime;
	setTimeout("clock()", 1000);
	}	
//if it NN4 or below
else if (document.layers)
{
	document.layers.pendule.document.write(dispTime);	
	document.layers.pendule.document.close();
}
//if it is NN6	
else
	{
	var myElement = document.getElementById("pendule");
	myElement.innerHTML =  dispTime;
	}	
}




function random_imglink(){
  var myimages=new Array()
  myimages[0]="/Interactive/lookandfeel/4143163/pic1.jpg"
  myimages[1]="/Interactive/lookandfeel/4143163/pic2.jpg"
  myimages[2]="/Interactive/lookandfeel/4143163/pic3.jpg"
  myimages[3]="/Interactive/lookandfeel/4143163/pic4.jpg"
  myimages[4]="/Interactive/lookandfeel/4143163/pic5.jpg"
  myimages[5]="/Interactive/lookandfeel/4143163/pic6.jpg"
  myimages[6]="/Interactive/lookandfeel/4143163/pic7.jpg"
  myimages[7]="/Interactive/lookandfeel/4143163/pic8.jpg"
  
  var ry=Math.floor(Math.random()*myimages.length)
  document.write('<img src="'+myimages[ry]+'" width="246" height="173" border="0" />');
  

}

