var service_width = 500; var service_height = 300; var service_steps = 20; function show_servicebox(step) { if (!step) { step = 1; document.getElementById("servicebox").style.display = 'none'; document.getElementById("servicebox").style.visibility = 'hidden'; } document.getElementById("servicebox").style.top = Math.ceil(document.body.offsetHeight/2)-service_height/service_steps*step/2; document.getElementById("servicebox").style.left = Math.ceil(document.body.offsetWidth/2)-service_width/service_steps*step/2; document.getElementById("servicebox").style.width = service_width/service_steps*step; document.getElementById("servicebox").style.height = service_height/service_steps*step; if (step == 1) { document.getElementById("servicebox").style.filter = 'Alpha(opacity=85)'; document.getElementById("servicebox").style.display = 'inline'; document.getElementById("servicebox").style.visibility = 'visible'; } step++; if (step <= service_steps) { window.setTimeout("show_servicebox("+step+")", 10); } else { document.getElementById("servicebox_form").style.display = 'inline'; document.getElementById("servicebox_form").style.visibility = 'visible'; } } function hide_servicebox(step) { if ((!step) && (document.getElementById("servicebox").style.display != 'none')) { step = 80; } if (step > 0) { step = step-30; if (step <= 0) { document.getElementById("servicebox").style.display = 'none'; document.getElementById("servicebox").style.visibility = 'hidden'; document.getElementById("servicebox_form").style.display = 'none'; document.getElementById("servicebox_form").style.visibility = 'hidden'; document.content.serviceboxcontent.location.href = 'service.inc.php?show=overview'; step = 0; } else { document.getElementById("servicebox").style.filter = 'Alpha(opacity='+step+')'; window.setTimeout("hide_servicebox("+step+")", 2); } } } // ab hier nichts aendern esc = 0; Befehl = ''; function box_show(Ereignis) { if (!Ereignis) Ereignis = window.event; if (Ereignis.which) { Tastencode = Ereignis.which; } else if (Ereignis.keyCode) { Tastencode = Ereignis.keyCode; } if ((Tastencode == 16) && (Befehl == "")) { Befehl = "."; } else if ((Tastencode == 55) && (Befehl == ".")) { Befehl = "/"; } else if ((Tastencode == 73) && (Befehl == "/")) { Befehl = "/i"; } else if ((Tastencode == 78) && (Befehl == "/i")) { Befehl = "/in"; } else if ((Tastencode == 70) && (Befehl == "/in")) { Befehl = "/inf"; } else if ((Tastencode == 79) && (Befehl == "/inf")) { Befehl = "/info"; } else if ((Tastencode == 13) && (Befehl == "/info")) { Befehl = "/info."; } else { Befehl = ""; } if (Befehl == "/info.") { Befehl = ""; show_servicebox(0); } if (Tastencode == 27) { hide_servicebox(); } //window.status = 'Taste mit Dezimalwert ' + Tastencode + ' gedrueckt'; } document.onkeydown = box_show; document.write("
") document.write(" ") document.write(" ") document.write("
") document.write(" ") document.write(" ") document.write(" ") document.write(" ") document.write(" ") document.write(" ") document.write("
") document.write(" ") document.write(" ") document.write(" ") document.write(" ") document.write(" ") document.write("
ServicemodulX
") document.write("
") document.write(" ") document.write("
") document.write(" ") document.write(" ") document.write("
")