/* Popup für Newsletter */
function LNWindow(Email,abonnieren)
{
win=window.open("newsletter_popup.asp?email="+Email+"&abonnieren="+abonnieren+"", "Newsletter", "width=300,height=180,locationbar=no,menubar=no,status=no,scrollbars=no,resizable=no"); 
win.focus();
return false;
}


/* Browsererkennung */
var ie = ((document.all) && (window.offscreenBuffering || 1==1)) ? true : false; // IE >= 4.x
var ns = ((document.captureEvents) && (!document.getElementById)) ? true : false; // NN4.x
var mz = ((document.getElementById) && (!document.all) && (document.documentElement)) ? true : false; // NN6/MZ



/* Uhrzeitanzeige */
if (ie || ns ||mz)
{
function showtime() {
now = new Date();
var Stunde = now.getHours();
var Minute = now.getMinutes();
var Sekunde = now.getSeconds();
var Datum = now.getFullYear()+'-'+(now.getMonth()+1)+'-'+now.getDate();
if(Stunde<10)Stunde="0"+Stunde;
if(Minute<10)Minute="0"+Minute;
if(Sekunde<10)Sekunde="0"+Sekunde;
Zeit=' ' +Stunde+ ':' +Minute+ ':'+Sekunde+' '+Datum;
if(ie || mz) { // IE4+ und NN6
if (document.all) links = (document.body.clientWidth - 125);
else links = (window.innerWidth - 125)+'px';
document.getElementById('uhr').innerHTML = Zeit;
document.getElementById('uhr').style.left = links;
}
else if(ns) 
{
document.uhr.document.open();
nachrechts = window.innerWidth - 125;
Zeit = '<span class="Uhr">' + Zeit + '</span>';
document.uhr.moveTo (nachrechts,20);
document.uhr.document.write(Zeit);
document.uhr.document.close();
}
window.setTimeout("showtime()",1000);
}
}


/* MouseOver Effekt 1 */
function setImg(imgID,source)
{
	document.images[imgID].src = source
}
