var isTimer; var layTimer; var stay = false; var akorga = 0; var mbuilt = false; 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-1&&navigator.appVersion.indexOf("Mac")>-1)){ ox=0;oy=0;if(g.style.left){x=parseInt(g.style.left);y=parseInt(g.style.top);}else{ w1=parseInt(el.style.width);bx=(a<0)?-5-w1:-10;a=(Math.abs(a)<1000)?0:a;b=(Math.abs(b)<1000)?0:b; x=document.body.scrollLeft+event.clientX+bx;y=document.body.scrollTop+event.clientY;}} }else if(document.layers){x=g.x;y=g.y;q0=document.layers,dd="";for(var s=0;s-1 && navigator.appVersion.indexOf("Mac")>-1){ xx+=parseInt(document.body.leftMargin);yy+=parseInt(document.body.topMargin);} e.left=xx+pa;e.top=yy+pa;}}} } /* function MM_showHideLayers() { //v6.0 if( mbuilt ){ if( window.layTimer ) clearTimeout(layTimer); var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; } } } */ function MM_showHideLayers() { //v6.0 var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; } } function time_showHideLayers(arg1, ar2, arg3) { //v3.0 layTimer = setTimeout('MM_showHideLayers(\''+arg1+'\', \''+ar2+'\', \''+arg3+'\')', 100); } function init(){ P7_Snap('mpc_group','m0',0,23); P7_Snap('ueber_uns','m1',0,23); P7_Snap('unternehmenssitz','m2',0,23); P7_Snap('kontakt','m3',0,23); mbuilt = true; menuactive = true; } function resnap(){ P7_Snap('about','layer_about',0,25); P7_Snap('sitz','layer_sitz',0,25); } function con_swap(ziel){ if( !stay ) sub_txt.location.href=ziel; } function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } function MM_changeProp(objName,x,theProp,theValue) { //v6.0 var obj = MM_findObj(objName); if (obj && (theProp.indexOf("style.")==-1 || obj.style)){ if (theValue == true || theValue == false) eval("obj."+theProp+"="+theValue); else eval("obj."+theProp+"='"+theValue+"'"); } } function showrcon(n,x){ if( !x ) var x = 25; for( var i=0; i 0 ){ document.write(''); document.write(''); } } } function menushow(n){ if( menuactive ){ for( var i=0; i