function openPopup(d,b,c,a){i=d.indexOf("?")+1;d=d.substring(0,i)+"p=true&"+d.substring(i);if(c==""){c=320}if(a==""){a=440}newwin=window.open(d,b,"scrollbars=yes,resizable=yes,width="+c+",height="+a+"");newwin.focus()}function openFenster(d,b,c,a){if(c==""){c=320}if(a==""){a=440}newwin=window.open(d,b,"scrollbars=yes,resizable=yes,width="+c+",height="+a+"");newwin.focus()}function submitForm(a,c,b){document.forms[a][c].value=b;document.forms[a].submit()}function initClearSearchField(a,c){var b=new String(a.value);if(b==c){a.value=""}}function checkCheckbox(a,b){if(document.getElementById(a).checked){document.getElementById(b).value="on"}else{document.getElementById(b).value=""}}function getPosition(a){var b={x:0,y:0};do{b.x+=a.offsetLeft;b.y+=a.offsetTop}while(a=a.offsetParent);return b}function setElemValueFromPopup(b,a){window.opener.document.getElementById(b).value=a;window.close()}function sendPilotLink(a){obj=document.getElementById("pilot_navigation");scrollPilot=obj.scrollTop;if(a.indexOf("?")<0){a=a+"?"
}location.href=a+"&scrollPilot="+scrollPilot}function scrollPilot(a){a+=0;obj=document.getElementById("pilot_navigation");obj.scrollTop=a};