function intall(){
timeit();
}

function timeit(){
Stamp = new Date();
currentdate='' + (Stamp.getMonth() + 1) +"/"+Stamp.getDate()+ "/"+Stamp.getYear() + ' <br> '
var Hours;
var Mins;
var Time;
Hours = Stamp.getHours();

if (Hours > 12) {
Hours -= 12;
}

if (Hours == 0) {
Hours = 12;
}

Mins = Stamp.getMinutes();

if (Mins < 10) {
Mins = "0" + Mins;
}

currenttime='' + Hours + ":" + Mins + ''
document.time_form.clock.value=currenttime
setTimeout("timeit()",30000)
}

function toggleVisibility(id){
var e = document.getElementById(id);
if(e.style.display == 'none')
e.style.display = 'block';
else
e.style.display = 'none';
}

function toggleValue(id){
var e = document.getElementById(id);
if(e.innerHTML=="Hide Clock"){
e.innerHTML="Show Clock";
toggleVisibility('clock')
}
else{
e.innerHTML="Hide Clock";
toggleVisibility('clock')
}
}

function changeContent(id,content){
document.getElementById(id).innerHTML=content
}

function changeImage(content){
document.getElementById("image").src="fractals/"+content
}

