/* PRE-SYSTEM! Do not edit manually */
var overhead=0;var overmenu=0;var oversub=0;var showmenu=0;var menu_ok=0;var menus;var cache1=new Image();cache1.src="/pics/x.gif";var t_delay=100;var URL=self.document.location.href;var winx=self.innerWidth;var winy=self.innerHeight;var popupblock="We failed to open a new window in your Browser.\nThere are some possible reasons. Most probably you have installed\na popup blocker which prevented us to open the new window.\nPlease configure your popup blocker to allow opening new windows in this application.\n\nyours BIF team";var options="toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes,directories=no,hotkeys=no,status=no";function _hideMainMenu(a){document.getElementById("menu"+a+"-text-1").style.display="block";document.getElementById("menu"+a+"-text-2").style.display="none";}function _hideMenu(b){if(overmenu||oversub){return;}for(var a=1;a<=menus;a++){hideDiv("menu"+a);_hideMainMenu(a);}redrawDivs();}function overMenu(){if(!menu_ok||oversub){return;}overhead=0;overmenu=1;var a=getDiv("menu"+showmenu);showDiv(a);}function outMenu(){if(overhead||oversub){return;}overmenu=0;setTimeout("_hideMenu",t_delay);}function initMenu(f){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 b=document.location;b.href=URL;}else{menu_ok=0;var e=getWindowWidth()-4;for(var d=1;d<=menus;d++){var c=getImage("menu"+d+"-position");var h=getDiv("menu"+d);if(c&&h){var a=getImageLeft(c);var g=getImageTop(c);moveDiv(h,a,g+1);h.onmouseover=overMenu;h.onmouseout=outMenu;}}menu_ok=1;}}function setPrintLayer(a){setDivHTML("print",'<a class=submenu_content href="/'+a+'" target=_blank>Print</a>');}function init(){_div_init();initMenu();menu_ok=1;}function header(a){menus=a;}function hideMenu(a){overmenu=0;setTimeout("_hideMenu",t_delay);}function showMenu(b){if(!menu_ok){return;}overmenu=1;overhead=1;showmenu=b;for(var a=1;a<=menus;a++){if(a!=b){hideDiv("menu"+a);_hideMainMenu(a);}}var c=getDiv("menu"+b);document.getElementById("menu"+b+"-text-1").style.display="none";document.getElementById("menu"+b+"-text-2").style.display="block";showDiv(c);redrawDivs();}function onSubDiv(){oversub=1;}function offSubDiv(){oversub=0;}function onSub(a,b){}function highlight(d){var c=d.substring(0,d.indexOf("."));var a=d.substring(d.indexOf(".")+1,d.length);var b;if(a===0){b=document.getElementById("page_"+c+".0");if(b){b.style.color="#CC6600";}}if(a!==0){b=document.getElementById("subpage_"+c+"."+a);if(b){b.style.color="#CC6600";}}}function teaserPopup(b,e,d,c,a){c+=20;openWindow("teaser_popup",c,a,options,"/cgi-bin/teaser_popup.pl/"+b+"?cid="+e+"&tid="+d,popupblock);}function moveFooterToBottom(){var a=$(window).height();if(a<550){a=550;}$("#wrapper").height(a);}function repaint(){$("#wrapper").addClass("repaint");$("#wrapper").removeClass("repaint");}$(window).load(function(){if($.browser.msie&&parseInt($.browser.version,10)<7){moveFooterToBottom();}});
