/*
Modification or decryption of this file is strictly forbidden - Pintexx GmbH
*/
var globalAutoRelativeBase=false;function Browser(){var agent=navigator.userAgent.toLowerCase();this.ns=((agent.indexOf('mozilla')!=-1)&&((agent.indexOf('spoofer')==-1)&&(agent.indexOf('compatible')==-1)));this.ie=(agent.indexOf("msie")!=-1);this.safari=(agent.indexOf("safari")!=-1)}var browser=new Browser();function __editStartup(){if(globalUserMode=="1"){globalBreakMode="wp";globalAttributeAreaVisible=false;if(__editDocumentView=="")globalDocumentView=true;else globalDocumentView=__editDocumentView>0?true:false;if(!globalDocumentView)globalRulerVisible=false;globalHierarchyBarVisible=false}else{globalDocumentView=__editDocumentView>0?true:false}if(globalToolbarColor==""){if(design=="Office2003"){globalToolbarColor="9EBEF5";globalToolbarBorder=false}else if(design=="Office2003S"){globalToolbarColor="#E8E8F0";globalToolbarBorder=false}else{globalToolbarColor="ButtonFace";globalToolbarBorder=true}}__editBuildEditor();editSetUserCode(__userCode);try{__toolbar_setmode(__mode)}catch(Error){}if(globalLanguageDetect){if(browser.ns)__lng=navigator.language;else __lng=navigator.userLanguage;if(__lng.indexOf("en")>-1)language="EN";if(__lng.indexOf("de")>-1)language="DE";if(__lng.indexOf("es")>-1)language="ES";if(__lng.indexOf("pt")>-1)language="PT";if(__lng.indexOf("nl")>-1)language="NL";if(__lng.indexOf("he")>-1)language="HE";if(__lng.indexOf("gr")>-1)language="GR";if(__lng.indexOf("se")>-1)language="SE"}if(browser.ie){document.oncontextmenu=oncontext}if(globalDebug){try{checkSettings()}catch(error){}}try{spellSetLanguage(language);spellSetDictFile(globalSpellDictPath);spellSetUserDictFile(globalSpellUserDictPath);spellSetLicense(globalSpellLicenseKey)}catch(Error){}try{eventOnInit()}catch(Error){}setTimeout("__init_delay()",20)}function __init_delay(){if(browser.ns){document.body.innerHTML=__tmp_st_html}if(__readOnly){globalSingleMode=true;globalMenuVisible=false;editSetReadOnlyStatus(true)}if(!globalSingleMode){if(globalMenuVisible){document.body.style.marginTop=22;CreateMenu(__userCode)}else{document.body.style.marginTop=1}}else{document.body.style.marginTop=1}document.getElementById("body").style.backgroundColor=globalToolbarColor;if(globalHierarchyBarVisible)document.getElementById("hierarchyBar").style.backgroundColor=globalToolbarColor;editSetHierachyBarVisible(globalHierarchyBarVisible);if(__loadFile!=""){editLoad(__loadFile)}else{__editInitStatus=1}try{RaiseControlEvent("LOADED")}catch(Error){};callParent()}function __window_r_loaded(){__editShowWindowRight()};function __window_l_loaded(){};function __editOnResize(){}function __moz_OnLoad(){__editHTMLAreaUsed=false;__editDocumentLoadedFlag=true;__editLoading=false;var doc=document.getElementById('__moz_load').contentWindow.document;__currentURL=doc.location.href;var cut=__currentURL.indexOf("?");if(cut>0)__currentURL=__currentURL.substring(0,cut);editWrite(doc.documentElement.innerHTML,2)}function __editOnLoad(){if(globalDocumentView&&globalDocumentPageWidth!=""){if(browser.ie)document.getElementById("scroll2").style.height=getDoc().body.scrollHeight+"px"}__editHTMLAreaUsed=false;__editDocumentLoadedFlag=true;__editLoading=false;if(__editInitStatus==1){if(!__readOnly){if(browser.ns){document.getElementById("pinEdit").contentWindow.document.designMode="on"}else{document.getElementById('pinEdit').contentWindow.document.body.contentEditable=true;}}if(browser.ie){setEvent();if(globalAutoFocus)editSetFocus()}else{setEvent();var doc=document.getElementById('pinEdit').contentWindow.document;doc.body.style.backgroundColor="white"}return}if(__editInitStatus==2){if(browser.ie)__currentURL=document.getElementById('pinEdit').contentWindow.document.location.href;var cut=__currentURL.indexOf("?");if(cut>0)__currentURL=__currentURL.substring(0,cut)}if(__currentURL.indexOf(globalEditorPageName)>0||__currentURL.indexOf("dummy.html")>0)__currentURL="";if(globalAutoRelativeBase){if(__editInitStatus==2){globalImagePathRelative_save=globalImagePathRelative;globalLinkPathRelative_save=globalLinkPathRelative;for(var i=__currentURL.length-1;i>0;i--){if(__currentURL.substring(i,i+1)=="/"){globalImagePathRelative=__currentURL.substring(0,i+1);globalLinkPathRelative=globalImagePathRelative;break}}if(__editInitStatus!=2){if(globalImagePathRelative_save!="")globalImagePathRelative=globalImagePathRelative_save;if(globalLinkPathRelative_save!="")globalLinkPathRelative=globalLinkPathRelative_save}}}if(browser.ie){setEvent();if(__editInitStatus==2)__editRelativePrepare(true);__editShowSymbols();editMultipleSelection();editRefresh(getDoc(),editGetMode())}else{var doc=document.getElementById('pinEdit').contentWindow.document;if(!doc.body.style.backgroundColor)doc.body.style.backgroundColor="white";setEvent();__editRelativePrepare(true);__editShowSymbols()}if(!__readOnly){if(browser.ie){document.getElementById('pinEdit').contentWindow.document.body.contentEditable=true}}__editOnChanged(false,true);if(globalAutoFocus&&browser.ie)editSetFocus();if((__editInitStatus==2&&__currentURL!="")||__editInitStatus==3){setTimeout("__delay_style_sheet()",50)}}function __delay_style_sheet(){editSetStyleSheetRules();try{__eventOnFileLoaded()}catch(Error){}if(__intisetemp){__editLave()}}function __editLave(){/*__editUndo[0]="<div id='__lave' contenteditable='false' style='FONT-SIZE: 10px; LEFT: 10px; COLOR: red; FONT-FAMILY: Arial; POSITION: absolute; TOP: 0px' unselectable='on'>"+"pinEdit "+(globalUserMode=="1"?" WP ":"")+"Evaluation "+___version+"</div>";var div=getDoc().createElement("div");div.id="__l"+"ave";div.style.position="absolute";div.style.left=10;div.style.top=0,div.style.color="red";div.style.fontFamily="Arial";div.style.fontSize=10;div.align="right";div.unselectable="on";div.contentEditable=false;div.innerHTML="pinEdit "+(globalUserMode=="1"?" WP ":"")+"Evaluation "+editGetVersion();if(!getDoc().getElementById("__l"+"ave")){getDoc().body.appendChild(div)}*/}function callParent(){if(browser.ie){try{if(parent.document.readyState.toUpperCase()!="COMPLETE"){window.setTimeout("callParent()",50);return}}catch(error){window.setTimeout("callParent()",50);return}}if(__editDynEvent!=""){try{eval("parent.editStartup_"+__editDynEvent+"(window,window.frameElement.id)")}catch(Error){}}else{try{parent.editOnEditorLoadedIntern(window,window.frameElement.id)}catch(Error){};try{parent.editOnEditorLoaded(window,window.frameElement.id)}catch(Error){}}if(__startupMode=="H"){setMode("HTML")}else if(__startupMode=="P"){setMode("PREVIEW")}if(globalDocumentView&&globalDocumentPageWidth!=""){if(browser.ie){var x=document.getElementById('scroll1');x.onscroll=scrollHandler}}}function scrollHandler(e){var y=parseInt(document.getElementById('scroll1').scrollTop);frames["pinEdit"].scrollTo(0,y);return true}function __editShowWindowRight(){__editPrepareParams();__editMozParam[2]="BODY";__editMozParam[5]=getDoc().body;__editMozParam[13]="3";__editMozParam[15]="1";try{document.getElementById("windowRight").contentWindow.initDialog(__editMozParam)}catch(Error){}}function __toolbar_loaded(){try{if(__startupMode=="H"){editSetActiveMode("HTML")}else if(__startupMode=="P"){editSetActiveMode("PREVIEW")}else if(__startupMode=="S"){}else{editSetActiveMode("EDIT")}__editToolbarReady=true;editOnEditorReady();editRefresh(getDoc(),editGetMode())}catch(Error){}}var __tmp_st_html="";var globalLeftAreaVisible=false;var globalLeftAreaWidth="24";var globalLeftAreaUrl="toolbar/pinToolbar.html";function __editBuildEditor(){var docViewStyle="";var html="";if(globalSupportHttps&&browser.ie)var isHttps=" src='dummy.html' ";else var isHttps="";if(globalSideBarVisible)globalLeftAreaVisible=true;var startupMode="";var saveHB=false;if(__startupMode=="H"||__startupMode=="P"||__startupMode=="S"){startupMode="display: none"}html+="<div id='helpline' onmouseup='onmouseupPINEDIT()' style='visibility:hidden;position:absolute;z-Index:5001;left:50;top:0;width:1px;height:1000px;border-left:1px dotted red'></div>";html+="<TEXTAREA style='position:absolute;top:0px;left:0px;display:none' id='__editData' NAME='__editData'></TEXTAREA>";html+="<table width='100%' height='100%' border=0 cellspacing='0' cellpadding='0'>";html+="<tr>";var colspan=2;if(globalLeftAreaVisible&&!globalAttributeAreaVisible)colspan=2;if(!globalLeftAreaVisible&&globalAttributeAreaVisible)colspan=2;if(globalLeftAreaVisible&&globalAttributeAreaVisible)colspan=3;html+="<td colspan='"+colspan+"' unselectable='on' id='toolbartop'>";if(!globalSingleMode)html+="<iframe src='toolbar/pinToolbar.html' onload='javascript:__toolbar_loaded();' unselectable='on' id='toolbar_top' style='HEIGHT: 84px; width:100%;"+startupMode+"' frameBorder='0'></iframe>";html+="<td>";html+="</tr>";html+="<tr>";if(globalLeftAreaVisible&&globalHierarchyBarVisible){html+="<td style='width:"+globalLeftAreaWidth+"' rowspan=3>";html+="<iframe onload='__window_l_loaded()' src='"+globalLeftAreaUrl+"' id='windowLeft' height='100%' style='width:"+globalLeftAreaWidth+"' frameborder='0'></iframe>";html+="</td>"}if(globalLeftAreaVisible&&!globalHierarchyBarVisible){html+="<td style='width:"+globalLeftAreaWidth+"'>";html+="<iframe onload='__window_l_loaded()' src='"+globalLeftAreaUrl+"' id='windowLeft' height='100%' style='width:"+globalLeftAreaWidth+";"+startupMode+"' frameborder='0'></iframe>";html+="</td>"}if(globalHierarchyBarVisible)html+="<td id='hierarchyBar'><div  style='padding-right:3px'><table style='width:100%;border-width:1px;border-style: solid;border-left-color:  ButtonShadow;  border-right-color:  ButtonHighlight;  border-top-color:  ButtonShadow;  border-bottom-color:ButtonHighlight;' cellspacing=0 cellpadding=1 border=0><tr><td>&nbsp;</td></tr></table></div></td>";if(globalAttributeAreaVisible&&globalHierarchyBarVisible){html+="<td style='width:"+globalAttributeAreaWidth+"' rowspan=2>";html+="<iframe onload='__window_r_loaded()' src='"+globalAttributeAreaUrl+"' id='windowRight' name='attribute' height='100%' style='width:"+globalAttributeAreaWidth+";"+startupMode+"' frameborder='0'></iframe>";html+="</td>"}html+="</tr>";html+="<tr>";if(globalDocumentView&&globalDocumentPageWidth!=""){html+="<td width='100%' height='100%'>";if(browser.ie)docViewStyle="style='border-left-width:1px;border-left-style: solid;border-left-color: black; border-top-width: 1px;border-top-style: solid;border-top-color: black;border-right-width:1px;border-right-style: solid;border-right-color: black;'";var docWidth=0;if(globalTechnology=="desk"){docWidth=globalControlWidth-(globalAttributeAreaVisible?parseInt(globalAttributeAreaWidth):0)-(globalLeftAreaVisible?parseInt(globalLeftAreaWidth):0)-18-2-2}else{docWidth=__editGetDocumentWidth()}html+="<div id='editContainer' style='height:100%'>";html+="<table style='width:100%;height:100%' border=0 cellpadding=0 cellspacing=0><tr><td width='100%' height='100%'>";if(browser.ie)html+="<div id='docContainer' style='height:100%;width:"+docWidth+";overflow-y:hidden;overflow-x:auto;'>";else html+="<div id='docContainer' style='height:100%;width:100%;overflow-y:hidden;overflow-x:auto;'>";html+="<table id='docContainerInside' style='height:100%;width:100%;' border=0 cellpadding=0 cellspacing=0>";html+="<tr>";var rulerImage="";if(globalRulerUnit=="0")rulerImage="ruler-pixel.gif";if(globalRulerUnit=="1")rulerImage="ruler-mm.gif";if(globalRulerUnit=="2")rulerImage="ruler-inch.gif";if(globalRulerVisible)html+="<td id='ruler' style='background-color:"+globalToolbarColor+";padding-top:4px;padding-bottom:2px;padding-left:"+globalDocumentMargin+"'><div style='height:15px;width:100%;BACKGROUND-REPEAT: no-repeat;background-image:url(design/image/"+rulerImage+")' border=0></div></td>";else html+="<td id='ruler'></td>";html+="</tr>";html+="<tr>";if(browser.ie)html+="<td align='left' style='height:100%;padding-top: "+globalDocumentMargin+";padding-left:"+globalDocumentMargin+";padding-right:"+globalDocumentMargin+";padding-bottom:0px;background-color: "+globalDocumentBackColor+";'><iframe "+docViewStyle+isHttps+" id='pinEdit' name='pinEdit' onload='__editOnLoad()' onresize='__editOnResize();' onfocus='__editSetFocusStatus(true)' onblur='__editSetFocusStatus(false)' height='100%' width='"+globalDocumentPageWidth+"' frameborder='0' scrolling='no'></iframe></td>";else html+="<td align='left' style='height:100%;padding-top: "+globalDocumentMargin+";padding-left:"+globalDocumentMargin+";padding-right:"+globalDocumentMargin+";padding-bottom:0px;background-color: "+globalDocumentBackColor+";'><iframe "+docViewStyle+isHttps+" id='pinEdit' name='pinEdit' onload='__editOnLoad()' onresize='__editOnResize();' onfocus='__editSetFocusStatus(true)' onblur='__editSetFocusStatus(false)' height='100%' width='"+globalDocumentPageWidth+"' frameborder='0'></iframe></td>";html+="</tr>";html+="</table>";html+="</div>";html+="</td>";if(browser.ie){html+="<td height='100%'>";html+="<div style='overflow:scroll;width:18px; height:100%' id='scroll1'><div id='scroll2' style='width:1px; height:1px; overflow:hidden;'></div></div>";html+="</td>"}html+="</tr></table>";html+="</div>"}else if(globalDocumentView&&globalDocumentPageWidth==""){html+="<td width='100%' height='100%' style='padding-left:"+globalDocumentMargin+";padding-top:"+globalDocumentMargin+";background-color: "+globalDocumentBackColor+"'>";if(browser.ie)docViewStyle="style='border-left-width:1px;border-left-style: solid;border-left-color: black; border-top-width: 1px;border-top-style: solid;border-top-color: black'";html+="<iframe "+docViewStyle+isHttps+" id='pinEdit' name='pinEdit' onload='__editOnLoad()' onresize='__editOnResize();' onfocus='__editSetFocusStatus(true)' onblur='__editSetFocusStatus(false)' height='100%' width='100%' frameborder='0'></iframe>"}else{html+="<td width='100%' height='100%'>";html+="<iframe tabIndex=0 "+docViewStyle+isHttps+" id='pinEdit' name='pinEdit' onload='__editOnLoad()' onresize='__editOnResize();' onfocus='__editSetFocusStatus(true)' onblur='__editSetFocusStatus(false)' height='100%' width='100%' frameborder='0'></iframe>"}html+="<iframe "+docViewStyle+isHttps+" id='pinEditPreview' name='pinEditPreview' onfocus='__editSetFocusStatus(true)' onblur='__editSetFocusStatus(false)' height='100%' width='100%' style='display: none' frameborder='0'></iframe>";html+="<iframe "+docViewStyle+isHttps+" id='pinEditHtml' name='pinEditHtml' onfocus='__editSetFocusStatus(true)' onblur='__editSetFocusStatus(false)'  height='100%' width='100%' style='display: none;' frameborder='0'></iframe>";html+="</td>";if(globalAttributeAreaVisible&&!globalHierarchyBarVisible){html+="<td style='width:"+globalAttributeAreaWidth+"'>";html+="<iframe onload='__window_r_loaded()' src='"+globalAttributeAreaUrl+"' id='windowRight' height='100%' style='width:"+globalAttributeAreaWidth+";"+startupMode+"' frameborder='0'></iframe>";html+="</td>"}html+="</tr>";html+="<tr>";html+="<td  colspan='2' unselectable='on' id='toolbarbottom'>";if(globalUserMode=="0"){if(!globalSingleMode)html+="<iframe unselectable='on' id='toolbar_bottom' style='z-Index:5002;HEIGHT: 28px; width:100%' src='toolbar/pinToolbar.html' frameBorder='0'></iframe>"}else{if(!globalSingleMode)html+="<iframe unselectable='on' id='toolbar_bottom' style='z-Index:5003;HEIGHT: 1px; width:100%' src='toolbar/pinToolbar.html' frameBorder='0'></iframe>"}html+="<td>";html+="</tr>";html+="</table>";__tmp_st_html=html;if(browser.ie)document.body.innerHTML=html}function oncontext(){return false};function editGetXHtmlBody(nodoctype){return __editGetXHtml("1",nodoctype)};function editGetXHtml(mode,nodoctype,isUpdated){return __editGetXHtml(mode,nodoctype,isUpdated)};function __editSev(){__intisetemp=false}
