﻿/* PRE-SYSTEM! Do not edit manually */
var options="toolbar=no,menubar=no,location=no,resizable=no,scrollbars=no,directories=no,hotkeys=no,status=no";var trilobit={max_overflow_height:0,blockertext:'Sie verwenden einen Popup-Blocker.\nDieser verhindert leider, dass das Popup 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".',showEmployees:function(e,d){var b=e;var c=664;var a=414;openWindow(b,c,a,"toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=no,directories=no,hotkeys=no,status=no","/cgi-bin/employees.pl/"+d+"/"+e,trilobit.blockertext);},showPopup:function(e,d){var b=e;var c=664;var a=414;openWindow(b,c,a,"toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=no,directories=no,hotkeys=no,status=no","/cgi-bin/popup.pl/"+d+"/"+e,trilobit.blockertext);},setOverflowHeight:function(){if(!document.getElementById){return false;}var c=document.getElementById("copy");var b=document.getElementById("copy_overflow");if(c){var a;if(content_type=="content_a"||content_type=="news"){a=440;}else{if(content_type=="content_b"){a=353;}else{if(content_type=="faq"||content_type=="press"){a=429;if(navigator.userAgent.match(/MSIE 6/)){a-=16;}}else{if(content_type=="search"){a=410;}}}}a-=getDivTop("copy_spacer_top");if(!content_background){a-=20;}else{a-=40;}c.style.display="block";c.style.height=a+"px";trilobit.max_overflow_height=a;}if(b){if(b.scrollHeight<trilobit.max_overflow_height){document.getElementById("copy_spacer_bottom").style.display="none";}}},showMainTab:function(a){trilobit.hideMainTab();$("#tab_main_"+a+"_open").show();$("#tab_main_"+a+"_close").css({"background-color":"#000000",color:"#ffffff",margin:"0 2px 0 0",padding:"0 9px 3px 9px"});trilobit.scrollbars();},hideMainTab:function(a){$("div.tab_main_open").hide();$("li.tab_main_close").css({"background-color":"#ffffff",color:"#333333",margin:"3px 2px 0 0",padding:"0 9px 0 9px"});},showSubFaq:function(b,a){trilobit.hideSubFaq();$("#faq_main_"+b+"_sub_"+a+"_close").hide();$("#faq_main_"+b+"_sub_"+a+"_open").show();trilobit.scrollbars();},hideSubFaq:function(){$("div.faq_sub_open").hide();$("div.faq_sub_close").show();},showForm:function(a){$(a).show();trilobit.scrollbars();},getActualTime:function(){var a=new Date();return a.getTime();},scroll_speed:1,scroll_width:720,scroll_timeout:50,scroll_intervall:50,scroll_direction:"right",scroll_stopper:0,scrollContainer:function(container_id,direction){var container=document.getElementById(container_id);if(!container){return;}if(container.scrollLeft<=0&&trilobit.scroll_timeout<=0){trilobit.scroll_direction="right";}if(container.scrollLeft>=eval(document.getElementById("scroll_content").scrollWidth-trilobit.scroll_width)&&trilobit.scroll_timeout<=0){trilobit.scroll_direction="left";}if(direction=="left"){container.scrollLeft-=trilobit.scroll_speed;}else{if(direction=="right"){container.scrollLeft+=trilobit.scroll_speed;}}return;},scrollAuto:function(){if(trilobit.scroll_stopper===0){if(trilobit.scroll_timeout>0){trilobit.scroll_timeout--;}else{trilobit.scrollContainer("scroll_content",trilobit.scroll_direction);}}},scrollbars:function(){$("#copy").jScrollPane({showArrows:true,dragMaxHeight:17,scrollbarWidth:20,wheelSpeed:25});var a=$("#copy");$("a.scroll-to-element").bind("click",function(){var b=$(this).attr("rel");a[0].scrollTo(b,"1");document.location.hash=b;return false;});if(document.location.hash){$(window).load(function(){var b=document.location.hash;$("#copy")[0].scrollTo(b,"1");document.location.hash=b;return false;});}}};$(document).ready(function(){if(content_type!=="employees"&&content_type!=="tab_popup"){setInterval("trilobit.scrollAuto();",trilobit.scroll_intervall);trilobit.setOverflowHeight();}if((content_type=="faq"||content_type=="press")&&first_tab){trilobit.showMainTab(first_tab);}else{if(content_type=="employees"&&first_tab){trilobit.showMainTab(first_tab);}else{if(content_type=="tab_popup"&&first_tab){trilobit.showMainTab(first_tab);}}}trilobit.scrollbars();});