
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved.  **/
(function(){
var w=window,i$=function(){
if(i$.qel){
return i$.qel.apply(this,arguments);
}
};
w.i$=i$;
i$.global=w;
if(typeof (console)=="undefined"){
var f=function(){
};
console={log:f,debug:f,info:f,warn:f,error:f,assert:f};
}
i$.partial=function(f){
var _1=i$.toArray(arguments).slice(1);
return function(){
var _2=_1.slice(0),_3=i$.toArray(arguments),i=0;
for(;i<_2.length;i++){
if(_2[i]===undefined){
_2[i]=_3.shift();
}
}
_2.push.apply(_2,_3);
return f.apply(this,_2);
};
};
i$.scope=function(s,f){
var of=f;
f=function(){
return (i$.isString(of)?s[of]:of).apply(s,arguments);
};
return i$.partial.apply(this,i$.toArray(arguments).slice(1));
};
i$.error=function(_4,_5){
console.error(_5||new Error(_4));
};
i$.forEach=function(_6,f,_7){
if(_7==null){
_7=0;
}
for(var i=(_7>=0)?_7:0;i<_6.length;i++){
f(_6[i],i,_6);
}
};
i$.forIn=function(o,f){
for(var i in o){
if(Object.prototype.hasOwnProperty.call(o,i)){
f(o[i],i,o);
}
}
};
i$.each=function(o,f,s){
if(s){
f=i$.scope(s,f);
}
if(o){
if(o instanceof Array||typeof o.length==="number"){
i$.forEach(o,f);
}else{
i$.forIn(o,f);
}
}
};
i$.some=function(a,f,s){
if(s){
f=i$.scope(s,f);
}
for(var i=0;i<a.length;i++){
if(f(a[i])){
return true;
}
}
return false;
};
i$.every=function(o,f,s){
if(s){
f=i$.scope(s,f);
}
return !i$.some(o,function(_8){
return !f(_8);
});
};
i$.wrap=function(o,n,f){
var fn=o[n];
o[n]=function(){
return f.call(this,fn,arguments);
};
o[n]._wrapped=fn;
return o[n];
};
i$.unwrap=function(o,n){
var fn=o[n];
if(fn&&fn._wrapped){
o[n]=fn._wrapped;
}
return o[n];
};
i$.copyShallow=function(o){
var r=i$.isArrayLike(o)?[]:{};
i$.forIn(o,function(v,k){
r[k]=v;
});
return r;
};
var _9=function(_a,_b,_c,_d){
if(_c||_b[_d]===undefined){
_b[_d]=function(){
return this[_a][_d].apply(this[_a],arguments);
};
}
},_e=function(_f,_10,_11,_12){
if(_11||_10[_12]===undefined){
_10[_12]=function(){
return _f[_12].apply(_f,arguments);
};
}
};
i$.shadow=function(s,t,_13,_14){
i$.each(_13,i$.partial(i$.isString(s)?_9:_e,s,t,_14));
};
var _15=function(_16,c,s){
var i,p,ts=s||i$.global;
for(i=0;ts!=null,i<_16.length,p=_16[i];i++){
if(ts[p]==null){
if(c){
ts[p]={};
}else{
ts=null;
break;
}
}
ts=ts[p];
}
return ts;
};
i$.fromPath=function(n,c,s){
var _17=n.split(".");
return _15(_17,c,s);
};
i$.toPath=function(n,v,s){
var _18=n.split("."),p=_18.pop(),o=_15(_18,true,s);
o[p]=v;
return v;
};
i$.cachedFn=function(f,s){
var val;
var fn=function(){
if(!fn.called){
fn.called=true;
val=f.apply(s,arguments);
}
return val;
};
return fn;
};
i$.xhrFmts={text:function(xhr){
return xhr.responseText;
},json:function(xhr){
return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(xhr.responseText.replace(/"(\\.|[^"\\])*"/g,"")))&&eval("("+xhr.responseText+")");
},xml:function(xhr){
return xhr.responseXML;
},javascript:function(xhr){
if((/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(str.replace(/"(\\.|[^"\\])*"/g,"")))){
throw new SyntaxError("Invalid characters in javascript object");
}else{
return eval("("+xhr.responseText+")");
}
}};
})();
(function(){
var i$=window.i$;
(function(ua){
var _19=function(_1a){
return parseFloat(_1a);
},_1b=[["IE",/MSIE\s*([\S]+)*/],["FF",/Firefox\/([\S]+)*/],["Opera",/Opera[\s\/]([\S]+)*/],["Safari",/Version\/([\S]+)*[\s\S]*Safari/],["Chrome",/Chrome\/([\S]+)*/],["WebKit",/AppleWebKit\/([\S]+)*/]];
i$.each(_1b,function(_1c){
var m=_1c[1].exec(ua);
if(m&&m.length>1){
i$["is"+_1c[0]]=_19(m[1]);
}
});
})(navigator.userAgent);
var _1d=document.documentMode;
if(_1d&&_1d!=5&&Math.floor(i$.isIE)!=_1d){
i$.isIE=_1d;
}
i$.isNode=function(o){
return typeof o==="object"&&typeof o.nodeType==="number"&&typeof o.nodeName==="string";
};
i$.isFunction=function(o){
return typeof o==="function"||o instanceof Function;
};
i$.isObject=function(o){
return typeof o==="object";
};
i$.isArray=function(o){
if(typeof Array.isArray==="function"){
return Array.isArray(o);
}else{
return Object.prototype.toString.call(o)==="[object Array]";
}
};
i$.isString=function(o){
return typeof o==="string";
};
i$.isNumber=function(o){
return typeof o==="number";
};
i$.isBoolean=function(o){
return typeof o==="boolean";
};
i$.isLikeArray=function(o){
return o instanceof Array||typeof o.length==="number";
};
i$.toArray=function(o){
return Array.prototype.slice.call(o);
};
if(i$.isIE){
var _1e=i$.toArray;
i$.toArray=function(o){
try{
return _1e(o);
}
catch(err){
var a=new Array(o.length);
for(var i=0;i<o.length;i++){
a[i]=o[i];
}
return a;
}
};
}
var _1f=(document.readyState==="complete"),_20=[],_21=[],_22=false;
i$._initPage=function(){
var fn;
_1f=true;
if(window.detachEvent){
window.detachEvent("onload",i$._initPage);
}
while(_20.length>0){
if(fn=_20.shift()){
try{
fn();
}
catch(err){
console.log(err);
}
}
}
};
i$._exitPage=function(){
var fn;
while(_21.length>0){
if(fn=_21.shift()){
try{
fn();
}
catch(err){
console.log(err);
}
}
}
};
i$._addEvent=function(e,f,o){
var w=o?o:window;
var s=w.attachEvent?e:e.substring(2);
var a=w.attachEvent||w.addEventListener;
a(s,function(){
f.apply(w,arguments);
},false);
};
if(!_1f){
i$._addEvent("onload",i$._initPage);
if(document.addEventListener){
document.addEventListener("DOMContentLoaded",i$._initPage,false);
}
}
i$.addOnLoad=function(f,o){
if(o){
f=i$.scope(o,f);
}
if(_1f){
f();
}else{
_20.push(f);
}
};
i$.addOnUnload=function(f,o){
if(!_22){
i$._addEvent("onunload",i$._exitPage);
_22=true;
}
if(o){
f=i$.scope(o,f);
}
_21.push(f);
};
var mx=function(o,m){
for(var p in m){
if(m.hasOwnProperty(p)){
o[p]=m[p];
}
}
},mxn=function(o,m,_23){
i$.forEach(_23,function(p){
if(m.hasOwnProperty(p)){
o[p]=m[p];
}
});
};
i$.mash=function(o){
i$.forEach(arguments,function(v){
mx(o,v);
},1);
return o;
};
i$.mashSpec=function(n,o){
i$.forEach(arguments,function(v){
mxn(o,v,n);
},2);
return o;
};
i$.augment=function(f){
var r=f;
if(f&&f.prototype){
f=f.prototype;
i$.mash.apply(i$,arguments);
}
return r;
};
i$.make=(function(){
var l=function(){
};
return function(o){
l.prototype=o;
o=new l();
return i$.mash.apply(i$,arguments);
};
})();
var _24=/^\s+/g;
i$.trim=function(str){
str=str.replace(_24,"");
var i=str.length-1;
while(str.charAt(i)==" "||str.charAt(i)=="\t"||str.charAt(i)=="\n"||str.charAt(i)=="\r"){
i--;
}
return str.substring(0,i+1);
};
var _25=i$.isArray,_26=i$.isObject;
i$.merge=function(_27,_28,_29){
var _29=_29||[],v,c;
_28=_28||i$.global;
if(_25(_27)&&_25(_28)){
_28.push.apply(_28,_27);
}else{
for(var x in _27){
if(_27.hasOwnProperty(x)){
v=_27[x],c=_28[x];
if(c!=null&&((_25(v)&&_25(c))||(_26(v)&&_26(c)))){
_28[x]=i$.merge(v,c,_29.concat(x));
}else{
_28[x]=v;
}
}
}
}
return _28;
};
var _2a;
i$.isRTL=function(_2b){
if(!_2a){
_2a=i$.fromPath("ibmCfg.themeConfig.RTLMap");
}
var _2c=_2a||{"iw":1,"he":1,"ar":1};
return (_2b.substring(0,2) in _2c);
};
})();


}catch(e){console.log("Module 'wp_client_main': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved.  **/
(function(){
var i$=window.i$;
i$.Promise=function(){
this._cbs=[];
this._stat=-1;
};
i$.promise={};
i$.promise.Promise=i$.Promise;
i$.mash(i$.promise,{isPromise:function(o){
return o&&i$.isFunction(o.then);
},resolved:function(o){
var p=new i$.Promise();
p.resolve(o);
return p;
},rejected:function(_1){
var p=new i$.Promise();
p.reject(_1);
return p;
},join:function(_2){
var _3=new i$.Promise(),_4=new Array(_2.length),_5=0,_6=false,_7=function(){
if(++_5>=_4.length){
_3[_6?"reject":"resolve"](_4);
}
};
if(_2.length>0){
i$.each(_2,function(p,i){
p.then(function(v){
_4[i]=v;
_7();
},function(e){
_6=true;
_4[i]=e;
_7();
});
});
}else{
_3.resolve([]);
}
return _3;
}});
i$.mash(i$,{when:function(o){
return i$.promise.isPromise(o)?o:i$.promise.resolved(o);
},whenAll:function(o){
var a=[];
i$.each(arguments,function(p){
a.push(i$.when(p));
});
return i$.promise.join(a);
}});
i$.promise.when=i$.when;
i$.promise.whenAll=i$.whenAll;
i$.Promise.prototype={_fin:function(v,s){
if(this._stat!==-1){
throw new Error("Promise already resolved");
}
this._v=v;
this._stat=s;
this._cbk();
return this;
},_cbk:function(){
var st=this._stat,_8=this._cbs,v=this._v,f;
if(st===0){
if(i$.promise.isPromise(v)){
while(_8.length>0){
v.then.apply(v,_8.shift());
}
}
}
while(_8.length>0){
f=_8.shift()[st];
if(f){
try{
f(v);
}
catch(err){
}
}
}
},_delegate:function(fn){
var p=new i$.Promise();
this.then(i$.partial(fn,p),i$.scope(p,"reject"));
return p;
},resolve:function(v){
return this._fin(v,0);
},reject:function(e){
return this._fin(e,1);
},progress:function(p){
i$.each(this._cbs,function(_9){
if(_9[2]){
_9[2](p);
}
});
return this;
},then:function(_a,_b,_c){
var p=new i$.Promise();
this._cbs.push([function(v){
try{
if(_a){
var rv=_a(v);
if(rv!==undefined){
v=rv;
}
}
p.resolve(v);
}
catch(exc){
p.reject(exc);
}
},function(e){
var rv=e;
try{
if(_b){
rv=_b(e);
if(rv===undefined){
rv=e;
}
}
}
catch(exc){
rv=exc;
}
p.reject(rv);
},_c]);
if(this._stat!==-1){
this._cbk();
}
return p;
},call:function(_d,_e){
return this._delegate(function(p,_f){
if(_f&&i$.isFunction(_f[_d])){
p.resolve(_f[_d].apply(_f,_e));
}else{
p.reject(new Error(_d+" is not a function on "+o));
}
});
},get:function(_10){
return this._delegate(function(p,_11){
if(_11){
p.resolve(_11[_10]);
}else{
p.reject(new Error(_11+" is null or undefined"));
}
});
}};
i$.onLoadPromise=new i$.Promise();
i$.addOnLoad(function(){
i$.onLoadPromise.resolve(true);
});
})();
(function(){
var i$=window.i$;
i$.getXHR=typeof XMLHttpRequest!=="undefined"?function(){
return new XMLHttpRequest();
}:function(){
return new ActiveXObject("MSXML2.XMLHTTP.3.0");
};
i$.toQuery=function(o){
var q=[];
var enc=encodeURIComponent;
i$.each(o,function(v,k){
var key=enc(k)+"=";
if(i$.isString(v)){
q.push(key+enc(v));
}else{
if(i$.isArray(v)){
var key=enc(k)+"=";
i$.each(v,function(av,i){
q.push(key+enc(av));
});
}
}
});
return q.join("&");
};
i$.addQueryString=function(u,o){
if(o){
var p=u&&u.indexOf("?")!==-1,t=p?"&":"?";
u+=t+i$.toQuery(o);
}
return u;
};
i$.fromQuery=function(q){
var o={};
var dec=decodeURIComponent;
i$.each(q.split("&"),function(av,i){
var p=av.split("="),k=dec(p[0]),v=dec(p[1]),cv=o[k];
if(cv){
if(!i$.isArray(cv)){
cv=o[k]=[cv];
}
cv.push(v);
}else{
o[k]=v;
}
});
return o;
};
i$.xhr=function(_12,_13){
var _12=_12||"GET",_14=new i$.Promise(),url=_13.url||"",_15=_13.sync||false,cb=_13.callback||function(){
},_16=_13.responseType||"text",_17=_13.postData||null,_18=_13.timeout||null,xhr=i$.getXHR(),_19=false,_1a=false;
var _1b=function(){
if(xhr.readyState===4){
xhr.onreadystatechange=i$.isIE<=8?new Function():null;
var _1c=function(){
if(xhr.status>=400){
var err=new Error(xhr.status+": "+xhr.responseText);
try{
cb(err,xhr);
}
finally{
if(!_19){
_19=true;
_14.reject({data:err,xhr:xhr});
}
}
}else{
try{
var ret="";
if(i$.xhrFmts[_16]){
ret=i$.xhrFmts[_16](xhr);
}
}
catch(err){
cb(err,xhr);
return;
}
try{
cb(ret,xhr);
}
finally{
if(!_19){
_19=true;
_14.resolve({data:ret,xhr:xhr});
}
}
}
};
if(xhr.timeout){
window.setTimeout(function(){
if(!_1a){
_1c();
}
},0);
}else{
_1c();
}
}
};
if(!_15){
xhr.onreadystatechange=_1b;
}
xhr.open(_12,url,!_15);
i$.each(_13.headers,function(v,k){
xhr.setRequestHeader(k,v);
});
if(_18){
xhr.timeout=_18;
xhr.ontimeout=function(){
_1a=true;
if(!_19){
_19=true;
_14.reject({data:"timeout",xhr:xhr});
}
};
}
xhr.send(_17);
if(_15){
_1b();
}
return _14;
};
i$.each(["Get","Put","Post","Delete"],function(m){
i$["xhr"+m]=i$.partial(i$.xhr,m.toUpperCase());
});
i$.loadScript=function(_1d){
var _1e=document.getElementsByTagName("head")[0],_1f=document.createElement("script"),_20=new i$.Promise(),_21=false,_22=function(_23,_24){
_1f.onreadystatechange=_1f.onload=null;
_21=true;
_20[_23?"resolve":"reject"](_24);
if(_1d.callback){
_1d.callback(_23,_24);
}
_1e.removeChild(_1f);
_1f=null;
};
_1f.type="text/javascript";
_1f.onreadystatechange=function(){
if(this.readyState==="loaded"||this.readyState==="complete"){
_22(true);
}
};
_1f.onload=function(){
_22(true);
};
i$.each(_1d.scriptAttrs,function(v,k){
if(v!=null){
_1f.setAttribute(k,v);
}
});
_1f.src=_1d.url;
_1e.appendChild(_1f);
if(_1d.timeout){
setTimeout(function(){
if(!_21){
_22(false,new Error("Timeout exceeded"));
}
},_1d.timeout);
}
return _20;
};
})();
(function(){
var i$=window.i$;
if(typeof (JSON)!="undefined"&&JSON.parse){
i$.fromJson=function(str){
return JSON.parse(str);
};
i$.toJson=function(obj,_25){
return JSON.stringify(obj,null,_25?"\t":"");
};
}else{
i$.fromJson=function(str){
return eval(["(",str,")"].join(""));
};
var _26=function(str){
return ["\"",str.replace(/[\\]/g,"\\\\").replace(/["]/g,"\\\"").replace(/[\r]/g,"\\r").replace(/[\n]/g,"\\n").replace(/[\b]/g,"\\b").replace(/[\t]/g,"\\t").replace(/[\f]/g,"\\f"),"\""].join("");
},_27=function(obj,p,_28,_29){
var ap,_2a;
if(_28){
_29=_29||"";
_2a=_29+"\t";
}
if(obj===null){
p.push("null");
}else{
if(obj===undefined){
p.push("undefined");
}else{
if(i$.isBoolean(obj)||i$.isNumber(obj)){
p.push(obj);
}else{
if(i$.isString(obj)){
p.push(_26(obj));
}else{
if(i$.isFunction(obj.toJson)){
p.push(obj.toJson());
}else{
if(i$.isArray(obj)){
p.push("[");
ap=[];
i$.each(obj,function(el){
var _2b=[];
_27(el,_2b,_28,_2a);
ap.push(_2b.join(""));
});
if(ap.length>0){
if(_28){
p.push("\n"+_2a);
}
p.push(ap.join(_28?",\n"+_2a:","));
if(_28){
p.push("\n"+_29);
}
}
p.push("]");
}else{
if(i$.isObject(obj)){
p.push("{");
ap=[];
i$.each(obj,function(el,key){
var _2c=[_26(key),": "];
_27(el,_2c,_28,_2a);
ap.push(_2c.join(""));
});
if(ap.length>0){
if(_28){
p.push("\n"+_2a);
}
p.push(ap.join(_28?",\n"+_2a:","));
if(_28){
p.push("\n"+_29);
}
}
p.push("}");
}
}
}
}
}
}
}
};
i$.toJson=function(obj,_2d){
var p=[];
_27(obj,p,_2d);
return p.join("");
};
}
i$.xhrFmts.json=function(xhr){
return i$.fromJson(xhr.responseText);
};
})();
(function(){
var i$=window.i$;
var _2e=function(){
this._evts={};
},_2f=function(_30,_31){
return _30._evts[_31]||(_30._evts[_31]={l:[],b:[]});
},add=function(_32,_33,_34,fn){
var e=_2f(_32,_33),c=e[_34].push(fn);
return [_33,_34,c-1];
},_35=function(_36,_37){
var e=_2f(_36,_37[0]);
delete e[_37[1]][_37[2]];
},_38=function(evt,_39,_3a){
var _3b=evt.b,_3a=_3a||0,b,r;
for(var i=_3a;i<_3b.length;i++){
b=_3b[i];
if(b){
_39=typeof _39==="undefined"?[]:_39;
r=b.apply(null,_39||[]);
if(i$.promise.isPromise(r)){
return r.then(function(_3c){
if(_3c!==false){
return _38(evt,_39,i+1);
}
return _3c;
});
}
}
}
},_3d=function(evt,_3e){
var _3f=evt.l,l;
for(var i=0;i<_3f.length;i++){
l=_3f[i];
if(l){
l.apply(null,_3e||[]);
}
}
},_40=function(_41,_42,_43){
var e=_2f(_41,_42);
return i$.when(_38(e,_43)).then(function(_44){
if(_44!==false){
_3d(e,_43);
}
return _44;
});
};
i$.augment(_2e,{addListener:function(_45,fn){
return add(this,_45,"l",fn);
},removeListener:function(_46){
return _35(this,_46);
},addBroker:function(_47,fn){
return add(this,_47,"b",fn);
},removeBroker:function(_48){
return _35(this,_48);
},fireEvent:function(_49,_4a){
return _40(this,_49,_4a);
}});
var _4b=new _2e();
i$.each(["addListener","removeListener","addBroker","removeBroker","fireEvent"],function(n){
i$[n]=i$.scope(_4b,n);
});
})();
(function(){
var i$=window.i$;
var _4c=document.createElement("div");
i$.byId=function(id){
if(i$.isNode(id)){
return id;
}else{
return document.getElementById(id);
}
};
i$.createDom=function(_4d,_4e,_4f){
var el=document.createElement(_4d);
i$.each(_4e,function(v,k){
el.setAttribute(k,v);
});
if(_4f){
_4f.appendChild(el);
}
return el;
};
var _50=_4c.addEventListener?function(n){
return n.indexOf("on")==0?n.substr(2):n;
}:function(n){
return n.indexOf("on")!=0?"on"+n:n;
},add=_4c.addEventListener?function(_51,_52,f){
_51.addEventListener(_52,f,false);
}:function(_53,_54,f){
_53.attachEvent(_54,f);
},_55=_4c.removeEventListener?function(_56,_57,f){
_56.removeEventListener(_57,f,false);
}:function(_58,_59,f){
_58.detachEvent(_59,f);
};
i$.isDescendant=function(_5a,anc){
if(anc){
while(_5a){
if(_5a==anc){
return true;
}
_5a=_5a.parentNode;
}
}
return false;
};
i$.bindDomEvt=function(_5b,_5c,f){
_5c=_50(_5c);
if((_5c=="mouseleave"||_5c=="mouseenter")&&!i$.isIE){
var fp=f;
_5c=_5c=="mouseleave"?"mouseout":"mouseover";
f=function(e){
if(!i$.isDescendant(e.relatedTarget,_5b)){
return fp.call(this,e);
}
};
}
add(_5b,_5c,f);
return [_5b,_5c,f];
};
i$.unbindDomEvt=function(_5d){
if(_5d[0]){
_55(_5d[0],_5d[1],_5d[2]);
}
_5d.splice(0,3);
};
if("classList" in _4c){
i$.mash(i$,{addClass:function(_5e,_5f){
_5e&&_5e.classList&&_5e.classList.add(_5f);
},removeClass:function(_60,_61){
_60&&_60.classList&&_60.classList.remove(_61);
},hasClass:function(_62,_63){
return _62&&_62.classList&&_62.classList.contains(_63);
},toggleClass:function(_64,_65){
_64&&_64.classList&&_64.classList.toggle(_65);
}});
}else{
var _66=function(str,_67){
if(!str){
return -1;
}
var len=_67.length,i=str.indexOf(_67),_68,_69;
while(i>-1){
_69=str.charAt(i+len);
_68=str.charAt(i-1);
if((!_69||_69==" ")&&(!_68||_68==" ")){
break;
}
i=str.indexOf(_67,i+1);
}
return i;
};
i$.mash(i$,{addClass:function(_6a,_6b){
if(!_6a){
return;
}
if(_66(_6a.className,_6b)<0){
_6a.className+=" "+_6b;
}
},removeClass:function(_6c,_6d){
if(!_6c){
return;
}
var str=_6c.className,len=_6d.length,i=_66(str,_6d),val=[];
if(i>-1){
if(i>0){
val.push(str.substring(0,i));
}
if(str.length>i+len){
val.push(str.substr(i+len));
}
_6c.className=i$.trim(val.join());
}
},hasClass:function(_6e,_6f){
if(!_6e){
return;
}
return _66(_6e.className,_6f)>-1;
},toggleClass:function(_70,_71){
if(!_70){
return;
}
i$[i$.hasClass(_70,_71)?"removeClass":"addClass"](_70,_71);
}});
}
})();
(function(){
var i$=window.i$;
var _72=/([^_]+)_([^_]+)_deferred_?([\d]+)?/,_73=/alternate/i,_74=function(t){
return document.getElementsByTagName(t);
},_75=function(){
return _74("head")[0];
},_76=function(url){
i$.createDom("link",{rel:"stylesheet",type:"text/css",href:url},_75());
return i$.promise.resolved();
},_77=function(url){
return i$.loadScript({url:url});
},_78=function(mod){
return i$.xhrGet({url:mod.url,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_79){
return {mod:mod,data:_79.data};
});
},_7a=function(_7b){
i$.each(_7b,function(_7c){
var m=_7c.mod;
var _7d=m.node.parentNode;
var _7e=m.p!="head"?m.node:null;
var _7f=document.createDocumentFragment(),tmp=i$.createDom("div");
tmp.innerHTML=_7c.data;
while(tmp.firstChild){
_7f.appendChild(tmp.firstChild);
}
_7d.insertBefore(_7f,_7e);
});
},_80=function(_81){
if(_73.test(_81.rel)){
var id=_81.id,_82=id.match(_72);
if(_82){
return {node:_81,url:_81.href,id:id,p:_82[1],t:_82[2],i:_82[3]};
}
}
},_83=function(){
var m={head:[],config:[]},_84={},_85={length:0},_86=_74("link"),_87=_74("a");
i$.each([_86,_87],function(_88){
i$.each(_88,function(_89){
var mod=_80(_89);
if(mod&&!_84[mod.id]){
_84[mod.id]=mod;
if(!_85[mod.t]){
_85[mod.t]=[];
_85.length=_85.length+1;
}
_85[mod.t].push(mod);
}
});
});
return _85;
},_8a=function(_8b){
var _8c=[];
var _8d=[];
i$.each(_8b["markup"],function(mod){
_8d.push(_78(mod));
});
return i$.whenAll.apply(this,_8d).then(function(_8e){
_8c=_8e;
_8d=[];
i$.each(_8b["css"],function(mod){
_8d.push(_76(mod.url));
});
return i$.whenAll.apply(this,_8d);
},function(err){
console.log("Error: ",err);
}).then(function(_8f){
return _90(_8b["js"]);
}).then(function(){
_7a(_8c);
});
},_90=function(_91){
var m=_91.shift(),p;
if(m){
p=_77(m.url);
}
return i$.when(p).then(function(){
return _91.length>0?_90(_91):true;
},function(err){
console.log("Error: ",err);
});
},_92=false,_93=null,_94=false,_95=false,_96=new i$.Promise(),_97=function(cbk){
i$.addOnLoad(function(){
if(!_92){
_93=_83();
_94=_93.length>0?false:true;
if(_94){
_96.resolve();
}
_92=true;
}
if(cbk){
cbk();
}
});
};
i$.modules={};
i$.mash(i$.modules,{areLoaded:function(){
return _94;
},areLoading:function(){
return _95;
},loadDeferred:function(){
if(_95){
return _96;
}
var cbk=function(){
if(!_94){
_95=true;
_8a(_93).then(function(){
_94=true;
_95=false;
_96.resolve();
},function(e){
_96.reject(e);
});
}
};
_97(cbk);
return _96;
},addAfterLoaded:function(f){
var cbk=function(){
_96.then(f);
};
_97(cbk);
}});
var _98=i$.addOnLoad,_99=[];
i$.addOnLoad=function(f,o){
if(_95){
if(o){
f=i$.scope(o,f);
}
_99.push(f);
}else{
_98(f,o);
}
};
i$.modules.addAfterLoaded(function(){
while(_99.length>0){
if(fn=_99.shift()){
fn();
}
}
});
})();
(function(){
var i$=window.i$;
i$.getCookie=function(n){
var cs=document.cookie.split(";"),c="",_9a=0,cn="",cv=null;
for(var i=0;i<cs.length;i++){
c=cs[i];
_9a=c.indexOf("=");
cn=_9a<0?null:i$.trim(c.substring(0,_9a));
if(cn==n){
if(c.length>1){
cv=_9a<0?null:i$.trim(c.substring(_9a+1,c.length));
}
return cv;
}
}
return null;
};
i$.setCookie=function(n,v,e,p,d,s){
if(!e){
var m=new Date().getTime();
m+=(1000*60*60*24*365*100);
e=new Date(m);
}
var c=n+"="+v+((e)?"; expires="+e.toGMTString():"")+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+((s)?"; secure":"");
document.cookie=c;
};
i$.deleteCookie=function(n,p,d){
if(i$.getCookie(n)){
document.cookie=n+"="+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";
}
};
})();


}catch(e){console.log("Module 'wp_client_ext': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved.  **/
(function(){
var i$=window.i$;
var _1=i$.log={};
var _2=[];
var _3=function(_4,_5){
return _4.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_6,_7,_8){
var _9=_5[_7];
return _9;
});
};
i$.Logger=function(_a){
this.name=_a?_a:null;
};
_1.Logger=i$.Logger;
i$.mash(_1,{LEVEL_TRACE:500,LEVEL_INFO:800,LEVEL_WARNING:900,LEVEL_SEVERE:1000});
var _b=_1.LEVEL_INFO;
var _c=_1.LEVEL_WARNING;
var _d=_1.LEVEL_SEVERE;
i$.mash(_1,{getLogger:function(_e){
if(!_2[_e]){
_2[_e]=new i$.Logger(_e);
}
return _2[_e];
},setTraceConfig:function(_f,_10){
console.log("IMPORTANT: In order to enable tracing you need to configure module wp_client_tracing to be downloaded.");
}});
i$.getLogger=i$.log.getLogger;
i$.setTraceConfig=i$.log.setTraceConfig;
i$.Logger.prototype={info:function(_11,_12,_13){
this.log(_b,_11,_12,_13);
},warning:function(_14,_15,_16){
this.log(_c,_14,_15,_16);
},severe:function(_17,_18,_19){
this.log(_d,_17,_18,_19);
},log:function(_1a,_1b,_1c,_1d){
if((_1d&&!i$.isArray(_1d))||_1d===false){
_1d=[_1d];
}
var _1e=this.name;
var _1f=_1d?_3(_1c.toString(),_1d):_1c;
var _20="ibmStatusBox";
var _21="/portal/status";
var _22=i$.fireEvent;
var _23=com.ibm.widgets.StatusMessage;
var _24=null;
if(_1a==_d){
_24="error";
}else{
if(_1a==_c){
_24="warning";
}else{
if(_1a==_b){
_24="info";
}
}
}
if(_24){
_22(_21,[{message:new _23(_24,_1e+" "+_1b+": "+_1f,""),uid:_20}]);
}
}};
})();


}catch(e){console.log("Module 'wp_client_logging': ",e);}
try{

}catch(e){console.log("Module 'wp_client_tracing': ",e);}
try{(function(){var h=window;function k(e){for(var g=l.call(arguments,1),c,b=g,d=b.length,a=[];d;)void 0===b[--d]&&a.unshift(d);c=a;return function(){for(var a=g.slice(),b=c.length;b;)a[c[--b]]=arguments[b];m.apply(a,l.call(arguments,c.length));return e.apply(void 0,a)}}function p(e,g,c){for(var b=e.split("."),d=b.length-1,a=c,f=0;f<d;){var n=b[f++],j;if(!(j=a[n]))j={},a[n]=j;a=j}b=b[f];c=k(g,c);d=a;if(!(f=d[b]))c=c(),f=d[b]=c;a=f;a.clone=k(p,e,g);return a}var q=h.Array.prototype,l=q.slice,m=q.push;
p("wpModules.modules",function(e){return{create:k(p,void 0,void 0,e),partial:k}},h);}());
}catch(e){console.log("Module 'wp_modules': ",e);}
try{(function(){
var _1=i$.fromPath,_2=i$.toPath,_3=i$.isArray,_4=i$.each,_5=i$.forEach,_6=i$.augment,_7=i$.Promise,_8=true,_9=false,_a="wpModules.state.page._mgr",_b=function(p){
return p.name;
},_c=function(p){
return p.value;
},_d=function(p){
return p.nsuri;
},_e=function(a){
return a.length;
},_f=function(a1,a2){
if(a1&&!a2){
return _9;
}
if(!a1&&a2){
return _9;
}
if(_e(a1)!=_e(a2)){
return _9;
}
var _10=_8;
_5(a1,function(a,i){
if(a!=a2[i]){
_10=_9;
return _9;
}
});
return _10;
},_11=function(_12){
var _13={};
if(!_12){
_13.all=[];
return _13;
}
if(!_3(_12)){
_12=[_12];
}
_13.all=_12.slice(0,_e(_12));
_13.cache={};
_13.log=[];
return _13;
},_14=function(_15,_16){
if(!_15){
return _16.all;
}
if(!_3(_15)){
_15=[_15];
}
if(_e(_15)<=0){
return [];
}
var _17=[];
_4(_15,function(p){
get(_d(p),_b(p),_16,_17);
});
return _17;
},get=function(_18,_19,_1a,_1b){
var _1c=_1a.cache[_18];
if(_1c){
if(_19){
add(_1c[_19],_1b);
}else{
_1d(_1c,_1b);
}
}else{
_1e(_18,_1a);
get(_18,_19,_1a,_1b);
}
},add=function(_1f,_20){
_1f&&_20.push(_1f);
},_1d=function(_21,_22){
if(_21){
_4(_21,function(p){
add(p,_22);
});
}
},_1e=function(_23,_24){
var _25=_24.cache[_23]={};
_5(_24.all,function(p){
if(_d(p)==_23){
_25[_b(p)]=p;
}
});
},_26=function(_27,_28,_29){
if(!_27){
return;
}
if(!_3(_27)){
_27=[_27];
}
if(_e(_27)>0){
_4(_27,function(p){
set(p,_28);
});
}
if(_29){
_2a(_27,_28);
}
},_2a=function(_2b,_2c){
var _2d=[];
if(_e(_2b)<_e(_2c.all)){
_5(_2c.all,function(p){
var _2e=false;
_5(_2b,function(_2f){
if(_d(p)==_d(_2f)&&_b(p)==_b(_2f)){
_2e=true;
return false;
}
});
if(!_2e){
_2d.push(p);
}
});
}
_5(_2d,function(p){
set({"name":p.name,"nsuri":p.nsuri,"value":null},_2c);
});
},set=function(_30,_31){
if(!_b(_30)||!_d(_30)){
return;
}
var _32=_9,_33=_9;
_5(_31.all,function(p,i){
if(_d(p)==_d(_30)&&_b(p)==_b(_30)){
var _34=_c(_30);
if(_34){
if(!_f(_34,_c(p))){
_31.all[i]=_30;
_33=_8;
}
}else{
_31.all.splice(i,1);
_33=_8;
}
_32=_8;
}
});
if(!_32&&_c(_30)){
_31.all.push(_30);
_33=_8;
}
if(_33){
_31.log.push(_30);
}
var _35=_31.cache[_d(_30)];
if(_35){
var _36=_b(_30);
if(_c(_30)){
_35[_36]=_30;
}else{
delete _35[_36];
}
}
},_37=function(_38){
var _39=_3a(_38);
return _39;
},_3b=0,_3c=function(_3d,fn){
var _3e="fn"+(++_3b);
_3d[_3e]=fn;
return _3e;
},_3f=function(_40,_41){
if(_41 in _40){
delete _40[_41];
}
},_42=function(_43,_44){
for(var _45 in _43){
var _46=_37(_44),fn=_43[_45];
if(fn){
try{
fn(_46);
}
catch(err){
}
}
}
},_47=function(_48){
return _1(_a,_9,_48);
},_49=function(_4a,_4b){
_2(_a,_4a,_4b);
},_4c=function(_4d){
var _4e=_11(_4d),cbs={};
return {getState:function(){
var _4f=new _7(),_50=_37(_4e);
_4f.resolve(_50);
return _4f;
},addListener:function(_51){
var _52=_3c(cbs,_51);
return _52;
},removeListener:function(_53){
_3f(cbs,_53);
},commit:function(_54){
_4e=_54._data;
_42(cbs,_4e);
_4e.log=[];
var _55=new _7().resolve();
return _55;
},init:function(_56){
_4e=_11(_56);
}};
},_3a=function(_57){
var d=_57;
return {_data:d,renderParams:function(){
var _58=_59(d);
return _58;
}};
},_59=function(_5a){
var d=_5a;
return {get:function(_5b){
return _14(_5b,d);
},set:function(_5c,_5d){
_26(_5c,d,_5d);
},getModified:function(){
return d.log;
}};
},_5e=i$.fromPath("wpModules.state.page",_8);
i$.mash(_5e,{"newStateManager":_4c,"setStateManager":_49,"getStateManager":_47});
})();
(function(){
var _5f=i$.fromPath("wpModules.state.page"),_60=_5f.newStateManager(),_61="window/startRender";
_60.init(_5f._initial);
delete wpModules.state.page._initial;
_5f.setStateManager(_60);
if(top!==self&&top.i$){
top.i$.fireEvent(_61,[self]);
}
i$.fireEvent(_61);
})();


}catch(e){console.log("Module 'wp_state_page': ",e);}
try{(function(){var g=window;function j(a,c){var b,d;for(d=c.length-1;0<=d;--d)if(b=c[d],b===a)return d;return-1}function k(a,c,b){return b.setAttribute(a,c)}function l(a,c){return c.removeAttribute(a)}function m(a,c,b){return c?b.setAttribute(a,a):b.removeAttribute(a)}function n(a,c){var b=c.className.split(" "),d=j(a,b);0>d?b.push(a):b.splice(d,1);c.className=b.join(" ");return!0}function p(a,c){var b=c.className.split(" ");0>j(a,b)?(b.push(a),c.className=b.join(" "),b=!0):b=!1;return b}
function q(a,c){var b=c.className.split(" "),d=j(a,b);0<=d?(b.splice(d,1),c.className=b.join(" "),b=!0):b=!1;return b}function r(a,c,b){return c?p(a,b):q(a,b)}function s(a,c){return a&&c?c.getAttribute("data-"+a):void 0}function t(a){return a?a.innerText||a.textContent:void 0}function u(a,c){var b=s(a,c),d;b&&((d=b&&c?c.ownerDocument.getElementById(b):void 0)||(d=u(b,c)));return d}function v(a,c){var b,d,e;if(w(a)){d=0;e=a.length;for(b=c;d<e&&b;)b=u(a[d++],b)}else b=u(a,c);return b}
function x(a,c,b){for(var d=arguments,e=2,h=d.length,f=a.createElement(c);e<h;)k(d[e++],d[e++],f);return f}function y(a){var c=a.parentNode;c&&c.removeChild(a);return a}function z(a,c,b){c.addEventListener(a,b,!1)}function A(a,c,b){c.removeEventListener(a,b,!1)}function B(a,c){var b=c||a.oninput,d,e;b&&(d=a.ownerDocument,e=b.bind(a),z("focus",a,C(z,"selectionchange",d,e)),z("blur",a,C(A,"selectionchange",d,e)));return b}
function D(a,c){var b=c||a.event;b&&(b.stopPropagation&&b.stopPropagation(),b.cancelBubble=!0);return!1}function E(a){for(var c=0,b=0;a;)c+=a.offsetLeft+a.clientLeft,b+=a.offsetTop+a.clientTop,a=a.offsetParent;return{x:c,y:b}}function F(a,c,b,d){var e,h,f;if(w(b)){e=0;for(h=b.length;e<h;)f=F(a,c,b[e++],d)}else f=x(a,"INPUT","type","hidden","name",d,"value",b),c.appendChild(f);return f}var G=g.wpModules.modules,C=G.partial,w=g.Array.isArray;
(0,G.create)("wpModules.photon.dom",function(a){var c=a.document;a=C(D,a);var b=C(x,c),c=C(F,c);return{getData:s,getNode:v,getText:t,addClass:p,removeClass:q,conditionalClass:r,toggleClass:n,setAttribute:k,conditionalAttribute:m,removeAttribute:l,createElement:b,removeElement:y,polyfillOnInput:B,cancelEvent:a,getPosition:E,addHiddenInput:c}});}());
}catch(e){console.log("Module 'wp_photon_dom': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved.  **/
(function(_1){
function _2(_3){
return (_3.getElementsByTagName("html")[0].getAttribute("dir")||"").toLowerCase()=="rtl";
};
function _4(_5){
var v=_5.documentElement;
return {width:v.clientWidth,height:v.clientHeight};
};
function _6(_7){
var _8=curtop=0;
if(_7.offsetParent){
do{
_8+=_7.offsetLeft;
curtop+=_7.offsetTop;
}while(_7=_7.offsetParent);
return {left:_8,top:curtop};
}
return null;
};
function _9(_a){
var bb=_a.getBoundingClientRect(),b={width:bb.width,height:bb.height,left:bb.left,top:bb.top,right:bb.right,bottom:bb.bottom};
if(i$.isIE){
b.height=b.bottom-b.top;
b.width=b.right-b.left;
}
if(i$.isIE==7){
var _b=_6(_a);
b.left=(_b?_b.left:b.left);
b.top=(_b?_b.top:b.top);
}
return b;
};
function _c(_d,_e){
var b=_9(_d);
if(_e){
var fo=_f(self,_e);
b.top+=fo.top;
b.left+=fo.left;
b.bottom+=fo.top;
b.right+=fo.left;
}
return b;
};
function _10(_11,_12){
i$.forIn(_12,function(v,n){
_11.style[n]=Math.round(v)+"px";
});
};
function _f(_13,_14){
var box={top:0,left:0};
var w=_13;
while(w.frameElement&&w!==_14){
var b=_c(w.frameElement);
box.top+=b.top;
box.left+=b.left;
w=w.parent;
}
return box;
};
function _15(_16){
var doc=_16.document,de=doc.documentElement,b=doc.body;
return {left:isNaN(_16.scrollX)?(de.scrollLeft+b.scrollLeft):_16.scrollX,top:isNaN(_16.scrollY)?(de.scrollTop+b.scrollTop):_16.scrollY};
};
var _17={nodeHandler:{},pointerHandler:{},handle:function(_18){
var _19=_18.name,_1a=_18.targetWindow,_1b=_18.node,_1c=_18.refNode,_1d=_18.targetBox,_1e=_1e||0.5,_1f=_18.viewMargin,_20=_18.positionNode,_21=_17.nodeHandler[_19],_22=_17.pointerHandler[_19];
if(!_21&&!_1d){
return;
}
var doc=_1a.document,b=doc.body,_23=_4(doc),_24=_c(_1b),_25,_26=_15(_1a);
if(_1c){
var _27=function(_28){
var n=_28;
while(n&&n.offsetParent===null){
n=n.parentNode;
}
return n;
};
_1c=_27(_1c);
var _29=_c(_1c,_1a),_2a=_23.width-_29.left-_29.width*(1-_1e),_2b=_29.left+_29.width*_1e,_2c=_24.width+_1f,_2d=_2(doc)?!(_2b>_2c||_2a<_2c):_2a>_2c||_2b<_2c;
_25=_21(_23,_24,_29,_2d,_1f);
}else{
var h=_1d.height||_24.height,w=_1d.width||_24.width;
_25={top:Math.max(10,Math.min(_1d.top||(_23.height-h)/2,_23.height-_24.height-_1f)),left:Math.max(0,Math.min(_1d.left||(_23.width-w)/2,_23.width-_24.width-_1f))};
}
if(!i$.isIE||i$.isIE!==7){
_25.top+=_26.top;
_25.left+=_26.left;
}
_10(_20||_1b,_25);
if(_1c&&_22){
var _2e=null;
var _2f=function(el){
var c=el.className;
if(c&&c.indexOf("pointer")>-1){
_2e=el;
}
if(!_2e&&el.hasChildNodes()){
i$.each(el.childNodes,function(val){
_2f(val);
});
}
};
_2f(_1b);
if(_2e){
_10(_2e,_22(_c(_1b),_29,_c(_2e),_2e));
}
}
},registerHandler:function(_30){
if(_30.nodeHandler){
_17.nodeHandler[_30.name]=_30.nodeHandler;
}
if(_30.pointerHandler){
_17.pointerHandler[_30.name]=_30.pointerHandler;
}
},addPositionChangeListener:function(_31){
if(!_31.node){
return null;
}
var _32={refNode:_31.node,targetWindow:_31.targetWindow||_1,callback:_31.callbackFn,pollInterval:_31.pollInterval||2000,intervalId:null,refBox:null,tolerance:_31.tolerance||5,intervalFn:function(){
if(this.refNode){
var box=_c(this.refNode,this.targetWindow);
if(!this.refBox){
this.refBox=box;
}else{
var _33=this.tolerance,_34=this.refBox,_35=Math.abs(_34.top-box.top),_36=Math.abs(_34.left-box.left),_37=Math.abs(_34.bottom-box.bottom),_38=Math.abs(_34.right-box.right);
if(_33<Math.max(_35,_36,_37,_38)){
this.refBox=box;
this.callback();
}
}
}else{
this.stop();
}
},start:function(){
var obj=this;
this.intervalId=this.targetWindow.setInterval(function(){
obj.intervalFn();
},this.pollInterval);
},stop:function(){
if(this.intervalId){
this.targetWindow.clearInterval(this.intervalId);
}
}};
_32.start();
return _32;
}};
i$.toPath("wpModules.util.Positioning",_17);
i$.toPath("wpModules.util.dialog",{viewPort:_4,setMetrics:_10,simpleBox:_9,scroll:_15});
})(window);
(function(){
var _39={name:"horizontallyBelow",nodeHandler:function(_3a,_3b,_3c,_3d,_3e){
var pos={};
pos.top=_3c.top+_3c.height;
if(pos.top<0){
pos.top=0;
}
if(pos.top+_3b.height>_3a.height){
pos.top=_3a.height-_3b.height-_3e;
}
pos.left=Math.max(_3c.left+(_3c.width-_3b.width)/2,_3e);
if(pos.left+_3b.width+_3e>_3a.width){
pos.left=_3a.width-_3b.width-_3e;
}
return pos;
},pointerHandler:function(_3f,_40,_41,_42){
i$.addClass(_42,"top");
var _43=_42.clientHeight,_44=_42.clientWidth,_45=Math.min(_40.left+_40.width,_3f.left+_3f.width),_46=Math.max(_40.left,_3f.left),_47=(_45+_46)/2-_3f.left;
var res={top:-(_43-4),left:_47-_44/2};
return res;
}};
wpModules.util.Positioning.registerHandler(_39);
})();
(function(){
var _48={name:"horizontallyCenteredBelow",nodeHandler:function(_49,_4a,_4b,_4c,_4d){
var pos={};
pos.top=_4b.top+_4b.height;
if(pos.top<0){
pos.top=0;
}
if(pos.top+_4a.height>_49.height){
pos.top=_49.height-_4a.height-_4d;
}
pos.left=Math.max(_4b.left+(_4b.width-_4a.width)/2,_4d);
return pos;
},pointerHandler:function(_4e,_4f,_50,_51){
i$.addClass(_51,"top");
var _52=_51.clientHeight,_53=_51.clientWidth,_54=Math.min(_4f.left+_4f.width,_4e.left+_4e.width),_55=Math.max(_4f.left,_4e.left),_56=(_54+_55)/2-_4e.left;
var res={top:-(_52-4),left:_56-_53/2};
return res;
}};
wpModules.util.Positioning.registerHandler(_48);
})();
(function(){
var _57={name:"verticallyCenteredRightHand",nodeHandler:function(_58,_59,_5a,_5b,_5c){
var pos={};
pos.top=Math.max(_5a.top+(_5a.height-_59.height)/2,_5c);
pos.top=Math.min(pos.top,_58.height-_59.height-_5c);
if(_5b){
pos.left=Math.min(_5a.left+_5a.width,_58.width-_59.width-_5c);
}else{
pos.left=Math.max(_5a.left-_59.width,_5c);
}
return pos;
},pointerHandler:function(_5d,_5e,_5f,_60){
var _61=_5f.height,_62=_61/2+6,_63=Math.min(_5e.top+_5e.height,_5d.top+_5d.height-_62),_64=Math.max(_5e.top,_5d.top+_62),_65=_5d.left-_60.offsetWidth,_66=_5d.right+_60.offsetWidth,_67=_5e.left>_65,_68=_5e.left<=_65,_69=_65<=_5e.right,_6a=_65>_5e.right,_6b=_66<=_5e.left,_6c=_66>_5e.right,_6d=_66<=_5e.right;
i$.removeClass(_60,"right");
i$.removeClass(_60,"left");
if(_63-_64>=0){
if((_67&&_6c)||(_68&&_6d)){
}else{
if((_67&&_6d)||(_67&&_6b)){
i$.addClass(_60,"right");
}else{
if((_69&&_6c)||(_6a&&_6c)){
i$.addClass(_60,"left");
}
}
}
}
return {top:(_64+_63-_61)/2-_5d.top};
}};
wpModules.util.Positioning.registerHandler(_57);
})();


}catch(e){console.log("Module 'wp_dialog_util': ",e);}
try{(function(_1){
"use strict";
var _2="name",_3="id",_4="content",_5="meta",_6="x-ready",_7="ready",_8=_1["wpModules"],_9=_8["photon"]["dom"],_a=_8["modules"],_b=_a["create"],_c=_a["partial"],_d=_9["createElement"],_e=_9["removeElement"],_f=_9["getData"],_10=_1["Object"].prototype.toString;
function _11(_12){
var _13="[object String]"===_12;
return _13;
};
function _14(_15){
var _16=_10.call(_15);
return _16;
};
function _17(_18,aId){
return _18.getElementById(aId);
};
function _19(_1a,aId){
var _1b=_14(aId),_1c;
if(_11(_1b)){
_1c=aId;
}else{
_1c=_f(_7,aId);
}
return _1c;
};
function _1d(_1e,_1f,aId){
var id=_19(_1f,aId),_20=_1e.getItem(id),_21;
if(_20){
_1e.removeItem(id);
_21=_17(_1f,id);
if(_21){
_e(_21);
}
_21=_d(_5,_3,id,_2,_6,_4,_20);
_1f.head.appendChild(_21);
}
return _21;
};
function _22(_23){
var _24=_23.document,_25=_23.sessionStorage,_26=_c(_1d,_25,_24);
return {"addReady":_26};
};
return _b("wpModules.toolbar.common",_22);
}(window));


}catch(e){console.log("Module 'wp_toolbar_common': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-U69, (C) Copyright IBM Corp. 2009, 2010 - All Rights reserved.  **/
(function(){var _1={};var _2=[];var _3=1;var _4={};_4.register=function(_5){var id=_6();_1[id]=_5;_2.push(_5);return id;};_4.deregister=function(_7){_1[_7]=null;_2=[];};_4.notify=function(_8,_9,_a){var _b=_c();var i=0;var _d=_b.length;if(!_a){_a={type:"AJAX"};}var _e=function(){if(i<_d){var _f=_b[i];i++;if(_f){_f(_8,_e,_a);}else{_e();}}};_e();if(_9){_9();}};_4.isActive=function(){return _2.length>0;};var _6=function(){return _3++;};var _c=function(){if(!_2||_2.length<=0){for(var _10 in _1){if(_1.hasOwnProperty(_10)){_2.push(_10);}}}return _2;};if(typeof (com)=="undefined"){com={};}if(typeof (com.ibm)=="undefined"){com.ibm={};}if(typeof (com.ibm.portal)=="undefined"){com.ibm.portal={};}if(typeof (com.ibm.portal.analytics)=="undefined"){com.ibm.portal.analytics={};}com.ibm.portal.analytics.SiteAnalyticsMediator=_4;com.ibm.portal.analytics.getSiteAnalyticsMediator=function(){return _4;};})();(function(){var _11=function(e){if(_12()){var _13=ibmCfg.portalConfig.currentPageOID;_14(null,null,{type:"PAGE",id:_13});var _15=_16();if(_15&&_15.length>0){for(var i=0;i<_15.length;++i){var _17=_15[i];var _18={};_18.type="PORTLET";_18.id=_19(_17);_1a(_17,_18.id);_14([_17],null,_18);}}}};var _14=function(_1b,_1c,_1d){com.ibm.portal.analytics.SiteAnalyticsMediator.notify(_1b,_1c,_1d);};var _12=function(){return com.ibm.portal.analytics.SiteAnalyticsMediator.isActive();};var _16=function(){var _1e=document.getElementById("layoutContainers");return _1f("div","component-control",_1e);};var _19=function(_20){var _21=_20.className,id=null;if(_21){var _22=_21.split(" ");for(var i=0,l=_22.length;i<l;++i){var cls=_22[i],_23=cls.indexOf("id-");if(_23>=0){id=cls.substring(_23+3);break;}}}return id;};var _1a=function(_24,_25){var _26=_24.className&&_24.className.indexOf("asa.portlet.selected")>=0;if(_26){var _27=document.getElementById("asa.portlet."+_25);if(_27){var _28=document.createElement("span");_28.className="asa.portlet.selected";_28.innerHTML="true";_27.appendChild(_28);}}};var _1f=function(_29,_2a,_2b){if(!_2b){_2b=document;}if(document.getElementsByClassName){return _2b.getElementsByClassName(_2a);}else{var _2c=[];_2a=_2a.toLowerCase();var _2d=_2b.getElementsByTagName(_29);if(_2d&&_2d.length>0){for(var i=0,l=_2d.length;i<l;i++){var e=_2d[i];if(e.className&&e.className.toLowerCase().indexOf(_2a)>=0){_2c.push(e);}}}return _2c;}};var _2e=i$.addOnLoad;if(typeof wp_wcm_async!="undefined"){_2e=i$.scope(wp_wcm_async,wp_wcm_async.addOnPageLoad);}_2e(_11);})();

}catch(e){console.log("Module 'wp_analytics_aggregator': ",e);}
try{(function(_1){
var _2="[\\u00ad\\u0600-\\u0603\\u06dd\\u070f\\u17b4-\\u17b5\\u200b-\\u200f\\u202a-\\u202e\\u2060-\\u2064\\u206a-\\u206f\\ufeff\\ufff9-\\ufffb]|\\ud834[\\udd73-\\udd7a]|\\udb40[\\udc01\\udc20-\\udc7f]",_3="[\\u0000-\\u001f\\u007f-\\u009f]",_4="data-",_5="a11y-",_6=_5+"next",_7=_5+"prev",_8=_5+"first",_9=_5+"last",_a=_5+"up",_b=_5+"down",_c=_5+"title",_d=_5+"action",_e=[_8,_a,_7,_9,_b,_6],_f=5,_10=4,_11=3,_12=2,_13=1,_14=0,_15="ltr",_16=37,_17=39,_18=38,_19=40,_1a=36,_1b=35,_1c=13,_1d=32,_1e=33,_1f=34,_20=true,_21=false,_22=Number.POSITIVE_INFINITY,_23=Number.NEGATIVE_INFINITY,_24=function(_25,_26){
var _27=_26[_25]=_26[_25]||{};
return _27;
},_28=function(aId,_29){
var _2a=_29.ownerDocument.getElementById(aId);
return _2a;
},_2b=function(_2c){
var _2d=((_2c>=0)&&(_2c<=31))||((_2c>=127)&&(_2c<=159));
return _2d;
},_2e=function(_2f,_30){
var _31=_30.getAttribute(_4+_2f);
return _31;
},_32=function(_33,_34){
var _35=_2e(_33,_34),_36=null;
if(_35){
_36=_28(_35,_34);
if(_36===null){
_36=_32(_35,_34);
}
}
return _36;
},_37=function(_38,_39,_3a,_3b){
if(_38){
var id=_38.id,i=_3b.length;
if(!_3a.hasOwnProperty(id)){
_3a[id]=_39(_38);
while(i){
_37(_32(_3b[--i],_38),_39,_3a,_3b);
}
}
}
return _3a;
},_3c=function(_3d){
var _3e=_32(_c,_3d),_3f=_3e?_3c(_3e):(_3d.innerText||_3d.textContent);
return _3f;
},_40=function(_41){
var _42=_41||_3c;
return _42;
},_43=function(_44){
var _45=new RegExp("^(\\s|"+_2+"|"+_3+")*\\u"+("0000"+Number(_44).toString(16)).slice(-4)+".*","i");
return _45;
},_46=function(_47,_48,_49){
var _4a=_49(_48),_4b=_4a&&(_4a.length>0)&&_47.test(_4a);
return _4b;
},_4c=function(_4d,_4e){
var _4f=_37(_4d,_4e,{},_e);
return _4f;
},_50=function(_51,_52,_53){
var _54,_55=_43(_51);
_4c(_52,function(_56){
if(_46(_55,_56,_53)){
if(!_54){
_54=[];
}
_54.push(_56);
}
});
return _54;
},_57=function(_58){
var _59=_58.getBoundingClientRect();
return _59;
},_5a=function(_5b,_5c){
var _5d=(_5b.right>_5c.left)&&(_5b.left<_5c.right);
return _5d;
},_5e=function(_5f,_60){
var _61=(_5f.bottom>_60.top)&&(_5f.top<_60.bottom);
return _61;
},_62=function(_63,_64,_65){
var _66=(_63>=_64)&&(_63<=_65);
return _66;
},_67=function(_68){
var _69=null,_6a=_57(_68),_6b=_22;
_4c(_68,function(_6c){
var _6d=_57(_6c);
if(_62(_6d.top,_6a.bottom,_6b)&&_5a(_6d,_6a)){
_69=_6c;
_6b=_6d.top;
}
});
return _69;
},_6e=function(_6f){
var _70=null,_71=_57(_6f),_72=_71.top;
_4c(_6f,function(_73){
var _74=_57(_73),_75=_74.top;
if((_75<_72)&&_5a(_74,_71)){
_70=_73;
_72=_75;
}
});
return _70;
},_76=function(_77){
var _78=null,_79=_57(_77),_7a=_79.bottom;
_4c(_77,function(_7b){
var _7c=_57(_7b),_7d=_7c.bottom;
if((_7d>_7a)&&_5a(_7c,_79)){
_78=_7b;
_7a=_7d;
}
});
return _78;
},_7e=function(_7f){
var _80=null,_81=_57(_7f),_82=_22;
_4c(_7f,function(_83){
var _84=_57(_83);
if(_62(_84.left,_81.right,_82)&&_5e(_84,_81)){
_80=_83;
_82=_84.left;
}
});
return _80;
},_85=function(_86){
var _87=null,_88=_57(_86),_89=_23;
_4c(_86,function(_8a){
var _8b=_57(_8a);
if(_62(_8b.bottom,_89,_88.top)&&_5a(_8b,_88)){
_87=_8a;
_89=_8b.bottom;
}
});
return _87;
},_8c=function(_8d){
var _8e=null,_8f=_57(_8d),_90=_23;
_4c(_8d,function(_91){
var _92=_57(_91);
if(_62(_92.right,_90,_8f.left)&&_5e(_92,_8f)){
_8e=_91;
_90=_92.right;
}
});
return _8e;
},_93=function(_94){
var _95=_94?_94.dir:_15;
return _95;
},_96=function(_97){
var _98=_93(_97)||_96(_97.parentNode);
return _98;
},_99=function(_9a,_9b){
_9b.tabIndex=_9a;
return _9b;
},_9c=function(_9d){
var _9e=_99(0,_9d);
return _9e;
},_9f=function(_a0){
var _a1=_99(-1,_a0);
return _a1;
},_a2=function(_a3){
var _a4=_a3.tabIndex;
return _a4;
},_a5=function(_a6){
_9c(_a6).focus();
return _20;
},_a7=function(_a8){
if(_a8){
_4c(_a8,_9f);
return _a5(_a8);
}
return _21;
},_a9=function(_aa){
if(_aa){
_4c(_aa,_9f);
return _20;
}
return _21;
},_ab=function(_ac,_ad){
var _ae=_a7(_32(_e[_ac],_ad));
return _ae;
},_af=function(_b0){
var _b1=_ab(_f,_b0);
return _b1;
},_b2=function(_b3){
var _b4=_ab(_12,_b3);
return _b4;
},_b5=function(_b6){
var _b7=_ab(_14,_b6);
return _b7;
},_b8=function(_b9){
var _ba=_ab(_11,_b9);
return _ba;
},_bb=function(_bc){
var _bd=_ab(_13,_bc);
return _bd;
},_be=function(_bf){
var _c0=_ab(_10,_bf);
return _c0;
},_c1=function(_c2){
var _c3=_a7(_85(_c2));
return _c3;
},_c4=function(_c5){
var _c6=_a7(_67(_c5));
return _c6;
},_c7=function(_c8){
var _c9=_a7(_8c(_c8));
return _c9;
},_ca=function(_cb){
var _cc=_a7(_7e(_cb));
return _cc;
},_cd=function(_ce){
return _a7(_6e(_ce));
},_cf=function(_d0){
return _a7(_76(_d0));
},_d1=function(_d2){
var _d3=(_d2===_15)?_17:_16;
return _d3;
},_d4=function(_d5){
_d5.click();
return _20;
},_d6,_d7=function(_d8){
var doc=_d8.document,_d9=doc.body,_da=doc.createElement("div"),_db,_dc,_dd;
_da.style.cssText="border:1px solid;border-color:red green;position:absolute;height:5px;top:-999px;background-image:url(\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\");";
_d9.appendChild(_da);
try{
_db=doc.defaultView.getComputedStyle(_da,"");
}
catch(e){
_db=_da.currentStyle;
}
_dc=_db.backgroundImage;
_dd=((_db.borderTopColor===_db.borderRightColor)||(_dc!==null&&(_dc==="none"||_dc==="url(invalid-url:)")));
_d9.removeChild(_da);
return _dd;
},_de=function(_df){
return function(){
return _d7(_df);
};
},_e0=function(_e1){
var _e2=_e1.i$.onLoadPromise,_e3=_e2.then(_de(_e1)),_e4=function(_e5){
var _e6=_e5||_e1.event;
return _e6;
},_e7=function(_e8,_e9,_ea,_eb){
if(!_eb.altKey&&!_eb.ctrlKey&&!_2b(_e8)){
var _ec=_50(_e8,_e9,_ea),_ed,i,len;
if(_ec){
len=_ec.length;
i=0;
while(i<len){
_ed=_ec[i++];
if(_a2(_ed)<0){
return _a7(_ed);
}
}
return _a7(_ed);
}
}
return _21;
},_ee=function(_ef,_f0,_f1){
var _f2=_e4(_f0),_f3=_e7(_f2.keyCode,_ef,_40(_f1),_f2);
return _f3;
},_f4=function(_f5,_f6){
var _f7=_e4(_f6),_f8;
switch(_f7.keyCode){
case _18:
_f8=_c1(_f5);
break;
case _19:
_f8=_c4(_f5);
break;
case _17:
_f8=_ca(_f5);
break;
case _16:
_f8=_c7(_f5);
break;
case _1a:
_f8=_b5(_f5);
break;
case _1b:
_f8=_b8(_f5);
break;
case _1e:
return _cd(_f5);
case _1f:
return _cf(_f5);
default:
_f8=_21;
}
return _f8;
},_f9=function(_fa,_fb){
var _fc=_e4(_fb),_fd=_96(_fa),_fe=_d1(_fd),_ff=(_16+_17-_fe),_100;
switch(_fc.keyCode){
case _18:
_100=_bb(_fa);
break;
case _19:
_100=_be(_fa);
break;
case _fe:
_100=_af(_fa);
break;
case _ff:
_100=_b2(_fa);
break;
case _1a:
_100=_b5(_fa);
break;
case _1b:
_100=_b8(_fa);
break;
default:
_100=_21;
}
return _100;
},_101=function(_102,_103,_104){
var _105=_e4(_103),_106=_105.keyCode,_107;
switch(_106){
case _1c:
_107=_21;
break;
case _1d:
_107=_d4(_102);
break;
default:
return _f9(_102,_105)||_e7(_106,_102,_40(_104),_105);
}
return _107;
};
return {navigateSequence:_f9,navigateMenu:_101,navigateGrid:_f4,setFocus:_a7,clearFocus:_a9,setFocusFromKey:_ee,forEachNode:_4c,clone:_d6,highContrastMode:_e3};
};
_d6=function(_108){
var _109=_24("wpModules",_108),_10a=_109.a11y=_109.a11y||_e0(_108);
return _10a;
};
return _d6(_1);
}(window));


}catch(e){console.log("Module 'wp_a11y': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved.  **/
(function(_1){
var _2=wpModules.util.dialog;
function _3(e,_4){
e=e||_4.event;
e.stopPropagation&&e.stopPropagation();
e.preventDefault&&e.preventDefault();
e.cancelBubble=true;
e.cancel=true;
e.returnValue=false;
return false;
};
function _5(_6,_7){
var _8=_2.scroll(_7),_9=_6||_7.event;
return {left:_9.clientX+_8.left,top:_9.clientY+_8.top};
};
function _a(p){
var _b=p.window||_b,_c=_2.viewPort(_b.document),_d=p.element,_e=p.handle||_d,_f=i$.mash({top:0,left:0,width:_c.width,height:_c.height,margin:0},p.area),_10=false,_11=false,_12=false,_13,mmb,mub,mdb;
function _14(_15){
if(!_12&&_11&&!_10){
_12=true;
p.startCallback&&p.startCallback(_15,_d);
_13=_5(_15,_b);
var _16=_2.simpleBox(_d);
mmb=i$.bindDomEvt(_b.document,"mousemove",function(_17){
if(_12&&!_10){
var pos=_5(_17,_b),_18=_2.scroll(_b);
pos.left+=_16.left+_18.left-_13.left;
pos.top+=_16.top+_18.top+-_13.top;
pos.left=Math.min(Math.max(_f.left+_18.left+_f.margin,pos.left),_f.left+_18.left+_f.width-_16.width-_f.margin);
pos.top=Math.min(Math.max(_f.top+_18.top+_f.margin,pos.top),_f.top+_18.top+_f.height-_16.height-_f.margin);
_2.setMetrics(_d,pos);
p.moveCallback&&p.moveCallback(pos,_d);
return _3(_17,_b);
}
});
mub=i$.bindDomEvt(_b.document,"mouseup",function(_19){
_1a();
return _3(_19,_b);
});
return _3(_15,_b);
}
};
function _1a(){
if(_12&&!_10){
i$.unbindDomEvt(mmb);
i$.unbindDomEvt(mub);
_13=null;
p.endCallback&&p.endCallback(_d);
_12=false;
}
};
this.dispose=function(){
if(!_10){
this.StopListening(true);
_d=null;
_e=null;
p.startCallback=null;
p.moveCallback=null;
p.endCallback=null;
_10=true;
}
};
this.StartListening=function(){
if(!_11&&!_10){
_11=true;
mdb=i$.bindDomEvt(_e,"mousedown",_14);
}
};
this.StopListening=function(_1b){
if(_11&&!_10){
i$.unbindDomEvt(mdb);
_11=false;
_1b&&_12&&_1a();
}
};
this.isDragging=function(){
return _12;
};
this.isListening=function(){
return _11;
};
this.isDisposed=function(){
return _10;
};
this.StartListening();
};
i$.toPath("wpModules.util.Draggable",_a);
})(window);


}catch(e){console.log("Module 'wp_dialog_draggable': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved.  **/
if(!i$.fromPath("wpModules.dialog.Dialog")){
var _T="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
i$.addListener("wpModules/dialog/closeAll",function(_1){
var _2=i$.fromPath("wpModules.dialog.DialogStorage.openDialogs",false,top);
if(_2&&_2.length>0){
i$.forEach(_2,function(_3){
if(!_1||_3.prm[_1]){
_3.close();
}
});
}
});
i$.toPath("wpModules.dialog.Dialog",function(_4,_5){
var _6=i$.fromPath("wpModules.dialog.DialogStorage",false,_4.top);
if(!_6){
_6=i$.toPath("wpModules.dialog.DialogStorage",{openDialogs:[]},_4.top);
}
var _7=_6.openDialogs,_8=wpModules.util.dialog;
function _9(_a,_b){
i$.each(_b,function(v,k){
_a=_a.replace(new RegExp("\\${"+k+"}","g"),v);
});
return _a;
};
function _c(_d,_e){
var s="data-attach-point";
var _f=function(el){
if(el.getAttribute&&el.getAttribute(s)){
_e[el.getAttribute(s)]=el;
}
if(el.hasChildNodes()){
i$.each(el.childNodes,function(val){
_f(val);
});
}
};
_f(_d);
};
function _10(){
return Math.round(Math.random()*1000000000)+"";
};
function _11(p,_12,box){
wpModules.util.Positioning.handle({name:p.posHandler,targetWindow:p.window,targetBox:box,node:_12,refNode:p.autoPosition,maxOverLay:p.maxOverlay,viewMargin:p.viewMargin});
};
function _13(_14){
return _14.window.document.getElementById(_14.id+"-iframe");
};
var _15=i$.augment((function(_16){
this._init(_16);
}),{_init:function(_17){
var doc=_17.window.document,div=doc.createElement("div"),_18=_17.parent,_19=this._overlayNode=_17.displayCloseOverlay?doc.createElement("div"):null,_1a=this.rootNode=doc.createElement("div"),_1b=[140,30];
if(_17.templateStyle=="flat"){
_1b=[300,200];
}
this.defaultWidth=_1b[0];
this.defaultHeight=_1b[1];
if(_19){
var os=_19.style;
os.display="block";
os.height="100%";
os.top="0px";
os.position="fixed";
os.backgroundColor="#000";
os.opacity="0.4";
os.filter="Alpha(opacity=40)";
os.left="0";
os.width="100%";
os.zIndex=_17.z_index-1;
if(!_17.modal){
os.opacity="0";
os.filter="Alpha(opacity=0)";
}
}
this.tabOut=_17.tabOut;
this.modal=_17.modal;
this.window=_17.window;
var _1c={title:_17.title||"",itemClose:_17.itemClose,z_index:_17.z_index,id:_17.id};
if(_17.templateStyle=="help"&&_17.learnMoreURL){
_1c.learnMore=_17.learnMore;
_1c.learnMoreURL=_17.learnMoreURL;
_1c.learnMoreParam=_17.learnMoreParam;
}
var s=[""],_1d=typeof _17.padding,_1e=_17.padding;
if(_1e&&_1d==="object"){
s.push("padding:",_1e[0],"px ",_1e[1],"px ",_1e[2],"px ",_1e[3],"px;");
}else{
if(_1d!=="number"){
_1e=15;
}
s.push("padding:",_1e,"px;");
}
_1c.contentStyle=s.join("");
div.innerHTML=_9(_17.template,_1c);
_c(div,this);
this.domNode=div.firstChild;
this.id=this.domNode.id=_17.id;
_18.insertBefore(_1a,_18.firstChild);
_19&&_1a.appendChild(_19);
_1a.appendChild(this.domNode);
if(!_17.autoPosition){
this._hidePointer();
}
},_hidePointer:function(){
this.domNode.lastChild.style.display="none";
},_showPointer:function(){
this.domNode.lastChild.style.display="inline";
},show:function(){
this.domNode.style.display="block";
},hide:function(){
this.domNode.style.display="none";
}});
return i$.augment((function(_1f){
this.blankImgSrc=_T;
this.z_index=_7.length===0?1000:_7[_7.length-1].z_index+500;
var _20=_1f.title||_1f.displayDialogHeader;
var _21={startDialog:"<div class=\"wpthemeDialog\" style=\"display:none;position:absolute;z-index:${z_index};\" role=\"dialog\" "+(_1f.title?"aria-labelledby=\"${id}-title\"":(_1f.description?"aria-label=\""+_1f.description+"\"":(_1f.labelledby?"aria-labelledby=\""+_1f.labelledby+"\"":"aria-label=\"dialog\"")))+">",endDialog:"</div>",dialogContent:"<div id=\"${id}-firstFocus\" tabIndex=\"0\"></div>"+"<div class=\"wpthemeDialogContent\" style=\"${contentStyle}\">"+"<div class=\"wpthemeDialogContentBody\">"+"<div>"+"<div class=\"west\" style=\"display:none;\" data-attach-point=\"westContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"westContent\"></div>"+"</div>"+"<div class=\"central\" style=\"height:auto; width:auto; max-height:5000px; position:relative\" data-attach-point=\"centralContent\"></div>"+"<div class=\"east\" style=\"display:none;\" data-attach-point=\"eastContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"eastContent\"></div>"+"</div>"+"</div>"+"<div class=\"south\" style=\"display:none;\" data-attach-point=\"southContent\"></div>"+"</div>"+"</div>"+"<div id=\"${id}-lastFocus\" tabIndex=\"0\"></div>"};
var prm=this.prm=i$.mash({id:_10(),window:_4,parent:_1f.window?_1f.window.document.body:_4.document.body,posHandler:"verticallyCenteredRightHand",displayCloseOverlay:true,maxOverlay:0.5,viewMargin:15,autoResize:false,autoClose:!_1f.modal,modal:false,tabOut:false,helpTemplate:_21.startDialog+"<div class=\"wpthemeDialogPopup\" data-attach-point=\"dialogNode\">"+"<a class=\"wpthemeDialogPopupClose\" href=\"javascript:void(0);\" data-attach-point=\"closeButtonNode\" title=\"${itemClose}\" role=\"button\">"+"<img alt=\"${itemClose}\" src=\""+this.blankImgSrc+"\" aria-label=\"${itemClose}\"/><span class=\"dialogAltText\" title=\"${itemClose}\">X</span>"+"</a>"+"<div id=\"${id}-firstFocus\" tabIndex=\"0\"></div>"+"<div class=\"wpthemeDialogPopupContent\">"+"<div class=\"wpthemeDialogPopupContentArea\">"+"<div class=\"west\" style=\"display:none;\" data-attach-point=\"westContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"westContent\"></div>"+"</div>"+"<div class=\"central\" style=\"height:auto; width:auto; max-height:5000px; position:relative\" data-attach-point=\"centralContent\"></div>"+"<div class=\"east\" style=\"display:none;\" data-attach-point=\"eastContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"eastContent\"></div>"+"</div>"+"</div>"+"<div class=\"south\" style=\"display:none;\" data-attach-point=\"southContent\"></div>"+"</div>"+((_1f.learnMore&&_1f.learnMore.url)?"<div class=\"wpthemeDialogPopupFooter\">"+"<a href=\"javascript:void(0);\" class=\"wpthemeDialogLearnLink\" onclick=\"window.open('${learnMoreURL}', '', 'location=no,menubar=no,scrollbars=yes,status=no,toolbar=no${learnMoreParam}', false);\">${learnMore}</a>"+"</div>":"")+"<div id=\"${id}-lastFocus\" tabIndex=\"0\"></div>"+"</div>"+"<div class=\"dialogPointer pointer\" style=\"top:50%;display:none\"/>"+_21.endDialog,defaultTemplate:_21.startDialog+"<div class=\"wpthemeDialogBorder\">"+"<div class=\"dialogContainer\" data-attach-point=\"dialogNode\">"+(_20?"<div id=\"${id}-header\" class=\"dialogHeader\" data-attach-point=\"dialogHeaderNode\" style=\"position:relative;\">"+(_1f.title?"<h1 id=\"${id}-title\" class=\"dialogHeaderText\" data-attach-point=\"titleNode\">${title}</h1>":"")+"<a href=\"javascript:void(0);\" data-attach-point=\"closeButtonNode\" class=\"dialogClose\" title=\"${itemClose}\">"+"<img src=\""+this.blankImgSrc+"\" alt=\"\" aria-label=\"${itemClose}\" />"+"<span class=\"dialogAltText\" title=\"${itemClose}\">X</span>"+"</a>"+"</div>":"")+_21.dialogContent+"</div>"+"</div>"+"<div class=\"dialogPointer pointer\" style=\"top: 50%;\"/>"+_21.endDialog,flatTemplate:_21.startDialog+"<div>"+"<div data-attach-point=\"dialogNode\">"+_21.dialogContent+"</div>"+"</div>"+"<div class=\"dialogPointer pointer\" style=\"top: 50%;display:none\"/>"+_21.endDialog},_1f);
if(!prm.template){
var ts=prm.templateStyle;
if(ts){
if(ts=="help"){
prm.template=prm.helpTemplate;
if(typeof _1f.autoResize==="undefined"){
prm.autoResize=true;
}
if(typeof _1f.autoClose==="undefined"){
prm.autoClose=true;
}
if(typeof _1f.modal==="undefined"){
prm.modal=false;
}
if(typeof _1f.window==="undefined"){
prm.window=_4.top;
prm.parent=prm.window.document.body;
}
if(typeof _1f.displayCloseOverlay==="undefined"){
prm.displayCloseOverlay=true;
}
}else{
if(ts=="flat"){
prm.template=prm.flatTemplate;
if(typeof _1f.padding==="undefined"){
prm.padding=0;
}
}
}
}
if(!prm.template){
prm.template=prm.defaultTemplate;
}
}
var _22={};
if(prm.templateStyle=="help"&&_1f.learnMore&&_1f.learnMore.url){
_22.learnMore=wpModules.dialog.nls["LINK_LEARN_MORE"];
_22.learnMoreURL=_1f.learnMore.url;
var w=800,h=800;
if(_1f.learnMore.width){
w=_1f.learnMore.width;
}
if(_1f.learnMore.height){
h=_1f.learnMore.height;
}
_22.learnMoreParam=",width="+w+",height="+h;
}
this.openerWindow=_4;
this.widget=new _15(i$.mash({id:prm.id,window:prm.window,parent:prm.parent,displayCloseOverlay:prm.displayCloseOverlay,title:prm.title,autoPosition:prm.autoPosition,modal:prm.modal,tabOut:prm.tabOut,itemClose:wpModules.dialog.nls["CLOSE_0"],template:prm.template,templateStyle:prm.templateStyle,padding:prm.padding,z_index:this.z_index},_22));
i$.bindDomEvt(this.widget.domNode,"onkeydown",i$.scope(this,function(e){
if(!e){
var e=_4.event;
}
if(e.keyCode===9){
var t=e.target||e.srcElement;
if(t.nodeType===3){
t=t.parentNode;
}
var f1=e.shiftKey?"-firstFocus":"-lastFocus",f2=e.shiftKey?"-lastFocus":"-firstFocus";
var w=this.widget,pn=this.prm.autoPosition;
if(w.tabOut&&w.id+f1==t.getAttribute("id")){
this._close();
if(pn){
pn.focus();
}
}else{
if(w.id+f1===t.getAttribute("id")){
w.window.document.getElementById(this.widget.id+f2).focus();
}
}
}else{
if(e.keyCode===27){
this._close(e);
}
}
}));
var cb=this.widget.closeButtonNode;
cb&&i$.bindDomEvt(cb,"onclick",i$.scope(this,"_close"));
if(prm.autoClose&&this.widget._overlayNode){
i$.bindDomEvt(this.widget._overlayNode,"onclick",i$.scope(this,"_close"));
}
prm.markup&&this._setMarkup(prm.markup);
_7.push(this);
}),{open:function(){
var w=this.widget,p=this.prm,wd=w.domNode,m=p.metrics,tb=p.targetBox={},doc=p.window.document,_23=_8.viewPort(doc);
if(p.url){
var f=_13(w);
if(f){
f.src=p.url;
}else{
w.centralContent.innerHTML=_9("<div class=\"dialogLoading\" style=\"display:block;position:absolute;left:50%;top:50%;margin-top:-8px;margin-left:-8px;\" id=\"${id}-progressLoading\">"+"<img style=\"display:inline-block\" width=\"16\" height=\"16\" src=\"${blank}\" ${border} alt=\"${loading}\"/>"+"</div>"+"<div id=\"${id}-sizing\" style=\"width:100%;height:0px;\"></div>"+"<iframe style=\"display:block;${visibility}\" title=\"${title}\" name=\"${id}-iframe\" id=\"${id}-iframe\" frameborder=\"0\" src=\"${url}\" allowTransparency=\"true\"></iframe>",{id:w.id,url:i$.isIE<9?"":p.url,title:p.title||p.description||"dialog contents",blank:this.blankImgSrc,loading:wpModules.dialog.nls["LOADING_0"],border:i$.isIE<9?"border='0'":"",visibility:i$.isIE<9?"visibility:hidden;":"opacity:0;filter:Alpha(opacity=0)"});
f=_13(w);
if(i$.isIE<9){
f.src=p.url;
this._initCallbacksOnloadIE();
this._ieRefreshListener=i$.addListener("wpModules/dialog/Dialog/ieRefresh",i$.scope(this,this._handleIeRefreshEvent));
}else{
f.onload=i$.scope(this,this._initCallbacks);
}
}
if(i$.isChrome){
f.setAttribute("scrolling","auto");
}else{
f.setAttribute("scrolling","no");
}
}
w.show();
if(w.dialogHeaderNode){
var _24=_8.simpleBox(w.dialogHeaderNode).width;
if(_24&&_24>w.defaultWidth){
w.defaultWidth=_24;
}
}
var _25=_23.width-2*p.viewMargin+2;
if(m){
if(!p.autoPosition){
m.top&&(tb.top=m.top);
m.left&&(tb.left=m.left);
}
m.width&&(tb.width=m.width);
m.height&&(tb.height=m.height);
if(m.width){
if(p.url){
var _26=_13(w),_27=_8.simpleBox(wd),_28=_8.simpleBox(doc.getElementById(w.id+"-sizing")),_29=_27.width-_28.width;
_25-=_29;
_8.setMetrics(_26,{width:Math.min(m.width,_25)});
}else{
_8.setMetrics(wd,{width:Math.min(m.width,_25)});
}
}
}else{
if(p.url){
_8.setMetrics(_13(w),{width:Math.min(w.defaultWidth,_25),height:w.defaultHeight});
}
}
_11(p,wd,tb);
this._positionChangeListener=wpModules.util.Positioning.addPositionChangeListener({node:p.autoPosition,targetWindow:p.window,callbackFn:function(){
_11(p,wd,tb);
}});
if(!p.url){
this.inlineKeyDownEvt=i$.bindDomEvt(doc.body,"onkeydown",i$.scope(this,function(e){
if(e.keyCode===27){
this._close(e);
}
}));
p.window.setTimeout(function(){
if(i$.isFF){
var di=p.window.document.createElement("input");
wd.appendChild(di);
di.focus();
wd.removeChild(di);
}else{
p.window.focus();
}
p.setFocusFn?p.setFocusFn(p.window):wd.focus();
if(p.templateStyle=="help"){
w.centralContent.tabIndex=-1;
w.centralContent.focus();
}
},100);
}
setTimeout(function(){
var _2a=doc.createElement("div"),_2b;
_2a.className="wpThemeDialogHighContrastTestNode";
wd.appendChild(_2a);
try{
_2b=doc.defaultView.getComputedStyle(_2a,"");
}
catch(e){
_2b=_2a.currentStyle;
}
var _2c=_2b.backgroundImage;
if((_2b.borderTopColor==_2b.borderRightColor)||(_2c!=null&&(_2c=="none"||_2c=="url(invalid-url:)"))){
i$.addClass(wd,"wpthemeDialogImagesOff");
}
wd.removeChild(_2a);
},10);
return false;
},_initCallbacks:function(){
var w=this.widget,p=this.prm,f=_13(w);
if(!f){
return;
}
var _2d=i$.scope(this,function(){
var fw=f.contentWindow,_2e=null;
try{
_2e=fw.contentDocument||fw.document;
fw.onunload=function(){
p.onUnloadCallbackFn&&p.onUnloadCallbackFn(_2e,fw);
};
}
catch(e){
}
var _2f=i$.scope(this,function(){
fw=f.contentWindow;
try{
if(!fw.resize){
fw.resize=i$.scope(this,"resize");
}
fw.setTimeout(i$.scope(this,function(){
this.onLoadFrame();
}),0);
}
catch(e){
this.onLoadFrame();
}
finally{
p.onLoadCallbackFn&&p.onLoadCallbackFn(_2e,fw);
}
});
try{
f.onload=_2f;
fw.closeDialog=f.onCloseModalDialog=i$.scope(this,"close");
}
catch(e){
}
_2f();
});
_2d();
},_initCallbacksOnloadIE:function(){
var _30=this;
var w=this.widget;
var p=this.prm;
var f=_13(w);
var fn=function(i){
p.window.setTimeout(function(){
if((f.contentDocument&&f.contentDocument.readyState&&f.contentDocument.readyState==="complete")||(f.readyState&&f.readyState==="complete")){
_30._initCallbacks();
}else{
if(i<300){
fn(i+1);
}
}
},200+10);
};
fn(0);
},_handleIeRefreshEvent:function(_31){
var w=this.widget;
var f=_13(w);
var cw=f.contentWindow;
if(_31==cw){
this._initCallbacksOnloadIE();
}
},onLoadFrame:function(_32){
var w=this.widget,wd=w.domNode,p=this.prm,_33=p.targetBox,_34=p.autoResize,_35=_8.viewPort(p.window.document),_36=_13(w),bs=wd.style;
if(!_36){
return;
}
_36.setAttribute("scrolling","no");
bs.maxWidth="none";
bs.maxHeight="none";
bs.minWidth="0";
bs.minHeight="0";
var _37=p.window.document.getElementById(w.id+"-progressLoading");
if(_37){
_37.style.display="none";
}
var cs=w.centralContent.style,fs=_36.style;
cs.paddingBottom="0px";
cs.marginBottom="0px";
if(i$.isIE<9){
fs.visibility="visible";
}else{
fs.opacity="100";
fs.filter="Alpha(opacity=100)";
}
var fw=_36.contentWindow,_38=_33.width,_39=_33.height||w.defaultHeight,_3a=null,fde=null,_3b=null,_3c=false;
if(!_38){
_38=w.defaultWidth;
_3c=true;
}
try{
_3a=fw.contentDocument||fw.document;
fde=_3a.documentElement;
_3b=_3a.body;
if(_3b){
var _3d=_8.simpleBox(_3b);
_8.setMetrics(_36,{width:((_38>_3d.width)?_38:_3d.width),height:_3d.height});
if(i$.isWebKit){
_3b.style.overflow="auto";
}
_3b.style.height="auto";
var _3e=i$.scope(this,function(e){
if(e.keyCode===27){
this._close(e);
}
});
if(i$.isFF){
i$.bindDomEvt(fde,"onkeydown",_3e);
}else{
i$.bindDomEvt(_3b,"onkeydown",_3e);
}
_38=Math.max(_3b.scrollWidth,fde.scrollWidth,_3b.offsetWidth,fde.offsetWidth,fde.clientWidth);
_8.setMetrics(_36,{width:_38});
if(w.eastContentCell.style.display!="none"||w.westContentCell.style.display!="none"){
var _3f=_8.simpleBox(_3b),_40=_8.simpleBox(fde);
_39=Math.max(_3d.height,_3f.height,_40.height,_3b.scrollHeight,fde.scrollHeight,_3b.offsetHeight,fde.offsetHeight,fde.clientHeight);
}else{
_39=Math.max(_3b.scrollHeight,fde.scrollHeight,_3b.offsetHeight,fde.offsetHeight,fde.clientHeight);
}
_38=Math.max(_3b.scrollWidth,fde.scrollWidth,_3b.offsetWidth,fde.offsetWidth,fde.clientWidth);
}else{
return;
}
}
catch(e){
}
var _41=_8.simpleBox(wd),_42=_8.simpleBox(_36),_43=_8.simpleBox(p.window.document.getElementById(w.id+"-sizing")),_44=_8.simpleBox(w.eastContent),_45=_8.simpleBox(w.westContent),_46=(_3c&&_43.width==w.defaultWidth)?0:_41.width-_43.width,_47=_41.height-_42.height,_48=_35.width-2*p.viewMargin-_46+2,_49=_35.height-2*p.viewMargin-_47+2,_4a=_33.height||(_34?_39:_35.height/3),_4b=_33.width||(_34?_38:_35.width/3);
_4a=Math.max(_4a,_44.height,_45.height);
_38=Math.min(_4b,_48);
_39=Math.min(_4a,_49);
_8.setMetrics(wd,{top:0,left:0});
if(i$.isIE&&_34){
_38++;
_39++;
}
_8.setMetrics(_36,{width:_38,height:_39});
if(_3b&&_34&&!_33.width){
if(fde&&i$.isFF){
var _4c=fde.scrollWidth-fde.clientWidth;
if(_4c>0){
_8.setMetrics(_36,{width:_38+=_4c});
}
}
if(_3b&&_4a>_49){
var _4d=Math.max(_3b.scrollWidth,fde.scrollWidth),_4e=Math.max(_3b.clientWidth,fde.clientWidth);
if(_4e<_4d){
var _4f=_4d-_4e;
if(_38+_4f<=_48){
_38+=_4f;
_8.setMetrics(_36,{width:_38});
}
}
}
}
if(_3b&&p.templateStyle!="help"){
_3b.style.height="100%";
}
_11(p,wd,{top:p.targetBox.top,left:p.targetBox.left,width:_38+_46,height:_39+_47});
_36.setAttribute("scrolling","auto");
if(!(_32&&_32.resize)){
p.window.setTimeout(function(){
p.setFocusFn?p.setFocusFn(fw):_36.focus();
},100);
}
},resize:function(_50){
var tb=this.prm.targetBox;
if(_50){
if(_50.width){
tb.width=_50.width;
}
if(_50.height){
tb.height=_50.height;
}
}
if(this.prm.url){
this.onLoadFrame({resize:true});
}
},_setMarkup:function(_51){
i$.forIn((i$.isString(_51)||i$.isNode(_51))?{"centralContent":_51}:_51,i$.scope(this,function(m,r){
var _52=this.widget[r],_53=this.widget[r+"Cell"];
if(_52){
if(m){
if(i$.isNode(m)){
_52.appendChild(m);
}else{
if(i$.isString(m)){
_52.innerHTML=m;
}
}
if(_53){
_53.style.display="";
}
_52.style.display="";
}else{
while(_52.hasChildNodes()){
_52.removeChild(_52.firstChild);
}
if(_53){
_53.style.display="none";
}
_52.style.display="none";
}
}
}));
},set:function(_54){
var prm=this.prm,_55=1,_56={"metrics":_55,"viewMargin":_55,"autoPosition":_55,"url":_55,"markup":i$.scope(this,"_setMarkup"),"title":i$.scope(this,function(_57){
prm.title=_57;
var t=this.widget.titleNode;
t&&(t.innerHTML=_57);
}),"description":_55};
i$.forIn(_54,function(v,n){
if(_56[n]===_55){
prm[n]=v;
}else{
if(i$.isFunction(_56[n])){
_56[n](v);
}
}
});
if(_54.url){
if(i$.isIE<9&&this._ieRefreshListener){
i$.removeListener(this._ieRefreshListener);
this._ieRefreshListener=null;
}
this.open();
}else{
if(_54.metrics){
this.resize(_54.metrics);
}
}
},_close:function(evt){
if(evt&&i$.isIE<=10){
evt.preventDefault&&evt.preventDefault();
evt.returnValue=false;
}
if(evt&&i$.isFF){
try{
evt.preventDefault();
}
catch(x){
evt.returnValue=false;
}
}
this.close({_terminated:true});
},close:function(_58){
var w=this.widget,r=w.rootNode,p=this.prm,_59=_13(w),fw=_59&&_59.contentWindow,_5a=false;
if(_58&&_58._terminated){
_5a=true;
_58=_5;
}
try{
if(fw&&fw.onbeforeunload){
var buv=fw.onbeforeunload();
if(buv===false||(buv&&buv!==true&&!confirm(buv))){
return;
}
}
}
catch(e){
}
try{
if(_5a&&fw&&fw.onTerminateDialog){
fw.onTerminateDialog();
}
}
catch(e){
if(e instanceof DOMException){
console.log("Could not invoke onTerminateDialog handler. Probably the dialog frame is cross-origin.");
}else{
throw e;
}
}
for(var da=_7,i=da.length;i>0;i--){
if(da[i-1].widget.id===w.id){
da.splice(i-1,1);
}else{
if(fw&&fw===da[i-1].openerWindow){
da[i-1].close();
}
}
}
if(this._positionChangeListener){
this._positionChangeListener.stop();
delete this._positionChangeListener;
}
if(this.inlineKeyDownEvt){
i$.unbindDomEvt(this.inlineKeyDownEvt);
}
if(this.openerWindow){
this.openerWindow.focus();
}
w.hide();
if(_59&&i$.isIE){
_59.src="about:blank";
}
for(var da=_7,i=da.length;i>0;i--){
if(da[i-1].widget.id===w.id){
da.splice(i-1,1);
break;
}
}
p.callbackFn&&p.callbackFn(_58);
r&&r.parentNode&&r.parentNode.removeChild(r);
if(i$.isIE<9){
i$.removeListener(this._ieRefreshListener);
}
}});
}(window));
}
if(!i$.fromPath("wpModules.dialog.confirm")){
wpModules.dialog.confirm=function(){
var _5b="OK",_5c="YES",_5d="NO",_5e="CANCEL",_5f="ABORT",_60="RETRY",_61="IGNORE",_62="TRY",_63="CONTINUE",_64="EXCLAMATION",_65="WARNING",_66="INFORMATION",_67="ASTERISK",_68="STOP",_69="ERROR";
return i$.mash(function(_6a){
var _6b=i$.fromPath,_6c=new i$.Promise(),nls=wpModules.dialog.nls,_6d={"<":"&lt;",">":"&gt;","&":"&amp;","\"":"&quot;","'":"&apos;"},_6e=function(){
return _6b("wpModules.dialog.confirm",true,top)._instance;
},_6f=function(dlg){
_6b("wpModules.dialog.confirm",true,top)._instance=dlg;
},_70=function(s){
return s.replace(/[<>&"']/g,function(ch){
return _6d[ch];
});
},_71=function(_72){
return nls["BUTTON_"+_72];
},_73=function(_74){
var id=i$.isString(_74)?_74:_66;
return nls["ICON_"+id];
},_75=function(_76,idx){
var _77=(_6a.buttonLabels?_6a.buttonLabels[_76]:_71(_76));
return "<input id='btn_"+_76+"' type='submit' tabindex='0' class='wpthemeDialogBtn' onclick='top.wpModules.dialog.confirm._instance.close(this.name);' name='"+_70(_76)+"' value='"+_70(_77)+"' />";
},_78=function(_79){
var b=(i$.isArray(_79)?_79:(i$.isString(_79)?[_79]:[(_5b),(_5e)])),_7a="",idx=0;
i$.each(b,function(_7b){
_7a+=_75(_7b);
});
return _7a;
},_7c=_6e(),_7d=i$.merge({autoClose:false,modal:true,setFocusFn:function(arg){
var _7e=arg.document.getElementById(this.focusControl?"btn_"+this.focusControl:"btn_"+_5d);
if(_7e){
_7e.focus();
}
},callbackFn:function(arg){
_6f(_7c);
var _7f=i$.isString(arg)?arg:_5e;
_6c.resolve({button:_7f});
},markup:"<table class='"+(_6a.rootClass?_6a.rootClass:"")+"' border='0' cellspacing='0' cellpadding='0' role='presentation'><tr>"+(_6a.icon?"<td><img src='"+_T+"' class='msgIcon "+_73(_6a.icon)+"' alt=''></td>":"")+"<td class='msgBody'>"+(_6a.markup||_70(_6a.message))+"</td></tr><tr>"+"<td colspan='2' class='wpthemeDialogFooter'><form action='#' onsubmit='return false;'>"+_78(_6a.buttons)+"</form></td></tr></table>"},i$.merge(_6a,{displayCloseOverlay:true,autoResize:true,draggable:true})),dlg=new wpModules.dialog.Dialog(_7d);
_6f(dlg);
dlg.open();
return _6c;
},{ICON:{EXCLAMATION:_64,WARNING:_65,INFORMATION:_66,ASTERISK:_67,STOP:_68,ERROR:_69},BUTTONS:{OK:_5b,YES:_5c,NO:_5d,CANCEL:_5e,ABORT:_5f,RETRY:_60,IGNORE:_61,TRY:_62,CONTINUE:_63,ABORTRETRYIGNORE:[_5f,_60,_61],CANCELTRYCONTINUE:[_5e,_62,_63],OKCANCEL:[_5b,_5e],RETRYCANCEL:[_60,_5e],YESNO:[_5c,_5d],NOYES:[_5d,_5c],YESNOCANCEL:[_5c,_5d,_5e]}});
}();
}


}catch(e){console.log("Module 'wp_dialog_main': ",e);}
try{(function(_1){
var _2=_1,_3=i$.fromPath,_4="wpModules.theme.WindowUtils",_5=_4+".baseURL",_6=_5+".Promise."+Math.random(),_7="wpViewFrameContainer",_8="wpthemeMaster",_9="wpToolbarPrimaryFrameContainer",_a="wpToolbarSecondaryFrameContainer",_b=[_7,_8,_9,_a],_c=i$.createDom,_d=new i$.Promise(),_e=function(id){
if(id){
if(id==_7){
return _f(_7)||_10(_7)||top;
}else{
if(id==_8){
var _11=_e(_7);
return _11.parent||_11;
}else{
if(id==_9){
return _f(_9)||_10(_9);
}else{
if(id==_a){
return _f(_a)||_10(_a);
}else{
if(_12(_2)==id){
return _2;
}else{
for(var i=0,l=_b.length;i<l;i++){
var w=_e(_b[i]);
if(w&&_12(w)==id){
return w;
}
}
return null;
}
}
}
}
}
}else{
return _2;
}
},_f=function(id){
try{
var f=_13(top,id+"-iframe");
return f?f.window:null;
}
catch(e){
return null;
}
},_10=function(id){
try{
var w=_2,fID=id+"-iframe";
f=_13(w,fID);
while(!f&&w&&w!==top){
w=w.parent;
f=_13(w,fID);
}
return f?f.window:null;
}
catch(e){
return null;
}
},_13=function(w,id){
if(w){
var fs=w.frames;
if(fs){
return fs[id];
}
}
return null;
},_12=function(w){
return _3("ibmCfg.portalConfig.currentPageOID",false,w);
},_14=function(){
var ids=[],add=function(id){
if(id&&ids.indexOf(id)<0){
ids.push(id);
}
};
for(var i=0,l=_b.length;i<l;i++){
var w=_e(_b[i]);
if(w){
add(_12(w));
}
}
return ids;
},_15=function(win){
var id=_5,doc=win.document,_16=doc.getElementById(id);
if(!_16){
var _17=doc.getElementsByTagName("head")[0],_16=_c("link",{"id":id,"rel":"alternate","href":"#"},_17);
}
var _18=_16.href;
var _19=_18.indexOf("#");
if(_19>0){
_18=_18.substr(0,_19);
}
_18=_18.replace("%24project","$project");
return _18;
},_1a=function(win){
var _1b=_3(_4,false,win),doc=win.document,url;
if(null!=_1b){
return _1b.baseURL;
}
_1b=win[_6];
if(null!=_1b){
return _1b;
}
_1b=new i$.Promise();
win[_6]=_1b;
if(doc.readyState==="loading"){
doc.addEventListener("DOMContentLoaded",function(){
url=_15(win);
_1b.resolve(url);
});
}else{
url=_15(win);
_1b.resolve(url);
}
return _1b;
};
i$.toPath(_4,{VIEW_AREA:_7,MASTER:_8,getWindow:function(id){
return _e(id);
},getBaseURL:function(win){
return _15(win);
},getPageIDs:function(){
return _14();
},findBaseURL:_1a,baseURL:_d});
})(window);


}catch(e){console.log("Module 'wp_theme_utils': ",e);}
try{//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated.  All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

function ControlVersion() {
	var version;
	var axo;
	var e;

	// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry

	try {
		// version will be set for 7.X or greater players
		axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
		version = axo.GetVariable("$version");
	} catch (e) {
	}

	if (!version) {
		try {
			// version will be set for 6.X players only
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");

			// installed player is some revision of 6.0
			// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
			// so we have to be careful.

			// default to the first public version
			version = "WIN 6,0,21,0";

			// throws if AllowScripAccess does not exist (introduced in 6.0r47)
			axo.AllowScriptAccess = "always";

			// safe to call for 6.0r47 or greater
			version = axo.GetVariable("$version");

		} catch (e) {
		}
	}

	if (!version) {
		try {
			// version will be set for 4.X or 5.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = axo.GetVariable("$version");
		} catch (e) {
		}
	}

	if (!version) {
		try {
			// version will be set for 3.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = "WIN 3,0,18,0";
		} catch (e) {
		}
	}

	if (!version) {
		try {
			// version will be set for 2.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
			version = "WIN 2,0,0,11";
		} catch (e) {
			version = -1;
		}
	}

	return version;
}

// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer() {
	// NS/Opera version >= 3 check for Flash plugin in plugin array
	var flashVer = -1;

	if (navigator.plugins != null && navigator.plugins.length > 0) {
		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
			var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
			var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
			var descArray = flashDescription.split(" ");
			var tempArrayMajor = descArray[2].split(".");
			var versionMajor = tempArrayMajor[0];
			var versionMinor = tempArrayMajor[1];
			var versionRevision = descArray[3];
			if (versionRevision == "") {
				versionRevision = descArray[4];
			}
			if (versionRevision[0] == "d") {
				versionRevision = versionRevision.substring(1);
			} else if (versionRevision[0] == "r") {
				versionRevision = versionRevision.substring(1);
				if (versionRevision.indexOf("d") > 0) {
					versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
				}
			}
			var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
		}
	}
	// MSN/WebTV 2.6 supports Flash 4
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1){
		flashVer = 4;
	}
	// WebTV 2.5 supports Flash 3
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1){
		flashVer = 3;
	}
	// older WebTV supports Flash 2
	else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1){
		flashVer = 2;
	}
	else if (isIE && isWin && !isOpera) {
		flashVer = ControlVersion();
	}
	return flashVer;
}

// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) {
	versionStr = GetSwfVer();
	if (versionStr == -1) {
		return false;
	} else if (versionStr != 0) {
		if (isIE && isWin && !isOpera) {
			// Given "WIN 2,0,0,11"
			tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"]
			tempString = tempArray[1]; // "2,0,0,11"
			versionArray = tempString.split(","); // ['2', '0', '0', '11']
		} else {
			versionArray = versionStr.split(".");
		}
		var versionMajor = versionArray[0];
		var versionMinor = versionArray[1];
		var versionRevision = versionArray[2];

		// is the major.revision >= requested major.revision AND the minor version >= requested minor
		if (versionMajor > parseFloat(reqMajorVer)) {
			return true;
		} else if (versionMajor == parseFloat(reqMajorVer)) {
			if (versionMinor > parseFloat(reqMinorVer)){
				return true;
			}
			else if (versionMinor == parseFloat(reqMinorVer)) {
				if (versionRevision >= parseFloat(reqRevision)){
					return true;
				}
			}
		}
		return false;
	}
}

function AC_AddExtension(src, ext) {
	if (src.indexOf('?') != -1){
		return src.replace(/\?/, ext + '?');
	}
	else{
		return src + ext;
	}
}

function AC_Generateobj(objAttrs, params, embedAttrs) {
	var str = '';
	if (isIE && isWin && !isOpera) {
		str += '<object ';
		for ( var i in objAttrs) {
			str += i + '="' + objAttrs[i] + '" ';
		}
		str += '>';
		for ( var i in params) {
			str += '<param name="' + i + '" value="' + params[i] + '" /> ';
		}
		str += '</object>';
	} else {
		str += '<embed ';
		for ( var i in embedAttrs) {
			str += i + '="' + embedAttrs[i] + '" ';
		}
		str += '> </embed>';
	}
	return str;
}

function AC_FL_RunContent() {
	var ret = AC_GetArgs(arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000", "application/x-shockwave-flash");
	return AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_SW_RunContent() {
	var ret = AC_GetArgs(arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000", null);
	AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType) {
	var ret = new Object();
	ret.embedAttrs = new Object();
	ret.params = new Object();
	ret.objAttrs = new Object();
	for (var i = 0; i < args.length; i = i + 2) {
		var currArg = args[i].toLowerCase();

		switch (currArg) {
		case "classid":
			break;
		case "pluginspage":
			ret.embedAttrs[args[i]] = args[i + 1];
			break;
		case "src":
		case "movie":
			args[i + 1] = AC_AddExtension(args[i + 1], ext);
			ret.embedAttrs["src"] = args[i + 1];
			ret.params[srcParamName] = args[i + 1];
			break;
		case "onafterupdate":
		case "onbeforeupdate":
		case "onblur":
		case "oncellchange":
		case "onclick":
		case "ondblclick":
		case "ondrag":
		case "ondragend":
		case "ondragenter":
		case "ondragleave":
		case "ondragover":
		case "ondrop":
		case "onfinish":
		case "onfocus":
		case "onhelp":
		case "onmousedown":
		case "onmouseup":
		case "onmouseover":
		case "onmousemove":
		case "onmouseout":
		case "onkeypress":
		case "onkeydown":
		case "onkeyup":
		case "onload":
		case "onlosecapture":
		case "onpropertychange":
		case "onreadystatechange":
		case "onrowsdelete":
		case "onrowenter":
		case "onrowexit":
		case "onrowsinserted":
		case "onstart":
		case "onscroll":
		case "onbeforeeditfocus":
		case "onactivate":
		case "onbeforedeactivate":
		case "ondeactivate":
		case "type":
		case "codebase":
		case "id":
			ret.objAttrs[args[i]] = args[i + 1];
			break;
		case "width":
		case "height":
		case "align":
		case "vspace":
		case "hspace":
		case "class":
		case "title":
		case "accesskey":
		case "name":
		case "tabindex":
			ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i + 1];
			break;
		default:
			ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i + 1];
		}
	}
	ret.objAttrs["classid"] = classid;
	if (mimeType){
		ret.embedAttrs["type"] = mimeType;
	}
	return ret;
}

}catch(e){console.log("Module 'getting_started_module': ",e);}
try{/***************************************************************************************************
 * Dynamic Ajax Content- Dynamic Drive DHTML code library (www.dynamicdrive.com) This notice MUST
 * stay intact for legal use Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source
 * code
 **************************************************************************************************/
// bust potential caching of external pages after initial request? (1=yes, 0=no)
var bustcachevar = 0;
var loadedobjects = "";
var rootdomain = "http://" + window.location.hostname;
var bustcacheparameter = "";

function ajaxpage(url, containerid) {
	var page_request = false;
	if (window.XMLHttpRequest) {
		// if Mozilla, Safari etc
		page_request = new XMLHttpRequest();
	} else if (window.ActiveXObject) {
		// if IE
		try {
			page_request = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				page_request = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e) {
			}
		}
	} else {
		return false;
	}
	page_request.onreadystatechange = function() {
		loadpage(page_request, containerid);
	}
	if (bustcachevar) {
		// if bust caching of external page
		bustcacheparameter = (url.indexOf("?") != -1) ? "&" + new Date().getTime() : "?"
				+ new Date().getTime();
	}
	page_request.open('GET', url + bustcacheparameter, true);
	page_request.send(null);
}

function loadpage(page_request, containerid) {
	if (page_request.readyState == 4
			&& (page_request.status == 200 || window.location.href.indexOf("http") == -1)) {
		document.getElementById(containerid).innerHTML = page_request.responseText;
		var docScripts = document.getElementById(containerid).getElementsByTagName("script");
		for (j = 0; j < docScripts.length; j++) {
			if (docScripts[j].src.length > 0) {
				loadobjs(docScripts[j].src);
			}
		}
		EMA.resetColRight();
	}
}

function loadobjs() {
	if (!document.getElementById) {
		return;
	}
	for (i = 0; i < arguments.length; i++) {
		var file = arguments[i];
		var fileref = "";
		if (loadedobjects.indexOf(file) == -1) {
			// Check to see if this object has not already been added to page
			// before proceeding
			if (file.indexOf(".js") != -1) {
				// If object is a js file
				fileref = document.createElement('script');
				fileref.setAttribute("type", "text/javascript");
				fileref.setAttribute("src", file);
			} else if (file.indexOf(".css") != -1) {
				// If object is a css file
				fileref = document.createElement("link");
				fileref.setAttribute("rel", "stylesheet");
				fileref.setAttribute("type", "text/css");
				fileref.setAttribute("href", file);
			}
		}
		if (fileref != "") {
			document.getElementsByTagName("head").item(0).appendChild(fileref);
			loadedobjects += file + " ";
			// Remember this object as being already added to page
		}
	}
}
}catch(e){console.log("Module 'getting_started_module': ",e);}
try{/*****************************
 * chambre.js - START 
 *****************************/
/* utils */
function addOnloadEvent(fct) {
	var oldonload = window.onload;
	if (typeof window.onload != 'function') {
		window.onload = fct;
	} else {
		window.onload = function() {
			oldonload();
			fct();
		}
	}
}

/**
 * Open link in new window function
 */
function showNewWindow(url, param) {
    if (param == null)
        param = 'resizable=yes,scrollbars=yes,menubar=no,toolbar=yes,status=no,width=800px,height=600px,screenX=10px,screenY=10px,top=10px,left=10px';
    var newWindow = window.open(url, 'SitePublicNewWindow', param);
    newWindow.focus();
    return  false;
}

/**
 * Get an array of element with the given tag name in the given element or the whole document if element is not provided
 * 
 * @param elemType
 * @param o
 * @returns {Array}
 */
function $t(elemType, o) {
	if (!o){
		o = document;
	}
	var list2return = new Array();

	if (o.getElementsByTagName) {
		list2return = o.getElementsByTagName(elemType);
	}
	return list2return;
}

/**
 * Get an array of element of the given type with the given css class
 * 
 * @param elemType element tag name to find
 * @param cssClass css class name to match
 * @param o the element to search
 * @returns {Array} of element of the given type with the given css class
 */
function $c(elemType, cssClass, o) {
	if (!o){
		o = document;
	}
	var list2return = new Array();
	if (o.getElementsByTagName) {
		var listLcl = o.getElementsByTagName(elemType);
		for (var i = 0; i < listLcl.length; i++) {
			if (listLcl[i].className.indexOf(cssClass + " ") > -1
					|| listLcl[i].className.indexOf(" " + cssClass) > -1
					|| listLcl[i].className == cssClass)
				list2return.push(listLcl[i]);
		}
	}
	return list2return;
}

/**
 * Get an array of element with the given tag name with the given name attribute in the given element
 * 
 * @param elemType The element tag name to find 
 * @param objectName The name attribute value to find
 * @param o The element to search in
 * @returns {Array}
 */
function $n(elemType, objectName, o) {
	if (!o){
		o = document;
	}
	var list2return = new Array();
	if (o.getElementsByTagName) {
		var listLcl = o.getElementsByTagName(elemType);
		for (var i = 0; i < listLcl.length; i++) {
			if (listLcl[i].name == objectName){
				list2return.push(listLcl[i]);
			}
		}
	}
	return list2return;
}

/* utils */
var EMA = new Object();

EMA.expandShortcuts = function() {
	try {
		document.getElementById("shortcuts").className = "";
		document.getElementById("title").onclick = EMA.hideShortcuts;
	} catch (ex) {
	}
	EMA.resetColRight();
}

EMA.hideShortcuts = function() {
	try {
		document.getElementById("shortcuts").className = "compressed";
		document.getElementById("title").onclick = EMA.expandShortcuts;
	} catch (ex) {
	}
	EMA.resetColRight();
}

EMA.resetColRight = function() {
	try {
		document.getElementById("colRight").style.paddingTop = (document.getElementById("shortcuts").offsetHeight - 28) + "px";
	} catch (ex) {
		document.getElementById("colRight").style.paddingTop = "10px";
	}
}

/* swfTtl */
function _to_utf8(s) {
	var c, d = "";
	for (var i = 0; i < s.length; i++) {
		if (s.charAt(i) == "\u20AC") {
			if (navigator.userAgent.indexOf("Mozilla") == -1) {
				d += "euro";
				continue;
			} else {
				return s;
			}
		}
		c = s.charCodeAt(i);
		if (c <= 0x7f) {
			d += s.charAt(i);
		} else if (c >= 0x80 && c <= 0x7ff) {
			d += String.fromCharCode(((c >> 6) & 0x1f) | 0xc0);
			d += String.fromCharCode((c & 0x3f) | 0x80);
		} else {
			d += String.fromCharCode((c >> 12) | 0xe0);
			d += String.fromCharCode(((c >> 6) & 0x3f) | 0x80);
			d += String.fromCharCode((c & 0x3f) | 0x80);
		}
	}
	return d;
}

EMA.urlEncode = function(str) {
	while (str.indexOf(" ") == 0){
		str = str.replace(" ", "");
	}
	str = str.replace(/&/g, "%26");
	str = str.replace(/ /g, "%20");
	str = str.replace(/"/g, "%22");

	// En décommentant cette ligne, les caractères accentués sont mal affichés
	// if(navigator.appVersion.indexOf("MSIE")==-1)str = _to_utf8(str);
	return str;
}

EMA.swfTtl = function(tagName, decayX, decayY) {
	if (!window.swfTtlPath) {
		swfTtlPath = "images/CHD/content/";
	}

	if (navigator.userAgent.indexOf("Safari") > -1) {
		return false;
	}
	var swfTrg = $t(tagName, document.getElementById("middle"));
	for (var i = 0; i < swfTrg.length; i++) {
		if (swfTrg[i].className == "swfReplace") {

			var lclText = document.createElement("DIV");
			lclText.innerHTML = swfTrg[i].innerHTML;
			lclText.style.fontSize = "1px";
			lclText.style.opacity = 0;

			var str = EMA.urlEncode(swfTrg[i].innerHTML);

			swfTrg[i].innerHTML = AC_FL_RunContent(
					'codebase',
					'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
					'width', swfTrg[i].offsetWidth, 'height', swfTrg[i].offsetHeight, 'src',
					swfTtlPath + 'swfTtl?typeText=' + tagName + '&txt=' + str + '&decayX=' + decayX
							+ '&decayY=' + decayY, 'movie', swfTtlPath + 'swfTtl?typeText='
							+ tagName + '&txt=' + str + '&decayX=' + decayX + '&decayY=' + decayY,
					'quality', 'high', 'pluginspage',
					'http://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play',
					'false', 'loop', 'false', 'scale', 'noscale', 'wmode', 'transparent',
					'devicefont', 'false', 'id', 'swfTtl', 'bgcolor', '#FFFFFF', 'name', 'swfTtl',
					'menu', 'false', 'allowFullScreen', 'false', 'allowScriptAccess', 'sameDomain',
					'salign', '');

			swfTrg[i].appendChild(lclText);

			lclText.style.position = "absolute";
			lclText.style.filter = "Alpha(Opacity = 0);";

			swfTrg[i].style.visibility = "visible";
		}
	}
}
if (navigator.userAgent.indexOf("Safari") == -1) {
	document.write('<style type="text/css">.swfReplace{visibility:hidden;}</style>');
}

/* items */

EMA.setBoxExpand = function(allBoxes) {
	for (var i = 0; i < allBoxes.length; i++) {
		var ttl = $t("h2", allBoxes[i])[0];
		try {
			ttl.style.cursor = "pointer";
		} catch (ex) {
			ttl.style.cursor = "hand";
		}
		ttl.onclick = function() {
			if (this.parentNode.id.indexOf("expandbox_") > -1) {
				openCloseNavMenu(this.parentNode.id.substring('expandbox_'.length));
			} else if (this.parentNode.className.indexOf("closed") > -1) {
				this.parentNode.className = this.parentNode.className.replace(/ closed/g, "")
						.replace(/closed /g, "").replace(/closed/g, "");
			} else {
				this.parentNode.className += " closed";
			}
		}
	}
}

EMA.initBoxExpand = function() {
	EMA.setBoxExpand($c("div", "boxExpand", document.getElementById("middle")));
	EMA.setBoxExpand($c("div", "boxExpandNumbers", document.getElementById("middle")));
	EMA.setBoxExpand($c("div", "boxExpandTitleAndLinks", document.getElementById("middle")));
}

EMA.initBoxGlossaire = function() {
	var allGloss = $c("div", "boxGlossaire", document.getElementById("middle"));
	for (var j = 0; j < allGloss.length; j++) {
		var allBoxes = $c("li", "word", allGloss[j]);
		for (var i = 0; i < allBoxes.length; i++) {
			var ttl = $t("h3", allBoxes[i])[0];
			try {
				ttl.style.cursor = "pointer";
			} catch (ex) {
				ttl.style.cursor = "hand";
			}
			ttl.onclick = function() {
				if (this.parentNode.className.indexOf("closed") > -1) {
					this.parentNode.className = this.parentNode.className.replace(/ closed/g, "")
							.replace(/closed /g, "").replace(/closed/g, "");
				} else {
					this.parentNode.className += " closed";
				}
			}
		}
	}
}

EMA.moveContent = function(arr, trg) {
	for (var i = 0; i < arr.length; i++) {
		trg.appendChild(arr[i]);
	}
}

EMA.initContentType2 = function() {
	EMA.moveContent($c("div", "contentType1Items", document.getElementById("contentType1")), document.getElementById("contentType2"));
	EMA.moveContent($c("div", "contentType3Items", document.getElementById("contentType1")), document.getElementById("colRight"));
}

EMA.IE6bugFix = function() {
	var IE6bf = $c("span", "IE6bugFix");
	var isIE6 = navigator.appVersion.indexOf("MSIE 6") > -1;
	if (isIE6) {
		for (var i = 0; i < IE6bf.length; i++) {
			IE6bf[i].style.display = "none";
			IE6bf[i].innerHTML = "<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>";
		}
	} else {
		for (var i = 0; i < IE6bf.length; i++) {
			IE6bf[i].style.display = "none";
		}
	}
}

/* CED calendar */
function CalYear() {
	this.CalDaysArray = [ 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi', 'Dimanche' ];
	this.CalMonthArray = [ 'Janvier', 'F&eacute;vrier', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet',
			'Ao&ucirc;t', 'Septembre', 'Octobre', 'Novembre', 'D&eacute;cembre' ];
	this.SelectedDates = '$';
	this.setYear = function(val) {
		this.CalYearVal = val;
		this.init();
	};
	this.getYear = function() {
		return this.CalYearVal;
	};
	this.setMonth = function(month) {
		this.CalMonthVal = month;
	};
	this.getMonth = function() {
		return this.CalMonthVal;
	};
	this.setDay = function(day) {
		this.CalDayVal = day;
	};
	this.getDay = function() {
		return this.CalDayVal;
	};

	this.getDate = function() {
		return this.getYear() + '|' + this.getMonth() + '|' + this.getDay();
	};

	this.init = function() {
		this.CalMonth = [ 31, this.CalYearVal % 4 == 0 ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31,
				30, 31 ];
		this.GetCalDaysCount = function() {
			var days = 0;
			for (var i = 0; i < this.CalMonth.length; i++)
				days += this.CalMonth[i];
			return days;
		}
	};

	this.getYearFirstDay = function() {
		// 01-01-2000 = 5
		var firstDayIs = 5;
		if (this.CalYearVal > 2000) {
			for (var i = 2000; i < this.CalYearVal; i++) {
				firstDayIs++;
				if (i % 4 == 0)
					firstDayIs++;
				firstDayIs %= 7;
			}
		} else if (this.CalYearVal < 2000) {
			for (var i = 1999; i >= this.CalYearVal; i--) {
				firstDayIs--;
				if (i % 4 == 0)
					firstDayIs--;
				if (firstDayIs < 0)
					firstDayIs = 7 + firstDayIs;
			}
		}
		return firstDayIs;
	}

	this.addSelectedDate = function(day, month, year) {
		this.SelectedDates += year + '|' + month + '|' + day + '$';
	};
}

function CEDCalendar(val, o, calName) {
	this.instanceName = val;
	this.HTMLcontainer = o;
	o.innerHTML = '';
	this.HTMLtarget = document.createElement('div');
	this.HTMLhelper = document.createElement('div');
	this.HTMLhelper.style.position = 'absolute';
	this.HTMLhelper.style.visibility = 'hidden';
	o.appendChild(this.HTMLtarget);
	o.appendChild(this.HTMLhelper);

	this.DesignTemplate = function() {
		var SWr = '<table border=0 cellpadding=0 cellspacing=0 class="CEDcal">';
		SWr += '<tr><td colspan=7 class="CEDcalYear">'
				+ '<div style="float:left;">&#160;<span class="CEDcalNextPrev" onclick="'
				+ this.instanceName
				+ '.writeNextMonth(-12);">&#171;</span> <span class="CEDcalNextPrev" onclick="'
				+ this.instanceName + '.writeNextMonth(12);">&#187;</span> &#160;<span onClick="'
				+ this.instanceName + '.jumpToYear(this);">' + this.getYear()
				+ '</span> &#160; </div>'
				+ '<div style="float:right;"><span class="CEDcalMonth" onClick="'
				+ this.instanceName + '.jumpToMonth(this);">'
				+ this.CalMonthArray[this.getMonth() - 1]
				+ '</span>&#160; <span class="CEDcalNextPrev" onclick="' + this.instanceName
				+ '.writeNextMonth(-1);">&#171;</span> <span class="CEDcalNextPrev" onclick="'
				+ this.instanceName + '.writeNextMonth(1);">&#187;</span>&#160;</div>'
				+ '</td></tr>';
		SWr += '<tr>';
		for (var i = 0; i < 7; i++)
			SWr += '<td class="CEDcalDayLabel">' + this.CalDaysArray[i].substr(0, 1) + '</td>';
		SWr += '</tr>';
		var dayI = this.getYearFirstDay();
		for (var i = 0; i < this.getMonth() - 1; i++) {
			dayI += this.CalMonth[i];
		}
		dayI = 1 - dayI % 7;

		for (var j = 0; dayI < this.CalMonth[this.getMonth() - 1] + 1; j++) {
			SWr += '<tr>';
			for (var i = 0; i < 7; i++) {
				if (dayI >= 1 && dayI <= this.CalMonth[this.getMonth() - 1]) {
					SWr += '<td class="'
							+ (this.getDay() == dayI ? 'CEDcalBorderSelected ' : '')
							+ ''
							+ (this.SelectedDates.indexOf('$' + this.getYear() + '|'
									+ this.getMonth() + '|' + dayI + '$') != -1 ? 'CEDcalDaySelected '
									: '') + '' + (i == 6 ? 'CEDcalDaySunday' : 'CEDcalDay')
							+ '" id="CEDCalDay_' + this.getYear() + '|' + this.getMonth() + '|'
							+ dayI + '" thisReferrer="' + this.instanceName + '" thisDate="'
							+ this.getYear() + '|' + this.getMonth() + '|' + dayI
							+ '" onMouseOver="' + this.instanceName
							+ '.DayMouseOver(this);" onMouseOut="' + this.instanceName
							+ '.DayMouseOut(this);" onMouseMove="' + this.instanceName
							+ '.DayMouseMove(this);" onClick="' + this.instanceName
							+ '.DayClick(this);">' + dayI + '</td>';
				} else {
					SWr += '<td class="' + (i == 6 ? 'CEDcalDaySunday' : 'CEDcalDay')
							+ '">&#160;</td>';
				}
				dayI++;
			}
			SWr += '</tr>';
		}
		SWr += '</table>';
		return SWr;
	}

	this.getPosInCalendar = function(o) {
		var Point = new Object();
		Point.x = 0;
		Point.y = 0;
		while (o && o != this.HTMLcontainer) {
			Point.x += o.offsetLeft;
			Point.y += o.offsetTop;
			o = o.offsetParent;
		}
		return Point;
	}

	this.jumpToYear = function(o) {
		var SWr = '<table border=0 cellpadding=0 cellspacing=0 class="CEDcal">';
		for (var i = this.getYear() - 5; i <= this.getYear() + 5; i++) {
			SWr += '<tr><td class="CEDcalHelper" onClick="'
					+ this.instanceName
					+ '.setYear('
					+ i
					+ ');'
					+ this.instanceName
					+ '.writeCalendar();'
					+ this.instanceName
					+ '.HTMLhelper.style.visibility = \'hidden\';" onMouseOver="this.className=\'CEDcalHelperOver\';" onMouseOut="this.className=\'CEDcalHelper\';">'
					+ (i == this.getYear() ? '<b>' : '') + i + (i == this.getYear() ? '</b>' : '')
					+ '</td></tr>';
		}
		SWr += '</table>';
		this.HTMLhelper.innerHTML = SWr;
		var Point = this.getPosInCalendar(o);
		this.HTMLhelper.style.top = Point.y - 1 + "px";
		this.HTMLhelper.style.left = Point.x - 5 + "px";
		this.HTMLhelper.style.visibility = 'visible';
	}

	this.jumpToMonth = function(o) {
		var SWr = '<table border=0 cellpadding=0 cellspacing=0 class="CEDcal">';
		for (var i = 0; i < this.CalMonthArray.length; i++) {
			SWr += '<tr><td class="CEDcalHelper" onClick="'
					+ this.instanceName
					+ '.setMonth('
					+ (i + 1)
					+ ');'
					+ this.instanceName
					+ '.writeCalendar();'
					+ this.instanceName
					+ '.HTMLhelper.style.visibility = \'hidden\';" onMouseOver="this.className=\'CEDcalHelperOver\';" onMouseOut="this.className=\'CEDcalHelper\';">'
					+ ((i + 1) == this.getMonth() ? '<b>' : '') + this.CalMonthArray[i]
					+ ((i + 1) == this.getMonth() ? '</b>' : '') + '</td></tr>';
		}
		SWr += '</table>';
		this.HTMLhelper.innerHTML = SWr;
		var Point = this.getPosInCalendar(o);
		this.HTMLhelper.style.top = Point.y - 1 + "px";
		this.HTMLhelper.style.left = Point.x - 5 + "px";
		this.HTMLhelper.style.visibility = 'visible';
	}

	this.writeNextMonth = function(val) {
		if (this.getMonth() + val > 12) {
			this.setYear(this.getYear() + Math.floor((this.getMonth() - 1 + val) / 12));
			this.setMonth(((this.getMonth() - 1 + val) % 12) + 1);
		} else if (this.getMonth() + val <= 0) {
			var tmpVal = this.getMonth() + val;
			while (tmpVal <= 0) {
				tmpVal += 12;
				this.setYear(this.getYear() - 1);
			}
			this.setMonth(tmpVal);
		} else
			this.setMonth(this.getMonth() + val);
		this.writeCalendar();
	}

	this.writeCalendar = function(day, month, year) {
		if (!this.getYear()) {
			this.setYear(year);
			this.setMonth(month);
			this.setDay(day);
		}
		this.HTMLtarget.innerHTML = this.DesignTemplate();
	}

	this.DayMouseOver = function(o) {
		o.className = o.className + '_over';
	}
	this.DayMouseOut = function(o) {
		o.className = o.className.substr(0, o.className.indexOf('_over'));
	}
	this.DayMouseMove = function(o) {
	}
	this.DayClick = function(o) {
		var tmplcl = o.getAttribute('thisDate').split('|');
		this.setDay(parseInt(tmplcl[2]));
		this.writeCalendar();
		document.getElementById("calendar" + calName).style.display = "none";
		try {
			document.getElementById("date" + calName + "Day").value = this.getDay();
		} catch (e) {
			alert("unable to find 'dateDay' field");
		}
		try {
			document.getElementById("date" + calName + "Month").value = this.getMonth();
		} catch (e) {
			alert("unable to find 'dateMonth' field");
		}
		try {
			document.getElementById("date" + calName + "Year").value = this.getYear();
		} catch (e) {
			alert("unable to find 'dateYear' field");
		}
		try {
			eval(document.getElementById("calendar" + calName).getAttribute("onchange"));
		} catch (e) {
			alert("calendar 'onchange' function is undefined");
		}
	}

}
CEDCalendar.prototype = new CalYear;

var myCalendar;
function setCalendar(dd, mm, yyyy, calName) {
	var tmpDate = new Date();
	dd = dd ? dd : tmpDate.getDate();
	mm = mm ? mm : tmpDate.getMonth() + 1;
	yyyy = yyyy ? yyyy : tmpDate.getFullYear();
	myCalendar = new CEDCalendar('myCalendar', document.getElementById('calendar' + calName), calName);
	myCalendar.writeCalendar(dd, mm, yyyy);
}
function showCalendar(calName) {
	document.getElementById("calendar" + calName).style.display = "block";
	setCalendar(parseInt(document.getElementById("date" + calName + "Day").value),
			parseInt(document.getElementById("date" + calName + "Month").value),
			parseInt(document.getElementById("date" + calName + "Year").value), calName);
}

EMA.setTimeline = function() {
	try {
		var TClcl = $c("div", "timeline_content")[0].childNodes;
		for (var i = 0; i < TClcl.length; i++) {
			if (TClcl[i].tagName == "A") {
				TClcl[i].onmousedown = function() {
					this.parentNode.className = "timeline_content " + this.className;
					this.blur();
				}
			}
		}
	} catch (ex) {
	}
}

openCloseNavMenu = function(menuId) {

	// open/close left navigation menu
	var divid = 'navLeft_' + menuId;

	if (menuId.indexOf("_") == -1){
		// First hide all opened ul with id in navLeft except the ul with id=menuId
		var navLeftElem = document.getElementById("navLeft");
		var allUls = navLeftElem.getElementsByTagName("ul");
		for (var i = 0; i < allUls.length; i++) {
			if (allUls[i].id != divid && allUls[i].id.indexOf("navLeft_") > -1) {
				allUls[i].style.display = 'none';
			}
		}
	}

	// Then show the hidden ul or hide it if opened
	var ulElem = document.getElementById(divid);
	if (ulElem != null) {
		if (ulElem.style.display == 'block') {
			ulElem.style.display = 'none';
		} else if (ulElem.style.display == ''
				&& ulElem.parentNode.className.indexOf("selected") > -1) {
			ulElem.style.display = 'none';
		} else {
			ulElem.style.display = 'block';
		}
	}

	// open/close "sommaire" boxes
	var divid = 'expandbox_' + menuId;

	// First close all div with class expandBox except the div with id=menuId
	var allDivs = $c("div", "boxExpand", document.getElementById("middle"));
	for (var i = 0; i < allDivs.length; i++) {
		if (allDivs[i].id != divid && allDivs[i].className.indexOf("closed") < 0
				&& allDivs[i].id.indexOf("expandbox_") > -1) {
			allDivs[i].className += " closed";
		}
	}
	// Then close the box if open or open it if closed
	var ulToClose = document.getElementById(divid);
	if (ulToClose != null) {
		if (ulToClose.className.indexOf("closed") > -1) {
			ulToClose.className = ulToClose.className.replace(/ closed/g, "").replace(/closed /g, "").replace(/closed/g, "");
		} else {
			ulToClose.className += " closed";
		}
	}
	return false;
}

/* onload */
addOnloadEvent(function() {
	EMA.swfTtl("h1", -2, -6);
	EMA.initBoxExpand();
	EMA.initBoxGlossaire();
	try {
		EMA.initContentType2();
	} catch (ex) {
	}
	// EMA.resetColRight();
	EMA.IE6bugFix();
	try {
		setCalendar();
	} catch (ex) {
	}
	EMA.setTimeline();
});
/*****************************
 * chambre.js - END 
 *****************************/

/**
 * SPINNER
 */
var DHTML = (document.getElementById || document.all || document.layers);
var timeoutProgressBar;
function ap_getObj(name)
{
    if (document.getElementById)
    {
        return document.getElementById(name).style;
    }
    else if (document.all)
    {
        return document.all[name].style;
    }
    else if (document.layers)
    {
        return document.layers[name];
    }
}
function ap_showWaitMessage(div, flag)
{
    if (flag === 1) {
        document.getElementById('waitDiv').style.top = waitDivPosition() + "px";
        timeoutProgressBar = setTimeout("document.getElementById('waitDiv').style.visibility='visible';", 500);
    }
    if (flag === 0) {
        clearTimeout(timeoutProgressBar);
        document.getElementById('waitDiv').style.visibility = 'hidden';
    }
}
function waitDivPosition() {
    var divPosition;
    var heightPage;
    var scrollPosition;
    var sizeDiv = 80;
    heightPage = document.documentElement.clientHeight;
    scrollPosition = document.documentElement.scrollTop;
    divPosition = heightPage / 2 + scrollPosition - sizeDiv;
    return divPosition;
}
ap_showWaitMessage('waitDiv', 1);

}catch(e){console.log("Module 'getting_started_module': ",e);}
try{(function(){
i$.addOnLoad(function(){
var _1=i$.fromPath("wpModules.state.page");
if(_1){
var _2=_1.getStateManager(),ln=function(o){
return o.length;
},_3=function(o){
if(o&&ln(o)>0){
var v=o[0].value;
if(v&&ln(v)>0){
return v[0];
}
}
return null;
};
_2&&_2.getState().then(function(_4){
var _5=wpModules.theme.WindowUtils,_6=_3(_4.renderParams().get({nsuri:"http://www.ibm.com/xmlns/prod/websphere/portal/publicparams",name:"showTools"})),_7=function(_8){
var _9=null;
if(_8&&_8.frames){
var _a=_8.frames[_5.VIEW_AREA+"-iframe"];
if(_a){
_9=_a.window;
}
}
return _9;
},_b=function(_c){
return _7(_c);
},_d=function(){
return top.location.href.indexOf("/$preview")>=0;
};
if(!_d()){
if((_6&&self===top)||(!_6&&self!==top&&_b(self.parent)&&_7(self.parent)===self)){
var _e=_5.getBaseURL(_5.getWindow(_5.VIEW_AREA)||top),_f=_e.indexOf("?");
if(_f>=0){
_e=_e.substr(0,_f);
}
_e+="?uri=toolbar:close";
top.location.href=_e;
}
}
var _10=function(){
if(!_6&&self===top){
var doc=document,_11=doc.activeElement;
if(doc.getElementsByClassName&&(!_11||_11===doc.body)){
var n=doc.getElementsByClassName("wpToolbarFocusStart");
if(n&&n.length>0){
var e=n[0];
e.focus();
}
}
}
};
_10();
});
}
});
})();


}catch(e){console.log("Module 'wp_toolbar_viewframe_validator': ",e);}
try{(function(){
	if(i$.isIE){
		document.createElement('article');
		document.createElement('aside');
		document.createElement('footer');
		document.createElement('header');
		document.createElement('hgroup');
		document.createElement('nav');
		document.createElement('section');
	}
	if(i$.isIE == 7){ document.getElementsByTagName("html")[0].className+=" wptheme_ie7"; }
	if(i$.isIE == 8){ document.getElementsByTagName("html")[0].className+=" wptheme_ie8"; }
	if(i$.isIE == 9){ document.getElementsByTagName("html")[0].className+=" wptheme_ie9"; }
	if(i$.isIE == 10){ document.getElementsByTagName("html")[0].className+=" wptheme_ie10"; }
	if(i$.isIE == 11){ document.getElementsByTagName("html")[0].className+=" wptheme_ie11"; }
})();


}catch(e){console.log("Module 'wp_theme_portal_85': ",e);}