dth, winHeight, i, horz, vert, width, height, offsetX, offsetY, negX, negY, group, x, y, args; args = BW_centerLayers.arguments; onresize = BW_reload; winWidth = (document.all)?document.body.clientWidth:window.innerWidth; winHeight = (document.all)?document.body.clientHeight:window.innerHeight; for (i=0; i<(args.length-9); i+=10) { horz = args[i+1]; vert = args[i+2]; width = parseInt(args[i+3]); height = parseInt(args[i+4]); offsetX = parseInt(args[i+5]); offsetY = parseInt(args[i+6]); negX = args[i+7]; negY = args[i+8]; x = ((winWidth - width)/2) + offsetX; y = ((winHeight - height)/2) + offsetY; x = (negX=='false' && (x < 0))?0:x; y = (negY=='false' && (y < 0))?0:y; layerObj = (document.getElementById)?document.getElementById(args[i]):MM_findObj(args[i]); if (layerObj!=null) { layerObj = (layerObj.style)?layerObj.style:layerObj; layerObj.left = (horz=="true")?x:layerObj.left; layerObj.top = (vert=="true")?y:layerObj.top; } } } } function BW_reload() {location.reload();} function winOpengelb() { extwin = window.open("gelb.htm","null","height =360, width = 450, status = no, toolbar = no, menubar = no, location = no, resizable = no, titlebar = no, scrollbars = no, fullscreen = no, top = 200, left = 250"); extwin.focus(); } function winOpenrot() { extwin = window.open("rot.htm","null","height =360, width = 450, status = no, toolbar = no, menubar = no, location = no, resizable = no, titlebar = no, scrollbars = no, fullscreen = no, top = 200, left = 250"); extwin.focus(); } function winOpenblau() { extwin = window.open("blau.htm","null","height =360, width = 450, status = no, toolbar = no, menubar = no, location = no, resizable = no, titlebar = no, scrollbars = no, fullscreen = no, top = 200, left = 250"); extwin.focus(); } function winArchiv(datei) { extwin = window.open(datei,"Archiv","height =400, width = 670, status = no, toolbar = no, menubar = no, location = no, resizable = no, titlebar = no, scrollbars = no, fullscreen = no, top = 200, left = 250"); extwin.focus(); } function winOpenM1() { extwin = window.open("M1.htm","M","height =340, width = 440, status = no, toolbar = no, menubar = no, location = no, resizable = no, titlebar = no, scrollbars = no, fullscreen = no, top = 200, left = 250"); extwin.focus(); } function winOpenM2() { extwin = window.open("M2.htm","M","height =340, width = 440, status = no, toolbar = no, menubar = no, location = no, resizable = no, titlebar = no, scrollbars = no, fullscreen = no, top = 200, left = 250"); extwin.focus(); } function winOpenM3() { extwin = window.open("M3.htm","M","height =340, width = 440, status = no, toolbar = no, menubar = no, location = no, resizable = no, titlebar = no, scrollbars = no, fullscreen = no, top = 200, left = 250"); extwin.focus(); } function winOpenM4() { extwin = window.open("M4.htm","M","height =340, width = 440, status = no, toolbar = no, menubar = no, location = no, resizable = no, titlebar = no, scrollbars = no, fullscreen = no, top = 20096B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="760" height="425">