UNOUNO.util.ToggleContent=function(toggleSet){this.init(toggleSet);};UNOUNO.util.ToggleContent.prototype={toggleSet:null,initState:"",boxes:[],contentClasses:[],queryStart:null,qxBom:qx.bom,initRadioboxes:function(){this.queryStart="#content";for(var i=0;i<this.toggleSet.length;i++){if(document.getElementById(this.toggleSet[i][0])){this.qxBom.Element.addListener(document.getElementById(this.toggleSet[i][0]),"change",this.toggleContent,this);
if(navigator.appVersion.indexOf("MSIE")!==-1&&navigator.appVersion.indexOf("MSIE 9")===-1&&navigator.appVersion.indexOf("MSIE 1")===-1){this.qxBom.Element.addListener(document.getElementById(this.toggleSet[i][0]),"click",this.toggleContent,this);}if(document.getElementById(this.toggleSet[i][0]).checked===true){this.showContent(this.toggleSet[i][1]);
}this.boxes.push(this.toggleSet[i][0]);this.contentClasses.push(this.toggleSet[i][1]);}}},toggleContent:function(){this.resetContent();for(var i=0;i<this.toggleSet.length;i++){if(document.getElementById(this.toggleSet[i][0])){if(document.getElementById(this.toggleSet[i][0]).checked===true){this.showContent(this.toggleSet[i][1]);
}}}},resetContent:function(){for(var i=0;i<this.contentClasses.length;i++){this.hideContent(this.contentClasses[i]);}},showContent:function(className){if(className&&className!==""){var elems=this.qxBom.Collection.query(this.queryStart+" ."+className);for(var i=0;i<elems.length;i++){elems[i].style.display="block";
}}},hideContent:function(className){var elems=this.qxBom.Collection.query(this.queryStart+" ."+className);for(var i=0;i<elems.length;i++){elems[i].style.display="none";}},init:function(toggleSet){this.toggleSet=toggleSet;this.initRadioboxes();}};
UNOUNO.util.tariffFeature=function(featureIDs){this.init(featureIDs);};UNOUNO.util.tariffFeature.prototype={featureIDs:null,featureShowAll:null,featureHideAll:null,featureShowHideAll:null,featureShowHideAllEventRegistered:false,countFeatures:null,toggleStore:[],qxBom:qx.bom,setFeatureIDs:function(featureIDs){this.featureIDs=featureIDs;
},setShowHideAll:function(){this.featureHideAll=document.getElementById("hideall.feature");this.featureShowAll=document.getElementById("showall.feature");var showHideAll=document.getElementsByClassName("showhideall");this.featureShowHideAll=showHideAll.length>0?showHideAll[0]:null;},setCountFeatures:function(){if(this.isArray(this.featureIDs)){this.countFeatures=this.featureIDs.length;
}},initFeatures:function(featureIDs){this.setFeatureIDs(featureIDs);this.setShowHideAll();this.setCountFeatures();this.setupFeatures(this.featureIDs);},setupFeatures:function(){var addListenerShowFeatureElem=function(scope,featureID,setcontrol){return function(e){scope.hideAllFeatureElem();scope.showFeatureElem(featureID,setcontrol);
};};var addListenerHideFeatureElem=function(scope,featureID,setcontrol){return function(e){scope.hideFeatureElem(featureID,setcontrol);};};if(this.isArray(this.featureIDs)){for(var i=0;i<this.featureIDs.length;i++){if(document.getElementById(this.featureIDs[i])){var featuresShow=document.getElementById(this.featureIDs[i]+".link.show");
var featuresHide=document.getElementById(this.featureIDs[i]+".link.hide");if(document.getElementById(this.featureIDs[i]).style.display!=="none"){this.hideFeatureElem(this.featureIDs[i],true);}if(featuresShow!==null&&featuresHide!==null){this.qxBom.Element.addListener(featuresShow,"click",addListenerShowFeatureElem(this,this.featureIDs[i],true));
this.qxBom.Element.addListener(featuresHide,"click",addListenerHideFeatureElem(this,this.featureIDs[i],true));}}}if((this.featureIDs.length<=1)&&(this.featureShowAll!==null)&&(this.featureHideAll!==null)){this.featureShowAll.style.display="none";this.featureHideAll.style.display="none";}}else{if(document.getElementById(this.featureIDs)){var featureShow=document.getElementById(this.featureIDs+".link.show");
var featureHide=document.getElementById(this.featureIDs+".link.hide");if(document.getElementById(this.featureIDs).style.display!=="none"){this.hideFeatureElem(this.featureIDs,true);}if(featureShow!==null&&featureHide!==null){this.qxBom.Element.addListener(featureShow,"click",addListenerShowFeatureElem(this,this.featureIDs,false));
this.qxBom.Element.addListener(featureHide,"click",addListenerHideFeatureElem(this,this.featureIDs,false));}}if(this.featureShowAll!==null&&this.featureHideAll!==null){this.featureShowAll.style.display="none";this.featureHideAll.style.display="none";}}},hideFeatureElem:function(featureID,setcontrol){var feature=document.getElementById(featureID);
if(feature.style.display!=="none"){feature.style.display="none";}var linkShow=document.getElementById(featureID+".link.show");var linkHide=document.getElementById(featureID+".link.hide");if(linkShow){linkShow.style.display="";}if(linkHide){linkHide.style.display="none";}if(setcontrol===true){this.setControlAll();
}if(this.toggleStore.length>0){this.toggleAdditionalElements(featureID);}},showFeatureElem:function(featureID,setcontrol){var feature=document.getElementById(featureID);if(feature.style.display==="none"){feature.style.display="";}document.getElementById(featureID+".link.show").style.display="none";document.getElementById(featureID+".link.hide").style.display="";
if(setcontrol===true){this.setControlAll();}if(this.toggleStore.length>0){this.toggleAdditionalElements(featureID);}},showAllFeatureElem:function(){if(this.isArray(this.featureIDs)){for(var i=0;i<this.featureIDs.length;i++){this.showFeatureElem(this.featureIDs[i],false);}if(this.featureShowAll!==null&&this.featureHideAll!==null){this.featureShowAll.style.display="none";
this.featureHideAll.style.display="";}}},hideAllFeatureElem:function(){if(this.isArray(this.featureIDs)){for(var i=0;i<this.featureIDs.length;i++){this.hideFeatureElem(this.featureIDs[i],false);}if(this.featureShowAll!==null&&this.featureHideAll!==null){this.featureShowAll.style.display="";this.featureHideAll.style.display="none";
}}},toggleAllFeatureElem:function(){if(this.featureShowAll.style.display==="none"){this.hideAllFeatureElem();}else{this.showAllFeatureElem();}},setToggleAdditionalElements:function(linkId,toggleElem){this.toggleStore.push([linkId,toggleElem]);},toggleAdditionalElements:function(featureID){for(var i=0;
i<this.toggleStore.length;i++){if(featureID===this.toggleStore[i][0]){var toggleElem=document.getElementById(this.toggleStore[i][1]);if(toggleElem){if(qx.bom.element.Style.get(toggleElem,"display","COMPUTED_MODE",true)==="none"){toggleElem.style.display="block";}else{toggleElem.style.display="none";}}}}},setControlAll:function(){var countOpenFeatures=1;
if(this.isArray(this.featureIDs)){for(var i=0;i<this.featureIDs.length;i++){if(document.getElementById(this.featureIDs[i])&&document.getElementById(this.featureIDs[i]).style.display!=="none"){countOpenFeatures++;}}if(this.featureShowAll!==null&&this.featureHideAll!==null){if(countOpenFeatures>1){this.featureShowAll.style.display="none";
this.featureHideAll.style.display="block";}else{this.featureShowAll.style.display="";this.featureHideAll.style.display="none";}if(this.featureShowHideAll){if(!this.featureShowHideAllEventRegistered){this.featureShowHideAllEventRegistered=true;this.featureShowHideAll.style.cursor="pointer";this.qxBom.Element.addListener(this.featureShowHideAll,"click",this.toggleAllFeatureElem,this);
}}else{this.qxBom.Element.addListener(this.featureHideAll,"click",this.hideAllFeatureElem,this);this.qxBom.Element.addListener(this.featureShowAll,"click",this.showAllFeatureElem,this);}}}},init:function(featureIDs){this.isArray=function(featureIDs){return featureIDs&&typeof featureIDs==="object"&&typeof featureIDs.length==="number"&&typeof featureIDs.splice==="function"&&!(featureIDs.propertyIsEnumerable("length"));
};this.initFeatures(featureIDs);}};
//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/dataset-min.js
(function(){var c=window.qxWeb.$$qx;c.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});c.$$packageData["0"]={locales:{},resources:{},translations:{C:{},en:{}}};(function(){c.Bootstrap.define("qx.module.Dataset",{statics:{setData:function(a,b){this._forEachElement(function(d){c.bom.element.Dataset.set(d,a,b)});return this},getData:function(a){if(this[0]&&1===this[0].nodeType)return c.bom.element.Dataset.get(this[0],a)},getAllData:function(){return this[0]&&1===this[0].nodeType?
c.bom.element.Dataset.getAll(this[0]):{}},removeData:function(a){this[0]&&1===this[0].nodeType&&c.bom.element.Dataset.remove(this[0],a);return this}},defer:function(a){qxWeb.$attach({getData:a.getData,setData:a.setData,removeData:a.removeData,getAllData:a.getAllData})}})})();(function(){c.Bootstrap.define("qx.bom.element.Dataset",{statics:{set:function(a,b,d){a.dataset?(b=c.lang.String.camelCase(b),null==d?delete a.dataset[b]:a.dataset[b]=d):(void 0===d&&(d=null),c.bom.element.Attribute.set(a,"data-"+
c.lang.String.hyphenate(b),d))},get:function(a,b){if(a.dataset)return b=c.lang.String.camelCase(b),a.dataset[b]?a.dataset[b]:void 0;var d="data-"+c.lang.String.hyphenate(b);return a.hasAttribute(d)?c.bom.element.Attribute.get(a,d):void 0},getAll:function(a){if(a.dataset)return a.dataset;for(var b={},d=a.attributes,e=0;e<d.length;e++)d[e].name.match(/^data-(.*)/)&&(b[c.lang.String.camelCase(RegExp.$1)]=a.getAttribute(d[e].name));return b},remove:function(a,b){this.set(a,b,void 0)}}})})()})();

$q.define("UNOUNO.components.renderinclude",{construct:function(properties,callbacks,options){this.properties=properties;this.success=callbacks.success;this.error=callbacks.error;this.options=options;this.init();},statics:{cache:{},getCachedResponse:function(url){return this.cache[url];},setCachedResponse:function(url,response){this.cache[url]=response;
}},members:{properties:null,callback:null,callback:function(fnc,response){typeof (fnc)=="function"&&fnc.call(null,response);},createRenderIncludeURL:function(){var querystring={reuse:UNOUNO.params.reuseDOM};["part","href","module","search"].forEach(function(key){if(this.properties.hasOwnProperty(key)&&this.properties[key]){querystring["__render_"+key]=this.properties[key];
}},this);if(querystring.__render_href){while(!!querystring.__render_href.length&&querystring.__render_href.charAt(0)=="/"){querystring.__render_href=querystring.__render_href.substring(1);}}var url=window.location.href;["#","?"].forEach(function(token){var indexOfToken=url.indexOf(token);if(indexOfToken>-1){url=url.substring(0,indexOfToken);
}});url=$q.uri.appendParams(url,querystring);return url;},handleResponse:function(response){if(response.readyState==4){if(response.status===200&&response.responseText){this.callback(this.success,response);}else{this.callback(this.error,response);}}},init:function(){var url=this.createRenderIncludeURL();
var cachedResponse=UNOUNO.components.renderinclude.getCachedResponse(url);if(!cachedResponse){var xhr=$q.xhr(url,this.options);xhr.on("loadend",function(response){UNOUNO.components.renderinclude.setCachedResponse(url,response);this.handleResponse(response);},this);xhr.send(null);return ;}this.handleResponse(cachedResponse);
}}});$q.$attachStatic({"renderinclude":function(configuration,callbacks,options){return new UNOUNO.components.renderinclude(configuration,callbacks,options);}});
$q.define("UNOUNO.components.lazyLightbox",{construct:function(element){this.element=$q(element);if(this.element&&this.element.hasClass("lazy-lightbox")){this.properties=this.element.getAllData();this.lightboxName=$q.string.camelCase(this.properties.part);this.initializeClickEvents();if(this.properties.trigger&&this.properties.trigger==="onload"){this.openLightbox();
}return this;}return undefined;},members:{element:null,content:null,properties:{},lightboxName:null,instance:null,inspectTimer:null,firstCompleteCallback:true,getLightboxOpener:function(){return this.element;},openLightbox:function(){this.getLightboxContent();},callback:function(event){var ctx=(UNOUNO.lightbox||{})[this.lightboxName];
if(ctx&&this.lightboxName&&!!this.lightboxName.length&&typeof (ctx[event])==="function"){return ctx[event].apply(ctx,[].concat.call([].slice.call(arguments,1),this));}return undefined;},lightboxDimensions:function(){this.instance.show();var content=this.instance.getContent();var contentHeight=content.getHeight(true);
var contentWidth=content.getWidth(true);var contentMaxWidth=content.getWidthMax(true);if(contentMaxWidth>1030){contentWidth=860;}var minWidth=this.properties.minwidth;var minHeight=this.properties.minheight;if(!isNaN(minWidth)&&contentWidth<minWidth){contentWidth=minWidth;}if(!isNaN(minHeight)&&contentHeight<minHeight){contentHeight=minHeight;
}this.instance.setWidth(Number(contentWidth));this.instance.setHeight(Number(contentHeight));if(this.instance.getHeight()>$q(window).getHeight()){this.instance.setTop($q(window).getScrollTop()+40);}this.instance.close();this.instance.show();},determineContentDimensions:function(){var content=this.instance.getContent();
var currentContentHeight=content.getHeight();var minHeight=this.properties.minheight;if(!isNaN(minHeight)&&currentContentHeight<minHeight){currentContentHeight=minHeight;}if(currentContentHeight!=Number(this.instance.getHeight())){this.instance.setHeight(Number(currentContentHeight));}},initializeLightbox:function(){if(!this.instance){this.instance=$q.lightbox(this.content);
this.instance.setDefaultStyle(true);var instanceBlocker=this.instance.getBlocker();instanceBlocker.setBackgroundColor("#4d84bb");instanceBlocker.setOpacity(0.75);this.lightboxDimensions();this.instance.close();instanceBlocker.on("unblock",function(){$q(document).offMatchTarget("click",".lightbox-close",this.closeLightbox,this);
$q(document).offMatchTarget("click",".qx-blocker",this.closeLightbox,this);window.clearInterval(this.inspectInterval);window.setTimeout(function(){this.callback("onClosed",this.instance);}.bind(this),0);},this);instanceBlocker.on("block",function(){$q(document).onMatchTarget("click",".lightbox-close",this.closeLightbox,this);
$q(document).onMatchTarget("click",".qx-blocker",this.closeLightbox,this);this.inspectInterval=window.setInterval(function(){this.determineContentDimensions();}.bind(this),150);window.setTimeout(function(){this.callback("onComplete",this.instance,this.firstCompleteCallback);if(this.firstCompleteCallback){this.firstCompleteCallback=false;
}if(typeof (UNOUNO.tracking.lightboxTracking)==="function"){UNOUNO.tracking.lightboxTracking(this.lightboxName);}}.bind(this),0);},this);this.callback("onCreate",this.instance);}this.instance.show();},closeLightbox:function(target,e){e.preventDefault();this.callback("onCleanUp",this.instance);this.instance.close();
},getLightboxContent:function(){if(!this.instance){if(!this.properties.reference||!!!this.properties.reference.length){this.getContentViaXHR({success:function(response){this.prepareLightbox(response.responseText);}});return ;}var renderIncludeReference=$q(".lazy-lightbox-reference[data-renderinclude = '"+this.properties.reference+"']");
if(!!renderIncludeReference.length&&!!(renderIncludeReference.getHtml()||"").length){this.prepareLightbox(renderIncludeReference.getHtml());}return ;}this.initializeLightbox();},initializeClickEvents:function(){this.element.on("click",function(e){e.preventDefault();this.getLightboxContent();},this);},prepareLightbox:function(content){var qxHtml=$q.create(content);
if(!qxHtml.getChildren().length&&!!content.length){qxHtml=$q.create("<div />").setHtml(content);}this.content=qxHtml;this.content=this.callback("onContentLoaded",this.content)||this.content;this.content.find("img").forEach(function(image){new Image().src=$q(image).getAttribute("src");});this.content.hasClass("hidden")&&this.content.removeClass("hidden");
this.initializeLightbox();},getContentViaXHR:function(callbacks,options){$q.renderinclude({part:this.properties.part,href:this.properties.href,module:this.properties.module,search:this.properties.search},{success:(callbacks.success||new Function()).bind(this),error:(callbacks.error||new Function()).bind(this)},options);
}}});$q.$attachStatic({"lazyLightbox":function(element){return new UNOUNO.components.lazyLightbox($q(element));}});$q.ready(function(){$q(".lazy-lightbox").forEach(function(element){return $q.lazyLightbox(element);});});
$q.define("UNOUNO.lightbox.lightboxContentSitelock",{statics:{onComplete:function(lightbox,firstCall,instance){if(firstCall){var ctx=$q(lightbox.getContent());var tabs=ctx.find("ul.tabs > li");var tabContents=ctx.find(".tab-content");tabs.on("click",function(e){var target=$q(e.getTarget());var tabId=target.getData("tab");
tabs.removeClass("current");tabContents.removeClass("current");target.addClass("current");tabContents.filter("[id = "+tabId+"]").addClass("current");},this);}}}});$q.define("UNOUNO.lightbox.lightboxContentWebsiteBuilder",{statics:{onComplete:function(lightbox,firstCall,instance){if(firstCall){lightbox.getContent().find(".responsive-layout").forEach(function(container){new UNOUNO.animation.responsiveLayout($q(container),{"classes":["tablet","smartphone","desktop"],"cycletime":3500}).start();
});}}}});$q.define("UNOUNO.lightbox.lightboxFormSubscribe",{statics:{onComplete:function(lightbox,firstCall,instance){$q.placeholder.update();}}});$q.define("UNOUNO.lightbox.lightboxContentContentDeliveryNetwork",{statics:{onComplete:function(lightbox,firstCall,instance){if(firstCall){var ctx=$q(lightbox.getContent());
var tabs=ctx.find("ul.tabs > li");var tabContents=ctx.find(".tab-content");tabs.on("click",function(e){var target=$q(e.getTarget());var tabId=target.getData("tab");tabs.removeClass("current");tabContents.removeClass("current");target.addClass("current");tabContents.filter("[id = "+tabId+"]").addClass("current");
},this);}}}});$q.define("UNOUNO.components.vh215Lightbox",{construct:function(startHours,endHours,showContent,showAfter,excludeDays){this.startHours=startHours;this.endHours=endHours;this.showAfter=showAfter||3000;this.showContent=showContent;this.excludeDays=excludeDays||[0];if(!!$q(showContent).length){this.showLightbox();
}},members:{showAfter:0,startHours:0,endHours:0,showContent:null,excludeDays:null,showLightbox:function(){var now=new Date();var currentHour=now.getHours();var currentDay=now.getDay();if(currentHour>=this.startHours&&currentHour<this.endHours&&this.excludeDays.indexOf(currentDay)==-1){window.setTimeout(function(){var lightBox=new qui.bom.lightbox.LightBox();
lightBox.setWidth(940);lightBox.setHeight(325);lightBox.getBlocker().setBackgroundColor("#4d84bb");lightBox.getBlocker().setOpacity(0.75);lightBox.setContent($q(this.showContent).getHtml());lightBox.show();UNOUNO.tracking.lightboxTracking("tsInbound-layer");$q(".lightbox-close",$q(".lightbox_container")).on("click",function(lightBox){lightBox.close();
}.bind(this,lightBox),this);}.bind(this),this.showAfter);}}}});$q.define("UNOUNO.components.lightboxes",{statics:{init:function(){if(document.getElementById("tvspot-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("tvspot","tvspot-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);
}if(document.getElementById("webappVideo-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("webappVideo","webappVideo-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("custom-layout-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("custom-layout","custom-layout-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("custom-style-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("custom-style","custom-style-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("insert-elements-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("insert-elements","insert-elements-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("image-gallery-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("image-gallery","image-gallery-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("image-edit-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("image-edit","image-edit-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("contact-maps-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("contact-maps","contact-maps-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("diyfilmSEO-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("diyfilmSEO","diyfilmSEO-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("diyfilmSMC-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("diyfilmSMC","diyfilmSMC-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("branches-container")){UNOUNO.inline.branchesBrowser=new UNOUNO.global.LightBox("lightbox-branches","branches-container",true);
UNOUNO.inline.branchesBrowser.lightBox.setWidth(940);}}}});UNOUNO.components.lightboxes.init();
$q.define("UNOUNO.components.webfontPrice",{construct:function(price,configuration){configuration=configuration||{};this._priceConfiguration=$q.object.merge({},this._defaultConfiguration,this._configuration,configuration);this.setPrice(price);},members:{_defaultConfiguration:{currency:true,replace00With:"",thousandsSeparator:"",decimalSeparator:".",decimalLength:2},_object:undefined,_priceConfiguration:undefined,_price:undefined,setDecimalSeparator:function(decimalSeparator){this._priceConfiguration.decimalSeparator=!!decimalSeparator;
this._parse();return this;},setDecimalLength:function(decimalLength){this._priceConfiguration.decimalLength=decimalLength;this._parse();return this;},setCurrency:function(currency){this._priceConfiguration.currency=currency;this._parse();return this;},setThousandsSeparator:function(thousandsSeparator){this._priceConfiguration.thousandsSeparator=thousandsSeparator;
this._parse();return this;},setReplace00With:function(replace00With){this._priceConfiguration.replace00With=replace00With;this._parse();return this;},setCurrencyBefore:function(currencyBefore){this._priceConfiguration.currencyBefore=currencyBefore;this._parse();return this;},setCurrencyBehind:function(currencyBehind){this._priceConfiguration.currencyBehind=currencyBehind;
this._parse();return this;},setPrice:function(price){this._price=price;this._parse();return this;},getCurrency:function(){return !!this._priceConfiguration.currency;},getConfiguration:function(){return this._priceConfiguration;},getDecimalSeparator:function(){return this._priceConfiguration.decimalSeparator;
},getThousandsSeparator:function(){return this._priceConfiguration.thousandsSeparator;},getDecimalLength:function(){return this._priceConfiguration.decimalLength;},getRawPrice:function(){return Number(this._price).toFixed(Math.max(0,~~this._priceConfiguration.decimalLength));},getReplace00With:function(){return this._priceConfiguration.replace00With||undefined;
},getFormattedPrice:function(){var result=this.getRawPrice();var currencySign=this.getCurrencySign();var decimalSeparator=this.getDecimalSeparator();var thousandsSeparator=this.getThousandsSeparator();var decimalLength=this.getDecimalLength();if(decimalSeparator){result=result.replace(".",decimalSeparator);
}if(thousandsSeparator){result=result.replace(new RegExp("\\d(?=(\\d{3})+"+(decimalLength>0?"\\D":"$")+")","g"),"$&"+thousandsSeparator);}var resultSplitted=result.split(decimalSeparator);if(resultSplitted[1]==="00"){result=resultSplitted[0];if("replace00With" in this._priceConfiguration&&!!this._priceConfiguration.replace00With.length){result+=decimalSeparator+this._priceConfiguration.replace00With;
}}if(this.getCurrency()){if(this.isCurrencyBefore()){result=this.getCurrencySign()+""+result;}else{if(this.isCurrencyBehind()){result=result+" "+this.getCurrencySign();}}}return result;},isCurrencyBefore:function(){return !!this._priceConfiguration.currencyBefore;},isCurrencyBehind:function(){return !!this._priceConfiguration.currencyBehind;
},getCurrencySign:function(){return this._priceConfiguration.currencyBefore||this._priceConfiguration.currencyBehind||undefined;},parse:function(){return this._object;},format:function(){return this.getFormattedPrice();},draw:function(container){container=$q(container);if(container&&!!container.getAncestors(".webfont-price-container").length){if(container.hasClass("price-container")){return this._drawPriceContainer(container);
}else{if(container.hasClass("price-container-inline")){return this._drawInlinePriceContainer(container);}}return false;}return false;},_drawPriceContainer:function(container){var parsedObject=this._object;var priceBeforeSeparatorElement=container.getChildren(".price-before-separator");var priceSeparatorElement=container.getChildren(".price-separator");
var priceBehindSeparatorElement=container.getChildren(".price-behind-separator");var priceBehindTextElement=container.getChildren(".price-text-behind-inline");if(!!priceBeforeSeparatorElement.length){priceBeforeSeparatorElement.setTextContent(parsedObject.beforeDecimalSeparator);if(parsedObject.decimalSeparator&&parsedObject.behindDecimalSeparator){if(!!!priceSeparatorElement.length){priceSeparatorElement=$q.create("<span />").addClass("price-separator").setTextContent(parsedObject.decimalSeparator).insertAfter(priceBeforeSeparatorElement);
}if(!!!priceBehindSeparatorElement.length){priceBehindSeparatorElement=$q.create("<span />").addClass("price-behind-separator").insertAfter(priceSeparatorElement);}if(container.hasClass("price-should-be-supped")&&!priceBehindSeparatorElement.hasClass("price-sup")){priceBehindSeparatorElement.addClass("price-sup");
}if(parsedObject.behindDecimalSeparator==0||isNaN(parsedObject.behindDecimalSeparator)){priceBehindSeparatorElement.addClass("price-zero");}else{if(priceBehindSeparatorElement.hasClass("price-zero")){priceBehindSeparatorElement.removeClass("price-zero");}}var previousBehindSeparatorHtml=$q.create("<span />").append(priceBehindSeparatorElement.getChildren()).getHtml();
if(previousBehindSeparatorHtml){priceBehindSeparatorElement.setHtml(previousBehindSeparatorHtml+parsedObject.behindDecimalSeparator);}else{priceBehindSeparatorElement.setHtml(parsedObject.behindDecimalSeparator);}if(!!priceBehindTextElement.length&&container.hasClass("price-should-be-supped")&&!priceBehindTextElement.hasClass("price-behind-separator-supped")){priceBehindTextElement.addClass("price-behind-separator-supped");
}}else{priceSeparatorElement.remove();priceBehindSeparatorElement.remove();if(!!priceBehindTextElement.length&&priceBehindTextElement.hasClass("price-behind-separator-supped")){priceBehindTextElement.removeClass("price-behind-separator-supped");}}return true;}return false;},_drawInlinePriceContainer:function(container){var parsedObject=this._object;
var priceElement=container.getChildren(".price-text-inline").getChildren(".price-text");if(!!priceElement.length){priceElement.setTextContent(parsedObject.formattedPrice);return true;}return false;},_parse:function(){this._object=new Object();this._object.rawPrice=this.getRawPrice();this._object.formattedPrice=this.getFormattedPrice();
this._object.currencySign=this.getCurrencySign();this._object.decimalSeparator=this.getDecimalSeparator();this._object.thousandsSeparator=this.getThousandsSeparator();var splittedFormattedPrice=this._object.formattedPrice.split(this.getDecimalSeparator());this._object.beforeDecimalSeparator=splittedFormattedPrice[0];
this._object.behindDecimalSeparator=splittedFormattedPrice[1];}}});$q.$attachStatic({"webfontPrice":function(price,configuration){return new UNOUNO.components.webfontPrice(price,configuration);}});



UNOUNO.util.featureTable=UNOUNO.util.tariffFeature;$q.define("UNOUNO.components.featuretable",{statics:{init:function(features){features=features||UNOUNO.inline.tariffFeatures;var tariffFeature=null;if(features!==undefined){tariffFeature=new UNOUNO.util.tariffFeature(features);if(UNOUNO.inline.fieldOpen!==undefined){tariffFeature.showFeatureElem(UNOUNO.inline.fieldOpen,false);
}return tariffFeature;}return null;}}});if(UNOUNO.inline.tariffFeatures!==undefined){UNOUNO.components.featuretable.init();}



$q.define("UNOUNO.components.webfontPrice",{extend:UNOUNO.components.webfontPrice,construct:function(price,configuration){this.base(arguments,price,configuration);},members:{_configuration:{currencyBefore:"£",decimalSeparator:".",decimalLength:2}}});
qx.Bootstrap.define("UNOUNO.global.Functions",{statics:{getElementsByClassName:function(clsName,element){var retVal=[];var elements;if(element){elements=element.getElementsByTagName("*");}else{elements=document.getElementsByTagName("*");}for(var i=0;i<elements.length;i++){if(elements[i].className.indexOf(" ")>=0){var classes=elements[i].className.split(" ");
for(var j=0;j<classes.length;j++){if(classes[j]==clsName){retVal.push(elements[i]);}}}else{if(elements[i].className==clsName){retVal.push(elements[i]);}}}return retVal;},countdownIntervalDisplay:function(clazz,interval,useVisibility){useVisibility=useVisibility||false;var allCountdownElementsA;var allCountdownElementsB;
if(clazz instanceof Array){allCountdownElementsA=this.getElementsByClassName(clazz[0]);allCountdownElementsB=this.getElementsByClassName(clazz[1]);}else{allCountdownElementsA=this.getElementsByClassName(clazz);}if(allCountdownElementsA){for(var i=0;i<allCountdownElementsA.length;i++){var imgElements=this.getElementsByClassName("day");
if(imgElements.length>0){for(var x=0;x<imgElements.length;x+=1){imgElements[x].style.display="block";}}allCountdownElementsA[i].style.display="block";}}if(allCountdownElementsB){for(var i=0;i<allCountdownElementsB.length;i++){if(useVisibility){allCountdownElementsB[i].style.visibility="hidden";}else{allCountdownElementsB[i].style.display="none";
}}}window.setInterval(function(scope,clazz){return function(){scope.toggleCountdown(allCountdownElementsA,useVisibility);scope.toggleCountdown(allCountdownElementsB,useVisibility);};}(this,clazz),interval);},toggleCountdown:function(countdownElements){if(countdownElements){for(var i=0;i<countdownElements.length;
i++){if(countdownElements[i].style.visibility){if(countdownElements[i].style.visibility!=="visible"){countdownElements[i].style.visibility="visible";}else{countdownElements[i].style.visibility="hidden";}}else{if(countdownElements[i].style.display!=="block"){countdownElements[i].style.display="block";
}else{countdownElements[i].style.display="none";}}}}}}});

if(!window.pfx){pfx={};}if(!pfx.net){pfx.net={};}var _browser;if(window.opera){_browser="opera";}else{if(typeof navigator.vendor=="string"&&navigator.vendor=="KDE"){_browser="khtml";}else{if(typeof navigator.product=="string"&&navigator.product=="Gecko"){_browser="gecko";}else{if(/msie/i.test(navigator.userAgent)){_browser="mshtml";
}}}}_isMshtml=_browser=="mshtml";_isGecko=_browser=="gecko";_isOpera=_browser=="opera";_isKhtml=_browser=="khtml";pfx.net.HTTPRequest=function(){this.method=arguments[0];this.url=arguments[1];this.callback=arguments[2];this.context=arguments[3];this.headers=[];this.errors=[];this.status=0;this.statusText="";
var self=this;this.customOnReadyStateChange=function(){self._customOnReadyStateChange();};this.cancelOnReadyStateChange=function(i,msg){self._cancelOnReadyStateChange(i,msg);};};pfx.net.HTTPRequest._xml=[];pfx.net.HTTPRequest._xmlThis=[];pfx.net.HTTPRequest._xmlTimer=[];pfx.net.HTTPRequest._xmlTimerCount=[];
pfx.net.HTTPRequest._xmlTimerCountMax=1000;pfx.net.HTTPRequest._xmlTimerInterval=5;pfx.net.HTTPRequest.builtin=window.XMLHttpRequest?true:false;pfx.net.HTTPRequest.IFRAMES_NEVER=-1;pfx.net.HTTPRequest.IFRAMES_FALLBACK=0;pfx.net.HTTPRequest.IFRAMES_ONLY=1;pfx.net.HTTPRequest.prototype.iframes=pfx.net.HTTPRequest.IFRAMES_FALLBACK;
pfx.net.HTTPRequest.msXmlHttp=null;if(!pfx.net.HTTPRequest.builtin&&!_isOpera&&window.ActiveXObject){var msXmlHttpList=["MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","MICROSOFT.XMLHTTP.1.0","MICROSOFT.XMLHTTP.1","MICROSOFT.XMLHTTP"];var obj;for(var j=0;j<msXmlHttpList.length;
j++){try{obj=new ActiveXObject(msXmlHttpList[j]);pfx.net.HTTPRequest.msXmlHttp=msXmlHttpList[j];break;}catch(e){}}}pfx.net.HTTPRequest.activeX=typeof pfx.net.HTTPRequest.msXmlHttp=="string";pfx.net.HTTPRequest.prototype.start=function(content,headers,reqId){var i=pfx.net.HTTPRequest._xml.length;if(this.iframes!=pfx.net.HTTPRequest.IFRAMES_ONLY){if(pfx.net.HTTPRequest.builtin){try{pfx.net.HTTPRequest._xml[i]=new XMLHttpRequest();
}catch(e){pfx.net.HTTPRequest._xml[i]=null;if(this.iframes==pfx.net.HTTPRequest.IFRAMES_NEVER){throw new Error("HTTP_Request: Could not create XMLHttpRequest");}}}else{if(pfx.net.HTTPRequest.activeX){try{pfx.net.HTTPRequest._xml[i]=new ActiveXObject(pfx.net.HTTPRequest.msXmlHttp);}catch(e){pfx.net.HTTPRequest._xml[i]=null;
if(this.iframes==pfx.net.HTTPRequest.IFRAMES_NEVER){throw new Error("HTTP_Request: Could not create ActiveXObject "+pfx.net.HTTPRequest.msXmlHttp);}}}}if(typeof pfx.net.HTTPRequest._xml[i]!="undefined"){if(this.callback){try{var self=this;if(pfx.net.HTTPRequest.activeX){pfx.net.HTTPRequest._xml[i].onreadystatechange=function(){if(pfx.net.HTTPRequest._xml[i].readyState==4){var reqId;
try{reqId=pfx.net.HTTPRequest._xml[i].getResponseHeader("Request-Id");}catch(e){}var content=self._getResponse(pfx.net.HTTPRequest._xml[i]);if(content!=null){self.callback.call(self.context,content,reqId);}else{if(!pfx.net.HTTPRequest._xml[i].aborted){throw new Error("Empty response");}}pfx.net.HTTPRequest._xml[i]=null;
}};}else{pfx.net.HTTPRequest._xml[i].onreadystatechange=function(){if(pfx.net.HTTPRequest._xml[i].readyState==4){try{self.status=pfx.net.HTTPRequest._xml[i].status;self.statusText=pfx.net.HTTPRequest._xml[i].statusText;}catch(e){}if(self.status&&self.status>=400){throw new Error("HTTP_Request: Asynchronous call failed"+" (status "+self.status+", "+self.statusText+")");
}var reqId;try{reqId=pfx.net.HTTPRequest._xml[i].getResponseHeader("Request-Id");}catch(e){}var content=self._getResponse(pfx.net.HTTPRequest._xml[i]);if(content!=null){self.callback.call(self.context,content,reqId);}else{if(!pfx.net.HTTPRequest._xml[i].aborted){throw new Error("Empty response");}}pfx.net.HTTPRequest._xml[i]=null;
}};}}catch(e){pfx.net.HTTPRequest._xml[i]=null;throw new Error("HTTP_Request: Onreadystatechange failed");}}try{pfx.net.HTTPRequest._xml[i].open(this.method,this.url,this.callback?true:false);for(var j=0;j<this.headers.length;j++){try{pfx.net.HTTPRequest._xml[i].setRequestHeader(this.headers[j][0],this.headers[j][1]);
}catch(e){}}if(this.callback&&typeof reqId!="undefined"){try{pfx.net.HTTPRequest._xml[i].setRequestHeader("Request-Id",reqId.toString());}catch(e){}}pfx.net.HTTPRequest._xml[i].send(content);if(!this.callback){this.status=pfx.net.HTTPRequest._xml[i].status;this.statusText=pfx.net.HTTPRequest._xml[i].statusText;
return this._getResponse(pfx.net.HTTPRequest._xml[i]);}else{return true;}}catch(e){pfx.net.HTTPRequest._xml[i]=null;throw new Error("HTTP_Request: Call failed [Cause: "+e+"]");}}}if(this.iframes!=pfx.net.HTTPRequest.IFRAMES_NEVER&&!pfx.net.HTTPRequest._xml[i]&&document.createElement){if(!this.callback){throw new Error("HTTP_Request: Synchronous call by iframe not supported");
}try{var el;if(!(_isMshtml||_isOpera)){el=document.createElement("iframe");el.style.display="none";el.name="pfxreqiframe"+i;el.id="pfxreqiframe"+i;document.body.appendChild(el);}else{el=document.createElement("div");el.style.display="none";el.id="pfxreqdiv"+i;document.body.appendChild(el);document.getElementById("pfxreqdiv"+i).innerHTML="<"+'iframe id="pfxreqiframe'+i+'" name="pfxreqiframe'+i+'" style="display:block"><'+"/iframe>";
}var url=this.url;if(reqId){url=this.setQueryParameter(url,"PFX_Request_ID",reqId);}if(this.method.toLowerCase()=="get"){el.src=url;document.body.appendChild(el);var self=this;pfx.net.HTTPRequest._xmlTimer[i]=window.setInterval(self.customOnReadyStateChange,pfx.net.HTTPRequest._xmlTimerInterval);}else{if(this.method.toLowerCase()=="post"){el=document.createElement("div");
el.style.display="none";el.id="pfxreqformdiv"+i;pfx.net.HTTPRequest._xml[i]=this.callback;pfx.net.HTTPRequest._xmlThis[i]=this;pfx.net.HTTPRequest._xmlTimer[i]=true;pfx.net.HTTPRequest._xmlTimerCount[i]=0;var self=this;window.setTimeout(function(){var elForm=document.createElement("form");elForm.action=url;
elForm.target="pfxreqiframe"+i;elForm.method=self.method;elForm.id="pfxreqform"+i;var elField=document.createElement("textarea");elField.name="message";elField.value=content;elForm.appendChild(elField);for(var h=0;h<self.headers.length;h++){elField=document.createElement("input");elField.type="hidden";
elField.name=self.headers[h][0];elField.value=self.headers[h][1];elForm.appendChild(elField);}if(_isMshtml){elField=document.createElement("input");elField.type="hidden";elField.name="insertpi";elField.value="1";elForm.appendChild(elField);}el.appendChild(elForm);document.body.appendChild(el);document.getElementById("pfxreqform"+i).target="pfxreqiframe"+i;
window.setTimeout(function(){var form=document.getElementById("pfxreqform"+i);form.submit();},1);},1);pfx.net.HTTPRequest._xmlTimer[i]=window.setInterval(self.customOnReadyStateChange,pfx.net.HTTPRequest._xmlTimerInterval);}else{throw new Error("HTTP_Request: Iframes do not support method "+this.method);
}}return"iframe";}catch(e){throw new Error("HTTP_Request: Iframes failed"+e);}}throw new Error("HTTP_Request: Failure");};pfx.net.HTTPRequest.prototype.setRequestHeader=function(field,value){this.headers.push([field,value]);};pfx.net.HTTPRequest.prototype.setQueryParameter=function(url,field,value){url+=((url.indexOf("?")+1)?"&":"?")+field+"="+encodeURI(value);
return url;};pfx.net.HTTPRequest.prototype.getQueryParameter=function(url,field){var pairs=url.substr(url.indexOf("?")+1).split("&");var param;for(var i=0;i<pairs.length;i++){param=pairs[i].split("=");if(param[0]==field){return param[1];}}return null;};pfx.net.HTTPRequest.prototype._getResponse=function(request){var ctype=request.getResponseHeader("Content-Type");
if(ctype==null){if(request.status==0){request.aborted=true;return null;}throw new Error("Missing response content type");}else{if(ctype.indexOf("text/plain")==0||ctype.indexOf("text/html")==0){return request.responseText;}else{if(ctype.indexOf("text/xml")==0){return request.responseXML;}else{throw new Error("Illegal response content type: "+ctype);
}}}};pfx.net.HTTPRequest.prototype._customOnReadyStateChange=function(){var win=null;for(var i=0;i<pfx.net.HTTPRequest._xml.length;i++){if(pfx.net.HTTPRequest._xmlTimer[i]&&pfx.net.HTTPRequest._xml[i]){try{if(pfx.net.HTTPRequest._xmlTimerCount[i]<pfx.net.HTTPRequest._xmlTimerCountMax){win=window.frames["pfxreqiframe"+i];
if(win&&win.document&&win.location.href!="about:blank"&&(_isMshtml?win.document.readyState=="complete":true)){var resdoc=_isMshtml?win.document.body:win.document;var text=resdoc.getElementsByTagName("pre")[0].firstChild.nodeValue;pfx.net.HTTPRequest._xml[i].call(pfx.net.HTTPRequest._xmlThis[i].context,text,pfx.net.HTTPRequest._xmlThis[i].getQueryParameter(win.location.href,"PFX_Request_ID"));
this.cancelOnReadyStateChange(i);}else{pfx.net.HTTPRequest._xmlTimerCount[i]++;}}else{this.cancelOnReadyStateChange(i,"too many intervals "+i+", "+pfx.net.HTTPRequest._xmlTimerCount[i]);}}catch(e){this.cancelOnReadyStateChange(i,"Exception:"+e);}}}};pfx.net.HTTPRequest.prototype._cancelOnReadyStateChange=function(i,msg){try{window.clearInterval(pfx.net.HTTPRequest._xmlTimer[i]);
pfx.net.HTTPRequest._xmlTimer[i]=null;pfx.net.HTTPRequest._xml[i]=null;pfx.net.HTTPRequest._xmlThis[i]=null;pfx.net.HTTPRequest._xmlTimerCount[i]=0;}catch(e){msg="Could not cancel";}var el;try{if(el=document.getElementById("pfxreqiframe"+i)){document.body.removeChild(el);}}catch(e){}try{if(el=document.getElementById("pfxreqdiv"+i)){document.body.removeChild(el);
}}catch(e){}try{if(el=document.getElementById("pfxreqform"+i)){document.body.removeChild(el);}}catch(e){}try{if(el=document.getElementById("pfxreqformdiv"+i)){document.body.removeChild(el);}}catch(e){}if(msg){throw new Error("HTTP_Request: "+msg);}};
if(!window.pfx){pfx={};}if(!pfx.ws){pfx.ws={};}if(!pfx.ws.json){pfx.ws.json={};}pfx.ws.json.deserialize=function(response){if(this._debug==true){alert("Response: "+response);}eval("res="+response);return res;};pfx.ws.json.serialize=function(obj){var json=null;if(obj!=null){if(obj.constructor==String){json=pfx.ws.json.escapeJSONString(obj);
}else{if(obj.constructor==Number){json=obj.toString();}else{if(obj.constructor==Boolean){json=obj.toString();}else{if(obj.constructor==Date){json="new Date("+obj.valueOf()+")";}else{if(obj.constructor==Array){var arr=[];for(var i=0;i<obj.length;i++){arr.push(pfx.ws.json.serialize(obj[i]));}json="["+arr.join(",")+"]";
}else{var arr=[];for(attr in obj){var attrObj=obj[attr];if(attrObj==null){arr.push('"'+attr+'": null');}else{if(typeof attrObj!="function"){arr.push(pfx.ws.json.escapeJSONString(attr)+":"+pfx.ws.json.serialize(attrObj));}}}json="{"+arr.join(",")+"}";}}}}}}else{json="null";}return json;};pfx.ws.json.escapeJSONChar=function(ch){if(ch=='"'||ch=="\\"){return"\\"+ch;
}else{if(ch=="\b"){return"\\b";}else{if(ch=="\f"){return"\\f";}else{if(ch=="\n"){return"\\n";}else{if(ch=="\r"){return"\\r";}else{if(ch=="\t"){return"\\t";}}}}}}var hex=ch.charCodeAt(0).toString(16);if(hex.length==1){return"\\u000"+hex;}else{if(hex.length==2){return"\\u00"+hex;}else{if(hex.length==3){return"\\u0"+hex;
}else{return"\\u"+hex;}}}};pfx.ws.json.replaceCallbackSupport=null;pfx.ws.json.escapeJSONString=function(str){if(pfx.ws.json.replaceCallbackSupport==null){if(navigator.userAgent.indexOf("Safari")!=-1){pfx.ws.json.replaceCallbackSupport=false;}else{pfx.ws.json.replaceCallbackSupport=true;}}if(pfx.ws.json.replaceCallbackSupport){return'"'+str.replace(/([^\u0020-\u007f]|[\\\"])/g,pfx.ws.json.escapeJSONChar)+'"';
}else{var escStr=[];for(var i=0;i<str.length;i++){if(str.charAt(i)=='"'||str.charAt(i)=="\\"||str.charCodeAt(i)<32||str.charCodeAt(i)>=128){escStr[i]=pfx.ws.json.escapeJSONChar(str.charAt(i));}else{escStr[i]=str.charAt(i);}}return'"'+escStr.join("")+'"';}};pfx.ws.json.BaseStub=function(service,context,scope,requestPath){this._service=service;
this._context=context;this._scope=scope;this._requestPath=requestPath;this._protocol="jsonws";this._uri=null;};pfx.ws.json.BaseStub.prototype.setService=function(service){this._service=service;this._uri=null;};pfx.ws.json.BaseStub.prototype.setContext=function(context){this._context=context;};pfx.ws.json.BaseStub.prototype.setRequestPath=function(requestPath){this._requestPath=requestPath;
this._uri=null;};pfx.ws.json.BaseStub.prototype.setDebug=function(debug){this._debug=debug;};pfx.ws.json.BaseStub.prototype.getURI=function(){if(this._uri==null){var session="";var matches=window.location.href.match(/;jsessionid=[A-Z0-9]+(\.[a-zA-Z0-9]+)?/);if(matches){session=matches[0];}var reqpath=this._requestPath+"/"+this._service;
this._uri=window.location.protocol+"//"+window.location.host+reqpath+session;}return this._uri;};pfx.ws.json.BaseStub.prototype.callMethod=function(method,args,expLen){var wsCall=new pfx.ws.json.Call(this.getURI(),this._context,this._scope,this._debug);return wsCall.invoke(method,args,expLen);};pfx.ws.json.DynamicProxy=function(service,context){pfx.ws.json.BaseStub.call(this,service,context);
this._proxySetup();};pfx.ws.json.DynamicProxy.prototype=new pfx.ws.json.BaseStub;pfx.ws.json.DynamicProxy.prototype._proxySetup=function(){var req=new pfx.net.HTTPRequest("POST",this.getURI()+"?json",this._proxySetupCB,this);req.setRequestHeader("wstype",this._protocol);req.start("",0);};pfx.ws.json.DynamicProxy.prototype._proxySetupCB=function(response){eval("response="+response);
var methods=response.result;for(var i=0;i<methods.length;i++){this._createMethod(methods[i]);}};pfx.ws.json.DynamicProxy.prototype._createMethod=function(name){var f=function(){return f.ownerObject._callMethod.call(f.ownerObject,f.methodName,arguments);};f.ownerObject=this;f.methodName=name;this[name]=f;
};pfx.ws.json.DynamicProxy.prototype._callMethod=function(method,args){var wsCall=new pfx.ws.json.Call(this.getURI(),this._context,this._debug);return wsCall.invoke(method,args);};pfx.ws.json.Call=function(uri,context,scope,debug){this._uri=uri;this._context=context;this._scope=scope;this._debug=debug;
this._opName=null;this._userCallback=null;};pfx.ws.json.Call.prototype.invoke=function(method,args,expLen){this._opName=method;var jsonReq={};jsonReq.method=method;var argLen=args.length;if(expLen){if(argLen==expLen+1){if(typeof args[argLen-1]=="function"||typeof args[argLen-1]=="object"){this._userCallback=args[argLen-1];
}else{this._requestId=args[argLen-1];}argLen=argLen-1;}else{if(argLen==expLen+2&&(typeof args[argLen-2]=="function"||typeof args[argLen-2]=="object")&&typeof args[argLen-1]=="string"){this._userCallback=args[argLen-2];this._requestId=args[argLen-1];argLen=argLen-2;}else{if(argLen!=expLen){throw new Error("Wrong number of arguments: "+argLen+" - "+expLen);
}}}}else{if(argLen>0&&typeof args[argLen-1]=="function"){this._userCallback=args[argLen-1];argLen=argLen-1;}else{if(argLen>1&&typeof args[argLen-2]=="function"){this._requestId=args[argLen-1];this._userCallback=args[argLen-2];argLen=argLen-2;}}}if(this._requestId){jsonReq.id=this._requestId;}var jsonParams=[];
for(var i=0;i<argLen;i++){jsonParams[i]=args[i];}jsonReq.params=jsonParams;var jsonStr=pfx.ws.json.serialize(jsonReq);if(this._debug==true){alert("Request: "+jsonStr);}if(this._userCallback||this._context){var httpReq=new pfx.net.HTTPRequest("POST",this._uri,this.callback,this);httpReq.setRequestHeader("Content-Type","text/plain");
httpReq.setRequestHeader("wstype","jsonws");httpReq.start(jsonStr,null,jsonReq.id);}else{var httpReq=new pfx.net.HTTPRequest("POST",this._uri);httpReq.setRequestHeader("Content-Type","text/plain");httpReq.setRequestHeader("wstype","jsonws");var response=httpReq.start(jsonStr,null,jsonReq.id);return this.callback(response);
}};pfx.ws.json.Call.prototype.callback=function(text){var res=pfx.ws.json.deserialize(text);if(res.error){var error=new Error();error.name=res.error.name;error.message=res.error.message;if(this._userCallback){this._userCallback(null,res.id,error);}else{if(this._context){this._context[this._opName].call(this._scope?this._scope:this._context,null,res.id,error);
}else{throw error;}}}else{if(this._userCallback){this._userCallback(res.result,res.id,null);}else{if(this._context){this._context[this._opName].call(this._scope?this._scope:this._context,res.result,res.id,null);}else{return res.result;}}}};
function WS_dedicatedServerPriceService(context,scope){pfx.ws.json.BaseStub.call(this,"dedicatedServerPriceService",context,scope,"/webservice");}WS_dedicatedServerPriceService.prototype=new pfx.ws.json.BaseStub;WS_dedicatedServerPriceService.prototype.getDedicatedServerPrice=function(){return this.callMethod("getDedicatedServerPrice",arguments,1);
};
UNOUNO.global.parsingJSON=(function(s){var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};s.parseJSON=function(filter){try{if(/^("(\\.|[^"\\\n\r])*?"|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/.test(this)){var j=eval("("+this+")");if(typeof filter==="function"){function walk(k,v){if(v&&typeof v==="object"){for(var i in v){if(v.hasOwnProperty(i)){v[i]=walk(i,v[i]);
}}}return filter(k,v);}j=walk("",j);}return j;}}catch(e){}throw new SyntaxError("parseJSON");};})(String.prototype);UNOUNO.global.getDedicatedServerPriceByIds=function(callbackFunction){try{callbackFunction=callbackFunction||undefined;UNOUNO.global.getDedicatedServerPrices(callbackFunction);}catch(ex){}UNOUNO.global.servertableInit();
};UNOUNO.global.getDedicatedServerPrices=function(callbackFunction){var articleIdsArray=[];var dedicated=new WS_dedicatedServerPriceService();$q(".pricecontainer[id]").forEach(function(container,index){articleIdsArray.push($q(container).getAttribute("id"));if(!!$q("#serverOS-managed-addon").length){articleIdsArray.push($q(container).getAttribute("id")+"-managed");
}if($q(container).getAttribute("id")=="tariff-ded-server-x-4i"){articleIdsArray.push($q(container).getAttribute("id")+"-ssd");}if($q(container).getAttribute("id")=="tariff-ded-server-o12A-32"){articleIdsArray.push($q(container).getAttribute("id")+"-ssd");}if($q(container).getAttribute("id")=="tariff-ded-server-o12A-64"){articleIdsArray.push($q(container).getAttribute("id")+"-ssd");
}});var dedicatedPrices=dedicated.getDedicatedServerPrice(articleIdsArray);var dedicatedPricesBundles=dedicatedPrices.articlePrices.parseJSON();var noneCampaignPrices=[],campaignPrices=[],savings=[];for(id in dedicatedPricesBundles){if(id.indexOf("-campaign")==-1){noneCampaignPrices.push(id);}else{if(id.indexOf("-savings")==-1){savings.push(id);
}else{campaignPrices.push(id);}}}noneCampaignPrices.sort();savings.sort();campaignPrices.sort();var updatePrice=function(id){var dedPrice,dedPriceElement,dedPricePath=null;if(dedPriceElement=document.getElementById(id)){var qxPriceElement=$q("#"+id.replace(/\./gi,"\\."));if(typeof (dedPriceElement)!=="object"||typeof (qxPriceElement)!=="object"){return ;
}dedPrice=dedicatedPricesBundles[id];if(dedPrice==null||isNaN(dedPrice)){return ;}dedPrice=dedPrice.toFixed(2);if(dedPrice.indexOf(".00")!=-1){dedPrice=dedPrice.replace(/\.00/gi,"");}if(dedPriceElement&&dedPriceElement.tagName=="IMG"){if(qx.bom.client.Engine.MSHTML&&qx.bom.client.Engine.VERSION==6){var srcStart=dedPriceElement.style.filter.indexOf('src="')+5;
var dedPriceElementFilter=dedPriceElement.style.filter;dedPricePath=dedPriceElementFilter.substring(srcStart,dedPriceElementFilter.indexOf('"',srcStart+1));}else{dedPricePath=dedPriceElement.src;}if(dedPrice&&dedPricePath){var splitdedPrice=dedPrice.split("."),splitPricePath=dedPricePath.split("/");newPricePath=splitPricePath[0]+"//"+splitPricePath[2]+"/"+splitPricePath[3]+"/"+splitPricePath[4]+"/"+splitPricePath[5]+"/"+splitPricePath[6]+"/"+splitdedPrice[0]+"/"+splitdedPrice[1]+"/"+splitPricePath[9]+"/"+splitPricePath[10];
if(qx.bom.client.Engine.MSHTML&&qx.bom.client.Engine.VERSION==6){var srcStart=dedPriceElement.style.filter.indexOf('src="')+5;var dedPriceElementFilter=dedPriceElement.style.filter;dedPriceElement.style.filter=dedPriceElementFilter.substring(0,srcStart)+newPricePath+dedPriceElementFilter.substring(dedPriceElementFilter.indexOf('"',srcStart+1),dedPriceElementFilter.length);
}else{if(splitdedPrice[0].length!=splitPricePath[7].length){var priceElementParent=dedPriceElement.parentNode;priceElementParent.removeChild(dedPriceElement);var newPriceElement=document.createElement("img");newPriceElement.setAttribute("src",newPricePath);newPriceElement.setAttribute("id",id);priceElementParent.insertBefore(newPriceElement,priceElementParent.firstChild);
newPriceElement.className="price-as-graphic pnghack";}else{dedPriceElement.src=newPricePath;}}}}if(typeof (callbackFunction)=="function"){dedPrice=callbackFunction(dedPrice);}setPrice=function(element,price){if(!element.hasClass("price")){return ;}if(element.find(".price-text-sup").length>0){var priceSep=price.indexOf(".")>-1?".":",";
var priceBefore=price.split(priceSep)[0];var priceAfter=price.split(priceSep)[1];var elementSup=element.find(".price-text-sup").clone();elementSup.empty().setHtml(priceAfter);element.setHtml(priceBefore);if(!isNaN(priceAfter)){element.setHtml(element.getHtml()+priceSep);}element.append(elementSup);return ;
}element.setHtml(price);};setPrice(qxPriceElement,dedPrice);var spanPriceElement=qxPriceElement.find("span.price");if(spanPriceElement){for(var i=0;i<spanPriceElement.length;i++){setPrice(spanPriceElement.eq(i),dedPrice);}}var spanPriceElementSubText=$q("#"+qxPriceElement.getAttribute("id")+".subtext").find("span.price");
setPrice(spanPriceElementSubText,dedPrice);var spanPriceElementSubText=$q("#"+qxPriceElement.getAttribute("id")+".sidetext").find("span.price");setPrice(spanPriceElementSubText,dedPrice);}};$q(".server-dedicated-purchase-button").on("click",function(e){var target=$q(e.getTarget()).getAncestors(".purchase-button:eq(0)").getChildren("button:eq(0)");
if(target.hasClass("enterprise")){UNOUNO.global.sendDedicatedTariff("enterprise",this);}else{UNOUNO.global.sendDedicatedTariff("standard",this);}});noneCampaignPrices.forEach(function(id){updatePrice(id);});campaignPrices.forEach(function(id){updatePrice(id);});savings.forEach(function(id){updatePrice(id);
});};UNOUNO.global.servertableInit=function(){var tariffFeatureIds;if(document.documentElement.lang==="pl-PL"){tariffFeatureIds=["server","os","optionalos","configuration","security","database","domains","homepage","mail","webdesk","service","addons"];}else{if(document.documentElement.lang==="es-MX"){tariffFeatureIds=["server","os","optionalos","configuration","security","database","domains","mail","service","addons"];
}else{if(document.documentElement.lang==="it-IT"){tariffFeatureIds=["server","os","optionalos","configuration","security","database","domains","mail","marketing","service","addons"];}else{tariffFeatureIds=["server","os","optionalos","configuration","security","database","domains","homepage","mail","webdesk","service","addons","marketing"];
}}}try{UNOUNO.inline.tariffFeature=new UNOUNO.util.tariffFeature(tariffFeatureIds);}catch(ex){}};UNOUNO.global.sendDedicatedTariff=function(serverType,buttonElement){var className=".slide";var elem=buttonElement;var tariff=null;var dedBoxCurrentTariff=null;var BoxTariffs=$q(className+" .pricecontainer div");
var radioboxes=$q("input[type='radio']");var buttonName=elem.getAttribute("name");var hiddenFieldAddon=document.getElementsByName(buttonName.replace("__SBMT","__SYNT")+"addon.article");var hiddenFieldBundle=document.getElementsByName(buttonName.replace("__SBMT","__SYNT")+"tariff.bundle");for(var j=0;
j<radioboxes.length;j++){if(radioboxes[j].checked){if(radioboxes[j].value=="windows-addon"){if(serverType=="enterprise"){qx.bom.Input.setValue(hiddenFieldAddon[0],"windows-enterprise-addon");}else{qx.bom.Input.setValue(hiddenFieldAddon[0],"windows-standard-addon");}qx.bom.Input.setValue(hiddenFieldBundle[0],elem.getAttribute("id").split(" ")[0]+"-bundle");
}else{qx.bom.Input.setValue(hiddenFieldAddon[0],"server-addon-none");qx.bom.Input.setValue(hiddenFieldBundle[0],elem.getAttribute("id").split(" ")[0]+"-bundle");if(radioboxes[j].value=="managed-addon"){qx.bom.Input.setValue(hiddenFieldBundle[0],elem.getAttribute("id").split(" ")[0]+"-managed-bundle");
}}}}};
UNOUNO.util.TariffDynPrice=function(radioboxIDs){this.init(radioboxIDs);};UNOUNO.util.TariffDynPrice.prototype={radioboxIDs:null,qxBom:qx.bom,initRadioboxes:function(){var addListenerCallbackShowPrice=function(scope,radioboxId){return function(e){scope.showPrice(radioboxId);};};for(var i=0;i<this.radioboxIDs.length;
i++){if(this.isArray(this.radioboxIDs[i])){if(document.getElementById(this.radioboxIDs[i])){this.qxBom.Element.addListener(document.getElementById(this.radioboxIDs[i]),"change",addListenerCallbackShowPrice(this,this.radioboxIDs[i]));if(document.getElementById(this.radioboxIDs[i]).checked===true){this.showPrice(this.radioboxIDs[i]);
}else{this.hideColumn(this.radioboxIDs[i]);}}}else{if(document.getElementById(this.radioboxIDs[i])){this.qxBom.Element.addListener(document.getElementById(this.radioboxIDs[i]),"change",addListenerCallbackShowPrice(this,this.radioboxIDs[i]));if(document.getElementById(this.radioboxIDs[i]).checked===true){this.showPrice(this.radioboxIDs[i]);
}}}}},resetElems:function(){for(var i=0;i<this.radioboxIDs.length;i++){this.hidePrice(this.radioboxIDs[i]);}},showPrice:function(id){this.resetElems();var priceId=this.getPriceId(id);var priceElem=document.getElementById(priceId);if(priceId&&priceElem){priceElem.style.display="inline-block";}},hidePrice:function(id){var priceId=this.getPriceId(id);
var priceElem=document.getElementById(priceId);if(priceId&&priceElem){priceElem.style.display="none";}},getPriceId:function(id){if(document.getElementById(id)){var priceId=document.getElementById(id).value.replace(/-bundle/g,"");return priceId;}},isArray:function(param){return param&&typeof param==="object"&&typeof param.length==="number"&&typeof param.splice==="function"&&!(param.propertyIsEnumerable("length"));
},init:function(radioboxIDs){this.radioboxIDs=radioboxIDs;this.initRadioboxes();}};
$q.define("UNOUNO.components.sectionNavigation",{construct:function(configuration){configuration=configuration||{};if(configuration.hasOwnProperty("trackingEnabled")){this.trackingEnabled=configuration.trackingEnabled;}this.initializeSectionNavigation();this.initializePageLeaveEvent();this.initializeWindowInspection();
this.initializeTracking();window.setTimeout(function(){this.determineCurrentSection();}.bind(this),100);},members:{firePageSectionEventDelay:0.5,pageSectionChangeEvent:null,pageSectionAnchors:$q("a.section-anchor[name]"),previousPageSection:null,pageSectionNavigation:{wrapper:$q.create("<div />").addClass("sectionnav-container"),container:$q.create("<ul />").addClass("sectionnav"),children:[]},trackingEnabled:true,initializeSectionNavigation:function(){this.pageSectionNavigation.wrapper.append(this.pageSectionNavigation.container);
$q("body").append(this.pageSectionNavigation.wrapper);this.pageSectionAnchors.forEach(function(anchor,index){anchor=$q(anchor);var sectionNavChild=$q.create("<li />");var sectionNavChildLink=$q.create("<a />").setAttribute("href","#"+anchor.getAttribute("name"));var sectionNavChildBulletOutter=$q.create("<span />").addClasses(["bullet","smallbullet"]);
var sectionNavChildBulletInner=$q.create("<span />").addClasses(["bullet","bigbullet"]);var sectionNavChildBulletLabel=$q.create("<span />").addClass("label");if(this.trackingEnabled&&typeof (UNOUNO.tracking.genericTracking)=="function"){sectionNavChild.on("click",function(e){UNOUNO.tracking.genericTracking({eVar65:"section-nav:"+anchor.getAttribute("name")});
});}if(anchor.getAttribute("title")!=null&&!!anchor.getAttribute("title").length){sectionNavChildBulletLabel.setHtml(anchor.getAttribute("title"));}sectionNavChildBulletOutter.append(sectionNavChildBulletLabel);sectionNavChildBulletOutter.append(sectionNavChildBulletInner);sectionNavChildLink.append(sectionNavChildBulletOutter);
sectionNavChild.append(sectionNavChildLink);this.pageSectionNavigation.container.append(sectionNavChild);this.pageSectionNavigation.children.push({element:sectionNavChild,name:anchor.getAttribute("name"),position:anchor.getOffset().top});},this);},initializePageLeaveEvent:function(){window.onbeforeunload=function(e){$q(window).off("scroll",this.windowOnScroll,this);
}.bind(this);},initializeWindowInspection:function(){$q(window).on("scroll",this.windowOnScroll,this);},windowOnScroll:function(){this.determineCurrentSection();},getCurrentPageSection:function(){for(var c=0;c<this.pageSectionNavigation.children.length;c++){var currentPageSection=this.pageSectionNavigation.children[c];
if(currentPageSection.element.hasClass("activated-sectionitem")){return currentPageSection.name;}}return null;},determineCurrentSection:function(){var windowScrollTop=$q(window).getScrollTop();var windowHeight=$q(window).getHeight();var currentViewPort=windowScrollTop+windowHeight/2;this.pageSectionNavigation.children.forEach(function(sectionAnchor,index){var anchorStartPosition=sectionAnchor.position;
var anchorEndPosition=$q(document).getHeight();if((index+1) in this.pageSectionNavigation.children){anchorEndPosition=this.pageSectionNavigation.children[index+1].position;}if(sectionAnchor.element.hasClass("activated-sectionitem")){sectionAnchor.element.removeClass("activated-sectionitem");}if(currentViewPort>anchorStartPosition&&currentViewPort<anchorEndPosition){if(!sectionAnchor.element.hasClass("activated-sectionitem")){sectionAnchor.element.addClass("activated-sectionitem");
}}},this);this.announceCurrentSection(this.getCurrentPageSection());},setCurrentLocationHash:function(currentPageSection){if("replaceState" in window.history){if(currentPageSection==null){if(window.location.hash!=""){window.history.replaceState(null,null,window.location.pathname);}return ;}if(window.location.hash!=="#"+currentPageSection){window.history.replaceState(null,null,"#"+currentPageSection);
}}},announceCurrentSection:function(currentPageSection){if(this.pageSectionChangeEvent!=null){window.clearTimeout(this.pageSectionChangeEvent);}this.setCurrentLocationHash(currentPageSection);this.pageSectionChangeEvent=window.setTimeout(function(){if(this.previousPageSection!=currentPageSection){$q(document).emit("pageSectionChanged",{leave:(this.previousPageSection||"none"),enter:(currentPageSection||"none")});
this.previousPageSection=currentPageSection;}}.bind(this),this.firePageSectionEventDelay*1000);},initializeTracking:function(){if(this.trackingEnabled&&typeof (UNOUNO.tracking.sectionTracking)=="function"){$q(document).on("pageSectionChanged",function(data){UNOUNO.tracking.pageSection=data.enter;UNOUNO.tracking.sectionTracking(data.enter);
},this);}}}});
$q.ready(function(){new UNOUNO.components.sectionNavigation({"trackingEnabled":false});});
try{$q.define("UNOUNO.components.contentnav",{statics:{__mainnav:$q("#content-nav"),__mainnavTopPos:$q("#content-nav").getOffset().top,__logoContainer:$q(".logo-container"),stickyNavigation:function(){if(($q(window).getScrollTop())>=(this.__mainnavTopPos+39)){this.__mainnav.addClass("sticky");this.__logoContainer.addClass("show");
}else{this.__mainnav.removeClass("sticky");this.__logoContainer.removeClass("show");this.__mainnav.hide().show();}},init:function(){var environment=window.qx&&qx.core&&qx.core.Environment&&qx.core.Environment.get("device.type");var isMobile=(environment&&(environment==="tablet"||environment==="mobile"));
var isMobileorderOrDSL=(window.UNOUNO&&UNOUNO.params&&(UNOUNO.params.project==="pweborder-de"||UNOUNO.params.project==="dslorder-de"));if(!(isMobile&&isMobileorderOrDSL)){$q(window).on("scroll",function(){this.stickyNavigation();},this);this.stickyNavigation();}}}});$q.ready(function(){UNOUNO.components.contentnav.init();
});}catch(e){}

$q.define("UNOUNO.components.contentnavDE",{statics:{init:function(){if($q("#asterisk-DIY-Business").length>0){UNOUNO.inline.footnoteDIYBASIC=new UNOUNO.util.infoFootnote("diyhomepage_fn_business","asterisk-DIY-Business","left");}}}});$q.ready(function(){UNOUNO.components.contentnavDE.init();});

$q.define("UNOUNO.pages.serverOutlet",{statics:{_hiddenInputAddonArticles:[],_hiddenInputOsAction:[],_hiddenInputOsArticles:[],osSelectors:[{name:"osLinux",addon:"linux-addon"},{name:"osWindowsStandard",addon:"windows-addon"},{name:"osWindowsEnterprise",addon:"windows-addon"},{name:"osManaged",addon:"managed-addon"}],_setUrlParameter:function(url,paramName,paramValue){if(url.indexOf(paramName+"=")>=0){var prefix=url.substring(0,url.indexOf(paramName));
var suffix=url.substring(url.indexOf(paramName)).substring(url.indexOf("=")+1);suffix=(suffix.indexOf("&")>=0)?suffix.substring(suffix.indexOf("&")):"";url=prefix+paramName+"="+paramValue+suffix;}else{if(url.indexOf("?")<0){url+="?"+paramName+"="+paramValue;}else{url+="&"+paramName+"="+paramValue;}}return url;
},_setInputAddon:function(addon){this._hiddenInputAddonArticles.forEach(function(input){$q(input[0]).setValue(addon==="windows-addon"?"windows-standard-addon":"server-addon-none");$q("a.core_button_normal").forEach(function(button){var href=$q(button).getAttribute("href");href=this._setUrlParameter(href,"dediAddon",addon);
$q(button).setAttribute("href",href);},this);},this);},_setInputOs:function(value){if(value){this._hiddenInputOsAction.forEach(function(input){$q(input[0]).setValue("add");});this._hiddenInputOsArticles.forEach(function(input){$q(input[0]).setValue(value);$q("a.core_button_normal").forEach(function(button){var href=$q(button).getAttribute("href");
href=this._setUrlParameter(href,"dediImage",value);$q(button).setAttribute("href",href);},this);},this);}else{this._hiddenInputOsAction.forEach(function(input){$q(input[0]).setValue("remove");});}},_osSelector:function(addon,enable){for(var i=0;i<this.osSelectors.length;i++){var box=$q("div.os-selector[name='"+this.osSelectors[i].name+"']");
var select=$q("select[name = '"+this.osSelectors[i].name+"']");if((this.osSelectors[i].addon==addon)!=!enable){box.removeClass("disabled");select.removeAttribute("disabled");}else{box.addClass("disabled");select.setAttribute("disabled","disabled");}}this._setInputAddon(addon);this._setInputOs($q("select.osSelect:enabled").getValue());
},_showHidePresenterColumn:function(){if($q(".selectBox").length>0){$q("#container").addClass("nopresenter");$q("#footer_container").addClass("nopresenter");$q("#footer-container").addClass("nopresenter");}else{$q("#container").removeClass("nopresenter");$q("#footer_container").removeClass("nopresenter");
$q("#footer-container").removeClass("nopresenter");}},init:function(){UNOUNO.inline.dedicatedServerPriceDetect=new UNOUNO.global.getDedicatedServerPriceByIds(this.priceFormat);UNOUNO.inline.switcher=new UNOUNO.util.ToggleContent([["serverOS-linux-addon","osLinux"],["serverOS-windows-addon","osWindowsStandard"],["serverOS-windows-addon","osWindowsEnterprise"],["serverOS-managed-addon","osManaged"]]);
var defaultAddon=$q("input[name='serverOS']:checked").getAttribute("value");defaultAddon=(defaultAddon&&defaultAddon.length>0)?defaultAddon:"linux-addon";$q("input[name='serverOS'][value='"+defaultAddon+"']").setAttribute("checked","checked");this._osSelector(defaultAddon,true);$q(".os-selector label").removeClass("checked");
$q("input[name='serverOS'][value='"+defaultAddon+"']").getParents(".os-selector").find("label").addClass("checked");var defaultImage=$q("select.osSelect:enabled").getValue();this._setInputOs(defaultImage);$q("div#content").on("click",function(e){var target=e.getTarget();if(target.getAttribute("id")!="popup-info-managed"&&$q("div#footnote-server-dedicated-managed").getStyle("display")=="block"){$q("div#footnote-server-dedicated-managed").setStyle("display","none");
}});$q("button[type='submit'].server-dedicated-purchase-button").forEach(function(button){var inputNamePrefix=$q(button).getAttribute("name").replace("__SBMT","__SYNT");this._hiddenInputAddonArticles.push(document.getElementsByName(inputNamePrefix+"addon.article"));this._hiddenInputOsAction.push(document.getElementsByName(inputNamePrefix+"os.action"));
this._hiddenInputOsArticles.push(document.getElementsByName(inputNamePrefix+"os.article"));},this);$q("input[name='serverOS']").forEach(function(radio){if(radio.checked){var currentValue=$q(radio).getValue();this._osSelector(currentValue,true);}$q(radio).on("change",function(e){var currentValue=$q(e.getTarget()).getValue();
this._osSelector(currentValue,true);},this);$q(radio).getParents(".os-selector").find("label").on("click",function(){var tmp_value=$q(this).getParents(".os-selector").find("input").getAttribute("value");UNOUNO.pages.serverOutlet._osSelector(tmp_value,true);$q(".os-selector label").removeClass("checked");
$q(this).getParents(".os-selector").find("label").addClass("checked");});},this);for(var i=0;i<this.osSelectors.length;i++){var select=$q("select[name = '"+this.osSelectors[i].name+"']");if(select!==undefined){select.on("change",function(e){var currentValue=$q(e.getTarget()).getValue();this._setInputOs(currentValue);
},this);}}}}});$q.ready(function(){UNOUNO.pages.serverOutlet.init();});

UNOUNO.params.loadStatus="complete";if(UNOUNO.init.JSLoadStack&&UNOUNO.init.JSLoadStack.length>0){for(UNOUNO.init.processStack=0;UNOUNO.init.processStack<UNOUNO.init.JSLoadStack.length;UNOUNO.init.processStack+=1){UNOUNO.init.JSLoadStack[UNOUNO.init.processStack].call();}}