//***************** // alte Datei START //***************** var win = null; var myurl = 'test.html'; var reminderflag =1; function newwindow(myurl,myname,w,h,scroll){ LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; TopPosition = (screen.height) ? (screen.height-h)/2 : 0; settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',toolbar=no,status=no,resizable=yes'; mypage = '/php/printpage.htm?filename=' + myurl; win = window.open(mypage,myname,settings) if(win.window.focus){ win.window.focus(); } } function popwindow(mypage,myname,w,h,scroll){ LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; TopPosition = (screen.height) ? (screen.height-h)/2 : 0; settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,toolbar=no,status=no,resizable=yes' win = window.open(mypage,myname,settings) if(win.window.focus){win.window.focus();} } function bildwechsel(datei,nr){ document.images[nr].src=datei; } function do_open(url,wname,prop){ window.open(url,wname,prop); } function tr_over(){ this.style.backgroundColor='#B2C2E0'; } function tr_out(){ this.style.backgroundColor='#E5EBF5'; } function do_infomappe(url, lang){ reminderflag =0; infomappe = window.open('/php/popup_infomappe.php?lang='+lang+'&url='+url+'','infomappe_popup','scrollbars=yes,resizable=yes,menubar=no,toolbar=no,location=no,directories=no,status=no,width=640,height=400,top=1,left=1'); } function chk(String) { if( confirm(String)) { opener.reminderflag =0; return true; } else { return false; }; } function change_opener() { opener.reminderflag =0; } //***************** // alte Datei STOP //***************** /* DHTML Menu (c) by unknown extended by P. Weinke for konNet */ var isNS = (navigator.appName == "Netscape"); var isMacIE = ((navigator.userAgent.indexOf("IE 4")>-1) && (navigator.userAgent.indexOf("Mac")>-1)); var isDynamic = ((document.layers || document.all) && !isMacIE); var layerRef = (isNS) ? "document" : "document.all"; var styleRef = (isNS) ? "" : ".style"; var heightRef = (isNS) ? "clip.height" : "style.height"; var widthRef = (isNS) ? "clip.width" : "offsetWidth"; var bottomRef = (isNS) ? "clip.bottom" : "style.clip.bottom"; var rightRef = (isNS) ? "clip.right" : "style.clip.right"; var leftRef = (isNS) ? "left" : "style.left"; var topRef = (isNS) ? "top" : "style.pixelTop"; var MainX = 0; var MainY = 0; var LastYPos = 0; var LastXPos = 0; var Breite = 0; var Hoehe = 0; var activeLevel = 0; var LevelSub = 0; var activeMenu = 0; var MenuSubs = new Array(); var cursorIsOnMenu =false; function setCursorIsOnMenu(b){ cursorIsOnMenu=b; } function activateMenu(menuLayerRef, offset, highset) { if (isDynamic) { if (activeMenu && activeMenu != menuLayerRef) { hideMenu("menu" + activeMenu); while (MenuSubs.length > 0) { hideMenu("menu" + MenuSubs[MenuSubs.length-1]); (isNS) ? MenuSubs.pop() : MenuSubs = IE_pop(MenuSubs); } } MainX = highset; MainY = offset; menuID = "menu" + menuLayerRef; activeMenu = menuLayerRef; LevelSub = 0; eval(layerRef + '.' + menuID + '.' + topRef + '= ' + offset); eval(layerRef + '.' + menuID + '.' + leftRef + '= ' + highset); showMenu(menuID) } } function activateMenuAt(MenuID, Sub, Level, offset, highset) { if (isDynamic && eval(layerRef + '.menu' + Sub)) { activateMenu(Sub, offset, highset); LevelSub = Level; activeLevel -= LevelSub; } } function activateMenuSub(menuLayerRef, ItemNum, Level) { Level -= LevelSub; if (isDynamic && eval(layerRef + '.menu' + menuLayerRef)) { if (activeLevel >= Level) { while(MenuSubs.length >= Level) { hideMenu("menu" + MenuSubs[MenuSubs.length-1]); (isNS) ? MenuSubs.pop() : MenuSubs = IE_pop(MenuSubs); } } MenuSubs[MenuSubs.length] = menuLayerRef; activeLevel = Level; menuIDsub = "menu" + menuLayerRef; if (MenuSubs.length>0) { mid = "menu" + MenuSubs[MenuSubs.length-1]; Hoehe = 14; Main = "menu" + activeMenu; if (activeLevel == 1) { eval('LastYPos = ' + layerRef + '.' + Main + '.' + topRef); eval('LastXPos = ' + layerRef + '.' + Main + '.' + widthRef); } else if (activeLevel > 1) { M = "menu" + MenuSubs[MenuSubs.length-2]; eval('LastYPos = ' + layerRef + '.' + M + '.' + topRef); eval('LastXPos = ' + layerRef + '.' + Main + '.' + widthRef); for (i=0; i= activeLevel-1) { hideMenu("menu" + MenuSubs[MenuSubs.length-1]); (isNS) ? MenuSubs.pop() : MenuSubs = IE_pop(MenuSubs); } } function killMenu(e) { //status = activeMenu + " | " + MenuSubs.length; if (activeMenu) { ThisMen = "menu"+MenuSubs[MenuSubs.length-1]; if (!cursorIsOnMenu){ hideMenu("menu" + activeMenu); activeMenu = false; for (i=MenuSubs.length-1; i>=0; i--) { Men = "menu"+MenuSubs[i]; hideMenu("menu"+MenuSubs[i]); (isNS) ? MenuSubs.pop() : MenuSubs = IE_pop(MenuSubs); } } } else while (MenuSubs.length > 0) { hideMenu("menu" + MenuSubs[MenuSubs.length-1]); (isNS) ? MenuSubs.pop() : MenuSubs = IE_pop(MenuSubs); } } function init() { if (isDynamic) { if (isNS) document.captureEvents(Event.MOUSEUP); document.onmouseup = killMenu; //document.onmousemove = killMenu; } } function IE_pop(arrname) /* No IE pop method?!?!?! */ { return arrname.slice(0, arrname.length-1); } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function checkMenuUp(myname, level, hight){ xpos = 145 + (160 * (level-1)); ypos = hight; activateMenuAt(1, myname, level, ypos, xpos); } var r_on = "6785C3"; var r_off = "003399"; function root_col(mn, num, color){ setCursorIsOnMenu(color==r_on); eval('document.menu_root'+mn+'.document.item'+num+'.bgColor = "'+color+'"'); } var on = "99AED7"; var off = "6685C2"; function col(mn, num, color){ setCursorIsOnMenu(color==on); eval('document.menu'+mn+'.document.item'+num+'.bgColor = "'+color+'"'); } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 4); document.MM_Time = new Array(1); document.MM_Time[0] = new Array(1); document.MM_Time["MenuAus"] = document.MM_Time[0]; document.MM_Time[0].MM_Name = "MenuAus"; document.MM_Time[0].fps = 15; document.MM_Time[0][0] = new String("behavior"); document.MM_Time[0][0].frame = 25; document.MM_Time[0][0].value = "MM_showHideLayers('Interna','','hide','Berichte','','hide','Mitglieder','','hide','Kontakt','','hide')"; document.MM_Time[0].lastFrame = 25; for (i=0; i= numGotos) {tmLn.gotoCount=0; return} jmpFwd = (fNew > tmLn.curFrame); for (i = 0; i < tmLn.length; i++) { sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back if (sprite.charAt(0) == "s") { numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0]; lastKeyFr = sprite.keyFrames[numKeyFr - 1]; if ((jmpFwd && fNew=sprite.keyFrames[keyFrm]; keyFrm++); for (j=0; j= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range keyFrm=1; for (j=0; j=sprite.keyFrames[keyFrm]) keyFrm++; if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) { if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1]; else sprite.obj[props.prop2][props.prop] = props[keyFrm-1]; } } } } } } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value); if (fNew > tmLn.lastFrame) tmLn.ID = 0; } } }