function MM_findObj(n) { var x; d=document; if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_Layers() { var v,obj,args=MM_Layers.arguments; if ((obj=MM_findObj(args[0]))!=null) { v=args[1]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; } } function hideMenue() { MM_Layers('m-01','hide'); MM_Layers('m-02','hide'); MM_Layers('m-03','hide'); MM_Layers('m-04','hide'); MM_Layers('m-05','hide'); MM_Layers('m-06','hide'); MM_Layers('m-07','hide'); MM_Layers('m-08','hide'); MM_Layers('m-09','hide'); MM_Layers('m-001','hide'); } var Stil = "Infodown"; function switchStyle(s) { if (!document.getElementsByTagName) return; var el = document.getElementsByTagName("link"); for (var i = 0; i < el.length; i++ ) { if (el[i].getAttribute("rel").indexOf("style") != -1 && el[i].getAttribute("title")) { el[i].disabled = true; if (el[i].getAttribute("title") == s) el[i].disabled = false; } } } function setStyle(s) { if (s != Stil) { switchStyle(s); Stil = s; } } function MakeArrayday(size) { this.length = size; for(var i = 1; i <= size; i++) this[i] = ""; return this; } function MakeArraymonth(size) { this.length = size; for(var i = 1; i <= size; i++) this[i] = ""; return this; } var JetztServer = new Date(2010,9,9,0,22,49);var JetztClient = new Date(); var Jetzt = new Date(); Jetzt.setTime(Jetzt.getTime()-JetztClient.getTime()+JetztServer.getTime()); var hours = Jetzt.getHours(); var minutes = Jetzt.getMinutes(); var seconds = Jetzt.getSeconds(); var durchlauf; var countdown=""; var timer=null; if (countdown=="Y") { if (hours>=3 && hours<14) {durchlauf=1;hours=14-hours-1; } else if (hours>13 && hours<16) {durchlauf=2;hours=16-hours-1; } else if (hours>15 && hours<18) {durchlauf=3;hours=18-hours-1; } else if (hours>17 && hours<20) {durchlauf=4;hours=20-hours-1; } else if (hours>19 && hours<24) {durchlauf=5;hours=24-hours-1+3; } else if (hours<3) {durchlauf=5;hours=3-hours-1; } minutes=59-minutes; seconds=60-seconds; } function sClock() { if(timer){clearInterval(timer);timer=null;} timer=setInterval("work();",1000); } function twoDigit(_v) { if(_v<10)_v="0"+_v; return _v; } function work() { if (!document.layers && !document.all && !document.getElementById) return; var runTime = new Date(); var shours = hours; var sminutes = minutes; var sseconds = seconds; sminutes=twoDigit(sminutes); sseconds=twoDigit(sseconds); shours =twoDigit(shours ); if (countdown=="Y") {movingtime = ""+ shours + ":" + sminutes +":"+sseconds; } else movingtime = ""+ shours + ":" + sminutes +":"+sseconds+" CET"; if (document.getElementById) document.getElementById("clock").innerHTML=movingtime; else if (document.layers) { document.layers.clock.document.open(); document.layers.clock.document.write(movingtime); document.layers.clock.document.close(); } else if (document.all) clock.innerHTML = movingtime; if (countdown=="Y") { cseconds = seconds - 1; seconds = seconds - 1; if(cseconds<0) { seconds=59; cminutes = minutes - 1; minutes = minutes - 1; if(cminutes<0) { ++durchlauf; minutes=59; hours -= 1; if (hours<0) { minutes=0; seconds=0; if (durchlauf==1) {hours=11; } else if (durchlauf==2) {hours=2; } else if (durchlauf==3) {hours=2; } else if (durchlauf==4) {hours=2; } else if (durchlauf==5) {hours=7; } } } } } else { if(++seconds>59) { seconds=0; if(++minutes>59) { minutes=0; if(++hours>23) hours=0; } } } } var out; function open_window(url,name,features) { Fenster = window.open(url,name, features); Fenster.moveTo(100,50); Fenster.focus(); } function hidestatus(){ window.status='' return true } if (document.layers) document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) document.onmouseover=hidestatus document.onmouseout=hidestatus function surfto(form) { var myindex=form.manager.selectedIndex if (form.manager.options[myindex].value != "") { location=form.manager.options[myindex].value;} } function surfto_tr(form) { var myindex=form.mannschaftstraining.selectedIndex if (form.mannschaftstraining.options[myindex].value != "") { location=form.mannschaftstraining.options[myindex].value;} } var info_check=0; function info() { if (info_check == 0) { setStyle('infohigh'); info_check = 1; } else { setStyle('infodown'); info_check = 0; } }