﻿/* PRE-SYSTEM! Do not edit manually */
var blockertext="Sie verwenden einen Popup-Blocker.\nDieser verhindert leider, dass die Microsite angezeigt wird.\n\nSie können die Popup-Blocker Schaltfläche nicht erreichen?\nKlicken Sie den Startlink mit der rechten Maustaste und wählen Sie 'Link in neuem Fenster öffnen'.";var overhead=0;var overmenu=0;var oversub=0;var showmenu=0;var menus;var menu_ok=0;var cache1=new Image();cache1.src="/pics/x.gif";var delay=200;var URL=self.document.location.href;var winx=self.innerWidth;var winy=self.innerHeight;var mainmenu_active;function overMenu(){if(!menu_ok||oversub){return;}overhead=0;overmenu=1;div=getDiv("menu"+showmenu);showDiv(div);}function outMenu(){if(overhead||oversub){return;}overmenu=0;setTimeout("_hideMenu()",delay);}function initMenu(g){if(navigator.userAgent.indexOf("Mac")<0&&navigator.appName=="Netscape"&&parseInt(navigator.appVersion,10)<=4&&(winx!=self.innerWidth||winy!=self.innerHeight)){winx=self.innerWidth;winy=self.innerHeight;var c=document.location;c.href=URL;}else{menu_ok=0;var a=getWindowWidth()-4;var b=getImage("menu0-position");var j=getImageLeft(b);for(var d=1;d<=menus;d++){var e=getImage("menu"+d+"-position");div=getDiv("menu"+d);if(e&&div){var h=getImageLeft(e);var f=getImageTop(e);moveDiv(div,h,87);div.onmouseover=overMenu;div.onmouseout=outMenu;}}menu_ok=1;}}function init(){_div_init();initMenu();menu_ok=1;}function header(a){menus=a;}function showMenu(b){if(!menu_ok){return;}overmenu=1;overhead=1;showmenu=b;hideDiv("strich");if(divDOM=="NN4"){hideDiv("input");}else{showDiv("input");}for(var a=1;a<=menus;a++){document.getElementById("menu"+a+"-item").className="mainmenu_normal";if(a!=b){hideDiv("menu"+a);}}div=getDiv("menu"+b);showDiv(div);redrawDivs();document.getElementById("menu"+b+"-item").className="mainmenu_active";if(mainmenu_active>=1&&mainmenu_active<=menus){document.getElementById("menu"+mainmenu_active+"-item").className="mainmenu_active";}}function hideMenu(a){overmenu=0;setTimeout("_hideMenu()",delay);}function _hideMenu(){if(overmenu||oversub){return;}hideDiv("strich");for(var a=1;a<=menus;a++){hideDiv("menu"+a);document.getElementById("menu"+a+"-item").className="mainmenu_normal";}if(mainmenu_active>=1&&mainmenu_active<=menus){document.getElementById("menu"+mainmenu_active+"-item").className="mainmenu_active";}showDiv("input");redrawDivs();}function onSubDiv(){oversub=1;}function offSubDiv(){oversub=0;}function onSub(b,d){document.getElementById("menu"+b+"-item").className="mainmenu_active";var c=getImage("sub."+b+"."+d);var f=getDiv("strich");if(f&&c){var a=getImageLeft(c);var e=getImageTop(c);moveDivTo(f,a,e);showDiv(f);}}function closePressPopup(){$("#press_popup").fadeOut("fast",function(){$("#screen_fade").fadeOut("fast",function(){$("#press_popup .content").empty();});});}$.fn.loadImage=function(b,a){return this.each(function(){$("<img />").appendTo(this).each(function(){this.src=b;this.onload=a;});});};function openPressPopup(a){var b=a.parent().next(".press_content").find(".press_popup_image").html();$("#press_popup .content").empty();$("#press_popup .content").loadImage(b,function(){$("#screen_fade").fadeTo("fast",0.7,function(){$("#press_popup").css({"margin-left":"-"+$("#press_popup").width()/2+"px",top:$("body").scrollTop()+100+"px"});$("#press_popup").fadeIn("fast",function(){$("#press_popup .close").fadeIn("slow");});});});}function initPressPopup(){var a='<div id="screen_fade">&nbsp;</div>';var b='<div id="press_popup"><div class="close">Popup schließen&nbsp;&nbsp;<b>x</b></div><div class="content"></div></div>';$("body").prepend(a);$("body").prepend(b);$("#screen_fade").height($(window.document).height()).width($(window.document).width());$("#press_popup .close").click(function(){closePressPopup();});}function openMaps(c,a,b){openWindow("maps",c,a,"toolbar=no,menubar=no,location=no,resizable=no,scrollbars=no,directories=no,hotkeys=no,status=no","http://www.wuttig.de/cgi-bin/maps.pl?adresse="+escape(b),blockertext);}$(document).ready(function(){$("div.submenu").css("opacity",0.9);$("td.submenubottom").css("opacity",0.9);var a=$(".press_item .press_icon img.open_popup");if(a.length>0){initPressPopup();a.click(function(){openPressPopup($(this));});}});var daisy;if(!daisy){daisy={};}daisy={showTipp:function(a){$("div.abrechnungstipp_rubrik").hide();$("#"+a+"_rubrik").show();$("div.abrechnungstipp_list").hide();$("#"+a+"_list").show();$("div.abrechnungstipp_details").hide();$("#"+a+"_details").show();$("div.abrechnungstipp_banner").hide();$("#"+a+"_banner").show();$("a.abrechnungstipp_menulink").css("fontStyle","normal");$("#"+a+"_menulink").css("fontStyle","italic");$("#show_0_text").hide();},showTippDetails:function(a,b){$("div.abrechnungstipp_frage_antwort").hide();$("#frage_antwort_"+a+"_"+b).show();$("div.banner_head_content").hide();$("#banner_"+a+"_"+b).show();$("li.abrechnungstipp_list").css("fontStyle","normal");$("#list_"+a+"_"+b).css("fontStyle","italic");}};