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;i1){ 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;i0){ 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 _4c=(function(){ var _4d=new Map(); var _4e=function(){ this.isHCLEvent=function(_4f){ return _4f.match(/^HCL-.*/g); }; this.addEvent=function(_50,_51,_52){ if(_50&&_51){ if(this.isHCLEvent(_50)){ var _53=_4d.get(_52)||{}; _53[_50]=_51; _4d.set(_52,_53); } } },this.removeEvent=function(_54,_55){ if(_54){ if(this.isHCLEvent(_54)){ _4d["delete"](_55); } } },this.getEvent=function(_56,_57){ var _58=_4d.get(_57)||{}; return this.isHCLEvent(_56)?_58[_56]:null; }; }; return new _4e(); })(); (function(){ if(typeof window.CustomEvent==="function"){ return false; } function _59(_5a,_5b){ _5b=_5b||{bubbles:false,cancelable:false,detail:null}; var evt=document.createEvent("CustomEvent"); evt.initCustomEvent(_5a,_5b.bubbles,_5b.cancelable,_5b.detail); return evt; }; window.CustomEvent=_59; })(); var _5c=function(_5d){ return function(_5e,_5f,_60){ _5d.call(this,_5e,_5f,_60); if(_60&&_60.lastState&&_4c.isHCLEvent(_5e)&&_4c.getEvent(_5e,this)){ _5f(_4c.getEvent(_5e,this)); } }; }; var _61=function(_62){ return function(_63,_64,_65){ if(_4c.isHCLEvent(_63)){ _4c.removeEvent(_63,this); } _62.call(this,_63,_64,_65); }; }; var _66=function(_67){ return function(_68){ if(_68.detail&&_4c.isHCLEvent(_68.type)){ _4c.addEvent(_68.type,_68,this); } _67.call(this,_68); }; }; if(typeof EventTarget!="undefined"){ EventTarget.prototype.addEventListener=_5c(EventTarget.prototype.addEventListener); EventTarget.prototype.removeEventListener=_61(EventTarget.prototype.removeEventListener); EventTarget.prototype.dispatchEvent=_66(EventTarget.prototype.dispatchEvent); }else{ var _69=[window,document]; _69.forEach(function(_6a){ _6a.addEventListener=_5c(_6a.addEventListener); _6a.removeEventListener=_61(_6a.removeEventListener); _6a.dispatchEvent=_66(_6a.dispatchEvent); }); Element.prototype.addEventListener=_5c(Element.prototype.addEventListener); Element.prototype.removeEventListener=_5c(Element.prototype.removeEventListener); Element.prototype.dispatchEvent=_66(Element.prototype.dispatchEvent); } })(); (function(){ var i$=window.i$; var _6b=document.createElement("div"); i$.byId=function(id){ if(i$.isNode(id)){ return id; }else{ return document.getElementById(id); } }; i$.createDom=function(_6c,_6d,_6e){ var el=document.createElement(_6c); i$.each(_6d,function(v,k){ el.setAttribute(k,v); }); if(_6e){ _6e.appendChild(el); } return el; }; var _6f=_6b.addEventListener?function(n){ return n.indexOf("on")==0?n.substr(2):n; }:function(n){ return n.indexOf("on")!=0?"on"+n:n; },add=_6b.addEventListener?function(_70,_71,f){ _70.addEventListener(_71,f,false); }:function(_72,_73,f){ _72.attachEvent(_73,f); },_74=_6b.removeEventListener?function(_75,_76,f){ _75.removeEventListener(_76,f,false); }:function(_77,_78,f){ _77.detachEvent(_78,f); }; i$.isDescendant=function(_79,anc){ if(anc){ while(_79){ if(_79==anc){ return true; } _79=_79.parentNode; } } return false; }; i$.bindDomEvt=function(_7a,_7b,f){ _7b=_6f(_7b); if((_7b=="mouseleave"||_7b=="mouseenter")&&!i$.isIE){ var fp=f; _7b=_7b=="mouseleave"?"mouseout":"mouseover"; f=function(e){ if(!i$.isDescendant(e.relatedTarget,_7a)){ return fp.call(this,e); } }; } add(_7a,_7b,f); return [_7a,_7b,f]; }; i$.unbindDomEvt=function(_7c){ if(_7c[0]){ _74(_7c[0],_7c[1],_7c[2]); } _7c.splice(0,3); }; if("classList" in _6b){ i$.mash(i$,{addClass:function(_7d,_7e){ _7d&&_7d.classList&&_7d.classList.add(_7e); },removeClass:function(_7f,_80){ _7f&&_7f.classList&&_7f.classList.remove(_80); },hasClass:function(_81,_82){ return _81&&_81.classList&&_81.classList.contains(_82); },toggleClass:function(_83,_84){ _83&&_83.classList&&_83.classList.toggle(_84); }}); }else{ var _85=function(str,_86){ if(!str){ return -1; } var len=_86.length,i=str.indexOf(_86),_87,_88; while(i>-1){ _88=str.charAt(i+len); _87=str.charAt(i-1); if((!_88||_88==" ")&&(!_87||_87==" ")){ break; } i=str.indexOf(_86,i+1); } return i; }; i$.mash(i$,{addClass:function(_89,_8a){ if(!_89){ return; } if(_85(_89.className,_8a)<0){ _89.className+=" "+_8a; } },removeClass:function(_8b,_8c){ if(!_8b){ return; } var str=_8b.className,len=_8c.length,i=_85(str,_8c),val=[]; if(i>-1){ if(i>0){ val.push(str.substring(0,i)); } if(str.length>i+len){ val.push(str.substr(i+len)); } _8b.className=i$.trim(val.join()); } },hasClass:function(_8d,_8e){ if(!_8d){ return; } return _85(_8d.className,_8e)>-1; },toggleClass:function(_8f,_90){ if(!_8f){ return; } i$[i$.hasClass(_8f,_90)?"removeClass":"addClass"](_8f,_90); }}); } })(); (function(){ var i$=window.i$; var _91=/([^_]+)_([^_]+)_deferred_?([\d]+)?/,_92=/alternate/i,_93=function(t){ return document.getElementsByTagName(t); },_94=function(){ return _93("head")[0]; },_95=function(url){ i$.createDom("link",{rel:"stylesheet",type:"text/css",href:url},_94()); return i$.promise.resolved(); },_96=function(url){ return i$.loadScript({url:url}); },_97=function(mod){ return i$.xhrGet({url:mod.url,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_98){ return {mod:mod,data:_98.data}; }); },_99=function(_9a){ i$.each(_9a,function(_9b){ var m=_9b.mod; var _9c=m.node.parentNode; var _9d=m.p!="head"?m.node:null; var _9e=document.createDocumentFragment(),tmp=i$.createDom("div"); tmp.innerHTML=_9b.data; while(tmp.firstChild){ _9e.appendChild(tmp.firstChild); } _9c.insertBefore(_9e,_9d); }); },_9f=function(_a0){ if(_92.test(_a0.rel)){ var id=_a0.id,_a1=id.match(_91); if(_a1){ return {node:_a0,url:_a0.href,id:id,p:_a1[1],t:_a1[2],i:_a1[3]}; } } },_a2=function(){ var m={head:[],config:[]},_a3={},_a4={length:0},_a5=_93("link"),_a6=_93("a"); i$.each([_a5,_a6],function(_a7){ i$.each(_a7,function(_a8){ var mod=_9f(_a8); if(mod&&!_a3[mod.id]){ _a3[mod.id]=mod; if(!_a4[mod.t]){ _a4[mod.t]=[]; _a4.length=_a4.length+1; } _a4[mod.t].push(mod); } }); }); return _a4; },_a9=function(_aa){ var _ab=[]; var _ac=[]; i$.each(_aa["markup"],function(mod){ _ac.push(_97(mod)); }); return i$.whenAll.apply(this,_ac).then(function(_ad){ _ab=_ad; _ac=[]; i$.each(_aa["css"],function(mod){ _ac.push(_95(mod.url)); }); return i$.whenAll.apply(this,_ac); },function(err){ console.log("Error: ",err); }).then(function(_ae){ return _af(_aa["js"]); }).then(function(){ _99(_ab); }); },_af=function(_b0){ var m=_b0.shift(),p; if(m){ p=_96(m.url); } return i$.when(p).then(function(){ return _b0.length>0?_af(_b0):true; },function(err){ console.log("Error: ",err); }); },_b1=false,_b2=null,_b3=false,_b4=false,_b5=new i$.Promise(),_b6=function(cbk){ i$.addOnLoad(function(){ if(!_b1){ _b2=_a2(); _b3=_b2.length>0?false:true; if(_b3){ _b5.resolve(); } _b1=true; } if(cbk){ cbk(); } }); }; i$.modules={}; i$.mash(i$.modules,{areLoaded:function(){ return _b3; },areLoading:function(){ return _b4; },loadDeferred:function(){ if(_b4){ return _b5; } var cbk=function(){ if(!_b3){ _b4=true; _a9(_b2).then(function(){ _b3=true; _b4=false; _b5.resolve(); },function(e){ _b5.reject(e); }); } }; _b6(cbk); return _b5; },addAfterLoaded:function(f){ var cbk=function(){ _b5.then(f); }; _b6(cbk); }}); var _b7=i$.addOnLoad,_b8=[]; i$.addOnLoad=function(f,o){ if(_b4){ if(o){ f=i$.scope(o,f); } _b8.push(f); }else{ _b7(f,o); } }; i$.modules.addAfterLoaded(function(){ while(_b8.length>0){ if(fn=_b8.shift()){ fn(); } } }); })(); (function(){ var i$=window.i$; i$.getCookie=function(n){ var cs=document.cookie.split(";"),c="",_b9=0,cn="",cv=null; for(var i=0;i1){ cv=_b9<0?null:i$.trim(c.substring(_b9+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-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=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=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(){ 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"; } })(); }catch(e){console.log("Module 'wp_theme_portal_80': ",e);}