/*
Modification or decryption of this file is strictly forbidden - Pintexx GmbH
*/
function __editGetEditorUrl(){if(globalEditorUrl!=""){return globalEditorUrl}else{var url=document.location.href;var pos=url.toLowerCase().indexOf("editor/");return url.substring(0,pos+7)}};function __editGetEditorWeb(){if(globalRootUrl!=""){return globalRootUrl}else{var url=document.location.href;var pos=url.indexOf("editor");return url.substring(0,pos)}};function __editGetServer(){try{return document.location.protocol+"//"+document.location.host}catch(Error){return ""}};function globalGetPositonY(obj){var y=0;var parent=obj;while(parent.tagName.toUpperCase()!="BODY"){y=y+parent.offsetTop;parent=parent.offsetParent}return y};function globalGetPositonX(obj){var x=0;var parent=obj;while(parent.tagName.toUpperCase()!="BODY"){x=x+parent.offsetLeft;parent=parent.offsetParent}return x};function __editGetIframePositionX(iframe){if(iframe.style.position.toUpperCase()=="ABSOLUTE"){return parseInt(iframe.style.left)}else{var parent=iframe;var x=0;while(parent.tagName.toUpperCase()!="BODY"){x=x+parent.offsetLeft;parent=parent.offsetParent}return parseInt(x)}};function __editGetIframePositionY(iframe){if(iframe.style.position.toUpperCase()=="ABSOLUTE"){return parseInt(iframe.style.top)}else{var parent=iframe;var y=0;while(parent.tagName.toUpperCase()!="BODY"){y=y+parent.offsetTop;parent=parent.offsetParent}return parseInt(y)}};function __editGetObjectWidth(obj){if(browser.ie){return obj.offsetWidth}else{var width=obj.width?obj.width: obj.style.width;if(width.indexOf("%")>0)width=obj.offsetWidth;return parseInt(width)}};function __editGetObjectHeight(obj){if(browser.ie){return obj.offsetHeight}else{var height=obj.height?obj.height: obj.style.height;if(height.indexOf("%")>0)width=obj.offsetHeight;return parseInt(height)}}function MakeString(){this.pos=0;this.add=__string_add;this.get=__string_get;this.aString=new Array()};function __string_add(sString){if(sString=="")return;this.aString[this.pos++]=String(sString)};function __string_get(){return this.aString.join("")};
