function FIND(item) {
	if (document.all) return(document.all[item]);
	if (document.getElementById) return(document.getElementById(item));
	return(false);
} 

function menuClick(id){
	    if(FIND("ms_"+id).style.display=="none"){
			FIND("ms_"+id).style.display="";
			FIND("line_"+id).className = "td_line_active";
			FIND("cblc_"+id).src = cblc.src;
			FIND("cbrc_"+id).src = cbrc.src;
		} else {
	    	if(FIND("ms_"+id).style.display==""){
				FIND("ms_"+id).style.display="none";
				FIND("line_"+id).className = "td_line_inactive";
				FIND("cblc_"+id).src = blc.src;
				FIND("cbrc_"+id).src = brc.src;
			}		
		}
} 

function showclock()
{
if (!document.layers && !document.all && !document.getElementById) return
var currentDate=new Date()
var hours=currentDate.getHours()
var minutes=currentDate.getMinutes()
var year = currentDate.getYear()
var month = currentDate.getMonth() + 1
var daym = currentDate.getDate()

if (year < 1000) year += 1900
if (daym < 10) daym = "0" + daym
if (month < 10) month = "0" + month

var thedate = daym + "." + month + "." + year

if (minutes <= 9) minutes = "0" + minutes

thedate += "&nbsp;&nbsp;&nbsp;" + hours + ":" + minutes + "&nbsp;Uhr"; 

if (document.layers)
{
document.layers.liveclock.document.write(thedate)
document.layers.liveclock.document.close()
}
else if (document.all) liveclock.innerHTML = thedate
else if (document.getElementById) document.getElementById("liveclock").innerHTML = thedate

setTimeout("showclock()",10000)
}

function openBigPic(imageSRC){
    if( !imageSRC ){
        return false;
    }
    var newWin = window.open('','','statusbar=1,scrollbars=0');
    newWin.document.write(
		'<html><head></head><BODY rightmargin="0" leftmargin="0" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0"><img src="'+imageSRC+'" onload="self.resizeTo(this.width+10, this.height+49)"></BODY></html>');
}

