if(!window.DHTMLSuite){var DHTMLSuite=new Object()}if(!String.trim){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/,"")}}var DHTMLSuite_funcs=new Object();if(!window.DHTML_SUITE_THEME){var DHTML_SUITE_THEME="blue"}if(!window.DHTML_SUITE_THEME_FOLDER){var DHTML_SUITE_THEME_FOLDER="/Commun/js/dhtml-suite-for-applications/1.8.0/themes/"}if(!window.DHTML_SUITE_JS_FOLDER){var DHTML_SUITE_JS_FOLDER="/Commun/js/dhtml-suite-for-applications/1.8.0/js/separateFiles/"}var DHTMLSuite=new Object();var standardObjectsCreated=false;DHTMLSuite.eventEls=new Array();var widgetDep=new Object();widgetDep["formValidator"]=["dhtmlSuite-formUtil.js"];widgetDep["paneSplitter"]=["dhtmlSuite-paneSplitter.js","dhtmlSuite-paneSplitterModel.js","dhtmlSuite-dynamicContent.js","ajax.js"];widgetDep["menuBar"]=["dhtmlSuite-menuBar.js","dhtmlSuite-menuItem.js","dhtmlSuite-menuModel.js"];widgetDep["windowWidget"]=["dhtmlSuite-windowWidget.js","dhtmlSuite-resize.js","dhtmlSuite-dragDropSimple.js","ajax.js","dhtmlSuite-dynamicContent.js"];widgetDep["colorWidget"]=["dhtmlSuite-colorWidgets.js","dhtmlSuite-colorUtil.js"];widgetDep["colorSlider"]=["dhtmlSuite-colorWidgets.js","dhtmlSuite-colorUtil.js","dhtmlSuite-slider.js"];widgetDep["colorPalette"]=["dhtmlSuite-colorWidgets.js","dhtmlSuite-colorUtil.js"];widgetDep["calendar"]=["dhtmlSuite-calendar.js","dhtmlSuite-dragDropSimple.js"];widgetDep["dragDropTree"]=["dhtmlSuite-dragDropTree.js"];widgetDep["slider"]=["dhtmlSuite-slider.js"];widgetDep["dragDrop"]=["dhtmlSuite-dragDrop.js"];widgetDep["imageEnlarger"]=["dhtmlSuite-imageEnlarger.js","dhtmlSuite-dragDropSimple.js"];widgetDep["imageSelection"]=["dhtmlSuite-imageSelection.js"];widgetDep["floatingGallery"]=["dhtmlSuite-floatingGallery.js","dhtmlSuite-mediaModel.js"];widgetDep["contextMenu"]=["dhtmlSuite-contextMenu.js","dhtmlSuite-menuBar.js","dhtmlSuite-menuItem.js","dhtmlSuite-menuModel.js"];widgetDep["dynamicContent"]=["dhtmlSuite-dynamicContent.js","ajax.js"];widgetDep["textEdit"]=["dhtmlSuite-textEdit.js","dhtmlSuite-textEditModel.js","dhtmlSuite-listModel.js"];widgetDep["listModel"]=["dhtmlSuite-listModel.js"];widgetDep["resize"]=["dhtmlSuite-resize.js"];widgetDep["dragDropSimple"]=["dhtmlSuite-dragDropSimple.js"];widgetDep["dynamicTooltip"]=["dhtmlSuite-dynamicTooltip.js","dhtmlSuite-dynamicContent.js","ajax.js"];widgetDep["modalMessage"]=["dhtmlSuite-modalMessage.js","dhtmlSuite-dynamicContent.js","ajax.js"];widgetDep["tableWidget"]=["dhtmlSuite-tableWidget.js","ajax.js"];widgetDep["progressBar"]=["dhtmlSuite-progressBar.js"];widgetDep["tabView"]=["dhtmlSuite-tabView.js","dhtmlSuite-dynamicContent.js","ajax.js"];widgetDep["infoPanel"]=["dhtmlSuite-infoPanel.js","dhtmlSuite-dynamicContent.js","ajax.js"];widgetDep["form"]=["dhtmlSuite-formUtil.js","dhtmlSuite-dynamicContent.js","ajax.js"];widgetDep["autoComplete"]=["dhtmlSuite-autoComplete.js","ajax.js"];widgetDep["chainedSelect"]=["dhtmlSuite-chainedSelect.js","ajax.js"];var depCache=new Object();DHTMLSuite.include=function(B){if(!widgetDep[B]){alert("Cannot find the files for widget "+B+". Please verify that the name is correct");return }var A=widgetDep[B];for(var C=0;C<A.length;C++){if(!depCache[A[C]]){document.write("<script");document.write(' language="javascript"');document.write(' type="text/javascript"');document.write(' src="'+DHTML_SUITE_JS_FOLDER+A[C]+'">');document.write("<\/script>");depCache[A[C]]=true}}};DHTMLSuite.discardElement=function(A){A=DHTMLSuite.commonObj.getEl(A);var B=document.getElementById("IELeakGBin");if(!B){B=document.createElement("DIV");B.id="IELeakGBin";B.style.display="none";document.body.appendChild(B)}B.appendChild(A);B.innerHTML=""};DHTMLSuite.createStandardObjects=function(){DHTMLSuite.clientInfoObj=new DHTMLSuite.clientInfo();DHTMLSuite.clientInfoObj.init();if(!DHTMLSuite.configObj){DHTMLSuite.configObj=new DHTMLSuite.config();DHTMLSuite.configObj.init()}DHTMLSuite.commonObj=new DHTMLSuite.common();DHTMLSuite.variableStorage=new DHTMLSuite.globalVariableStorage();DHTMLSuite.commonObj.init();DHTMLSuite.domQueryObj=new DHTMLSuite.domQuery();DHTMLSuite.commonObj.addEvent(window,"unload",function(){DHTMLSuite.commonObj.__clearMemoryGarbage()});standardObjectsCreated=true};DHTMLSuite.config=function(){var A;var C;var B;var D};DHTMLSuite.config.prototype={init:function(){this.imagePath=DHTML_SUITE_THEME_FOLDER+DHTML_SUITE_THEME+"/images/";this.cssPath=DHTML_SUITE_THEME_FOLDER+DHTML_SUITE_THEME+"/css/";this.defaultCssPath=this.cssPath;this.defaultImagePath=this.imagePath},setCssPath:function(A){this.cssPath=A},resetCssPath:function(){this.cssPath=this.defaultCssPath},resetImagePath:function(){this.imagePath=this.defaultImagePath},setImagePath:function(A){this.imagePath=A}};DHTMLSuite.globalVariableStorage=function(){var C;this.menuBar_highlightedItems=new Array();var D;var B;this.arrayDSObjects=new Array();this.arrayOfDhtmlSuiteObjects=this.arrayDSObjects;var A;this.ajaxObjects=new Array()};DHTMLSuite.globalVariableStorage.prototype={};DHTMLSuite.common=function(){var D;var C;var A;var B;this.okToSelect=true;this.cssCacheStatus=true;this.eventEls=new Array()};DHTMLSuite.common.prototype={init:function(){this.loadedCSSFiles=new Array()},loadCSS:function(B,C){if(!C&&C!==false){C=true}if(!this.loadedCSSFiles[B]){this.loadedCSSFiles[B]=true;var A=document.createElement("LINK");if(!this.cssCacheStatus){if(B.indexOf("?")>=0){B=B+"&"}else{B=B+"?"}B=B+"rand="+Math.random()}if(C){A.href=DHTMLSuite.configObj.cssPath+B}else{A.href=B}A.rel="stylesheet";A.media="screen";A.type="text/css";document.getElementsByTagName("HEAD")[0].appendChild(A)}},__setTextSelOk:function(A){this.okToSelect=A},__isTextSelOk:function(){return this.okToSelect},setCssCacheStatus:function(A){this.cssCacheStatus=A},getEl:function(A){if(typeof A=="string"){if(document.getElementById(A)){return document.getElementById(A)}if(document.forms[A]){return document.forms[A]}if(document[A]){return document[A]}if(window[A]){return window[A]}}return A},isArray:function(A){if(A.constructor.toString().indexOf("Array")!=-1){return true}return false},getStyle:function(B,C){B=this.getEl(B);if(document.defaultView&&document.defaultView.getComputedStyle){var D=null;var A=document.defaultView.getComputedStyle(B,"");if(A){D=A[C]}return B.style[C]||D}if(document.documentElement.currentStyle&&DHTMLSuite.clientInfoObj.isMSIE){var D=null;if(B.currentStyle){value=B.currentStyle[C]}return(B.style[C]||D)}return B.style[C]},getLeftPos:function(B){if(document.getBoxObjectFor){if(B.tagName!="INPUT"&&B.tagName!="SELECT"&&B.tagName!="TEXTAREA"){return document.getBoxObjectFor(B).x}}var A=B.offsetLeft;while((B=B.offsetParent)!=null){if(B.tagName!="HTML"){A+=B.offsetLeft;if(document.all){A+=B.clientLeft}}}return A},getTopPos:function(B){if(document.getBoxObjectFor){if(B.tagName!="INPUT"&&B.tagName!="SELECT"&&B.tagName!="TEXTAREA"){return document.getBoxObjectFor(B).y}}var A=B.offsetTop;while((B=B.offsetParent)!=null){if(B.tagName!="HTML"){A+=(B.offsetTop-B.scrollTop);if(document.all){A+=B.clientTop}}}return A},getCookie:function(C){var D=document.cookie.indexOf(C+"=");var A=D+C.length+1;if((!D)&&(C!=document.cookie.substring(0,C.length))){return null}if(D==-1){return null}var B=document.cookie.indexOf(";",A);if(B==-1){B=document.cookie.length}return unescape(document.cookie.substring(A,B))},setCookie:function(B,F,C,I,D,A){C=C*60*60*24*1000;var E=new Date();var G=new Date(E.getTime()+(C));var H=B+"="+escape(F)+((C)?";expires="+G.toGMTString():"")+((I)?";path="+I:"")+((D)?";domain="+D:"")+((A)?";secure":"");document.cookie=H},deleteCookie:function(A,C,B){if(this.getCookie(A)){document.cookie=A+"="+((C)?";path="+C:"")+((B)?";domain="+B:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"}},cancelEvent:function(){return false},addEvent:function(D,B,A,C){if(!C){C=""}if(D.attachEvent){if(typeof DHTMLSuite_funcs[B+A+C]!="function"){DHTMLSuite_funcs[B+A+C]=function(){A.apply(window.event.srcElement)};D.attachEvent("on"+B,DHTMLSuite_funcs[B+A+C])}D=null}else{D.addEventListener(B,A,false)}this.__addEventEl(D)},removeEvent:function(D,B,A,C){if(D.detachEvent){D.detachEvent("on"+B,DHTMLSuite_funcs[B+A+C]);DHTMLSuite_funcs[B+A+C]=null;D=null}else{D.removeEventListener(B,A,false)}},__clearMemoryGarbage:function(){if(!DHTMLSuite.clientInfoObj.isMSIE){return }for(var C=0;C<DHTMLSuite.eventEls.length;C++){try{var A=DHTMLSuite.eventEls[C];A.onclick=null;A.onmousedown=null;A.onmousemove=null;A.onmouseout=null;A.onmouseover=null;A.onmouseup=null;A.onfocus=null;A.onblur=null;A.onkeydown=null;A.onkeypress=null;A.onkeyup=null;A.onselectstart=null;A.ondragstart=null;A.oncontextmenu=null;A.onscroll=null;A=null}catch(B){}}for(var C in DHTMLSuite.variableStorage.arrayDSObjects){DHTMLSuite.variableStorage.arrayDSObjects[C]=null}window.onbeforeunload=null;window.onunload=null;DHTMLSuite=null},__addEventEl:function(A){DHTMLSuite.eventEls[DHTMLSuite.eventEls.length]=A},getSrcElement:function(B){var A;if(B.target){A=B.target}else{if(B.srcElement){A=B.srcElement}}if(A.nodeType==3){A=A.parentNode}return A},getKeyFromEvent:function(B){var A=this.getKeyCode(B);return String.fromCharCode(A)},getKeyCode:function(A){if(A.keyCode){code=A.keyCode}else{if(A.which){code=A.which}}return code},isObjectClicked:function(C,B){var D=this.getSrcElement(B);var A=D.tagName+"("+D.className+")";if(D==C){return true}while(D.parentNode&&D.tagName.toLowerCase()!="html"){D=D.parentNode;A=A+","+D.tagName+"("+D.className+")";if(D==C){return true}}return false},getObjectByClassName:function(B,A){var C=this.getSrcElement(B);if(C.className==A){return C}while(C&&C.tagName.toLowerCase()!="html"){C=C.parentNode;if(C.className==A){return C}}return false},getObjectByAttribute:function(C,B){var D=this.getSrcElement(C);var A=D.getAttribute(B);if(!A){A=D[B]}if(A){return D}while(D&&D.tagName.toLowerCase()!="html"){D=D.parentNode;var A=D.getAttribute("attribute");if(!A){A=D[B]}if(A){return D}}return false},getUniqueId:function(){var B=Math.random()+"";B=B.replace(".","");var A=Math.random()+"";A=A.replace(".","");return B+A},getAssociativeArrayFromString:function(B){if(!B){return }var A=new Array();var C=B.split(/,/g);for(var E=0;E<C.length;E++){var D=C[E].split(/:/);A[D[0]]=D[1]}return A},correctPng:function(E){E=DHTMLSuite.commonObj.getEl(E);var B=E;var D=B.width;var A=B.height;var C="<span style=\"display:inline-block;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+B.src+"',sizingMethod='scale');width:"+D+";height:"+A+'"></span>';B.outerHTML=C},__evaluateJs:function(F){F=this.getEl(F);var E=F.getElementsByTagName("SCRIPT");var B="";var D="";for(var G=0;G<E.length;G++){if(E[G].src){var C=document.getElementsByTagName("head")[0];var A=document.createElement("script");A.setAttribute("type","text/javascript");A.setAttribute("src",E[G].src)}else{if(DHTMLSuite.clientInfoObj.isOpera){D=D+E[G].text+"\n"}else{D=D+E[G].innerHTML}}}if(D){this.__installScript(D)}},__installScript:function(A){try{if(!A){return }if(window.execScript){window.execScript(A)}else{if(window.jQuery&&jQuery.browser.safari){window.setTimeout(A,0)}else{window.setTimeout(A,0)}}}catch(B){}},__evaluateCss:function(B){B=this.getEl(B);var D=B.getElementsByTagName("STYLE");var A=document.getElementsByTagName("HEAD")[0];for(var C=0;C<D.length;C++){A.appendChild(D[C])}}};DHTMLSuite.clientInfo=function(){var D;var C;var A;var E;var F;var B;var E};DHTMLSuite.clientInfo.prototype={init:function(){this.browser=navigator.userAgent;this.isOpera=(this.browser.toLowerCase().indexOf("opera")>=0)?true:false;this.isFirefox=(this.browser.toLowerCase().indexOf("firefox")>=0)?true:false;this.isMSIE=(this.browser.toLowerCase().indexOf("msie")>=0)?true:false;this.isOldMSIE=(this.browser.toLowerCase().match(/msie\s[0-6]/gi))?true:false;this.isSafari=(this.browser.toLowerCase().indexOf("safari")>=0)?true:false;this.navigatorVersion=navigator.appVersion.replace(/.*?MSIE\s(\d\.\d).*/g,"$1")/1;this.isOldMSIE=(this.isMSIE&&this.navigatorVersion<7)?true:false},getBrowserWidth:function(){if(self.innerWidth){return self.innerWidth}return document.documentElement.offsetWidth},getBrowserHeight:function(){if(self.innerHeight){return self.innerHeight}return document.documentElement.offsetHeight}};DHTMLSuite.domQuery=function(){document.getElementsByClassName=this.getElementsByClassName;document.getElementsByAttribute=this.getElementsByAttribute};DHTMLSuite.domQuery.prototype={}