function setImg(){var b=document.getElementById("mainbar");for(var c=0;c<b.getElementsByTagName("img").length;c++){if(document.formular.setImg[0].checked){b.getElementsByTagName("img")[c].style.display="inline"}if(document.formular.setImg[1].checked){b.getElementsByTagName("img")[c].style.display="none"}}}function hideLinks(){var b=document.getElementById("mainbar");var a=b.getElementsByTagName("a");for(var c=0;c<a.length;c++){a[c].href="#"}}function addEvent(a,c,b){if(a.attachEvent){a.attachEvent("on"+c,b)}else{a.addEventListener(c,b,true)}}function isUnderMouse(b){var b=b?b:window.event;var a=(b.clientX);var c=(b.clientY);if(a<262){return false}if(c<91){return false}if(a>420){return false}if(c>91+document.getElementById("dropdown").offsetHeight){return false}return true}function tryToCloseMenu(a){if(document.getElementById("dropdown")&&!isUnderMouse(a)){document.getElementById("dropdown").style.visibility="hidden"}}function sendPopUp(e){var a=543;var c=415;var d=navigator.userAgent.match(/Windows NT [5-9].([0-9])/);if(d[1]>=1){c=c+10}var b=window.open(e,"popup","resizable=yes,location=no,status=no,toolbar=no,width="+a+", height="+c);b.resizeTo(a,c);b.focus()}function printPopUp(d){var a=674;var c=500;var b=window.open(d,"popup","resizable=yes,location=no,status=no,toolbar=no,scrollbars, width="+a+", height="+c);b.resizeTo(a,c);b.focus()}function imagePopUp(e,a,c){a+=40;c+=20+30;var d=navigator.userAgent.match(/Windows NT [5-9].([0-9])/);if(d[1]>=1){c=c+10}var b=window.open(e,"imagePopUp","resizable=yes,location=no,status=no,toolbar=no,width="+a+", height="+c);b.resizeTo(a,c);b.focus()}function addfilePopUp(e){var c=450;var a=710;var d=navigator.userAgent.match(/Windows NT [5-9].([0-9])/);if(d[1]>=1){c=c+10}var b=window.open(e,"popup","resizable=yes,location=no,status=no,toolbar=no, width="+a+", height="+c);b.resizeTo(a,c);b.focus()}function glossaryPopUp(e){var a=450;var c=300;var d=navigator.userAgent.match(/Windows NT [5-9].([0-9])/);if(d[1]>=1){c=c+10}var b=window.open(e,"glossary","scrollbars,resizable=yes,toolbar=no,location=no,menubar=no,status=no,width="+a+", height="+c);b.resizeTo(a,c);b.focus()}function tablePopUp(b){var a=window.open(b,"table"+Math.round(Math.random()*10000),"scrollbars,resizable=yes, toolbar=no,location=no,menubar=no,status=no");a.moveTo(80,30);a.focus()}function flashPopUp(e){var a=480;var c=598;var d=navigator.userAgent.match(/Windows NT [5-9].([0-9])/);if(d[1]>=1){c=c+10}var b=window.open(e,"flash","scrollbars=auto,resizable=yes,toolbar=no,location=no,menubar=no,status=no,width="+a+", height="+c);b.resizeTo(a,c);b.focus()}function geber_lib_getHistory(h,c){var b=null;if(navigator.userAgent.match(/ MSIE/)&&navigator.userAgent.match(/ MSIE\s*[56]/)){if(window.XMLHttpRequest){b=window.XMLHttpRequest}else{var a=new Array("Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP","Microsoft.XMLHTTP");for(i=0;i<a.length;i++){try{b=new ActiveXObject(a[i]);break}catch(j){b=false}}}}if(!b&&typeof(XMLHttpRequest)!="undefined"){try{b=new XMLHttpRequest()}catch(j){b=false}}if(!b&&window.createRequest){try{b=window.createRequest()}catch(j){b=false}}if(b){var d=h;var k=d;if(d&&!d.match(/^(https?|mailto|file):\/\//)){d=String(d);k="";var g=window.location.protocol;if(g.indexOf("/")<=0){g+="//"}k+=window.location.host;if(d.charAt(0)!="/"){k+=String(window.location.pathname).replace(/^(.*\/)[^\/]+$/,"$1");if(k.substring(k.length-2,k.length-1)!="/"){k+="/"}k+=d;k=k.replace(/^(.*\/)\/?[^\/]+\/+\.\.\/(.*)$/,"$1/$2");k=g+k.replace(/\/\//,"/")}else{k+=String(window.location.pathname);k=g+k.substring(0,k.indexOf(c))+d}}b.open("GET",k+"?path="+c,false);b.send(null);var f=b.responseText;f=f.substring(f.indexOf("<!-- HISTORY -->"),f.indexOf("<!-- HISTORY / -->"));document.write(f)}};
function addFilePopUp(newLocation) { return addfilePopUp(newLocation); }