
  			function display() {
    				var Today = new Date();
    				var theyear=Today.getFullYear();
    				var themonth=Today.getMonth()+1;
    				var thetoday=Today.getDate();
    				var hours = Today.getHours();
    				var min = Today.getMinutes();
    				var sec = Today.getSeconds();
    				var Day = (thetoday+ "." + themonth+ "." + theyear);
    				var Time = ((hours > 24) ? hours - 24 :(hours == 0) ? 24 :hours);
    				Time += ((min < 10) ? ":0" : ":") + min;
    				Time += ((sec < 10) ? ":0" : ":") + sec;
    				//Time += (hours >= 12) ? " PM" : " AM";
    				this.clock.value = Time;
    				setTimeout("display()",1000);
    				this.datum.value = Day;
		}

		display();

	
