var ie=document.all;function cross(A){return document.getElementById?document.getElementById(A):document.all[A]}function AttachAnEvent(C,B,A){}oldPage=null;oldNav=null;function tabPageChange(C,B,A){C.blur();oldPage.className="tabbertab tabbertabhide";oldNav.className="";A.className="tabbertab";B.className="tabberactive";oldPage=A;oldNav=B}function CloseAllWindows(){Windows.closeAll()}function AjaxError(B){var A=B.responseText;alert(A)}var gBeginElementID="";function myAddListener(D,A,C,B){if(document.addEventListener){D.addEventListener(A,C,B)}else{D.attachEvent("on"+A,C)}}function getTargetId(A){var B=A.target?A.target:A.srcElement;return B.id}function pluginBegin(A){onEvent(A)}function onEvent(A){if(A.type=="qt_ended"){window.location.href="/content/index.php?null=null"}}function setupIntroVideo(){var A=$("qtmovie_object");if(null==A){return }else{myAddListener(A,"qt_begin",pluginBegin,false);myAddListener(A,"qt_abort",onEvent,false);myAddListener(A,"qt_canplay",onEvent,false);myAddListener(A,"qt_canplaythrough",onEvent,false);myAddListener(A,"qt_durationchange",onEvent,false);myAddListener(A,"qt_ended",onEvent,false);myAddListener(A,"qt_error",onEvent,false);myAddListener(A,"qt_load",onEvent,false);myAddListener(A,"qt_loadedfirstframe",onEvent,false);myAddListener(A,"qt_loadedmetadata",onEvent,false);myAddListener(A,"qt_pause",onEvent,false);myAddListener(A,"qt_play",onEvent,false);myAddListener(A,"qt_progress",onEvent,false);myAddListener(A,"qt_stalled",onEvent,false);myAddListener(A,"qt_timechanged",onEvent,false);myAddListener(A,"qt_volumechange",onEvent,false);myAddListener(A,"qt_waiting",onEvent,false)}}function SelectDropDownFromValue(A,B){for(i=0;i<B.length;i++){if(B.options[i].value==A){B.selectedIndex=i}}}function JumpToTop(){if($("ovdiv")){if($("ovdiv").scrollTop){$("ovdiv").scrollTop=0}}}var oldFocus;function changeFocus(A){if(oldFocus){oldFocus.className=Left(oldFocus.className,oldFocus.className.length-8)}oldFocus=A;A.className+=" doFocus"}function Left(A,B){if(B<=0){return""}else{if(B>String(A).length){return A}else{return String(A).substring(0,B)}}}function Right(B,C){if(C<=0){return""}else{if(C>String(B).length){return B}else{var A=String(B).length;return String(B).substring(A,A-C)}}}var posx=0;var posy=0;function trackClick(A){if(!A){var A=window.event}if(A.pageX||A.pageY){posx=A.pageX;posy=A.pageY}else{if(A.clientX||A.clientY){posx=A.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;posy=A.clientY+document.body.scrollTop+document.documentElement.scrollTop}}if((posx>$("rightMenue").offsetLeft&&posx<($("rightMenue").offsetLeft+$("rightMenue").offsetWidth))&&(posy>$("rightMenue").offsetTop&&posy<($("rightMenue").offsetTop+$("rightMenue").offsetHeight))){}else{$("rightMenue").style.display="none"}}function onRightClickMenue(B,A){var D=false;try{if(B.button==2||B.button==3){D=true}}catch(C){if(C.which==3){D=true}}if(D){openRightMenue(A)}}function openRightMenue(A){$("rightMenue").innerHTML=A;$("rightMenue").style.display="block";if((posy)+$("rightMenue").offsetHeight>getWinHeight()){posy=posy-$("rightMenue").offsetHeight}$("rightMenue").style.top=posy+"px";$("rightMenue").style.left=posx+"px"}function addRightMenuePoint(A,B,C){var D="";D+='<a class="dMenP" ';if(C){D+='href="'+C+'" '}D+=">";if(A){D+=A}D+="</a>";return D}function doLoader(M,D,L){AJAX_is_locked=true;var I=parseInt($(D).offsetWidth,10);var K=parseInt($(D).offsetHeight,10);var F=$(D).style.padding;var C=$(D).style.paddingLeft;var B=$(D).style.paddingRight;var J=$(D).style.paddingTop;var E=$(D).style.paddingBottom;var H=getRealTop($(D));var G=getRealLeft($(D));var A=parseInt($(D).style.zIndex,10);if(isNaN(A)){A=1000}if(L){if(F==""){F=0}if(C==""){C=0}if(B==""){B=0}if(J==""){J=0}if(E==""){E=0}$(M).style.display="";$(M).style.width=I+"px";$(M).style.height=K+"px";$(M).style.padding=F+"px";$(M).style.paddingLeft=C+"px";$(M).style.paddingRight=B+"px";$(M).style.paddingTop=J+"px";$(M).style.paddingBottom=E+"px";$(M).style.top=H+"px";$(M).style.left=G+"px";$(M).style.zIndex=A+1;if($("loader_inside")){$("loader_inside").style.display="block";$("loader_inside").style.position="absolute";$("loader_inside").style.left=Math.ceil(G+(I-parseInt($("loader_inside").offsetWidth,10))/2)+"px";$("loader_inside").style.top=Math.ceil(H+(K-parseInt($("loader_inside").offsetHeight,10))/2)+"px";$("loader_inside").style.zIndex=$(M).style.zIndex+1}}else{$(M).style.display="none";$(M).style.width="0px";$(M).style.height="0px";$(M).style.top="0px";$(M).style.left="0px";$(M).style.zIndex=-1;if($("loader_inside")){$("loader_inside").style.display="none";$("loader_inside").style.zIndex=-1;$("loader_inside").style.left="0px";$("loader_inside").style.top="0px"}AJAX_is_locked=false}}function doInitPublic(){doPrepareElements();setupIntroVideo();try{$("site").style.height=getWinHeight()+"px";$("ovdiv").style.height=(getWinHeight()-130)+"px";$("ovtd").style.height=(getWinHeight()-130)+"px"}catch(A){alert(A)}}function doInitInternal(){doPrepareElements()}var a,img,div,input,select;function doPrepareElements(){a=(ie)?ie.tags("a"):document.getElementsByTagName("a");img=(ie)?ie.tags("img"):document.getElementsByTagName("img");div=(ie)?ie.tags("div"):document.getElementsByTagName("div");input=(ie)?ie.tags("input"):document.getElementsByTagName("input");select=(ie)?ie.tags("select"):document.getElementsByTagName("select");for(i=0;i<input.length;i++){}for(i=0;i<a.length;i++){a[i].onfocus=function(){if(this.blur){this.blur()}}}for(i=0;i<img.length;i++){if(img[i].src.indexOf("bt_")>0){img[i].onmouseover=function(){this.src=this.src.replace(".png","_ov.png")};img[i].onmouseout=function(){this.src=this.src.replace("_ov.png",".png")}}}for(i=0;i<div.length;i++){if(div[i].className=="listRowN"){}}}function initTinyMCE(){tinyMCE.init({mode:"textareas",theme:"advanced",plugins:"safari,style,layer,table,save,advhr,advimage,advlink,emotions,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,pagebreak",theme_advanced_buttons3_add:"separator,inserttime,preview,separator,forecolor,backcolor",theme_advanced_buttons3_add_before:"cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",theme_advanced_buttons4_add:"separator,separator,ltr,rtl,separator,fullscreen",theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",theme_advanced_statusbar_location:"bottom",plugin_insertdate_dateFormat:"%d.%m.%Y",plugin_insertdate_timeFormat:"%H:%M:%S",external_link_list_url:"example_data/example_link_list.js",external_image_list_url:"example_data/example_image_list.js",flash_external_list_url:"example_data/example_flash_list.js",template_external_list_url:"example_data/example_template_list.js",theme_advanced_resize_horizontal:false,theme_advanced_resizing:true,apply_source_formatting:true})}function afterinit(){if($("content_contentEN_parent")&&lang=="DE"){$("content_contentEN_parent").style.display="none"}if($("content_contentDE_parent")&&lang=="EN"){$("content_contentDE_parent").style.display="none"}}function doCollapse(A,B){B.src=B.src.replace("minus","plus");B.alt="[+]";B.title="[+]";A.style.display="none"}function doExpand(A,B){B.src=B.src.replace("plus","minus");B.alt="[-]";B.title="[-]";A.style.display="block"}function getWinWidth(){if(typeof (window.innerWidth)=="number"){return window.innerWidth}else{if(document.documentElement&&document.documentElement.clientWidth){return document.documentElement.clientWidth}else{if(document.body&&document.body.clientWidth){return document.body.clientWidth}}}}function getWinHeight(){if(typeof (window.innerHeight)=="number"){return window.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){return document.documentElement.clientHeight}else{if(document.body&&document.body.clientHeight){return document.body.clientHeight}}}}function getRealLeft(A){xPos=A.offsetLeft;tempEl=A.offsetParent;while(tempEl!=null){xPos+=tempEl.offsetLeft;tempEl=tempEl.offsetParent}return xPos}function getRealTop(A){yPos=A.offsetTop;tempEl=A.offsetParent;while(tempEl!=null){yPos+=tempEl.offsetTop;tempEl=tempEl.offsetParent}return yPos}function changeOpac(B,A){B.style.filter="alpha(opacity="+A+")";B.style.opacity=(A/100);B.style.MozOpacity=(A/100);B.style.KhtmlOpacity=(A/100)}function clearOpac(A){A.style.filter="";A.style.opacity="";A.style.MozOpacity="";A.style.KhtmlOpacity=""}function fadeIn(C,D,A){if(window.outTimer){clearTimeout(outTimer)}if(!A){A=100}var E=cross(C);var B=D+20;if(B<A){changeOpac(E,B);if(D==0){E.style.display="block"}inTimer=window.setTimeout("fadeIn('"+C+"', "+B+", "+A+")",30)}else{if(window.inTimer){clearTimeout(inTimer)}changeOpac(E,A)}}function fadeOut(C,D,B){if(window.inTimer){clearTimeout(inTimer)}if(!B){B=0}var E=cross(C);var A=D-10;if(A>B){changeOpac(E,A);outTimer=window.setTimeout("fadeOut('"+C+"', "+A+", "+B+")",20)}else{if(window.outTimer){clearTimeout(outTimer)}E.style.display="none";clearOpac(E)}}function ResizeXBigger(E,D,A,C,F){if(window.resXBTimer){clearTimeout(resXBTimer)}var G=cross(E);if(!C){C=10}if(!F){F=20}var B=D+C;if(D<A){G.style.width=B+"px";resXBTimer=window.setTimeout("ResizeXBigger('"+E+"', "+B+", "+A+", "+C+", "+F+")",F)}else{if(window.resXBTimer){clearTimeout(resXBTimer)}G.style.width=A+"px"}}function ResizeYBigger(E,D,A,C,F){if(window.resYBTimer){clearTimeout(resYBTimer)}var G=cross(E);if(!C){C=10}if(!F){F=20}var B=D+C;if(D<A){G.style.height=B+"px";resYBTimer=window.setTimeout("ResizeYBigger('"+E+"', "+B+", "+A+", "+C+", "+F+")",F)}else{if(window.resYBTimer){clearTimeout(resYBTimer)}G.style.height=A+"px"}}function ResizeXYBigger(D,E,C,B,A,G,F,I,H){ResizeXBigger(D,E,B,G,I);ResizeYBigger(D,C,A,F,H)}function ResizeElBigger(E,C){var B=1;var F=20;var D=cross(E).offsetWidth;var A=cross(E).offsetHeight;ResizeXYBigger(E,D,A,D*C,A*C,B,B,F,F)}function doResizeToScreen(A){try{cross(A).width=getWinWidth()+"px";cross(A).height=getWinHeight()+"px"}catch(B){}}function deleteRow(A){A.parentNode.deleteRow(A.rowIndex)}function addTableCell(B,A){B.appendChild(createTableCell(A))}function createTableRow(A){tr=document.createElement("TR");if(A.length!=0){tr.id=A}return tr}function createTableCell(A){var B=document.createElement("TD");B.innerHTML=A;return B}function IsNumeric(B){var D="0123456789.";var C=true;var A;for(i=0;i<B.length&&C==true;i++){A=B.charAt(i);if(D.indexOf(A)==-1){C=false}return C}return false}function Array2D(A,B){this.items=new Array(A);for(i=0;i<B;i++){this.items[i]=new Array(B)}};