function showclock(id1, id2) { 
	if (document.getElementById) { // DOM3 = IE5, NS6
		if (id1 == "clocksmall"){
			document.getElementById(id1).style.display = 'none';
			document.getElementById(id2).style.display = 'block';
		} else {
			document.getElementById(id1).style.display = 'none';
			document.getElementById(id2).style.display = 'block';
		}	
	} else { 
		if (document.layers) {	
			if (id1 == "clocksmall"){
				document.id1.display = 'none';
				document.id2.display = 'block';
			} else {
				document.id1.display = 'none';
				document.id2.display = 'block';				
			}
		} else {
			if (id1 == "clocksmall"){
				document.all.id1.style.display = 'none';
				document.all.id2.style.display = 'block';				
			} else {
				document.all.id1.style.display = 'none';
				document.all.id2.style.display = 'block';		
			}
		}
	}
}

function startclock() {
	var thetime=new Date();
	var nhours=thetime.getHours();
	var nmins=thetime.getMinutes();
	var nsecn=thetime.getSeconds();
	var nday=thetime.getDay();
	var nmonth=thetime.getMonth();
	var ntoday=thetime.getDate();
	var nyear=thetime.getYear();
	if (nsecn<10) nsecn="0"+nsecn;
	if (nmins<10) nmins="0"+nmins;
	if (nday==0) nday="Sunday";
	if (nday==1) nday="Monday";
	if (nday==2) nday="Tuesday";
	if (nday==3) nday="Wednesday";
	if (nday==4) nday="Thursday";
	if (nday==5) nday="Friday";
	if (nday==6) nday="Saturday";
	nmonth+=1;
	if (nyear<=99) nyear= "19"+nyear;
	if ((nyear>99) && (nyear<2000)) nyear+=1900;
	document.clockform.clockspot1.value=" "+nday+", "+ntoday+"."+nmonth+"."+nyear+" / "+nhours+": "+nmins+": "+nsecn;
	document.clockform.clockspot2.value=" "+nday+", "+ntoday+"."+nmonth+"."+nyear;
	setTimeout('startclock()',1000);
} 

function openWindow(site) {
   newWindow=window.open(site,"popup","scrollbars,height=600,width=750");
   newWindow.focus();
}

function openPic(site) {
   newWindow=window.open(site,"bildergalerie","status=no,toolbar=no,menubar=no,location=no,scrollbars=no,toolbar=no,status=no,height=300,width=300");
   newWindow.focus();
}