/*!
 * ClientLogin 3.18
 */
var Config={liveidClientId:"00000000480BC46C",liveidHost:"live.com",liveidScope:"service::skype.com::MBI_SSL",skypeApiUrl:"https://api.skype.com",skypeLoginUrl:"https://login.skype.com",buildVersion:"3.18",trackingAccount:"skypeallprod,skypeclientprod",goLinkBaseUrl:"https://go.skype.com",ecsUrl:"https://a.config.skype.com/config/v1/XCO/{{BUILD_VERSION}}",windowsClientId:"439400",macClientId:"797265",linuxClientId:"876356"};
var s_account=Config.trackingAccount;
var s_allowLocal=true;
if((window.location.protocol==="file:")&&((typeof s_allowLocal==="undefined")||((typeof s_allowLocal!=="undefined")&&(s_allowLocal!==true)))){throw"[s_code.js]: do not track local copy";
}var s_account=s_account||((location.hostname.indexOf(".skype.com")!==-1)?"skypeglobalprod":"skypeglobaldev");
var s=s_gi(s_account);
s.charSet="UTF-8";
s.currencyCode="EUR";
s.trackDownloadLinks=false;
s.trackExternalLinks=false;
s.trackInlineStats=false;
s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,pdf,doc,docx,xls,xlsx,ppt,pptx";
s.linkInternalFilters="javascript:,skype.com,skype.net,"+window.location.hostname;
s.linkLeaveQueryString=false;
s.linkTrackVars="None";
s.linkTrackEvents="None";
s.cookieLifetime=63072000;
s.usePlugins=true;
function s_doPlugins(a){if(!a.campaign){a.campaign=a.getQueryParam("cm_mmc");
}a.campaign=a.getValOnce(a.campaign,"ecamp",0);
a.campaign=a.decodeMultiple(a.campaign);
if(typeof a.campaign==="string"){if(a.campaign.toUpperCase().indexOf("AF")===0){a.eVar34="D=v0";
}}if(!a.eVar1){a.eVar1=a.getQueryParam("intcmp,cm_sp");
}a.eVar1=a.getValOnce(a.eVar1,"s_evar1",0);
a.eVar1=a.decodeMultiple(a.eVar1);
if(!a.eVar35){a.eVar35=a.getQueryParam("intsrc");
}if(!a.eVar58){a.eVar58=a.getQueryParam("nu");
}if(!a.prop51){a.prop51=a.getQueryParam("ck");
}a.visitorID=a.visitorID||a.getCookie("skype_s_vi")||"";
a.prop31=(a.visitorID&&"D=vid")||"";
a.prop30=a.prop30||(((a.getCookie("s_vi")||"").match(/\|([^\[]*)/)||[])[1]||"");
if(typeof a.linkTrackVars==="string"&&a.linkTrackVars!==""){a.linkTrackVars=a.linkTrackVars+",visitorID,prop31,prop30";
}a.eVar7=(a.pageName&&"D=pageName")||"";
a.eVar15=(a.channel&&"D=ch")||"";
a.prop38=a.timeFormat(new Date());
a.prop39=a.dateFormat(new Date());
try{a.detectRIA("s_ria","prop40");
}catch(b){}if(!a.eVar6){try{a.eVar6="";
a.eVar6=a.getCookie("SC").match(/VER=([^:]*)/)[1];
}catch(b){}}if(a.eVar6===""){if(a.prop40==="flash not detected"){a.eVar6=a.eVar18="data not available";
}else{a.eVar6="non-user";
a.eVar18="new";
}}else{a.eVar18="user";
}a.prop24=(a.eVar6&&"D=v6");
a.prop21=(a.eVar18&&"D=v18");
a.hier1=a.hier1||(a.pageName||"").replace(/\//g,",");
a.server=a.server||location.hostname;
a.prop23=a.getPreviousValue(a.pageName,"gpv_p23","");
a.eVar27=(a.prop23&&"D=c23");
a.prop37=(a.prop36&&"D=g")||"";
a.eVar5=(a.prop5&&"D=c5");
a.eVar54=(a.prop54&&"D=c54");
a.prop18=(a.eVar19&&"D=v19");
try{a.pageURL=a.pageURL||(a.wd.location.href||"").toLowerCase();
a.pageURL=a.pageURL.replace(/(username=[^&]*|skype-session=[^&]*|nonce=[^&]*|email=[^&]*|skypename=[^&]*)/g,"mask");
if(typeof s_pageURL_mask!=="undefined"){a.pageURL=a.pageURL.replace(s_pageURL_mask,"mask");
}a.referrer=a.referrer||document.referrer;
a.referrer=a.referrer.replace(/(username=[^&]*|skype-session=[^&]*|nonce=[^&]*|email=[^&]*|skypename=[^&]*)/g,"mask");
if(typeof s_referrer_mask!=="undefined"){a.referrer=a.referrer.replace(s_referrer_mask,"mask");
}}catch(b){}a.eVar40=a.newPayingUser(a.eVar41);
a.prop22=a.eVar26=a.getNewRepeat(365*2);
a.eVar29=(a.eVar3&&"D=v3");
if(typeof s_plugin_external==="function"){s_plugin_external();
}if(typeof a.prop23==="string"&&a.prop23!==""){a.referrer=(((a.prop23.indexOf("/login-form/microsoftID")!==-1)&&"http://www.skype.com/login-form/microsoftID")||((a.prop23.indexOf("/signup-form/microsoftID")!==-1)&&"http://www.skype.com/signup-form/microsoftID")||((a.prop23.indexOf("/login-form/facebook")!==-1)&&"http://www.skype.com/login-form/facebook")||((a.prop23.indexOf("/signup-form/facebook")!==-1)&&"http://www.skype.com/signup-form/facebook"))||a.referrer||"";
}a.evar57=((a.purchaseID&&"D=purchaseID")||"");
a.prop27="20140528|H.25.4.";
a.tnt=a.trackTNT();
if(typeof a.events==="string"&&a.events.indexOf("event1")!==-1&&typeof mboxTrack==="function"&&typeof a.products==="string"){try{if(a.products.split(";").length===2){mboxTrack("download","app="+a.products.split(";")[1]);
}}catch(b){}}}s.doPlugins=s_doPlugins;
if((typeof s_allowSurvey!=="undefined")&&(s_allowSurvey===true)){s.loadModule("Survey");
var s_sv_dynamic_root="survey.122.2o7.net/survey/dynamic";
var s_sv_gather_root="survey.122.2o7.net/survey/gather";
}s.decodeMultiple=function(c){var a=c,b;
if(typeof a==="string"){for(b=0;
b<10&&a.indexOf("%")!==-1;
b=b+1){try{a=decodeURIComponent(a);
}catch(d){break;
}}}return a;
};
s.newPayingUser=function(g){try{if((typeof g==="string"&&g!=="")||typeof g==="number"){var f="",b="",a=new Date(),d=new Date(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds());
f=parseInt(g,10);
if(typeof s.events!=="undefined"&&s.events.indexOf("purchase")!==-1&&f<=31&&typeof s.prop3!=="undefined"&&s.prop3!==""){s.events=s.events+",event41:"+s.prop3;
}if(f===0){b="in day of registration";
}else{if(d.getDay()-f>=0){b="in week of registration";
}else{if(d.getDate()-f>=0){b="in month of registration";
}else{b="registration in previous month";
}}}return b;
}}catch(c){}};
s.trackPage=function(c){var d,b,a=c;
if(typeof s_impression!=="undefined"&&s_impression.length!==0){a=s.mergeImpressionData(s_impression,a);
window.s_impression=[];
}for(b in a){s[b]=a[b];
}d=s.t();
s.hier1="";
for(b in a){if((b!=="eVar54")&&(b!=="prop54")&&(b!=="eVar5")&&(b!=="prop5")&&(b!=="pageName")&&(b!=="channel")){s[b]="";
}}return d;
};
s.trackAction=function(a,c){var b=a||{};
b.pageName=(b.pageName||s.pageName||"");
b.eVar7=((b.pageName&&"D=pageName")||"");
b.prop5=(b.prop5||s.prop5||"");
b.eVar5=(s.prop5&&"D=c5")||"";
b.prop54=(b.prop54||s.prop54||"");
b.eVar54=(s.prop54&&"D=c54")||"";
b.channel=(b.channel||s.channel||"");
b.eVar15=(s.channel&&"D=ch")||"";
return s.tl2(b,c);
};
s.tl2=function(b,d){var e,c;
s.linkTrackVars="None";
s.linkTrackEvents="None";
for(c in b){s[c]=b[c];
s.linkTrackVars=s.linkTrackVars.replace("None","");
s.linkTrackVars+=c+",";
if(c.indexOf("events")!==-1){s.linkTrackEvents=s.linkTrackEvents.replace("None",b[c].split(":")[0]);
}}if((typeof d!=="undefined")&&(d!==null)&&(typeof d.href==="string")&&(d.href.length>1)){try{if(event.preventDefault){event.preventDefault();
}else{event.returnValue=false;
}}catch(a){}e=s.tl(d,"o","trackAction",null,"navigate");
}else{e=s.tl(true,"o","trackAction");
}for(c in b){if((c!=="eVar54")&&(c!=="prop54")&&(c!=="eVar5")&&(c!=="prop5")&&(c!=="pageName")&&(c!=="channel")){s[c]="";
}}return e;
};
s.mergeImpressionData=function(a,f){var e,b,d=a||[],c=f||{};
for(e in d){for(b in d[e]){if(c[b]&&(b==="products"||b==="events")){c[b]=s.apl(c[b],d[e][b],",",1);
}else{c[b]=c[b]||d[e][b];
}}}return c;
};
s.timeFormat=function(c){var a=c.getHours().toString(),b=c.getMinutes().toString();
if(a<10){a="0"+a;
}if(b<10){b="0"+b;
}return a+":"+b;
};
s.dateFormat=function(c){var e=c.getFullYear().toString(),b=(c.getMonth()+1).toString(),a=c.getDate().toString();
if(b<10){b="0"+b;
}if(a<10){a="0"+a;
}return e+"-"+b+"-"+a;
};
s.getCookie=function(b){var e=b+"=",a=document.cookie.split(";"),d,f;
for(d=0;
d<a.length;
d=d+1){f=a[d];
while(f.charAt(0)===" "){f=f.substring(1,f.length);
}if(f.indexOf(e)===0){return f.substring(e.length,f.length);
}}return null;
};
s.getNewRepeat=new Function("d","cn","var s=this,e=new Date(),cval,sval,ct=e.getTime();d=d?d:30;cn=cn?cn:'s_nr';e.setTime(ct+d*24*60*60*1000);cval=s.c_r(cn);if(cval.length==0){s.c_w(cn,ct+'-New',e);return'New';}sval=s.split(cval,'-');if(ct-sval[0]<30*60*1000&&sval[1]=='New'){s.c_w(cn,ct+'-New',e);return'New';}else{s.c_w(cn,ct+'-Repeat',e);return'Repeat';}");
s.apl=new Function("l","v","d","u","var s=this,m=0;if(!l)l='';if(u){var i,n,a=s.split(l,d);for(i=0;i<a.length;i++){n=a[i];m=m||(u==1?(n==v):(n.toLowerCase()==v.toLowerCase()));}}if(!m)l=l?l+d+v:v;return l");
s.getPreviousValue=new Function("v","c","el","var s=this,t=new Date,i,j,r='';t.setTime(t.getTime()+1800000);if(el){if(s.events){i=s.split(el,',');j=s.split(s.events,',');for(x in i){for(y in j){if(i[x]==j[y]){if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t):s.c_w(c,'no value',t);return r}}}}}else{if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t):s.c_w(c,'no value',t);return r}");
s.split=new Function("l","d","var i,x=0,a=new Array;while(l){i=l.indexOf(d);i=i>-1?i:l.length;a[x++]=l.substring(0,i);l=l.substring(i+d.length);}return a");
s.detectRIA=new Function("cn","fp","sp","mfv","msv","sf","cn=cn?cn:'s_ria';msv=msv?msv:2;mfv=mfv?mfv:10;var s=this,sv='',fv=-1,dwi=0,fr='',sr='',w,mt=s.n.mimeTypes,uk=s.c_r(cn),k=s.c_w('s_cc','true',0)?'Y':'N';fk=uk.substring(0,uk.indexOf('|'));sk=uk.substring(uk.indexOf('|')+1,uk.length);if(k=='Y'&&s.p_fo('detectRIA')){if(uk&&!sf){if(fp){s[fp]=fk;}if(sp){s[sp]=sk;}return false;}if(!fk&&fp){if(s.pl&&s.pl.length){if(s.pl['Shockwave Flash 2.0'])fv=2;x=s.pl['Shockwave Flash'];if(x){fv=0;z=x.description;if(z)fv=z.substring(16,z.indexOf('.'));}}else if(navigator.plugins&&navigator.plugins.length){x=navigator.plugins['Shockwave Flash'];if(x){fv=0;z=x.description;if(z)fv=z.substring(16,z.indexOf('.'));}}else if(mt&&mt.length){x=mt['application/x-shockwave-flash'];if(x&&x.enabledPlugin)fv=0;}if(fv<=0)dwi=1;w=s.u.indexOf('Win')!=-1?1:0;if(dwi&&s.isie&&w&&execScript){result=false;for(var i=mfv;i>=3&&result!=true;i--){execScript('on error resume next: result = IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.'+i+'\"))','VBScript');fv=i;}}fr=fv==-1?'flash not detected':fv==0?'flash enabled (no version)':'flash '+fv;}if(!sk&&sp&&s.apv>=4.1){var tc='try{x=new ActiveXObject(\"AgControl.A'+'gControl\");for(var i=msv;i>0;i--){for(var j=9;j>=0;j--){if(x.is'+'VersionSupported(i+\".\"+j)){sv=i+\".\"+j;break;}}if(sv){break;}'+'}}catch(e){try{x=navigator.plugins[\"Silverlight Plug-In\"];sv=x'+'.description.substring(0,x.description.indexOf(\".\")+2);}catch('+'e){}}';eval(tc);sr=sv==''?'silverlight not detected':'silverlight '+sv;}if((fr&&fp)||(sr&&sp)){s.c_w(cn,fr+'|'+sr,0);if(fr)s[fp]=fr;if(sr)s[sp]=sr;}}");
s.p_fo=new Function("n","var s=this;if(!s.__fo){s.__fo=new Object;}if(!s.__fo[n]){s.__fo[n]=new Object;return 1;}else {return 0;}");
s.getQueryParam=new Function("p","d","u","h","var s=this,v='',i,j,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:s.wd.location);if(u=='f')u=s.gtfs().location;while(p){i=p.indexOf(',');i=i<0?p.length:i;t=s.p_gpv(p.substring(0,i),u+'',h);if(t){t=t.indexOf('#')>-1?t.substring(0,t.indexOf('#')):t;}if(t)v+=v?d+t:t;p=p.substring(i==p.length?i:i+1)}return v");
s.p_gpv=new Function("k","u","h","var s=this,v='',q;j=h==1?'#':'?';i=u.indexOf(j);if(k&&i>-1){q=u.substring(i+1);v=s.pt(q,'&','p_gvf',k)}return v");
s.p_gvf=new Function("t","k","if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'True':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s.epa(v)}return''");
s.getValOnce=new Function("v","c","e","var s=this,k=s.c_r(c),a=new Date;e=e?e:0;if(v){a.setTime(a.getTime()+e*86400000);s.c_w(c,v,e?a:0);}return v==k?'':v");
if(!s.__ccucr){s.c_rr=s.c_r;
s.__ccucr=true;
function c_r(f){var h=this,l=new Date,b=h.c_rr(f),n=h.c_rspers(),g,a,j;
if(b){return b;
}f=h.ape(f);
g=n.indexOf(" "+f+"=");
n=g<0?h.c_rr("s_sess"):n;
g=n.indexOf(" "+f+"=");
a=g<0?g:n.indexOf("|",g);
j=g<0?g:n.indexOf(";",g);
a=a>0?a:j;
b=g<0?"":h.epa(n.substring(g+2+f.length,a<0?n.length:a));
return b;
}function c_rspers(){var c=s.c_rr("s_pers");
var e=new Date().getTime();
var a=null;
var g=[];
var d="";
if(!c){return d;
}g=c.split(";");
for(var f=0,b=g.length;
f<b;
f++){a=g[f].match(/\|([0-9]+)$/);
if(a&&parseInt(a[1])>=e){d+=g[f]+";";
}}return d;
}s.c_rspers=c_rspers;
s.c_r=c_r;
}if(!s.__ccucw){s.c_wr=s.c_w;
s.__ccucw=true;
function c_w(f,r,j){var x=this,l=new Date,p=0,b="s_pers",a="s_sess",o=0,n=0,u,q,m,g,w;
l.setTime(l.getTime()-60000);
if(x.c_rr(f)){x.c_wr(f,"",l);
}f=x.ape(f);
u=x.c_rspers();
g=u.indexOf(" "+f+"=");
if(g>-1){u=u.substring(0,g)+u.substring(u.indexOf(";",g)+1);
o=1;
}q=x.c_rr(a);
g=q.indexOf(" "+f+"=");
if(g>-1){q=q.substring(0,g)+q.substring(q.indexOf(";",g)+1);
n=1;
}l=new Date;
if(j){if(j.getTime()>l.getTime()){u+=" "+f+"="+x.ape(r)+"|"+j.getTime()+";";
o=1;
}}else{q+=" "+f+"="+x.ape(r)+";";
n=1;
}q=q.replace(/%00/g,"");
u=u.replace(/%00/g,"");
if(n){x.c_wr(a,q,0);
}if(o){w=u;
while(w&&w.indexOf(";")!=-1){var h=parseInt(w.substring(w.indexOf("|")+1,w.indexOf(";")));
w=w.substring(w.indexOf(";")+1);
p=p<h?h:p;
}l.setTime(p);
x.c_wr(b,u,l);
}return r==x.c_r(x.epa(f));
}s.c_w=c_w;
}s.trackTNT=new Function("v","p","b","var s=this,n='s_tnt',q='s_tntref',p=(p)?p:n,v=(v)?v:n,r='',pm=false,b=(b)?b:true;if(s.getQueryParam(q)!=''){s.referrer=s.getQueryParam(q);}else if(s.c_r(q)!=''){s.referrer=s.c_r(q);document.cookie=q+'=;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT;';}else if((document.cookie.indexOf(q)!=-1&&s.c_r(q)=='')||(location.search.indexOf(q+'=')!=-1&&s.getQueryParam(q)=='')){s.referrer='Typed/Bookmarked';document.cookie=q+'=;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT;';}if(s.getQueryParam(p)!=''){pm=s.getQueryParam(p);}else if(s.c_r(p)){pm=s.c_r(p);document.cookie=p+'=;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT;';}else if(s.c_r(p)==''&&s.getQueryParam(p)==''){pm='';}if(pm)r+=(pm+',');if(s.wd[v]!=undefined)r+=s.wd[v];if(b)s.wd[v]='';return r;");
if(typeof s_module_external==="function"){}s.m_Integrate_c="var m=s.m_i('Integrate');m.add=function(n,o){var m=this,p;if(!o)o='s_Integrate_'+n;if(!m.s.wd[o])m.s.wd[o]=new Object;m[n]=new Object;p=m[n];p._n=n;p._m=m;p._c=0;p._d=0;p.disable=0;p.get=m.get;p.delay=m.delay;p.ready=m.ready;p.beacon=m.beacon;p.script=m.script;m.l[m.l.length]=n};m._g=function(t){var m=this,s=m.s,i,p,f=(t?'use':'set')+'Vars',tcf;for(i=0;i<m.l.length;i++){p=m[m.l[i]];if(p&&!p.disable&&p[f]){if(s.apv>=5&&(!s.isopera||s.apv>=7)){tcf=new Function('s','p','f','var e;try{p[f](s,p)}catch(e){}');tcf(s,p,f)}else p[f](s,p)}}};m._t=function(){this._g(1)};m._fu=function(p,u){var m=this,s=m.s,v,x,y,z,tm=new Date;if(u.toLowerCase().substring(0,4) != 'http')u='http://'+u;if(s.ssl)u=s.rep(u,'http:','https:');p.RAND=Math&&Math.random?Math.floor(Math.random()*10000000000000):tm.getTime();p.RAND+=Math.floor(tm.getTime()/10800000)%10;x=0;while(x>=0){x=u.indexOf('[',x);if(x>=0){y=u.indexOf(']',x);if(y>x){z=u.substring(x+1,y);if(z.length>2&&z.substring(0,2)=='s.'){v=s[z.substring(2)];if(!v)v=''}else{v=''+p[z];if(!(v==p[z]||parseFloat(v)==p[z]))z=0}if(z)u=u.substring(0,x)+s.rep(escape(v),'+','%2B')+u.substring(y+1);x=y}}}return u};m.get=function(u,v){var p=this,m=p._m;if(!p.disable){if(!v)v='s_'+m._in+'_Integrate_'+p._n+'_get_'+p._c;p._c++;p.VAR=v;p._d++;m.s.loadModule('Integrate:'+v,m._fu(p,u),0,1,p._n)}};m.delay=function(){var p=this;if(p._d<=0)p._d=1};m.ready=function(){var p=this,m=p._m;p._d=0;if(!p.disable)m.s.dlt()};m._d=function(){var m=this,i,p;for(i=0;i<m.l.length;i++){p=m[m.l[i]];if(p&&!p.disable&&p._d>0)return 1}return 0};m._x=function(d,n){var p=this[n],x;if(!p.disable){for(x in d)if(x&&(!Object||!Object.prototype||!Object.prototype[x]))p[x]=d[x];p._d--}};m.beacon=function(u){var p=this,m=p._m,s=m.s,imn='s_i_'+m._in+'_Integrate_'+p._n+'_'+p._c,im;if(!p.disable&&s.d.images&&s.apv>=3&&(!s.isopera||s.apv>=7)&&(s.ns6<0||s.apv>=6.1)){p._c++;im=s.wd[imn]=new Image;im.src=m._fu(p,u)}};m.script=function(u){var p=this,m=p._m;if(!p.disable)m.s.loadModule(0,m._fu(p,u),0,1)};m.l=new Array;if(m.onLoad)m.onLoad(s,m)";
s.m_i("Integrate");
s.m_Survey_c='var m=s.m_i("Survey");m.launch=function(i,e,c,o,f){this._boot();var m=this,g=window.s_sv_globals||{},l,j;if(g.unloaded||m._blocked())return 0;i=i&&i.constructor&&i.constructor==Array?i:[i];l=g.manualTriggers;for(j=0;j<i.length;++j)l[l.length]={l:m._suites,i:i[j],e:e||0,c:c||0,o:o||0,f:f||0};m._execute();return 1;};m.version = 10001;m._t=function(){this._boot();var m=this,s=m.s,g=window.s_sv_globals||{},l,impr,i,k,impr={};if(m._blocked())return;for(i=0;i<s.va_t.length;i++){k=s.va_t[i];if(s[k]) impr[k]=s[k];}impr["l"]=m._suites;impr["n"]=impr["pageName"]||"";impr["u"]=impr["pageURL"]||"";impr["c"]=impr["campaign"]||"";impr["r"]=impr["referrer"]||"";l=g.pageImpressions;if(l.length > 4) l[l.length - 4]=null;l[l.length]=impr;m._execute();};m._rr=function(){var g=window.s_sv_globals||{},f=g.onScQueueEmpty||0;if(f)f();};m._blocked=function(){var m=this,g=window.s_sv_globals||{};return !m._booted||g.stop||!g.pending&&!g.triggerRequested;};m._execute=function(){if(s_sv_globals.execute)setTimeout("s_sv_globals.execute();",0);};m._boot=function(){var m=this,s=m.s,w=window,g,c,d=s.dc,e=s.visitorNamespace,n=navigator.appName.toLowerCase(),a=navigator.userAgent,v=navigator.appVersion,h,i,j,k,l,b;if(w.s_sv_globals)return;if(!((b=v.match(/AppleWebKit\\/([0-9]+)/))?521<b[1]:n=="netscape"?a.match(/gecko\\//i):(b=a.match(/opera[ \\/]?([0-9]+).[0-9]+/i))?7<b[1]:n=="microsoft internet explorer"&&!v.match(/macintosh/i)&&(b=v.match(/msie ([0-9]+).([0-9]+)/i))&&(5<b[1]||b[1]==5&&4<b[2])))return;g=w.s_sv_globals={};g.module=m;g.pending=0;g.incomingLists=[];g.pageImpressions=[];g.manualTriggers=[];e="survey";c=g.config={};m._param(c,"dynamic_root",(e?e+".":"")+d+".2o7.net/survey/dynamic");m._param(c,"gather_root",(e?e+".":"")+d+".2o7.net/survey/gather");g.url=location.protocol+"//"+c.dynamic_root;g.gatherUrl=location.protocol+"//"+c.gather_root;g.dataCenter=d;g.onListLoaded=new Function("r","b","d","i","l","s_sv_globals.module._loaded(r,b,d,i,l);");m._suites=(m.suites||s.un).toLowerCase().split(",");l=m._suites;b={};for(j=0;j<l.length;++j){i=l[j];if(i&&!b[i]){h=i.length;for(k=0;k<i.length;++k)h=(h&0x03ffffff)<<5^h>>26^i.charCodeAt(k);b[i]={url:g.url+"/suites/"+(h%251+100)+"/"+encodeURIComponent(i.replace(/\\|/,"||").replace(/\\//,"|-"))};++g.pending;}}g.suites=b;setTimeout("s_sv_globals.module._load();",0);m._booted=1;};m._param=function(c,n,v){var p="s_sv_",w=window,u="undefined";if(typeof c[n]==u)c[n]=typeof w[p+n]==u?v:w[p+n];};m._load=function(){var m=this,g=s_sv_globals,q=g.suites,r,i,n="s_sv_sid",b=m.s.c_r(n);if(!b){b=parseInt((new Date()).getTime()*Math.random());m.s.c_w(n,b);}for(i in q){r=q[i];if(!r.requested){r.requested=1;m._script(r.url+"/list.js?"+b);}}};m._loaded=function(r,b,d,i,l){var m=this,g=s_sv_globals,n=g.incomingLists;--g.pending;if(!g.commonRevision){g.bulkRevision=b;g.commonRevision=r;g.commonUrl=g.url+"/common/"+b;}else if(g.commonRevision!=r)return;if(!l.length)return;n[n.length]={r:i,l:l};if(g.execute)g.execute();else if(!g.triggerRequested){g.triggerRequested=1;m._script(g.commonUrl+"/trigger.js");}};m._script=function(u){var d=document,e=d.createElement("script");e.type="text/javascript";e.src=u;d.getElementsByTagName("head")[0].appendChild(e);};if(m.onLoad)m.onLoad(s,m)';
s.m_i("Survey");
s.visitorNamespace="skype";
s.trackingServer="metrics.skype.com";
s.trackingServerSecure="smetrics.skype.com";
var s_code="",s_objectID;
function s_gi(k,o,C){var q="s.version='H.25.4';s.an=s_an;s.logDebug=function(m){var s=this,tcf=new Function('var e;try{console.log(\"'+s.rep(s.rep(s.rep(m,\"\\\\\",\"\\\\\\\\\"),\"\\n\",\"\\\\n\"),\"\\\"\",\"\\\\\\\"\")+'\");}catch(e){}');tcf()};s.cls=function(x,c){var i,y='';if(!c)c=this.an;for(i=0;i<x.length;i++){n=x.substring(i,i+1);if(c.indexOf(n)>=0)y+=n}return y};s.fl=function(x,l){return x?(''+x).substring(0,l):x};s.co=function(o){return o};s.num=function(x){x=''+x;for(var p=0;p<x.length;p++)if(('0123456789').indexOf(x.substring(p,p+1))<0)return 0;return 1};s.rep=s_rep;s.sp=s_sp;s.jn=s_jn;s.ape=function(x){var s=this,h='0123456789ABCDEF',f=\"+~!*()'\",i,c=s.charSet,n,l,e,y='';c=c?c.toUpperCase():'';if(x){x=''+x;if(s.em==3){x=encodeURIComponent(x);for(i=0;i<f.length;i++) {n=f.substring(i,i+1);if(x.indexOf(n)>=0)x=s.rep(x,n,\"%\"+n.charCodeAt(0).toString(16).toUpperCase())}}else if(c=='AUTO'&&('').charCodeAt){for(i=0;i<x.length;i++){c=x.substring(i,i+1);n=x.charCodeAt(i);if(n>127){l=0;e='';while(n||l<4){e=h.substring(n%16,n%16+1)+e;n=(n-n%16)/16;l++}y+='%u'+e}else if(c=='+')y+='%2B';else y+=escape(c)}x=y}else x=s.rep(escape(''+x),'+','%2B');if(c&&c!='AUTO'&&s.em==1&&x.indexOf('%u')<0&&x.indexOf('%U')<0){i=x.indexOf('%');while(i>=0){i++;if(h.substring(8).indexOf(x.substring(i,i+1).toUpperCase())>=0)return x.substring(0,i)+'u00'+x.substring(i);i=x.indexOf('%',i)}}}return x};s.epa=function(x){var s=this,y,tcf;if(x){x=s.rep(''+x,'+',' ');if(s.em==3){tcf=new Function('x','var y,e;try{y=decodeURIComponent(x)}catch(e){y=unescape(x)}return y');return tcf(x)}else return unescape(x)}return y};s.pt=function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s[f](t,a);if(r)return r;z+=y+d.length;t=x.substring(z,x.length);t=z<x.length?t:''}return ''};s.isf=function(t,a){var c=a.indexOf(':');if(c>=0)a=a.substring(0,c);c=a.indexOf('=');if(c>=0)a=a.substring(0,c);if(t.substring(0,2)=='s_')t=t.substring(2);return (t!=''&&t==a)};s.fsf=function(t,a){var s=this;if(s.pt(a,',','isf',t))s.fsg+=(s.fsg!=''?',':'')+t;return 0};s.fs=function(x,f){var s=this;s.fsg='';s.pt(x,',','fsf',f);return s.fsg};s.mpc=function(m,a){var s=this,c,l,n,v;v=s.d.visibilityState;if(!v)v=s.d.webkitVisibilityState;if(v&&v=='prerender'){if(!s.mpq){s.mpq=new Array;l=s.sp('webkitvisibilitychange,visibilitychange',',');for(n=0;n<l.length;n++){s.d.addEventListener(l[n],new Function('var s=s_c_il['+s._in+'],c,v;v=s.d.visibilityState;if(!v)v=s.d.webkitVisibilityState;if(s.mpq&&v==\"visible\"){while(s.mpq.length>0){c=s.mpq.shift();s[c.m].apply(s,c.a)}s.mpq=0}'),false)}}c=new Object;c.m=m;c.a=a;s.mpq.push(c);return 1}return 0};s.si=function(){var s=this,i,k,v,c=s_gi+'var s=s_gi(\"'+s.oun+'\");s.sa(\"'+s.un+'\");';for(i=0;i<s.va_g.length;i++){k=s.va_g[i];v=s[k];if(v!=undefined){if(typeof(v)!='number')c+='s.'+k+'=\"'+s_fe(v)+'\";';else c+='s.'+k+'='+v+';'}}c+=\"s.lnk=s.eo=s.linkName=s.linkType=s.wd.s_objectID=s.ppu=s.pe=s.pev1=s.pev2=s.pev3='';\";return c};s.c_d='';s.c_gdf=function(t,a){var s=this;if(!s.num(t))return 1;return 0};s.c_gd=function(){var s=this,d=s.wd.location.hostname,n=s.fpCookieDomainPeriods,p;if(!n)n=s.cookieDomainPeriods;if(d&&!s.c_d){n=n?parseInt(n):2;n=n>2?n:2;p=d.lastIndexOf('.');if(p>=0){while(p>=0&&n>1){p=d.lastIndexOf('.',p-1);n--}s.c_d=p>0&&s.pt(d,'.','c_gdf',0)?d.substring(p):d}}return s.c_d};s.c_r=function(k){var s=this;k=s.ape(k);var c=' '+s.d.cookie,i=c.indexOf(' '+k+'='),e=i<0?i:c.indexOf(';',i),v=i<0?'':s.epa(c.substring(i+2+k.length,e<0?c.length:e));return v!='[[B]]'?v:''};s.c_w=function(k,v,e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v=''+v;l=l?(''+l).toUpperCase():'';if(e&&l!='SESSION'&&l!='NONE'){t=(v!=''?parseInt(l?l:0):-60);if(t){e=new Date;e.setTime(e.getTime()+(t*1000))}}if(k&&l!='NONE'){s.d.cookie=k+'='+s.ape(v!=''?v:'[[B]]')+'; path=/;'+(e&&l!='SESSION'?' expires='+e.toGMTString()+';':'')+(d?' domain='+d+';':'');return s.c_r(k)==v}return 0};s.eh=function(o,e,r,f){var s=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Array;l=s.ehl;for(i=0;i<l.length&&n<0;i++){if(l[i].o==o&&l[i].e==e)n=i}if(n<0){n=i;l[n]=new Object}x=l[n];x.o=o;x.e=e;f=r?x.b:f;if(r||f){x.b=r?0:o[e];x.o[e]=f}if(x.b){x.o[b]=x.b;return b}return 0};s.cet=function(f,a,t,o,b){var s=this,r,tcf;if(s.apv>=5&&(!s.isopera||s.apv>=7)){tcf=new Function('s','f','a','t','var e,r;try{r=s[f](a)}catch(e){r=s[t](e)}return r');r=tcf(s,f,a,t)}else{if(s.ismac&&s.u.indexOf('MSIE 4')>=0)r=s[b](a);else{s.eh(s.wd,'onerror',0,o);r=s[f](a);s.eh(s.wd,'onerror',1)}}return r};s.gtfset=function(e){var s=this;return s.tfs};s.gtfsoe=new Function('e','var s=s_c_il['+s._in+'],c;s.eh(window,\"onerror\",1);s.etfs=1;c=s.t();if(c)s.d.write(c);s.etfs=0;return true');s.gtfsfb=function(a){return window};s.gtfsf=function(w){var s=this,p=w.parent,l=w.location;s.tfs=w;if(p&&p.location!=l&&p.location.host==l.host){s.tfs=p;return s.gtfsf(s.tfs)}return s.tfs};s.gtfs=function(){var s=this;if(!s.tfs){s.tfs=s.wd;if(!s.etfs)s.tfs=s.cet('gtfsf',s.tfs,'gtfset',s.gtfsoe,'gtfsfb')}return s.tfs};s.mrq=function(u){var s=this,l=s.rl[u],n,r;s.rl[u]=0;if(l)for(n=0;n<l.length;n++){r=l[n];s.mr(0,0,r.r,r.t,r.u)}};s.flushBufferedRequests=function(){};s.mr=function(sess,q,rs,ta,u){var s=this,dc=s.dc,t1=s.trackingServer,t2=s.trackingServerSecure,tb=s.trackingServerBase,p='.sc',ns=s.visitorNamespace,un=s.cls(u?u:(ns?ns:s.fun)),r=new Object,l,imn='s_i_'+(un),im,b,e;if(!rs){if(t1){if(t2&&s.ssl)t1=t2}else{if(!tb)tb='2o7.net';if(dc)dc=(''+dc).toLowerCase();else dc='d1';if(tb=='2o7.net'){if(dc=='d1')dc='112';else if(dc=='d2')dc='122';p=''}t1=un+'.'+dc+'.'+p+tb}rs='http'+(s.ssl?'s':'')+'://'+t1+'/b/ss/'+s.un+'/'+(s.mobile?'5.1':'1')+'/'+s.version+(s.tcn?'T':'')+'/'+sess+'?AQB=1&ndh=1'+(q?q:'')+'&AQE=1';if(s.isie&&!s.ismac)rs=s.fl(rs,2047)}if(s.d.images&&s.apv>=3&&(!s.isopera||s.apv>=7)&&(s.ns6<0||s.apv>=6.1)){if(!s.rc)s.rc=new Object;if(!s.rc[un]){s.rc[un]=1;if(!s.rl)s.rl=new Object;s.rl[un]=new Array;setTimeout('if(window.s_c_il)window.s_c_il['+s._in+'].mrq(\"'+un+'\")',750)}else{l=s.rl[un];if(l){r.t=ta;r.u=un;r.r=rs;l[l.length]=r;return ''}imn+='_'+s.rc[un];s.rc[un]++}if(s.debugTracking){var d='AppMeasurement Debug: '+rs,dl=s.sp(rs,'&'),dln;for(dln=0;dln<dl.length;dln++)d+=\"\\n\\t\"+s.epa(dl[dln]);s.logDebug(d)}im=s.wd[imn];if(!im)im=s.wd[imn]=new Image;im.s_l=0;im.onload=new Function('e','this.s_l=1;var wd=window,s;if(wd.s_c_il){s=wd.s_c_il['+s._in+'];s.bcr();s.mrq(\"'+un+'\");s.nrs--;if(!s.nrs)s.m_m(\"rr\")}');if(!s.nrs){s.nrs=1;s.m_m('rs')}else s.nrs++;im.src=rs;if(s.useForcedLinkTracking||s.bcf){if(!s.forcedLinkTrackingTimeout)s.forcedLinkTrackingTimeout=250;setTimeout('if(window.s_c_il)window.s_c_il['+s._in+'].bcr()',s.forcedLinkTrackingTimeout);}else if((s.lnk||s.eo)&&(!ta||ta=='_self'||ta=='_top'||(s.wd.name&&ta==s.wd.name))){b=e=new Date;while(!im.s_l&&e.getTime()-b.getTime()<500)e=new Date}return ''}return '<im'+'g sr'+'c=\"'+rs+'\" width=1 height=1 border=0 alt=\"\">'};s.gg=function(v){var s=this;if(!s.wd['s_'+v])s.wd['s_'+v]='';return s.wd['s_'+v]};s.glf=function(t,a){if(t.substring(0,2)=='s_')t=t.substring(2);var s=this,v=s.gg(t);if(v)s[t]=v};s.gl=function(v){var s=this;if(s.pg)s.pt(v,',','glf',0)};s.rf=function(x){var s=this,y,i,j,h,p,l=0,q,a,b='',c='',t;if(x&&x.length>255){y=''+x;i=y.indexOf('?');if(i>0){q=y.substring(i+1);y=y.substring(0,i);h=y.toLowerCase();j=0;if(h.substring(0,7)=='http://')j+=7;else if(h.substring(0,8)=='https://')j+=8;i=h.indexOf(\"/\",j);if(i>0){h=h.substring(j,i);p=y.substring(i);y=y.substring(0,i);if(h.indexOf('google')>=0)l=',q,ie,start,search_key,word,kw,cd,';else if(h.indexOf('yahoo.co')>=0)l=',p,ei,';if(l&&q){a=s.sp(q,'&');if(a&&a.length>1){for(j=0;j<a.length;j++){t=a[j];i=t.indexOf('=');if(i>0&&l.indexOf(','+t.substring(0,i)+',')>=0)b+=(b?'&':'')+t;else c+=(c?'&':'')+t}if(b&&c)q=b+'&'+c;else c=''}i=253-(q.length-c.length)-y.length;x=y+(i>0?p.substring(0,i):'')+'?'+q}}}}return x};s.s2q=function(k,v,vf,vfp,f){var s=this,qs='',sk,sv,sp,ss,nke,nk,nf,nfl=0,nfn,nfm;if(k==\"contextData\")k=\"c\";if(v){for(sk in v)if((!f||sk.substring(0,f.length)==f)&&v[sk]&&(!vf||vf.indexOf(','+(vfp?vfp+'.':'')+sk+',')>=0)&&(!Object||!Object.prototype||!Object.prototype[sk])){nfm=0;if(nfl)for(nfn=0;nfn<nfl.length;nfn++)if(sk.substring(0,nfl[nfn].length)==nfl[nfn])nfm=1;if(!nfm){if(qs=='')qs+='&'+k+'.';sv=v[sk];if(f)sk=sk.substring(f.length);if(sk.length>0){nke=sk.indexOf('.');if(nke>0){nk=sk.substring(0,nke);nf=(f?f:'')+nk+'.';if(!nfl)nfl=new Array;nfl[nfl.length]=nf;qs+=s.s2q(nk,v,vf,vfp,nf)}else{if(typeof(sv)=='boolean'){if(sv)sv='true';else sv='false'}if(sv){if(vfp=='retrieveLightData'&&f.indexOf('.contextData.')<0){sp=sk.substring(0,4);ss=sk.substring(4);if(sk=='transactionID')sk='xact';else if(sk=='channel')sk='ch';else if(sk=='campaign')sk='v0';else if(s.num(ss)){if(sp=='prop')sk='c'+ss;else if(sp=='eVar')sk='v'+ss;else if(sp=='list')sk='l'+ss;else if(sp=='hier'){sk='h'+ss;sv=sv.substring(0,255)}}}qs+='&'+s.ape(sk)+'='+s.ape(sv)}}}}}if(qs!='')qs+='&.'+k}return qs};s.hav=function(){var s=this,qs='',l,fv='',fe='',mn,i,e;if(s.lightProfileID){l=s.va_m;fv=s.lightTrackVars;if(fv)fv=','+fv+','+s.vl_mr+','}else{l=s.va_t;if(s.pe||s.linkType){fv=s.linkTrackVars;fe=s.linkTrackEvents;if(s.pe){mn=s.pe.substring(0,1).toUpperCase()+s.pe.substring(1);if(s[mn]){fv=s[mn].trackVars;fe=s[mn].trackEvents}}}if(fv)fv=','+fv+','+s.vl_l+','+s.vl_l2;if(fe){fe=','+fe+',';if(fv)fv+=',events,'}if (s.events2)e=(e?',':'')+s.events2}for(i=0;i<l.length;i++){var k=l[i],v=s[k],b=k.substring(0,4),x=k.substring(4),n=parseInt(x),q=k;if(!v)if(k=='events'&&e){v=e;e=''}if(v&&(!fv||fv.indexOf(','+k+',')>=0)&&k!='linkName'&&k!='linkType'){if(k=='timestamp')q='ts';else if(k=='dynamicVariablePrefix')q='D';else if(k=='visitorID')q='vid';else if(k=='pageURL'){q='g';if(v.length>255){s.pageURLRest=v.substring(255);v=v.substring(0,255);}}else if(k=='pageURLRest')q='-g';else if(k=='referrer'){q='r';v=s.fl(s.rf(v),255)}else if(k=='vmk'||k=='visitorMigrationKey')q='vmt';else if(k=='visitorMigrationServer'){q='vmf';if(s.ssl&&s.visitorMigrationServerSecure)v=''}else if(k=='visitorMigrationServerSecure'){q='vmf';if(!s.ssl&&s.visitorMigrationServer)v=''}else if(k=='charSet'){q='ce';if(v.toUpperCase()=='AUTO')v='ISO8859-1';else if(s.em==2||s.em==3)v='UTF-8'}else if(k=='visitorNamespace')q='ns';else if(k=='cookieDomainPeriods')q='cdp';else if(k=='cookieLifetime')q='cl';else if(k=='variableProvider')q='vvp';else if(k=='currencyCode')q='cc';else if(k=='channel')q='ch';else if(k=='transactionID')q='xact';else if(k=='campaign')q='v0';else if(k=='resolution')q='s';else if(k=='colorDepth')q='c';else if(k=='javascriptVersion')q='j';else if(k=='javaEnabled')q='v';else if(k=='cookiesEnabled')q='k';else if(k=='browserWidth')q='bw';else if(k=='browserHeight')q='bh';else if(k=='connectionType')q='ct';else if(k=='homepage')q='hp';else if(k=='plugins')q='p';else if(k=='events'){if(e)v+=(v?',':'')+e;if(fe)v=s.fs(v,fe)}else if(k=='events2')v='';else if(k=='contextData'){qs+=s.s2q('c',s[k],fv,k,0);v=''}else if(k=='lightProfileID')q='mtp';else if(k=='lightStoreForSeconds'){q='mtss';if(!s.lightProfileID)v=''}else if(k=='lightIncrementBy'){q='mti';if(!s.lightProfileID)v=''}else if(k=='retrieveLightProfiles')q='mtsr';else if(k=='deleteLightProfiles')q='mtsd';else if(k=='retrieveLightData'){if(s.retrieveLightProfiles)qs+=s.s2q('mts',s[k],fv,k,0);v=''}else if(s.num(x)){if(b=='prop')q='c'+n;else if(b=='eVar')q='v'+n;else if(b=='list')q='l'+n;else if(b=='hier'){q='h'+n;v=s.fl(v,255)}}if(v)qs+='&'+s.ape(q)+'='+(k.substring(0,3)!='pev'?s.ape(v):v)}}return qs};s.ltdf=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLowerCase():'';var qi=h.indexOf('?');h=qi>=0?h.substring(0,qi):h;if(t&&h.substring(h.length-(t.length+1))=='.'+t)return 1;return 0};s.ltef=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLowerCase():'';if(t&&h.indexOf(t)>=0)return 1;return 0};s.lt=function(h){var s=this,lft=s.linkDownloadFileTypes,lef=s.linkExternalFilters,lif=s.linkInternalFilters;lif=lif?lif:s.wd.location.hostname;h=h.toLowerCase();if(s.trackDownloadLinks&&lft&&s.pt(lft,',','ltdf',h))return 'd';if(s.trackExternalLinks&&h.indexOf('#')!=0&&h.indexOf('about:')!=0&&h.indexOf('javascript:')!=0&&(lef||lif)&&(!lef||s.pt(lef,',','ltef',h))&&(!lif||!s.pt(lif,',','ltef',h)))return 'e';return ''};s.lc=new Function('e','var s=s_c_il['+s._in+'],b=s.eh(this,\"onclick\");s.lnk=this;s.t();s.lnk=0;if(b)return this[b](e);return true');s.bcr=function(){var s=this;if(s.bct&&s.bce)s.bct.dispatchEvent(s.bce);if(s.bcf){if(typeof(s.bcf)=='function')s.bcf();else if(s.bct&&s.bct.href)s.d.location=s.bct.href}s.bct=s.bce=s.bcf=0};s.bc=new Function('e','if(e&&e.s_fe)return;var s=s_c_il['+s._in+'],f,tcf,t,n,nrs,a,h;if(s.d&&s.d.all&&s.d.all.cppXYctnr)return;if(!s.bbc)s.useForcedLinkTracking=0;else if(!s.useForcedLinkTracking){s.b.removeEventListener(\"click\",s.bc,true);s.bbc=s.useForcedLinkTracking=0;return}else s.b.removeEventListener(\"click\",s.bc,false);s.eo=e.srcElement?e.srcElement:e.target;nrs=s.nrs;s.t();s.eo=0;if(s.nrs>nrs&&s.useForcedLinkTracking&&e.target){a=e.target;while(a&&a!=s.b&&a.tagName.toUpperCase()!=\"A\"&&a.tagName.toUpperCase()!=\"AREA\")a=a.parentNode;if(a){h=a.href;if(h.indexOf(\"#\")==0||h.indexOf(\"about:\")==0||h.indexOf(\"javascript:\")==0)h=0;t=a.target;if(e.target.dispatchEvent&&h&&(!t||t==\"_self\"||t==\"_top\"||(s.wd.name&&t==s.wd.name))){e.stopPropagation();e.stopImmediatePropagation();e.preventDefault();n=s.d.createEvent(\"MouseEvents\");n.initMouseEvent(\"click\",e.bubbles,e.cancelable,e.view,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget);n.s_fe=1;s.bct=e.target;s.bce=n}}}');s.oh=function(o){var s=this,l=s.wd.location,h=o.href?o.href:'',i,j,k,p;i=h.indexOf(':');j=h.indexOf('?');k=h.indexOf('/');if(h&&(i<0||(j>=0&&i>j)||(k>=0&&i>k))){p=o.protocol&&o.protocol.length>1?o.protocol:(l.protocol?l.protocol:'');i=l.pathname.lastIndexOf('/');h=(p?p+'//':'')+(o.host?o.host:(l.host?l.host:''))+(h.substring(0,1)!='/'?l.pathname.substring(0,i<0?0:i)+'/':'')+h}return h};s.ot=function(o){var t=o.tagName;if(o.tagUrn||(o.scopeName&&o.scopeName.toUpperCase()!='HTML'))return '';t=t&&t.toUpperCase?t.toUpperCase():'';if(t=='SHAPE')t='';if(t){if((t=='INPUT'||t=='BUTTON')&&o.type&&o.type.toUpperCase)t=o.type.toUpperCase();else if(!t&&o.href)t='A';}return t};s.oid=function(o){var s=this,t=s.ot(o),p,c,n='',x=0;if(t&&!o.s_oid){p=o.protocol;c=o.onclick;if(o.href&&(t=='A'||t=='AREA')&&(!c||!p||p.toLowerCase().indexOf('javascript')<0))n=s.oh(o);else if(c){n=s.rep(s.rep(s.rep(s.rep(''+c,\"\\r\",''),\"\\n\",''),\"\\t\",''),' ','');x=2}else if(t=='INPUT'||t=='SUBMIT'){if(o.value)n=o.value;else if(o.innerText)n=o.innerText;else if(o.textContent)n=o.textContent;x=3}else if(o.src&&t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100);o.s_oidt=x}}return o.s_oid};s.rqf=function(t,un){var s=this,e=t.indexOf('='),u=e>=0?t.substring(0,e):'',q=e>=0?s.epa(t.substring(e+1)):'';if(u&&q&&(','+u+',').indexOf(','+un+',')>=0){if(u!=s.un&&s.un.indexOf(',')>=0)q='&u='+u+q+'&u=0';return q}return ''};s.rq=function(un){if(!un)un=this.un;var s=this,c=un.indexOf(','),v=s.c_r('s_sq'),q='';if(c<0)return s.pt(v,'&','rqf',un);return s.pt(un,',','rq',0)};s.sqp=function(t,a){var s=this,e=t.indexOf('='),q=e<0?'':s.epa(t.substring(e+1));s.sqq[q]='';if(e>=0)s.pt(t.substring(0,e),',','sqs',q);return 0};s.sqs=function(un,q){var s=this;s.squ[un]=q;return 0};s.sq=function(q){var s=this,k='s_sq',v=s.c_r(k),x,c=0;s.sqq=new Object;s.squ=new Object;s.sqq[q]='';s.pt(v,'&','sqp',0);s.pt(s.un,',','sqs',q);v='';for(x in s.squ)if(x&&(!Object||!Object.prototype||!Object.prototype[x]))s.sqq[s.squ[x]]+=(s.sqq[s.squ[x]]?',':'')+x;for(x in s.sqq)if(x&&(!Object||!Object.prototype||!Object.prototype[x])&&s.sqq[x]&&(x==q||c<2)){v+=(v?'&':'')+s.sqq[x]+'='+s.ape(x);c++}return s.c_w(k,v,0)};s.wdl=new Function('e','var s=s_c_il['+s._in+'],r=true,b=s.eh(s.wd,\"onload\"),i,o,oc;if(b)r=this[b](e);for(i=0;i<s.d.links.length;i++){o=s.d.links[i];oc=o.onclick?\"\"+o.onclick:\"\";if((oc.indexOf(\"s_gs(\")<0||oc.indexOf(\".s_oc(\")>=0)&&oc.indexOf(\".tl(\")<0)s.eh(o,\"onclick\",0,s.lc);}return r');s.wds=function(){var s=this;if(s.apv>3&&(!s.isie||!s.ismac||s.apv>=5)){if(s.b&&s.b.attachEvent)s.b.attachEvent('onclick',s.bc);else if(s.b&&s.b.addEventListener){if(s.n&&s.n.userAgent.indexOf('WebKit')>=0&&s.d.createEvent){s.bbc=1;s.useForcedLinkTracking=1;s.b.addEventListener('click',s.bc,true)}s.b.addEventListener('click',s.bc,false)}else s.eh(s.wd,'onload',0,s.wdl)}};s.vs=function(x){var s=this,v=s.visitorSampling,g=s.visitorSamplingGroup,k='s_vsn_'+s.un+(g?'_'+g:''),n=s.c_r(k),e=new Date,y=e.getYear();e.setYear(y+10+(y<1900?1900:0));if(v){v*=100;if(!n){if(!s.c_w(k,x,e))return 0;n=x}if(n%10000>v)return 0}return 1};s.dyasmf=function(t,m){if(t&&m&&m.indexOf(t)>=0)return 1;return 0};s.dyasf=function(t,m){var s=this,i=t?t.indexOf('='):-1,n,x;if(i>=0&&m){var n=t.substring(0,i),x=t.substring(i+1);if(s.pt(x,',','dyasmf',m))return n}return 0};s.uns=function(){var s=this,x=s.dynamicAccountSelection,l=s.dynamicAccountList,m=s.dynamicAccountMatch,n,i;s.un=s.un.toLowerCase();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLowerCase)m=''+m;l=l.toLowerCase();m=m.toLowerCase();n=s.pt(l,';','dyasf',m);if(n)s.un=n}i=s.un.indexOf(',');s.fun=i<0?s.un:s.un.substring(0,i)};s.sa=function(un){var s=this;if(s.un&&s.mpc('sa',arguments))return;s.un=un;if(!s.oun)s.oun=un;else if((','+s.oun+',').indexOf(','+un+',')<0)s.oun+=','+un;s.uns()};s.m_i=function(n,a){var s=this,m,f=n.substring(0,1),r,l,i;if(!s.m_l)s.m_l=new Object;if(!s.m_nl)s.m_nl=new Array;m=s.m_l[n];if(!a&&m&&m._e&&!m._i)s.m_a(n);if(!m){m=new Object,m._c='s_m';m._in=s.wd.s_c_in;m._il=s._il;m._il[m._in]=m;s.wd.s_c_in++;m.s=s;m._n=n;m._l=new Array('_c','_in','_il','_i','_e','_d','_dl','s','n','_r','_g','_g1','_t','_t1','_x','_x1','_rs','_rr','_l');s.m_l[n]=m;s.m_nl[s.m_nl.length]=n}else if(m._r&&!m._m){r=m._r;r._m=m;l=m._l;for(i=0;i<l.length;i++)if(m[l[i]])r[l[i]]=m[l[i]];r._il[r._in]=r;m=s.m_l[n]=r}if(f==f.toUpperCase())s[n]=m;return m};s.m_a=new Function('n','g','e','if(!g)g=\"m_\"+n;var s=s_c_il['+s._in+'],c=s[g+\"_c\"],m,x,f=0;if(s.mpc(\"m_a\",arguments))return;if(!c)c=s.wd[\"s_\"+g+\"_c\"];if(c&&s_d)s[g]=new Function(\"s\",s_ft(s_d(c)));x=s[g];if(!x)x=s.wd[\\'s_\\'+g];if(!x)x=s.wd[g];m=s.m_i(n,1);if(x&&(!m._i||g!=\"m_\"+n)){m._i=f=1;if((\"\"+x).indexOf(\"function\")>=0)x(s);else s.m_m(\"x\",n,x,e)}m=s.m_i(n,1);if(m._dl)m._dl=m._d=0;s.dlt();return f');s.m_m=function(t,n,d,e){t='_'+t;var s=this,i,x,m,f='_'+t,r=0,u;if(s.m_l&&s.m_nl)for(i=0;i<s.m_nl.length;i++){x=s.m_nl[i];if(!n||x==n){m=s.m_i(x);u=m[t];if(u){if((''+u).indexOf('function')>=0){if(d&&e)u=m[t](d,e);else if(d)u=m[t](d);else u=m[t]()}}if(u)r=1;u=m[t+1];if(u&&!m[f]){if((''+u).indexOf('function')>=0){if(d&&e)u=m[t+1](d,e);else if(d)u=m[t+1](d);else u=m[t+1]()}}m[f]=1;if(u)r=1}}return r};s.m_ll=function(){var s=this,g=s.m_dl,i,o;if(g)for(i=0;i<g.length;i++){o=g[i];if(o)s.loadModule(o.n,o.u,o.d,o.l,o.e,1);g[i]=0}};s.loadModule=function(n,u,d,l,e,ln){var s=this,m=0,i,g,o=0,f1,f2,c=s.h?s.h:s.b,b,tcf;if(n){i=n.indexOf(':');if(i>=0){g=n.substring(i+1);n=n.substring(0,i)}else g=\"m_\"+n;m=s.m_i(n)}if((l||(n&&!s.m_a(n,g)))&&u&&s.d&&c&&s.d.createElement){if(d){m._d=1;m._dl=1}if(ln){if(s.ssl)u=s.rep(u,'http:','https:');i='s_s:'+s._in+':'+n+':'+g;b='var s=s_c_il['+s._in+'],o=s.d.getElementById(\"'+i+'\");if(s&&o){if(!o.l&&s.wd.'+g+'){o.l=1;if(o.i)clearTimeout(o.i);o.i=0;s.m_a(\"'+n+'\",\"'+g+'\"'+(e?',\"'+e+'\"':'')+')}';f2=b+'o.c++;if(!s.maxDelay)s.maxDelay=250;if(!o.l&&o.c<(s.maxDelay*2)/100)o.i=setTimeout(o.f2,100)}';f1=new Function('e',b+'}');tcf=new Function('s','c','i','u','f1','f2','var e,o=0;try{o=s.d.createElement(\"script\");if(o){o.type=\"text/javascript\";'+(n?'o.id=i;o.defer=true;o.onload=o.onreadystatechange=f1;o.f2=f2;o.l=0;':'')+'o.src=u;c.appendChild(o);'+(n?'o.c=0;o.i=setTimeout(f2,100)':'')+'}}catch(e){o=0}return o');o=tcf(s,c,i,u,f1,f2)}else{o=new Object;o.n=n+':'+g;o.u=u;o.d=d;o.l=l;o.e=e;g=s.m_dl;if(!g)g=s.m_dl=new Array;i=0;while(i<g.length&&g[i])i++;g[i]=o}}else if(n){m=s.m_i(n);m._e=1}return m};s.voa=function(vo,r){var s=this,l=s.va_g,i,k,v,x;for(i=0;i<l.length;i++){k=l[i];v=vo[k];if(v||vo['!'+k]){if(!r&&(k==\"contextData\"||k==\"retrieveLightData\")&&s[k])for(x in s[k])if(!v[x])v[x]=s[k][x];s[k]=v}}};s.vob=function(vo){var s=this,l=s.va_g,i,k;for(i=0;i<l.length;i++){k=l[i];vo[k]=s[k];if(!vo[k])vo['!'+k]=1}};s.dlt=new Function('var s=s_c_il['+s._in+'],d=new Date,i,vo,f=0;if(s.dll)for(i=0;i<s.dll.length;i++){vo=s.dll[i];if(vo){if(!s.m_m(\"d\")||d.getTime()-vo._t>=s.maxDelay){s.dll[i]=0;s.t(vo)}else f=1}}if(s.dli)clearTimeout(s.dli);s.dli=0;if(f){if(!s.dli)s.dli=setTimeout(s.dlt,s.maxDelay)}else s.dll=0');s.dl=function(vo){var s=this,d=new Date;if(!vo)vo=new Object;s.vob(vo);vo._t=d.getTime();if(!s.dll)s.dll=new Array;s.dll[s.dll.length]=vo;if(!s.maxDelay)s.maxDelay=250;s.dlt()};s.gfid=function(){var s=this,d='0123456789ABCDEF',k='s_fid',fid=s.c_r(k),h='',l='',i,j,m=8,n=4,e=new Date,y;if(!fid||fid.indexOf('-')<0){for(i=0;i<16;i++){j=Math.floor(Math.random()*m);h+=d.substring(j,j+1);j=Math.floor(Math.random()*n);l+=d.substring(j,j+1);m=n=16}fid=h+'-'+l;}y=e.getYear();e.setYear(y+2+(y<1900?1900:0));if(!s.c_w(k,fid,e))fid=0;return fid};s.applyADMS=function(){var s=this,vb=new Object;if(s.wd.ADMS&&!s.visitorID&&!s.admsc){if(!s.adms)s.adms=ADMS.getDefault();if(!s.admsq){s.visitorID=s.adms.getVisitorID(new Function('v','var s=s_c_il['+s._in+'],l=s.admsq,i;if(v==-1)v=0;if(v)s.visitorID=v;s.admsq=0;if(l){s.admsc=1;for(i=0;i<l.length;i++)s.t(l[i]);s.admsc=0;}'));if(!s.visitorID)s.admsq=new Array}if(s.admsq){s.vob(vb);vb['!visitorID']=0;s.admsq.push(vb);return 1}else{if(s.visitorID==-1)s.visitorID=0}}return 0};s.track=s.t=function(vo){var s=this,trk=1,tm=new Date,sed=Math&&Math.random?Math.floor(Math.random()*10000000000000):tm.getTime(),sess='s'+Math.floor(tm.getTime()/10800000)%10+sed,y=tm.getYear(),vt=tm.getDate()+'/'+tm.getMonth()+'/'+(y<1900?y+1900:y)+' '+tm.getHours()+':'+tm.getMinutes()+':'+tm.getSeconds()+' '+tm.getDay()+' '+tm.getTimezoneOffset(),tcf,tfs=s.gtfs(),ta=-1,q='',qs='',code='',vb=new Object;if(s.mpc('t',arguments))return;s.gl(s.vl_g);s.uns();s.m_ll();if(!s.td){var tl=tfs.location,a,o,i,x='',c='',v='',p='',bw='',bh='',j='1.0',k=s.c_w('s_cc','true',0)?'Y':'N',hp='',ct='',pn=0,ps;if(String&&String.prototype){j='1.1';if(j.match){j='1.2';if(tm.setUTCDate){j='1.3';if(s.isie&&s.ismac&&s.apv>=5)j='1.4';if(pn.toPrecision){j='1.5';a=new Array;if(a.forEach){j='1.6';i=0;o=new Object;tcf=new Function('o','var e,i=0;try{i=new Iterator(o)}catch(e){}return i');i=tcf(o);if(i&&i.next){j='1.7';if(a.reduce){j='1.8';if(j.trim){j='1.8.1';if(Date.parse){j='1.8.2';if(Object.create)j='1.8.5'}}}}}}}}}if(s.apv>=4)x=screen.width+'x'+screen.height;if(s.isns||s.isopera){if(s.apv>=3){v=s.n.javaEnabled()?'Y':'N';if(s.apv>=4){c=screen.pixelDepth;bw=s.wd.innerWidth;bh=s.wd.innerHeight}}s.pl=s.n.plugins}else if(s.isie){if(s.apv>=4){v=s.n.javaEnabled()?'Y':'N';c=screen.colorDepth;if(s.apv>=5){bw=s.d.documentElement.offsetWidth;bh=s.d.documentElement.offsetHeight;if(!s.ismac&&s.b){tcf=new Function('s','tl','var e,hp=0;try{s.b.addBehavior(\"#default#homePage\");hp=s.b.isHomePage(tl)?\"Y\":\"N\"}catch(e){}return hp');hp=tcf(s,tl);tcf=new Function('s','var e,ct=0;try{s.b.addBehavior(\"#default#clientCaps\");ct=s.b.connectionType}catch(e){}return ct');ct=tcf(s)}}}else r=''}if(s.pl)while(pn<s.pl.length&&pn<30){ps=s.fl(s.pl[pn].name,100)+';';if(p.indexOf(ps)<0)p+=ps;pn++}s.resolution=x;s.colorDepth=c;s.javascriptVersion=j;s.javaEnabled=v;s.cookiesEnabled=k;s.browserWidth=bw;s.browserHeight=bh;s.connectionType=ct;s.homepage=hp;s.plugins=p;s.td=1}if(vo){s.vob(vb);s.voa(vo)}s.fid=s.gfid();if(s.applyADMS())return '';if((vo&&vo._t)||!s.m_m('d')){if(s.usePlugins)s.doPlugins(s);if(!s.abort){var l=s.wd.location,r=tfs.document.referrer;if(!s.pageURL)s.pageURL=l.href?l.href:l;if(!s.referrer&&!s._1_referrer){s.referrer=r;s._1_referrer=1}s.m_m('g');if(s.lnk||s.eo){var o=s.eo?s.eo:s.lnk,p=s.pageName,w=1,t=s.ot(o),n=s.oid(o),x=o.s_oidt,h,l,i,oc;if(s.eo&&o==s.eo){while(o&&!n&&t!='BODY'){o=o.parentElement?o.parentElement:o.parentNode;if(o){t=s.ot(o);n=s.oid(o);x=o.s_oidt}}if(!n||t=='BODY')o='';if(o){oc=o.onclick?''+o.onclick:'';if((oc.indexOf('s_gs(')>=0&&oc.indexOf('.s_oc(')<0)||oc.indexOf('.tl(')>=0)o=0}}if(o){if(n)ta=o.target;h=s.oh(o);i=h.indexOf('?');h=s.linkLeaveQueryString||i<0?h:h.substring(0,i);l=s.linkName;t=s.linkType?s.linkType.toLowerCase():s.lt(h);if(t&&(h||l)){s.pe='lnk_'+(t=='d'||t=='e'?t:'o');s.pev1=(h?s.ape(h):'');s.pev2=(l?s.ape(l):'')}else trk=0;if(s.trackInlineStats){if(!p){p=s.pageURL;w=0}t=s.ot(o);i=o.sourceIndex;if(o.dataset&&o.dataset.sObjectId){s.wd.s_objectID=o.dataset.sObjectId;}else if(o.getAttribute&&o.getAttribute('data-s-object-id')){s.wd.s_objectID=o.getAttribute('data-s-object-id');}else if(s.useForcedLinkTracking){s.wd.s_objectID='';oc=o.onclick?''+o.onclick:'';if(oc){var ocb=oc.indexOf('s_objectID'),oce,ocq,ocx;if(ocb>=0){ocb+=10;while(ocb<oc.length&&(\"= \\t\\r\\n\").indexOf(oc.charAt(ocb))>=0)ocb++;if(ocb<oc.length){oce=ocb;ocq=ocx=0;while(oce<oc.length&&(oc.charAt(oce)!=';'||ocq)){if(ocq){if(oc.charAt(oce)==ocq&&!ocx)ocq=0;else if(oc.charAt(oce)==\"\\\\\")ocx=!ocx;else ocx=0;}else{ocq=oc.charAt(oce);if(ocq!='\"'&&ocq!=\"'\")ocq=0}oce++;}oc=oc.substring(ocb,oce);if(oc){o.s_soid=new Function('s','var e;try{s.wd.s_objectID='+oc+'}catch(e){}');o.s_soid(s)}}}}}if(s.gg('objectID')){n=s.gg('objectID');x=1;i=1}if(p&&n&&t)qs='&pid='+s.ape(s.fl(p,255))+(w?'&pidt='+w:'')+'&oid='+s.ape(s.fl(n,100))+(x?'&oidt='+x:'')+'&ot='+s.ape(t)+(i?'&oi='+i:'')}}else trk=0}if(trk||qs){s.sampled=s.vs(sed);if(trk){if(s.sampled)code=s.mr(sess,(vt?'&t='+s.ape(vt):'')+s.hav()+q+(qs?qs:s.rq()),0,ta);qs='';s.m_m('t');if(s.p_r)s.p_r();s.referrer=s.lightProfileID=s.retrieveLightProfiles=s.deleteLightProfiles=''}s.sq(qs)}}}else s.dl(vo);if(vo)s.voa(vb,1);s.abort=0;s.pageURLRest=s.lnk=s.eo=s.linkName=s.linkType=s.wd.s_objectID=s.ppu=s.pe=s.pev1=s.pev2=s.pev3='';if(s.pg)s.wd.s_lnk=s.wd.s_eo=s.wd.s_linkName=s.wd.s_linkType='';return code};s.trackLink=s.tl=function(o,t,n,vo,f){var s=this;s.lnk=o;s.linkType=t;s.linkName=n;if(f){s.bct=o;s.bcf=f}s.t(vo)};s.trackLight=function(p,ss,i,vo){var s=this;s.lightProfileID=p;s.lightStoreForSeconds=ss;s.lightIncrementBy=i;s.t(vo)};s.setTagContainer=function(n){var s=this,l=s.wd.s_c_il,i,t,x,y;s.tcn=n;if(l)for(i=0;i<l.length;i++){t=l[i];if(t&&t._c=='s_l'&&t.tagContainerName==n){s.voa(t);if(t.lmq)for(i=0;i<t.lmq.length;i++){x=t.lmq[i];y='m_'+x.n;if(!s[y]&&!s[y+'_c']){s[y]=t[y];s[y+'_c']=t[y+'_c']}s.loadModule(x.n,x.u,x.d)}if(t.ml)for(x in t.ml)if(s[x]){y=s[x];x=t.ml[x];for(i in x)if(!Object.prototype[i]){if(typeof(x[i])!='function'||(''+x[i]).indexOf('s_c_il')<0)y[i]=x[i]}}if(t.mmq)for(i=0;i<t.mmq.length;i++){x=t.mmq[i];if(s[x.m]){y=s[x.m];if(y[x.f]&&typeof(y[x.f])=='function'){if(x.a)y[x.f].apply(y,x.a);else y[x.f].apply(y)}}}if(t.tq)for(i=0;i<t.tq.length;i++)s.t(t.tq[i]);t.s=s;return}}};s.wd=window;s.ssl=(s.wd.location.protocol.toLowerCase().indexOf('https')>=0);s.d=document;s.b=s.d.body;if(s.d.getElementsByTagName){s.h=s.d.getElementsByTagName('HEAD');if(s.h)s.h=s.h[0]}s.n=navigator;s.u=s.n.userAgent;s.ns6=s.u.indexOf('Netscape6/');var apn=s.n.appName,v=s.n.appVersion,ie=v.indexOf('MSIE '),o=s.u.indexOf('Opera '),i;if(v.indexOf('Opera')>=0||o>0)apn='Opera';s.isie=(apn=='Microsoft Internet Explorer');s.isns=(apn=='Netscape');s.isopera=(apn=='Opera');s.ismac=(s.u.indexOf('Mac')>=0);if(o>0)s.apv=parseFloat(s.u.substring(o+6));else if(ie>0){s.apv=parseInt(i=v.substring(ie+5));if(s.apv>3)s.apv=parseFloat(i)}else if(s.ns6>0)s.apv=parseFloat(s.u.substring(s.ns6+10));else s.apv=parseFloat(v);s.em=0;if(s.em.toPrecision)s.em=3;else if(String.fromCharCode){i=escape(String.fromCharCode(256)).toUpperCase();s.em=(i=='%C4%80'?2:(i=='%U0100'?1:0))}if(s.oun)s.sa(s.oun);s.sa(un);s.vl_l='timestamp,dynamicVariablePrefix,visitorID,fid,vmk,visitorMigrationKey,visitorMigrationServer,visitorMigrationServerSecure,ppu,charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,pageName,pageURL,referrer,contextData,currencyCode,lightProfileID,lightStoreForSeconds,lightIncrementBy,retrieveLightProfiles,deleteLightProfiles,retrieveLightData';s.va_l=s.sp(s.vl_l,',');s.vl_mr=s.vl_m='timestamp,charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,contextData,lightProfileID,lightStoreForSeconds,lightIncrementBy';s.vl_t=s.vl_l+',variableProvider,channel,server,pageType,transactionID,purchaseID,campaign,state,zip,events,events2,products,linkName,linkType';var n;for(n=1;n<=75;n++){s.vl_t+=',prop'+n+',eVar'+n;s.vl_m+=',prop'+n+',eVar'+n}for(n=1;n<=5;n++)s.vl_t+=',hier'+n;for(n=1;n<=3;n++)s.vl_t+=',list'+n;s.va_m=s.sp(s.vl_m,',');s.vl_l2=',tnt,pe,pev1,pev2,pev3,resolution,colorDepth,javascriptVersion,javaEnabled,cookiesEnabled,browserWidth,browserHeight,connectionType,homepage,pageURLRest,plugins';s.vl_t+=s.vl_l2;s.va_t=s.sp(s.vl_t,',');s.vl_g=s.vl_t+',trackingServer,trackingServerSecure,trackingServerBase,fpCookieDomainPeriods,disableBufferedRequests,mobile,visitorSampling,visitorSamplingGroup,dynamicAccountSelection,dynamicAccountList,dynamicAccountMatch,trackDownloadLinks,trackExternalLinks,trackInlineStats,linkLeaveQueryString,linkDownloadFileTypes,linkExternalFilters,linkInternalFilters,linkTrackVars,linkTrackEvents,linkNames,lnk,eo,lightTrackVars,_1_referrer,un';s.va_g=s.sp(s.vl_g,',');s.pg=pg;s.gl(s.vl_g);s.contextData=new Object;s.retrieveLightData=new Object;if(!ss)s.wds();if(pg){s.wd.s_co=function(o){return o};s.wd.s_gs=function(un){s_gi(un,1,1).t()};s.wd.s_dc=function(un){s_gi(un,1).t()}}",y=window,f=y.s_c_il,b=navigator,A=b.userAgent,z=b.appVersion,p=z.indexOf("MSIE "),d=A.indexOf("Netscape6/"),t,h,g,r,B;
if(k){k=k.toLowerCase();
if(f){for(g=0;
g<2;
g++){for(h=0;
h<f.length;
h++){B=f[h];
r=B._c;
if((!r||r=="s_c"||(g>0&&r=="s_l"))&&(B.oun==k||(B.fs&&B.sa&&B.fs(B.oun,k)))){if(B.sa){B.sa(k);
}if(r=="s_c"){return B;
}}else{B=0;
}}}}}y.s_an="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
y.s_sp=new Function("x","d","var a=new Array,i=0,j;if(x){if(x.split)a=x.split(d);else if(!d)for(i=0;i<x.length;i++)a[a.length]=x.substring(i,i+1);else while(i>=0){j=x.indexOf(d,i);a[a.length]=x.substring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a");
y.s_jn=new Function("a","d","var x='',i,j=a.length;if(a&&j>0){x=a[0];if(j>1){if(a.join)x=a.join(d);else for(i=1;i<j;i++)x+=d+a[i]}}return x");
y.s_rep=new Function("x","o","n","return s_jn(s_sp(x,o),n)");
y.s_d=new Function("x","var t='`^@$#',l=s_an,l2=new Object,x2,d,b=0,k,i=x.lastIndexOf('~~'),j,v,w;if(i>0){d=x.substring(0,i);x=x.substring(i+2);l=s_sp(l,'');for(i=0;i<62;i++)l2[l[i]]=i;t=s_sp(t,'');d=s_sp(d,'~');i=0;while(i<5){v=0;if(x.indexOf(t[i])>=0) {x2=s_sp(x,t[i]);for(j=1;j<x2.length;j++){k=x2[j].substring(0,1);w=t[i]+k;if(k!=' '){v=1;w=d[b+l2[k]]}x2[j]=w+x2[j].substring(1)}}if(v)x=s_jn(x2,'');else{w=t[i]+' ';if(x.indexOf(w)>=0)x=s_rep(x,w,t[i]);i++;b+=62}}}return x");
y.s_fe=new Function("c","return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")");
y.s_fa=new Function("f","var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s<e){c=f.substring(s,s+1);if(c==',')a+='\",\"';else if((\"\\n\\r\\t \").indexOf(c)<0)a+=c;s++}return a?'\"'+a+'\"':a");
y.s_ft=new Function("c","c+='';var s,e,o,a,d,q,f,h,x;s=c.indexOf('=function(');while(s>=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){if(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")'+c.substring(e+1);s=c.indexOf('=function(')}return c;");
q=s_d(q);
if(p>0){t=parseInt(h=z.substring(p+5));
if(t>3){t=parseFloat(h);
}}else{if(d>0){t=parseFloat(A.substring(d+10));
}else{t=parseFloat(z);
}}if(t<5||z.indexOf("Opera")>=0||A.indexOf("Opera")>=0){q=s_ft(q);
}if(!B){B=new Object;
if(!y.s_c_in){y.s_c_il=new Array;
y.s_c_in=0;
}B._il=y.s_c_il;
B._in=y.s_c_in;
B._il[B._in]=B;
y.s_c_in++;
}B._c="s_c";
(new Function("s","un","pg","ss",q))(B,k,o,C);
return B;
}function s_giqf(){var a=window,e=a.s_giq,c,b,d;
if(e){for(c=0;
c<e.length;
c++){b=e[c];
d=s_gi(b.oun);
d.sa(b.un);
d.setTagContainer(b.tagContainerName);
}}a.s_giq=0;
}s_giqf();
/*!
 * jQuery JavaScript Library v1.7.2
 * http://jquery.com/
 *
 * Copyright 2011, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2011, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Wed Mar 21 12:46:34 2012 -0700
 */
(function(bf,N){var ax=bf.document,bw=bf.navigator,bo=bf.location;
var b=(function(){var bH=function(b2,b3){return new bH.fn.init(b2,b3,bF);
},bW=bf.jQuery,bJ=bf.$,bF,b0=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bO=/\S/,bK=/^\s+/,bG=/\s+$/,bC=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bP=/^[\],:{}\s]*$/,bY=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bR=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bL=/(?:^|:|,)(?:\s*\[)+/g,bA=/(webkit)[ \/]([\w.]+)/,bT=/(opera)(?:.*version)?[ \/]([\w.]+)/,bS=/(msie) ([\w.]+)/,bU=/(mozilla)(?:.*? rv:([\w.]+))?/,bD=/-([a-z]|[0-9])/ig,b1=/^-ms-/,bV=function(b2,b3){return(b3+"").toUpperCase();
},bZ=bw.userAgent,bX,bE,e,bN=Object.prototype.toString,bI=Object.prototype.hasOwnProperty,bB=Array.prototype.push,bM=Array.prototype.slice,bQ=String.prototype.trim,bx=Array.prototype.indexOf,bz={};
bH.fn=bH.prototype={constructor:bH,init:function(b2,b6,b5){var b4,b7,b3,b8;
if(!b2){return this;
}if(b2.nodeType){this.context=this[0]=b2;
this.length=1;
return this;
}if(b2==="body"&&!b6&&ax.body){this.context=ax;
this[0]=ax.body;
this.selector=b2;
this.length=1;
return this;
}if(typeof b2==="string"){if(b2.charAt(0)==="<"&&b2.charAt(b2.length-1)===">"&&b2.length>=3){b4=[null,b2,null];
}else{b4=b0.exec(b2);
}if(b4&&(b4[1]||!b6)){if(b4[1]){b6=b6 instanceof bH?b6[0]:b6;
b8=(b6?b6.ownerDocument||b6:ax);
b3=bC.exec(b2);
if(b3){if(bH.isPlainObject(b6)){b2=[ax.createElement(b3[1])];
bH.fn.attr.call(b2,b6,true);
}else{b2=[b8.createElement(b3[1])];
}}else{b3=bH.buildFragment([b4[1]],[b8]);
b2=(b3.cacheable?bH.clone(b3.fragment):b3.fragment).childNodes;
}return bH.merge(this,b2);
}else{b7=ax.getElementById(b4[2]);
if(b7&&b7.parentNode){if(b7.id!==b4[2]){return b5.find(b2);
}this.length=1;
this[0]=b7;
}this.context=ax;
this.selector=b2;
return this;
}}else{if(!b6||b6.jquery){return(b6||b5).find(b2);
}else{return this.constructor(b6).find(b2);
}}}else{if(bH.isFunction(b2)){return b5.ready(b2);
}}if(b2.selector!==N){this.selector=b2.selector;
this.context=b2.context;
}return bH.makeArray(b2,this);
},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length;
},toArray:function(){return bM.call(this,0);
},get:function(b2){return b2==null?this.toArray():(b2<0?this[this.length+b2]:this[b2]);
},pushStack:function(b3,b5,b2){var b4=this.constructor();
if(bH.isArray(b3)){bB.apply(b4,b3);
}else{bH.merge(b4,b3);
}b4.prevObject=this;
b4.context=this.context;
if(b5==="find"){b4.selector=this.selector+(this.selector?" ":"")+b2;
}else{if(b5){b4.selector=this.selector+"."+b5+"("+b2+")";
}}return b4;
},each:function(b3,b2){return bH.each(this,b3,b2);
},ready:function(b2){bH.bindReady();
bE.add(b2);
return this;
},eq:function(b2){b2=+b2;
return b2===-1?this.slice(b2):this.slice(b2,b2+1);
},first:function(){return this.eq(0);
},last:function(){return this.eq(-1);
},slice:function(){return this.pushStack(bM.apply(this,arguments),"slice",bM.call(arguments).join(","));
},map:function(b2){return this.pushStack(bH.map(this,function(b4,b3){return b2.call(b4,b3,b4);
}));
},end:function(){return this.prevObject||this.constructor(null);
},push:bB,sort:[].sort,splice:[].splice};
bH.fn.init.prototype=bH.fn;
bH.extend=bH.fn.extend=function(){var cb,b4,b2,b3,b8,b9,b7=arguments[0]||{},b6=1,b5=arguments.length,ca=false;
if(typeof b7==="boolean"){ca=b7;
b7=arguments[1]||{};
b6=2;
}if(typeof b7!=="object"&&!bH.isFunction(b7)){b7={};
}if(b5===b6){b7=this;
--b6;
}for(;
b6<b5;
b6++){if((cb=arguments[b6])!=null){for(b4 in cb){b2=b7[b4];
b3=cb[b4];
if(b7===b3){continue;
}if(ca&&b3&&(bH.isPlainObject(b3)||(b8=bH.isArray(b3)))){if(b8){b8=false;
b9=b2&&bH.isArray(b2)?b2:[];
}else{b9=b2&&bH.isPlainObject(b2)?b2:{};
}b7[b4]=bH.extend(ca,b9,b3);
}else{if(b3!==N){b7[b4]=b3;
}}}}}return b7;
};
bH.extend({noConflict:function(b2){if(bf.$===bH){bf.$=bJ;
}if(b2&&bf.jQuery===bH){bf.jQuery=bW;
}return bH;
},isReady:false,readyWait:1,holdReady:function(b2){if(b2){bH.readyWait++;
}else{bH.ready(true);
}},ready:function(b2){if((b2===true&&!--bH.readyWait)||(b2!==true&&!bH.isReady)){if(!ax.body){return setTimeout(bH.ready,1);
}bH.isReady=true;
if(b2!==true&&--bH.readyWait>0){return;
}bE.fireWith(ax,[bH]);
if(bH.fn.trigger){bH(ax).trigger("ready").off("ready");
}}},bindReady:function(){if(bE){return;
}bE=bH.Callbacks("once memory");
if(ax.readyState==="complete"){return setTimeout(bH.ready,1);
}if(ax.addEventListener){ax.addEventListener("DOMContentLoaded",e,false);
bf.addEventListener("load",bH.ready,false);
}else{if(ax.attachEvent){ax.attachEvent("onreadystatechange",e);
bf.attachEvent("onload",bH.ready);
var b2=false;
try{b2=bf.frameElement==null;
}catch(b3){}if(ax.documentElement.doScroll&&b2){by();
}}}},isFunction:function(b2){return bH.type(b2)==="function";
},isArray:Array.isArray||function(b2){return bH.type(b2)==="array";
},isWindow:function(b2){return b2!=null&&b2==b2.window;
},isNumeric:function(b2){return !isNaN(parseFloat(b2))&&isFinite(b2);
},type:function(b2){return b2==null?String(b2):bz[bN.call(b2)]||"object";
},isPlainObject:function(b4){if(!b4||bH.type(b4)!=="object"||b4.nodeType||bH.isWindow(b4)){return false;
}try{if(b4.constructor&&!bI.call(b4,"constructor")&&!bI.call(b4.constructor.prototype,"isPrototypeOf")){return false;
}}catch(b3){return false;
}var b2;
for(b2 in b4){}return b2===N||bI.call(b4,b2);
},isEmptyObject:function(b3){for(var b2 in b3){return false;
}return true;
},error:function(b2){throw new Error(b2);
},parseJSON:function(b2){if(typeof b2!=="string"||!b2){return null;
}b2=bH.trim(b2);
if(bf.JSON&&bf.JSON.parse){return bf.JSON.parse(b2);
}if(bP.test(b2.replace(bY,"@").replace(bR,"]").replace(bL,""))){return(new Function("return "+b2))();
}bH.error("Invalid JSON: "+b2);
},parseXML:function(b4){if(typeof b4!=="string"||!b4){return null;
}var b2,b3;
try{if(bf.DOMParser){b3=new DOMParser();
b2=b3.parseFromString(b4,"text/xml");
}else{b2=new ActiveXObject("Microsoft.XMLDOM");
b2.async="false";
b2.loadXML(b4);
}}catch(b5){b2=N;
}if(!b2||!b2.documentElement||b2.getElementsByTagName("parsererror").length){bH.error("Invalid XML: "+b4);
}return b2;
},noop:function(){},globalEval:function(b2){if(b2&&bO.test(b2)){(bf.execScript||function(b3){bf["eval"].call(bf,b3);
})(b2);
}},camelCase:function(b2){return b2.replace(b1,"ms-").replace(bD,bV);
},nodeName:function(b3,b2){return b3.nodeName&&b3.nodeName.toUpperCase()===b2.toUpperCase();
},each:function(b5,b8,b4){var b3,b6=0,b7=b5.length,b2=b7===N||bH.isFunction(b5);
if(b4){if(b2){for(b3 in b5){if(b8.apply(b5[b3],b4)===false){break;
}}}else{for(;
b6<b7;
){if(b8.apply(b5[b6++],b4)===false){break;
}}}}else{if(b2){for(b3 in b5){if(b8.call(b5[b3],b3,b5[b3])===false){break;
}}}else{for(;
b6<b7;
){if(b8.call(b5[b6],b6,b5[b6++])===false){break;
}}}}return b5;
},trim:bQ?function(b2){return b2==null?"":bQ.call(b2);
}:function(b2){return b2==null?"":b2.toString().replace(bK,"").replace(bG,"");
},makeArray:function(b5,b3){var b2=b3||[];
if(b5!=null){var b4=bH.type(b5);
if(b5.length==null||b4==="string"||b4==="function"||b4==="regexp"||bH.isWindow(b5)){bB.call(b2,b5);
}else{bH.merge(b2,b5);
}}return b2;
},inArray:function(b4,b5,b3){var b2;
if(b5){if(bx){return bx.call(b5,b4,b3);
}b2=b5.length;
b3=b3?b3<0?Math.max(0,b2+b3):b3:0;
for(;
b3<b2;
b3++){if(b3 in b5&&b5[b3]===b4){return b3;
}}}return -1;
},merge:function(b6,b4){var b5=b6.length,b3=0;
if(typeof b4.length==="number"){for(var b2=b4.length;
b3<b2;
b3++){b6[b5++]=b4[b3];
}}else{while(b4[b3]!==N){b6[b5++]=b4[b3++];
}}b6.length=b5;
return b6;
},grep:function(b3,b8,b2){var b4=[],b7;
b2=!!b2;
for(var b5=0,b6=b3.length;
b5<b6;
b5++){b7=!!b8(b3[b5],b5);
if(b2!==b7){b4.push(b3[b5]);
}}return b4;
},map:function(b2,b9,ca){var b7,b8,b6=[],b4=0,b3=b2.length,b5=b2 instanceof bH||b3!==N&&typeof b3==="number"&&((b3>0&&b2[0]&&b2[b3-1])||b3===0||bH.isArray(b2));
if(b5){for(;
b4<b3;
b4++){b7=b9(b2[b4],b4,ca);
if(b7!=null){b6[b6.length]=b7;
}}}else{for(b8 in b2){b7=b9(b2[b8],b8,ca);
if(b7!=null){b6[b6.length]=b7;
}}}return b6.concat.apply([],b6);
},guid:1,proxy:function(b6,b5){if(typeof b5==="string"){var b4=b6[b5];
b5=b6;
b6=b4;
}if(!bH.isFunction(b6)){return N;
}var b2=bM.call(arguments,2),b3=function(){return b6.apply(b5,b2.concat(bM.call(arguments)));
};
b3.guid=b6.guid=b6.guid||b3.guid||bH.guid++;
return b3;
},access:function(b2,b8,cb,b9,b6,cc,ca){var b4,b7=cb==null,b5=0,b3=b2.length;
if(cb&&typeof cb==="object"){for(b5 in cb){bH.access(b2,b8,b5,cb[b5],1,cc,b9);
}b6=1;
}else{if(b9!==N){b4=ca===N&&bH.isFunction(b9);
if(b7){if(b4){b4=b8;
b8=function(ce,cd,cf){return b4.call(bH(ce),cf);
};
}else{b8.call(b2,b9);
b8=null;
}}if(b8){for(;
b5<b3;
b5++){b8(b2[b5],cb,b4?b9.call(b2[b5],b5,b8(b2[b5],cb)):b9,ca);
}}b6=1;
}}return b6?b2:b7?b8.call(b2):b3?b8(b2[0],cb):cc;
},now:function(){return(new Date()).getTime();
},uaMatch:function(b3){b3=b3.toLowerCase();
var b2=bA.exec(b3)||bT.exec(b3)||bS.exec(b3)||b3.indexOf("compatible")<0&&bU.exec(b3)||[];
return{browser:b2[1]||"",version:b2[2]||"0"};
},sub:function(){function b2(b5,b6){return new b2.fn.init(b5,b6);
}bH.extend(true,b2,this);
b2.superclass=this;
b2.fn=b2.prototype=this();
b2.fn.constructor=b2;
b2.sub=this.sub;
b2.fn.init=function b4(b5,b6){if(b6&&b6 instanceof bH&&!(b6 instanceof b2)){b6=b2(b6);
}return bH.fn.init.call(this,b5,b6,b3);
};
b2.fn.init.prototype=b2.fn;
var b3=b2(ax);
return b2;
},browser:{}});
bH.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b3,b2){bz["[object "+b2+"]"]=b2.toLowerCase();
});
bX=bH.uaMatch(bZ);
if(bX.browser){bH.browser[bX.browser]=true;
bH.browser.version=bX.version;
}if(bH.browser.webkit){bH.browser.safari=true;
}if(bO.test("\xA0")){bK=/^[\s\xA0]+/;
bG=/[\s\xA0]+$/;
}bF=bH(ax);
if(ax.addEventListener){e=function(){ax.removeEventListener("DOMContentLoaded",e,false);
bH.ready();
};
}else{if(ax.attachEvent){e=function(){if(ax.readyState==="complete"){ax.detachEvent("onreadystatechange",e);
bH.ready();
}};
}}function by(){if(bH.isReady){return;
}try{ax.documentElement.doScroll("left");
}catch(b2){setTimeout(by,1);
return;
}bH.ready();
}return bH;
})();
var a5={};
function Z(e){var bx=a5[e]={},by,bz;
e=e.split(/\s+/);
for(by=0,bz=e.length;
by<bz;
by++){bx[e[by]]=true;
}return bx;
}b.Callbacks=function(bz){bz=bz?(a5[bz]||Z(bz)):{};
var bE=[],bF=[],bA,e,bB,by,bC,bD,bH=function(bI){var bJ,bM,bL,bK,bN;
for(bJ=0,bM=bI.length;
bJ<bM;
bJ++){bL=bI[bJ];
bK=b.type(bL);
if(bK==="array"){bH(bL);
}else{if(bK==="function"){if(!bz.unique||!bG.has(bL)){bE.push(bL);
}}}}},bx=function(bJ,bI){bI=bI||[];
bA=!bz.memory||[bJ,bI];
e=true;
bB=true;
bD=by||0;
by=0;
bC=bE.length;
for(;
bE&&bD<bC;
bD++){if(bE[bD].apply(bJ,bI)===false&&bz.stopOnFalse){bA=true;
break;
}}bB=false;
if(bE){if(!bz.once){if(bF&&bF.length){bA=bF.shift();
bG.fireWith(bA[0],bA[1]);
}}else{if(bA===true){bG.disable();
}else{bE=[];
}}}},bG={add:function(){if(bE){var bI=bE.length;
bH(arguments);
if(bB){bC=bE.length;
}else{if(bA&&bA!==true){by=bI;
bx(bA[0],bA[1]);
}}}return this;
},remove:function(){if(bE){var bI=arguments,bK=0,bL=bI.length;
for(;
bK<bL;
bK++){for(var bJ=0;
bJ<bE.length;
bJ++){if(bI[bK]===bE[bJ]){if(bB){if(bJ<=bC){bC--;
if(bJ<=bD){bD--;
}}}bE.splice(bJ--,1);
if(bz.unique){break;
}}}}}return this;
},has:function(bJ){if(bE){var bI=0,bK=bE.length;
for(;
bI<bK;
bI++){if(bJ===bE[bI]){return true;
}}}return false;
},empty:function(){bE=[];
return this;
},disable:function(){bE=bF=bA=N;
return this;
},disabled:function(){return !bE;
},lock:function(){bF=N;
if(!bA||bA===true){bG.disable();
}return this;
},locked:function(){return !bF;
},fireWith:function(bJ,bI){if(bF){if(bB){if(!bz.once){bF.push([bJ,bI]);
}}else{if(!(bz.once&&bA)){bx(bJ,bI);
}}}return this;
},fire:function(){bG.fireWith(this,arguments);
return this;
},fired:function(){return !!e;
}};
return bG;
};
var aM=[].slice;
b.extend({Deferred:function(bA){var bz=b.Callbacks("once memory"),by=b.Callbacks("once memory"),bx=b.Callbacks("memory"),e="pending",bC={resolve:bz,reject:by,notify:bx},bE={done:bz.add,fail:by.add,progress:bx.add,state:function(){return e;
},isResolved:bz.fired,isRejected:by.fired,then:function(bG,bF,bH){bD.done(bG).fail(bF).progress(bH);
return this;
},always:function(){bD.done.apply(bD,arguments).fail.apply(bD,arguments);
return this;
},pipe:function(bH,bG,bF){return b.Deferred(function(bI){b.each({done:[bH,"resolve"],fail:[bG,"reject"],progress:[bF,"notify"]},function(bK,bN){var bJ=bN[0],bM=bN[1],bL;
if(b.isFunction(bJ)){bD[bK](function(){bL=bJ.apply(this,arguments);
if(bL&&b.isFunction(bL.promise)){bL.promise().then(bI.resolve,bI.reject,bI.notify);
}else{bI[bM+"With"](this===bD?bI:this,[bL]);
}});
}else{bD[bK](bI[bM]);
}});
}).promise();
},promise:function(bG){if(bG==null){bG=bE;
}else{for(var bF in bE){bG[bF]=bE[bF];
}}return bG;
}},bD=bE.promise({}),bB;
for(bB in bC){bD[bB]=bC[bB].fire;
bD[bB+"With"]=bC[bB].fireWith;
}bD.done(function(){e="resolved";
},by.disable,bx.lock).fail(function(){e="rejected";
},bz.disable,bx.lock);
if(bA){bA.call(bD,bD);
}return bD;
},when:function(bC){var bz=aM.call(arguments,0),bx=0,e=bz.length,bD=new Array(e),by=e,bA=e,bE=e<=1&&bC&&b.isFunction(bC.promise)?bC:b.Deferred(),bG=bE.promise();
function bF(bH){return function(bI){bz[bH]=arguments.length>1?aM.call(arguments,0):bI;
if(!(--by)){bE.resolveWith(bE,bz);
}};
}function bB(bH){return function(bI){bD[bH]=arguments.length>1?aM.call(arguments,0):bI;
bE.notifyWith(bG,bD);
};
}if(e>1){for(;
bx<e;
bx++){if(bz[bx]&&bz[bx].promise&&b.isFunction(bz[bx].promise)){bz[bx].promise().then(bF(bx),bE.reject,bB(bx));
}else{--by;
}}if(!by){bE.resolveWith(bE,bz);
}}else{if(bE!==bC){bE.resolveWith(bE,e?[bC]:[]);
}}return bG;
}});
b.support=(function(){var bK,bJ,bG,bH,bz,bF,bE,bB,bL,bC,bA,by,bx=ax.createElement("div"),bI=ax.documentElement;
bx.setAttribute("className","t");
bx.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
bJ=bx.getElementsByTagName("*");
bG=bx.getElementsByTagName("a")[0];
if(!bJ||!bJ.length||!bG){return{};
}bH=ax.createElement("select");
bz=bH.appendChild(ax.createElement("option"));
bF=bx.getElementsByTagName("input")[0];
bK={leadingWhitespace:(bx.firstChild.nodeType===3),tbody:!bx.getElementsByTagName("tbody").length,htmlSerialize:!!bx.getElementsByTagName("link").length,style:/top/.test(bG.getAttribute("style")),hrefNormalized:(bG.getAttribute("href")==="/a"),opacity:/^0.55/.test(bG.style.opacity),cssFloat:!!bG.style.cssFloat,checkOn:(bF.value==="on"),optSelected:bz.selected,getSetAttribute:bx.className!=="t",enctype:!!ax.createElement("form").enctype,html5Clone:ax.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,pixelMargin:true};
b.boxModel=bK.boxModel=(ax.compatMode==="CSS1Compat");
bF.checked=true;
bK.noCloneChecked=bF.cloneNode(true).checked;
bH.disabled=true;
bK.optDisabled=!bz.disabled;
try{delete bx.test;
}catch(bD){bK.deleteExpando=false;
}if(!bx.addEventListener&&bx.attachEvent&&bx.fireEvent){bx.attachEvent("onclick",function(){bK.noCloneEvent=false;
});
bx.cloneNode(true).fireEvent("onclick");
}bF=ax.createElement("input");
bF.value="t";
bF.setAttribute("type","radio");
bK.radioValue=bF.value==="t";
bF.setAttribute("checked","checked");
bF.setAttribute("name","t");
bx.appendChild(bF);
bE=ax.createDocumentFragment();
bE.appendChild(bx.lastChild);
bK.checkClone=bE.cloneNode(true).cloneNode(true).lastChild.checked;
bK.appendChecked=bF.checked;
bE.removeChild(bF);
bE.appendChild(bx);
if(bx.attachEvent){for(bA in {submit:1,change:1,focusin:1}){bC="on"+bA;
by=(bC in bx);
if(!by){bx.setAttribute(bC,"return;");
by=(typeof bx[bC]==="function");
}bK[bA+"Bubbles"]=by;
}}bE.removeChild(bx);
bE=bH=bz=bx=bF=null;
b(function(){var bO,bX,bY,bW,bQ,bR,bT,bN,bM,bS,bP,e,bV,bU=ax.getElementsByTagName("body")[0];
if(!bU){return;
}bN=1;
bV="padding:0;margin:0;border:";
bP="position:absolute;top:0;left:0;width:1px;height:1px;";
e=bV+"0;visibility:hidden;";
bM="style='"+bP+bV+"5px solid #000;";
bS="<div "+bM+"display:block;'><div style='"+bV+"0;display:block;overflow:hidden;'></div></div><table "+bM+"' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
bO=ax.createElement("div");
bO.style.cssText=e+"width:0;height:0;position:static;top:0;margin-top:"+bN+"px";
bU.insertBefore(bO,bU.firstChild);
bx=ax.createElement("div");
bO.appendChild(bx);
bx.innerHTML="<table><tr><td style='"+bV+"0;display:none'></td><td>t</td></tr></table>";
bB=bx.getElementsByTagName("td");
by=(bB[0].offsetHeight===0);
bB[0].style.display="";
bB[1].style.display="none";
bK.reliableHiddenOffsets=by&&(bB[0].offsetHeight===0);
if(bf.getComputedStyle){bx.innerHTML="";
bT=ax.createElement("div");
bT.style.width="0";
bT.style.marginRight="0";
bx.style.width="2px";
bx.appendChild(bT);
bK.reliableMarginRight=(parseInt((bf.getComputedStyle(bT,null)||{marginRight:0}).marginRight,10)||0)===0;
}if(typeof bx.style.zoom!=="undefined"){bx.innerHTML="";
bx.style.width=bx.style.padding="1px";
bx.style.border=0;
bx.style.overflow="hidden";
bx.style.display="inline";
bx.style.zoom=1;
bK.inlineBlockNeedsLayout=(bx.offsetWidth===3);
bx.style.display="block";
bx.style.overflow="visible";
bx.innerHTML="<div style='width:5px;'></div>";
bK.shrinkWrapBlocks=(bx.offsetWidth!==3);
}bx.style.cssText=bP+e;
bx.innerHTML=bS;
bX=bx.firstChild;
bY=bX.firstChild;
bQ=bX.nextSibling.firstChild.firstChild;
bR={doesNotAddBorder:(bY.offsetTop!==5),doesAddBorderForTableAndCells:(bQ.offsetTop===5)};
bY.style.position="fixed";
bY.style.top="20px";
bR.fixedPosition=(bY.offsetTop===20||bY.offsetTop===15);
bY.style.position=bY.style.top="";
bX.style.overflow="hidden";
bX.style.position="relative";
bR.subtractsBorderForOverflowNotVisible=(bY.offsetTop===-5);
bR.doesNotIncludeMarginInBodyOffset=(bU.offsetTop!==bN);
if(bf.getComputedStyle){bx.style.marginTop="1%";
bK.pixelMargin=(bf.getComputedStyle(bx,null)||{marginTop:0}).marginTop!=="1%";
}if(typeof bO.style.zoom!=="undefined"){bO.style.zoom=1;
}bU.removeChild(bO);
bT=bx=bO=null;
b.extend(bK,bR);
});
return bK;
})();
var aV=/^(?:\{.*\}|\[.*\])$/,aC=/([A-Z])/g;
b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];
return !!e&&!U(e);
},data:function(bz,bx,bB,bA){if(!b.acceptData(bz)){return;
}var bI,bC,bF,bG=b.expando,bE=typeof bx==="string",bH=bz.nodeType,e=bH?b.cache:bz,by=bH?bz[bG]:bz[bG]&&bG,bD=bx==="events";
if((!by||!e[by]||(!bD&&!bA&&!e[by].data))&&bE&&bB===N){return;
}if(!by){if(bH){bz[bG]=by=++b.uuid;
}else{by=bG;
}}if(!e[by]){e[by]={};
if(!bH){e[by].toJSON=b.noop;
}}if(typeof bx==="object"||typeof bx==="function"){if(bA){e[by]=b.extend(e[by],bx);
}else{e[by].data=b.extend(e[by].data,bx);
}}bI=bC=e[by];
if(!bA){if(!bC.data){bC.data={};
}bC=bC.data;
}if(bB!==N){bC[b.camelCase(bx)]=bB;
}if(bD&&!bC[bx]){return bI.events;
}if(bE){bF=bC[bx];
if(bF==null){bF=bC[b.camelCase(bx)];
}}else{bF=bC;
}return bF;
},removeData:function(bz,bx,bA){if(!b.acceptData(bz)){return;
}var bD,bC,bB,bE=b.expando,bF=bz.nodeType,e=bF?b.cache:bz,by=bF?bz[bE]:bE;
if(!e[by]){return;
}if(bx){bD=bA?e[by]:e[by].data;
if(bD){if(!b.isArray(bx)){if(bx in bD){bx=[bx];
}else{bx=b.camelCase(bx);
if(bx in bD){bx=[bx];
}else{bx=bx.split(" ");
}}}for(bC=0,bB=bx.length;
bC<bB;
bC++){delete bD[bx[bC]];
}if(!(bA?U:b.isEmptyObject)(bD)){return;
}}}if(!bA){delete e[by].data;
if(!U(e[by])){return;
}}if(b.support.deleteExpando||!e.setInterval){delete e[by];
}else{e[by]=null;
}if(bF){if(b.support.deleteExpando){delete bz[bE];
}else{if(bz.removeAttribute){bz.removeAttribute(bE);
}else{bz[bE]=null;
}}}},_data:function(bx,e,by){return b.data(bx,e,by,true);
},acceptData:function(bx){if(bx.nodeName){var e=b.noData[bx.nodeName.toLowerCase()];
if(e){return !(e===true||bx.getAttribute("classid")!==e);
}}return true;
}});
b.fn.extend({data:function(bF,bE){var bA,bx,bD,e,bz,by=this[0],bC=0,bB=null;
if(bF===N){if(this.length){bB=b.data(by);
if(by.nodeType===1&&!b._data(by,"parsedAttrs")){bD=by.attributes;
for(bz=bD.length;
bC<bz;
bC++){e=bD[bC].name;
if(e.indexOf("data-")===0){e=b.camelCase(e.substring(5));
a8(by,e,bB[e]);
}}b._data(by,"parsedAttrs",true);
}}return bB;
}if(typeof bF==="object"){return this.each(function(){b.data(this,bF);
});
}bA=bF.split(".",2);
bA[1]=bA[1]?"."+bA[1]:"";
bx=bA[1]+"!";
return b.access(this,function(bG){if(bG===N){bB=this.triggerHandler("getData"+bx,[bA[0]]);
if(bB===N&&by){bB=b.data(by,bF);
bB=a8(by,bF,bB);
}return bB===N&&bA[1]?this.data(bA[0]):bB;
}bA[1]=bG;
this.each(function(){var bH=b(this);
bH.triggerHandler("setData"+bx,bA);
b.data(this,bF,bG);
bH.triggerHandler("changeData"+bx,bA);
});
},null,bE,arguments.length>1,null,false);
},removeData:function(e){return this.each(function(){b.removeData(this,e);
});
}});
function a8(bz,by,bA){if(bA===N&&bz.nodeType===1){var bx="data-"+by.replace(aC,"-$1").toLowerCase();
bA=bz.getAttribute(bx);
if(typeof bA==="string"){try{bA=bA==="true"?true:bA==="false"?false:bA==="null"?null:b.isNumeric(bA)?+bA:aV.test(bA)?b.parseJSON(bA):bA;
}catch(bB){}b.data(bz,by,bA);
}else{bA=N;
}}return bA;
}function U(bx){for(var e in bx){if(e==="data"&&b.isEmptyObject(bx[e])){continue;
}if(e!=="toJSON"){return false;
}}return true;
}function bl(bA,bz,bC){var by=bz+"defer",bx=bz+"queue",e=bz+"mark",bB=b._data(bA,by);
if(bB&&(bC==="queue"||!b._data(bA,bx))&&(bC==="mark"||!b._data(bA,e))){setTimeout(function(){if(!b._data(bA,bx)&&!b._data(bA,e)){b.removeData(bA,by,true);
bB.fire();
}},0);
}}b.extend({_mark:function(bx,e){if(bx){e=(e||"fx")+"mark";
b._data(bx,e,(b._data(bx,e)||0)+1);
}},_unmark:function(bA,bz,bx){if(bA!==true){bx=bz;
bz=bA;
bA=false;
}if(bz){bx=bx||"fx";
var e=bx+"mark",by=bA?0:((b._data(bz,e)||1)-1);
if(by){b._data(bz,e,by);
}else{b.removeData(bz,e,true);
bl(bz,bx,"mark");
}}},queue:function(bx,e,bz){var by;
if(bx){e=(e||"fx")+"queue";
by=b._data(bx,e);
if(bz){if(!by||b.isArray(bz)){by=b._data(bx,e,b.makeArray(bz));
}else{by.push(bz);
}}return by||[];
}},dequeue:function(bA,bz){bz=bz||"fx";
var bx=b.queue(bA,bz),by=bx.shift(),e={};
if(by==="inprogress"){by=bx.shift();
}if(by){if(bz==="fx"){bx.unshift("inprogress");
}b._data(bA,bz+".run",e);
by.call(bA,function(){b.dequeue(bA,bz);
},e);
}if(!bx.length){b.removeData(bA,bz+"queue "+bz+".run",true);
bl(bA,bz,"queue");
}}});
b.fn.extend({queue:function(e,bx){var by=2;
if(typeof e!=="string"){bx=e;
e="fx";
by--;
}if(arguments.length<by){return b.queue(this[0],e);
}return bx===N?this:this.each(function(){var bz=b.queue(this,e,bx);
if(e==="fx"&&bz[0]!=="inprogress"){b.dequeue(this,e);
}});
},dequeue:function(e){return this.each(function(){b.dequeue(this,e);
});
},delay:function(bx,e){bx=b.fx?b.fx.speeds[bx]||bx:bx;
e=e||"fx";
return this.queue(e,function(bz,by){var bA=setTimeout(bz,bx);
by.stop=function(){clearTimeout(bA);
};
});
},clearQueue:function(e){return this.queue(e||"fx",[]);
},promise:function(bF,by){if(typeof bF!=="string"){by=bF;
bF=N;
}bF=bF||"fx";
var e=b.Deferred(),bx=this,bA=bx.length,bD=1,bB=bF+"defer",bC=bF+"queue",bE=bF+"mark",bz;
function bG(){if(!(--bD)){e.resolveWith(bx,[bx]);
}}while(bA--){if((bz=b.data(bx[bA],bB,N,true)||(b.data(bx[bA],bC,N,true)||b.data(bx[bA],bE,N,true))&&b.data(bx[bA],bB,b.Callbacks("once memory"),true))){bD++;
bz.add(bG);
}}bG();
return e.promise(by);
}});
var aS=/[\n\t\r]/g,ai=/\s+/,aX=/\r/g,g=/^(?:button|input)$/i,E=/^(?:button|input|object|select|textarea)$/i,m=/^a(?:rea)?$/i,aq=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,G=b.support.getSetAttribute,bh,a1,aI;
b.fn.extend({attr:function(e,bx){return b.access(this,b.attr,e,bx,arguments.length>1);
},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e);
});
},prop:function(e,bx){return b.access(this,b.prop,e,bx,arguments.length>1);
},removeProp:function(e){e=b.propFix[e]||e;
return this.each(function(){try{this[e]=N;
delete this[e];
}catch(bx){}});
},addClass:function(bA){var bC,by,bx,bz,bB,bD,e;
if(b.isFunction(bA)){return this.each(function(bE){b(this).addClass(bA.call(this,bE,this.className));
});
}if(bA&&typeof bA==="string"){bC=bA.split(ai);
for(by=0,bx=this.length;
by<bx;
by++){bz=this[by];
if(bz.nodeType===1){if(!bz.className&&bC.length===1){bz.className=bA;
}else{bB=" "+bz.className+" ";
for(bD=0,e=bC.length;
bD<e;
bD++){if(!~bB.indexOf(" "+bC[bD]+" ")){bB+=bC[bD]+" ";
}}bz.className=b.trim(bB);
}}}}return this;
},removeClass:function(bB){var bC,by,bx,bA,bz,bD,e;
if(b.isFunction(bB)){return this.each(function(bE){b(this).removeClass(bB.call(this,bE,this.className));
});
}if((bB&&typeof bB==="string")||bB===N){bC=(bB||"").split(ai);
for(by=0,bx=this.length;
by<bx;
by++){bA=this[by];
if(bA.nodeType===1&&bA.className){if(bB){bz=(" "+bA.className+" ").replace(aS," ");
for(bD=0,e=bC.length;
bD<e;
bD++){bz=bz.replace(" "+bC[bD]+" "," ");
}bA.className=b.trim(bz);
}else{bA.className="";
}}}}return this;
},toggleClass:function(bz,bx){var by=typeof bz,e=typeof bx==="boolean";
if(b.isFunction(bz)){return this.each(function(bA){b(this).toggleClass(bz.call(this,bA,this.className,bx),bx);
});
}return this.each(function(){if(by==="string"){var bC,bB=0,bA=b(this),bD=bx,bE=bz.split(ai);
while((bC=bE[bB++])){bD=e?bD:!bA.hasClass(bC);
bA[bD?"addClass":"removeClass"](bC);
}}else{if(by==="undefined"||by==="boolean"){if(this.className){b._data(this,"__className__",this.className);
}this.className=this.className||bz===false?"":b._data(this,"__className__")||"";
}}});
},hasClass:function(e){var bz=" "+e+" ",by=0,bx=this.length;
for(;
by<bx;
by++){if(this[by].nodeType===1&&(" "+this[by].className+" ").replace(aS," ").indexOf(bz)>-1){return true;
}}return false;
},val:function(bz){var e,bx,bA,by=this[0];
if(!arguments.length){if(by){e=b.valHooks[by.type]||b.valHooks[by.nodeName.toLowerCase()];
if(e&&"get" in e&&(bx=e.get(by,"value"))!==N){return bx;
}bx=by.value;
return typeof bx==="string"?bx.replace(aX,""):bx==null?"":bx;
}return;
}bA=b.isFunction(bz);
return this.each(function(bC){var bB=b(this),bD;
if(this.nodeType!==1){return;
}if(bA){bD=bz.call(this,bC,bB.val());
}else{bD=bz;
}if(bD==null){bD="";
}else{if(typeof bD==="number"){bD+="";
}else{if(b.isArray(bD)){bD=b.map(bD,function(bE){return bE==null?"":bE+"";
});
}}}e=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()];
if(!e||!("set" in e)||e.set(this,bD,"value")===N){this.value=bD;
}});
}});
b.extend({valHooks:{option:{get:function(e){var bx=e.attributes.value;
return !bx||bx.specified?e.value:e.text;
}},select:{get:function(e){var bC,bx,bB,bz,bA=e.selectedIndex,bD=[],bE=e.options,by=e.type==="select-one";
if(bA<0){return null;
}bx=by?bA:0;
bB=by?bA+1:bE.length;
for(;
bx<bB;
bx++){bz=bE[bx];
if(bz.selected&&(b.support.optDisabled?!bz.disabled:bz.getAttribute("disabled")===null)&&(!bz.parentNode.disabled||!b.nodeName(bz.parentNode,"optgroup"))){bC=b(bz).val();
if(by){return bC;
}bD.push(bC);
}}if(by&&!bD.length&&bE.length){return b(bE[bA]).val();
}return bD;
},set:function(bx,by){var e=b.makeArray(by);
b(bx).find("option").each(function(){this.selected=b.inArray(b(this).val(),e)>=0;
});
if(!e.length){bx.selectedIndex=-1;
}return e;
}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bC,bz,bD,bB){var by,e,bA,bx=bC.nodeType;
if(!bC||bx===3||bx===8||bx===2){return;
}if(bB&&bz in b.attrFn){return b(bC)[bz](bD);
}if(typeof bC.getAttribute==="undefined"){return b.prop(bC,bz,bD);
}bA=bx!==1||!b.isXMLDoc(bC);
if(bA){bz=bz.toLowerCase();
e=b.attrHooks[bz]||(aq.test(bz)?a1:bh);
}if(bD!==N){if(bD===null){b.removeAttr(bC,bz);
return;
}else{if(e&&"set" in e&&bA&&(by=e.set(bC,bD,bz))!==N){return by;
}else{bC.setAttribute(bz,""+bD);
return bD;
}}}else{if(e&&"get" in e&&bA&&(by=e.get(bC,bz))!==null){return by;
}else{by=bC.getAttribute(bz);
return by===null?N:by;
}}},removeAttr:function(bA,bC){var bB,bD,by,e,bx,bz=0;
if(bC&&bA.nodeType===1){bD=bC.toLowerCase().split(ai);
e=bD.length;
for(;
bz<e;
bz++){by=bD[bz];
if(by){bB=b.propFix[by]||by;
bx=aq.test(by);
if(!bx){b.attr(bA,by,"");
}bA.removeAttribute(G?by:bB);
if(bx&&bB in bA){bA[bB]=false;
}}}}},attrHooks:{type:{set:function(e,bx){if(g.test(e.nodeName)&&e.parentNode){b.error("type property can't be changed");
}else{if(!b.support.radioValue&&bx==="radio"&&b.nodeName(e,"input")){var by=e.value;
e.setAttribute("type",bx);
if(by){e.value=by;
}return bx;
}}}},value:{get:function(bx,e){if(bh&&b.nodeName(bx,"button")){return bh.get(bx,e);
}return e in bx?bx.value:null;
},set:function(bx,by,e){if(bh&&b.nodeName(bx,"button")){return bh.set(bx,by,e);
}bx.value=by;
}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(bB,bz,bC){var by,e,bA,bx=bB.nodeType;
if(!bB||bx===3||bx===8||bx===2){return;
}bA=bx!==1||!b.isXMLDoc(bB);
if(bA){bz=b.propFix[bz]||bz;
e=b.propHooks[bz];
}if(bC!==N){if(e&&"set" in e&&(by=e.set(bB,bC,bz))!==N){return by;
}else{return(bB[bz]=bC);
}}else{if(e&&"get" in e&&(by=e.get(bB,bz))!==null){return by;
}else{return bB[bz];
}}},propHooks:{tabIndex:{get:function(bx){var e=bx.getAttributeNode("tabindex");
return e&&e.specified?parseInt(e.value,10):E.test(bx.nodeName)||m.test(bx.nodeName)&&bx.href?0:N;
}}}});
b.attrHooks.tabindex=b.propHooks.tabIndex;
a1={get:function(bx,e){var bz,by=b.prop(bx,e);
return by===true||typeof by!=="boolean"&&(bz=bx.getAttributeNode(e))&&bz.nodeValue!==false?e.toLowerCase():N;
},set:function(bx,bz,e){var by;
if(bz===false){b.removeAttr(bx,e);
}else{by=b.propFix[e]||e;
if(by in bx){bx[by]=true;
}bx.setAttribute(e,e.toLowerCase());
}return e;
}};
if(!G){aI={name:true,id:true,coords:true};
bh=b.valHooks.button={get:function(by,bx){var e;
e=by.getAttributeNode(bx);
return e&&(aI[bx]?e.nodeValue!=="":e.specified)?e.nodeValue:N;
},set:function(by,bz,bx){var e=by.getAttributeNode(bx);
if(!e){e=ax.createAttribute(bx);
by.setAttributeNode(e);
}return(e.nodeValue=bz+"");
}};
b.attrHooks.tabindex.set=bh.set;
b.each(["width","height"],function(bx,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{set:function(by,bz){if(bz===""){by.setAttribute(e,"auto");
return bz;
}}});
});
b.attrHooks.contenteditable={get:bh.get,set:function(bx,by,e){if(by===""){by="false";
}bh.set(bx,by,e);
}};
}if(!b.support.hrefNormalized){b.each(["href","src","width","height"],function(bx,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{get:function(bz){var by=bz.getAttribute(e,2);
return by===null?N:by;
}});
});
}if(!b.support.style){b.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||N;
},set:function(e,bx){return(e.style.cssText=""+bx);
}};
}if(!b.support.optSelected){b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(bx){var e=bx.parentNode;
if(e){e.selectedIndex;
if(e.parentNode){e.parentNode.selectedIndex;
}}return null;
}});
}if(!b.support.enctype){b.propFix.enctype="encoding";
}if(!b.support.checkOn){b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value;
}};
});
}b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,bx){if(b.isArray(bx)){return(e.checked=b.inArray(b(e).val(),bx)>=0);
}}});
});
var bg=/^(?:textarea|input|select)$/i,o=/^([^\.]*)?(?:\.(.+))?$/,L=/(?:^|\s)hover(\.\S+)?\b/,aR=/^key/,bi=/^(?:mouse|contextmenu)|click/,V=/^(?:focusinfocus|focusoutblur)$/,W=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,aa=function(e){var bx=W.exec(e);
if(bx){bx[1]=(bx[1]||"").toLowerCase();
bx[3]=bx[3]&&new RegExp("(?:^|\\s)"+bx[3]+"(?:\\s|$)");
}return bx;
},k=function(by,e){var bx=by.attributes||{};
return((!e[1]||by.nodeName.toLowerCase()===e[1])&&(!e[2]||(bx.id||{}).value===e[2])&&(!e[3]||e[3].test((bx["class"]||{}).value)));
},bv=function(e){return b.event.special.hover?e:e.replace(L,"mouseenter$1 mouseleave$1");
};
b.event={add:function(bz,bE,bL,bC,bA){var bF,bD,bM,bK,bJ,bH,e,bI,bx,bB,by,bG;
if(bz.nodeType===3||bz.nodeType===8||!bE||!bL||!(bF=b._data(bz))){return;
}if(bL.handler){bx=bL;
bL=bx.handler;
bA=bx.selector;
}if(!bL.guid){bL.guid=b.guid++;
}bM=bF.events;
if(!bM){bF.events=bM={};
}bD=bF.handle;
if(!bD){bF.handle=bD=function(bN){return typeof b!=="undefined"&&(!bN||b.event.triggered!==bN.type)?b.event.dispatch.apply(bD.elem,arguments):N;
};
bD.elem=bz;
}bE=b.trim(bv(bE)).split(" ");
for(bK=0;
bK<bE.length;
bK++){bJ=o.exec(bE[bK])||[];
bH=bJ[1];
e=(bJ[2]||"").split(".").sort();
bG=b.event.special[bH]||{};
bH=(bA?bG.delegateType:bG.bindType)||bH;
bG=b.event.special[bH]||{};
bI=b.extend({type:bH,origType:bJ[1],data:bC,handler:bL,guid:bL.guid,selector:bA,quick:bA&&aa(bA),namespace:e.join(".")},bx);
by=bM[bH];
if(!by){by=bM[bH]=[];
by.delegateCount=0;
if(!bG.setup||bG.setup.call(bz,bC,e,bD)===false){if(bz.addEventListener){bz.addEventListener(bH,bD,false);
}else{if(bz.attachEvent){bz.attachEvent("on"+bH,bD);
}}}}if(bG.add){bG.add.call(bz,bI);
if(!bI.handler.guid){bI.handler.guid=bL.guid;
}}if(bA){by.splice(by.delegateCount++,0,bI);
}else{by.push(bI);
}b.event.global[bH]=true;
}bz=null;
},global:{},remove:function(bL,bG,bx,bJ,bD){var bK=b.hasData(bL)&&b._data(bL),bH,bz,bB,bN,bE,bC,bI,by,bA,bM,bF,e;
if(!bK||!(by=bK.events)){return;
}bG=b.trim(bv(bG||"")).split(" ");
for(bH=0;
bH<bG.length;
bH++){bz=o.exec(bG[bH])||[];
bB=bN=bz[1];
bE=bz[2];
if(!bB){for(bB in by){b.event.remove(bL,bB+bG[bH],bx,bJ,true);
}continue;
}bA=b.event.special[bB]||{};
bB=(bJ?bA.delegateType:bA.bindType)||bB;
bF=by[bB]||[];
bC=bF.length;
bE=bE?new RegExp("(^|\\.)"+bE.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;
for(bI=0;
bI<bF.length;
bI++){e=bF[bI];
if((bD||bN===e.origType)&&(!bx||bx.guid===e.guid)&&(!bE||bE.test(e.namespace))&&(!bJ||bJ===e.selector||bJ==="**"&&e.selector)){bF.splice(bI--,1);
if(e.selector){bF.delegateCount--;
}if(bA.remove){bA.remove.call(bL,e);
}}}if(bF.length===0&&bC!==bF.length){if(!bA.teardown||bA.teardown.call(bL,bE)===false){b.removeEvent(bL,bB,bK.handle);
}delete by[bB];
}}if(b.isEmptyObject(by)){bM=bK.handle;
if(bM){bM.elem=null;
}b.removeData(bL,["events","handle"],true);
}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(bx,bF,bC,bL){if(bC&&(bC.nodeType===3||bC.nodeType===8)){return;
}var bI=bx.type||bx,bz=[],e,by,bE,bJ,bB,bA,bH,bG,bD,bK;
if(V.test(bI+b.event.triggered)){return;
}if(bI.indexOf("!")>=0){bI=bI.slice(0,-1);
by=true;
}if(bI.indexOf(".")>=0){bz=bI.split(".");
bI=bz.shift();
bz.sort();
}if((!bC||b.event.customEvent[bI])&&!b.event.global[bI]){return;
}bx=typeof bx==="object"?bx[b.expando]?bx:new b.Event(bI,bx):new b.Event(bI);
bx.type=bI;
bx.isTrigger=true;
bx.exclusive=by;
bx.namespace=bz.join(".");
bx.namespace_re=bx.namespace?new RegExp("(^|\\.)"+bz.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;
bA=bI.indexOf(":")<0?"on"+bI:"";
if(!bC){e=b.cache;
for(bE in e){if(e[bE].events&&e[bE].events[bI]){b.event.trigger(bx,bF,e[bE].handle.elem,true);
}}return;
}bx.result=N;
if(!bx.target){bx.target=bC;
}bF=bF!=null?b.makeArray(bF):[];
bF.unshift(bx);
bH=b.event.special[bI]||{};
if(bH.trigger&&bH.trigger.apply(bC,bF)===false){return;
}bD=[[bC,bH.bindType||bI]];
if(!bL&&!bH.noBubble&&!b.isWindow(bC)){bK=bH.delegateType||bI;
bJ=V.test(bK+bI)?bC:bC.parentNode;
bB=null;
for(;
bJ;
bJ=bJ.parentNode){bD.push([bJ,bK]);
bB=bJ;
}if(bB&&bB===bC.ownerDocument){bD.push([bB.defaultView||bB.parentWindow||bf,bK]);
}}for(bE=0;
bE<bD.length&&!bx.isPropagationStopped();
bE++){bJ=bD[bE][0];
bx.type=bD[bE][1];
bG=(b._data(bJ,"events")||{})[bx.type]&&b._data(bJ,"handle");
if(bG){bG.apply(bJ,bF);
}bG=bA&&bJ[bA];
if(bG&&b.acceptData(bJ)&&bG.apply(bJ,bF)===false){bx.preventDefault();
}}bx.type=bI;
if(!bL&&!bx.isDefaultPrevented()){if((!bH._default||bH._default.apply(bC.ownerDocument,bF)===false)&&!(bI==="click"&&b.nodeName(bC,"a"))&&b.acceptData(bC)){if(bA&&bC[bI]&&((bI!=="focus"&&bI!=="blur")||bx.target.offsetWidth!==0)&&!b.isWindow(bC)){bB=bC[bA];
if(bB){bC[bA]=null;
}b.event.triggered=bI;
bC[bI]();
b.event.triggered=N;
if(bB){bC[bA]=bB;
}}}}return bx.result;
},dispatch:function(bJ){bJ=b.event.fix(bJ||bf.event);
var bF=((b._data(this,"events")||{})[bJ.type]||[]),bE=bF.delegateCount,bz=[].slice.call(arguments,0),bG=!bJ.exclusive&&!bJ.namespace,bB=b.event.special[bJ.type]||{},bx=[],bL,bI,bA,bC,bM,bK,bD,by,e,bH,bN;
bz[0]=bJ;
bJ.delegateTarget=this;
if(bB.preDispatch&&bB.preDispatch.call(this,bJ)===false){return;
}if(bE&&!(bJ.button&&bJ.type==="click")){bC=b(this);
bC.context=this.ownerDocument||this;
for(bA=bJ.target;
bA!=this;
bA=bA.parentNode||this){if(bA.disabled!==true){bK={};
by=[];
bC[0]=bA;
for(bL=0;
bL<bE;
bL++){e=bF[bL];
bH=e.selector;
if(bK[bH]===N){bK[bH]=(e.quick?k(bA,e.quick):bC.is(bH));
}if(bK[bH]){by.push(e);
}}if(by.length){bx.push({elem:bA,matches:by});
}}}}if(bF.length>bE){bx.push({elem:this,matches:bF.slice(bE)});
}for(bL=0;
bL<bx.length&&!bJ.isPropagationStopped();
bL++){bD=bx[bL];
bJ.currentTarget=bD.elem;
for(bI=0;
bI<bD.matches.length&&!bJ.isImmediatePropagationStopped();
bI++){e=bD.matches[bI];
if(bG||(!bJ.namespace&&!e.namespace)||bJ.namespace_re&&bJ.namespace_re.test(e.namespace)){bJ.data=e.data;
bJ.handleObj=e;
bM=((b.event.special[e.origType]||{}).handle||e.handler).apply(bD.elem,bz);
if(bM!==N){bJ.result=bM;
if(bM===false){bJ.preventDefault();
bJ.stopPropagation();
}}}}}if(bB.postDispatch){bB.postDispatch.call(this,bJ);
}return bJ.result;
},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(bx,e){if(bx.which==null){bx.which=e.charCode!=null?e.charCode:e.keyCode;
}return bx;
}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(bz,by){var bA,bB,e,bx=by.button,bC=by.fromElement;
if(bz.pageX==null&&by.clientX!=null){bA=bz.target.ownerDocument||ax;
bB=bA.documentElement;
e=bA.body;
bz.pageX=by.clientX+(bB&&bB.scrollLeft||e&&e.scrollLeft||0)-(bB&&bB.clientLeft||e&&e.clientLeft||0);
bz.pageY=by.clientY+(bB&&bB.scrollTop||e&&e.scrollTop||0)-(bB&&bB.clientTop||e&&e.clientTop||0);
}if(!bz.relatedTarget&&bC){bz.relatedTarget=bC===bz.target?by.toElement:bC;
}if(!bz.which&&bx!==N){bz.which=(bx&1?1:(bx&2?3:(bx&4?2:0)));
}return bz;
}},fix:function(by){if(by[b.expando]){return by;
}var bx,bB,e=by,bz=b.event.fixHooks[by.type]||{},bA=bz.props?this.props.concat(bz.props):this.props;
by=b.Event(e);
for(bx=bA.length;
bx;
){bB=bA[--bx];
by[bB]=e[bB];
}if(!by.target){by.target=e.srcElement||ax;
}if(by.target.nodeType===3){by.target=by.target.parentNode;
}if(by.metaKey===N){by.metaKey=by.ctrlKey;
}return bz.filter?bz.filter(by,e):by;
},special:{ready:{setup:b.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(by,bx,e){if(b.isWindow(this)){this.onbeforeunload=e;
}},teardown:function(bx,e){if(this.onbeforeunload===e){this.onbeforeunload=null;
}}}},simulate:function(by,bA,bz,bx){var bB=b.extend(new b.Event(),bz,{type:by,isSimulated:true,originalEvent:{}});
if(bx){b.event.trigger(bB,null,bA);
}else{b.event.dispatch.call(bA,bB);
}if(bB.isDefaultPrevented()){bz.preventDefault();
}}};
b.event.handle=b.event.dispatch;
b.removeEvent=ax.removeEventListener?function(bx,e,by){if(bx.removeEventListener){bx.removeEventListener(e,by,false);
}}:function(bx,e,by){if(bx.detachEvent){bx.detachEvent("on"+e,by);
}};
b.Event=function(bx,e){if(!(this instanceof b.Event)){return new b.Event(bx,e);
}if(bx&&bx.type){this.originalEvent=bx;
this.type=bx.type;
this.isDefaultPrevented=(bx.defaultPrevented||bx.returnValue===false||bx.getPreventDefault&&bx.getPreventDefault())?j:bn;
}else{this.type=bx;
}if(e){b.extend(this,e);
}this.timeStamp=bx&&bx.timeStamp||b.now();
this[b.expando]=true;
};
function bn(){return false;
}function j(){return true;
}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=j;
var bx=this.originalEvent;
if(!bx){return;
}if(bx.preventDefault){bx.preventDefault();
}else{bx.returnValue=false;
}},stopPropagation:function(){this.isPropagationStopped=j;
var bx=this.originalEvent;
if(!bx){return;
}if(bx.stopPropagation){bx.stopPropagation();
}bx.cancelBubble=true;
},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=j;
this.stopPropagation();
},isDefaultPrevented:bn,isPropagationStopped:bn,isImmediatePropagationStopped:bn};
b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(bx,e){b.event.special[bx]={delegateType:e,bindType:e,handle:function(bB){var bD=this,bC=bB.relatedTarget,bA=bB.handleObj,by=bA.selector,bz;
if(!bC||(bC!==bD&&!b.contains(bD,bC))){bB.type=bA.origType;
bz=bA.handler.apply(this,arguments);
bB.type=e;
}return bz;
}};
});
if(!b.support.submitBubbles){b.event.special.submit={setup:function(){if(b.nodeName(this,"form")){return false;
}b.event.add(this,"click._submit keypress._submit",function(bz){var by=bz.target,bx=b.nodeName(by,"input")||b.nodeName(by,"button")?by.form:N;
if(bx&&!bx._submit_attached){b.event.add(bx,"submit._submit",function(e){e._submit_bubble=true;
});
bx._submit_attached=true;
}});
},postDispatch:function(e){if(e._submit_bubble){delete e._submit_bubble;
if(this.parentNode&&!e.isTrigger){b.event.simulate("submit",this.parentNode,e,true);
}}},teardown:function(){if(b.nodeName(this,"form")){return false;
}b.event.remove(this,"._submit");
}};
}if(!b.support.changeBubbles){b.event.special.change={setup:function(){if(bg.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){b.event.add(this,"propertychange._change",function(e){if(e.originalEvent.propertyName==="checked"){this._just_changed=true;
}});
b.event.add(this,"click._change",function(e){if(this._just_changed&&!e.isTrigger){this._just_changed=false;
b.event.simulate("change",this,e,true);
}});
}return false;
}b.event.add(this,"beforeactivate._change",function(by){var bx=by.target;
if(bg.test(bx.nodeName)&&!bx._change_attached){b.event.add(bx,"change._change",function(e){if(this.parentNode&&!e.isSimulated&&!e.isTrigger){b.event.simulate("change",this.parentNode,e,true);
}});
bx._change_attached=true;
}});
},handle:function(bx){var e=bx.target;
if(this!==e||bx.isSimulated||bx.isTrigger||(e.type!=="radio"&&e.type!=="checkbox")){return bx.handleObj.handler.apply(this,arguments);
}},teardown:function(){b.event.remove(this,"._change");
return bg.test(this.nodeName);
}};
}if(!b.support.focusinBubbles){b.each({focus:"focusin",blur:"focusout"},function(bz,e){var bx=0,by=function(bA){b.event.simulate(e,bA.target,b.event.fix(bA),true);
};
b.event.special[e]={setup:function(){if(bx++===0){ax.addEventListener(bz,by,true);
}},teardown:function(){if(--bx===0){ax.removeEventListener(bz,by,true);
}}};
});
}b.fn.extend({on:function(by,e,bB,bA,bx){var bC,bz;
if(typeof by==="object"){if(typeof e!=="string"){bB=bB||e;
e=N;
}for(bz in by){this.on(bz,e,bB,by[bz],bx);
}return this;
}if(bB==null&&bA==null){bA=e;
bB=e=N;
}else{if(bA==null){if(typeof e==="string"){bA=bB;
bB=N;
}else{bA=bB;
bB=e;
e=N;
}}}if(bA===false){bA=bn;
}else{if(!bA){return this;
}}if(bx===1){bC=bA;
bA=function(bD){b().off(bD);
return bC.apply(this,arguments);
};
bA.guid=bC.guid||(bC.guid=b.guid++);
}return this.each(function(){b.event.add(this,by,bA,bB,e);
});
},one:function(bx,e,bz,by){return this.on(bx,e,bz,by,1);
},off:function(by,e,bA){if(by&&by.preventDefault&&by.handleObj){var bx=by.handleObj;
b(by.delegateTarget).off(bx.namespace?bx.origType+"."+bx.namespace:bx.origType,bx.selector,bx.handler);
return this;
}if(typeof by==="object"){for(var bz in by){this.off(bz,e,by[bz]);
}return this;
}if(e===false||typeof e==="function"){bA=e;
e=N;
}if(bA===false){bA=bn;
}return this.each(function(){b.event.remove(this,by,bA,e);
});
},bind:function(e,by,bx){return this.on(e,null,by,bx);
},unbind:function(e,bx){return this.off(e,null,bx);
},live:function(e,by,bx){b(this.context).on(e,this.selector,by,bx);
return this;
},die:function(e,bx){b(this.context).off(e,this.selector||"**",bx);
return this;
},delegate:function(e,bx,bz,by){return this.on(bx,e,bz,by);
},undelegate:function(e,bx,by){return arguments.length==1?this.off(e,"**"):this.off(bx,e,by);
},trigger:function(e,bx){return this.each(function(){b.event.trigger(e,bx,this);
});
},triggerHandler:function(e,bx){if(this[0]){return b.event.trigger(e,bx,this[0],true);
}},toggle:function(bz){var bx=arguments,e=bz.guid||b.guid++,by=0,bA=function(bB){var bC=(b._data(this,"lastToggle"+bz.guid)||0)%by;
b._data(this,"lastToggle"+bz.guid,bC+1);
bB.preventDefault();
return bx[bC].apply(this,arguments)||false;
};
bA.guid=e;
while(by<bx.length){bx[by++].guid=e;
}return this.click(bA);
},hover:function(e,bx){return this.mouseenter(e).mouseleave(bx||e);
}});
b.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu").split(" "),function(bx,e){b.fn[e]=function(bz,by){if(by==null){by=bz;
bz=null;
}return arguments.length>0?this.on(e,null,bz,by):this.trigger(e);
};
if(b.attrFn){b.attrFn[e]=true;
}if(aR.test(e)){b.event.fixHooks[e]=b.event.keyHooks;
}if(bi.test(e)){b.event.fixHooks[e]=b.event.mouseHooks;
}});
/*!
 * Sizzle CSS Selector Engine
 *  Copyright 2011, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var bJ=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bE="sizcache"+(Math.random()+"").replace(".",""),bK=0,bN=Object.prototype.toString,bD=false,bC=true,bM=/\\/g,bQ=/\r\n/g,bS=/\W/;
[0,0].sort(function(){bC=false;
return 0;
});
var bA=function(bX,e,b0,b1){b0=b0||[];
e=e||ax;
var b3=e;
if(e.nodeType!==1&&e.nodeType!==9){return[];
}if(!bX||typeof bX!=="string"){return b0;
}var bU,b5,b8,bT,b4,b7,b6,bZ,bW=true,bV=bA.isXML(e),bY=[],b2=bX;
do{bJ.exec("");
bU=bJ.exec(b2);
if(bU){b2=bU[3];
bY.push(bU[1]);
if(bU[2]){bT=bU[3];
break;
}}}while(bU);
if(bY.length>1&&bF.exec(bX)){if(bY.length===2&&bG.relative[bY[0]]){b5=bO(bY[0]+bY[1],e,b1);
}else{b5=bG.relative[bY[0]]?[e]:bA(bY.shift(),e);
while(bY.length){bX=bY.shift();
if(bG.relative[bX]){bX+=bY.shift();
}b5=bO(bX,b5,b1);
}}}else{if(!b1&&bY.length>1&&e.nodeType===9&&!bV&&bG.match.ID.test(bY[0])&&!bG.match.ID.test(bY[bY.length-1])){b4=bA.find(bY.shift(),e,bV);
e=b4.expr?bA.filter(b4.expr,b4.set)[0]:b4.set[0];
}if(e){b4=b1?{expr:bY.pop(),set:bH(b1)}:bA.find(bY.pop(),bY.length===1&&(bY[0]==="~"||bY[0]==="+")&&e.parentNode?e.parentNode:e,bV);
b5=b4.expr?bA.filter(b4.expr,b4.set):b4.set;
if(bY.length>0){b8=bH(b5);
}else{bW=false;
}while(bY.length){b7=bY.pop();
b6=b7;
if(!bG.relative[b7]){b7="";
}else{b6=bY.pop();
}if(b6==null){b6=e;
}bG.relative[b7](b8,b6,bV);
}}else{b8=bY=[];
}}if(!b8){b8=b5;
}if(!b8){bA.error(b7||bX);
}if(bN.call(b8)==="[object Array]"){if(!bW){b0.push.apply(b0,b8);
}else{if(e&&e.nodeType===1){for(bZ=0;
b8[bZ]!=null;
bZ++){if(b8[bZ]&&(b8[bZ]===true||b8[bZ].nodeType===1&&bA.contains(e,b8[bZ]))){b0.push(b5[bZ]);
}}}else{for(bZ=0;
b8[bZ]!=null;
bZ++){if(b8[bZ]&&b8[bZ].nodeType===1){b0.push(b5[bZ]);
}}}}}else{bH(b8,b0);
}if(bT){bA(bT,b3,b0,b1);
bA.uniqueSort(b0);
}return b0;
};
bA.uniqueSort=function(bT){if(bL){bD=bC;
bT.sort(bL);
if(bD){for(var e=1;
e<bT.length;
e++){if(bT[e]===bT[e-1]){bT.splice(e--,1);
}}}}return bT;
};
bA.matches=function(e,bT){return bA(e,null,null,bT);
};
bA.matchesSelector=function(e,bT){return bA(bT,null,null,[e]).length>0;
};
bA.find=function(bZ,e,b0){var bY,bU,bW,bV,bX,bT;
if(!bZ){return[];
}for(bU=0,bW=bG.order.length;
bU<bW;
bU++){bX=bG.order[bU];
if((bV=bG.leftMatch[bX].exec(bZ))){bT=bV[1];
bV.splice(1,1);
if(bT.substr(bT.length-1)!=="\\"){bV[1]=(bV[1]||"").replace(bM,"");
bY=bG.find[bX](bV,e,b0);
if(bY!=null){bZ=bZ.replace(bG.match[bX],"");
break;
}}}}if(!bY){bY=typeof e.getElementsByTagName!=="undefined"?e.getElementsByTagName("*"):[];
}return{set:bY,expr:bZ};
};
bA.filter=function(b3,b2,b6,bW){var bY,e,b1,b8,b5,bT,bV,bX,b4,bU=b3,b7=[],b0=b2,bZ=b2&&b2[0]&&bA.isXML(b2[0]);
while(b3&&b2.length){for(b1 in bG.filter){if((bY=bG.leftMatch[b1].exec(b3))!=null&&bY[2]){bT=bG.filter[b1];
bV=bY[1];
e=false;
bY.splice(1,1);
if(bV.substr(bV.length-1)==="\\"){continue;
}if(b0===b7){b7=[];
}if(bG.preFilter[b1]){bY=bG.preFilter[b1](bY,b0,b6,b7,bW,bZ);
if(!bY){e=b8=true;
}else{if(bY===true){continue;
}}}if(bY){for(bX=0;
(b5=b0[bX])!=null;
bX++){if(b5){b8=bT(b5,bY,bX,b0);
b4=bW^b8;
if(b6&&b8!=null){if(b4){e=true;
}else{b0[bX]=false;
}}else{if(b4){b7.push(b5);
e=true;
}}}}}if(b8!==N){if(!b6){b0=b7;
}b3=b3.replace(bG.match[b1],"");
if(!e){return[];
}break;
}}}if(b3===bU){if(e==null){bA.error(b3);
}else{break;
}}bU=b3;
}return b0;
};
bA.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e);
};
var by=bA.getText=function(bW){var bU,bV,e=bW.nodeType,bT="";
if(e){if(e===1||e===9||e===11){if(typeof bW.textContent==="string"){return bW.textContent;
}else{if(typeof bW.innerText==="string"){return bW.innerText.replace(bQ,"");
}else{for(bW=bW.firstChild;
bW;
bW=bW.nextSibling){bT+=by(bW);
}}}}else{if(e===3||e===4){return bW.nodeValue;
}}}else{for(bU=0;
(bV=bW[bU]);
bU++){if(bV.nodeType!==8){bT+=by(bV);
}}}return bT;
};
var bG=bA.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href");
},type:function(e){return e.getAttribute("type");
}},relative:{"+":function(bY,bT){var bV=typeof bT==="string",bX=bV&&!bS.test(bT),bZ=bV&&!bX;
if(bX){bT=bT.toLowerCase();
}for(var bU=0,e=bY.length,bW;
bU<e;
bU++){if((bW=bY[bU])){while((bW=bW.previousSibling)&&bW.nodeType!==1){}bY[bU]=bZ||bW&&bW.nodeName.toLowerCase()===bT?bW||false:bW===bT;
}}if(bZ){bA.filter(bT,bY,true);
}},">":function(bY,bT){var bX,bW=typeof bT==="string",bU=0,e=bY.length;
if(bW&&!bS.test(bT)){bT=bT.toLowerCase();
for(;
bU<e;
bU++){bX=bY[bU];
if(bX){var bV=bX.parentNode;
bY[bU]=bV.nodeName.toLowerCase()===bT?bV:false;
}}}else{for(;
bU<e;
bU++){bX=bY[bU];
if(bX){bY[bU]=bW?bX.parentNode:bX.parentNode===bT;
}}if(bW){bA.filter(bT,bY,true);
}}},"":function(bV,bT,bX){var bW,bU=bK++,e=bP;
if(typeof bT==="string"&&!bS.test(bT)){bT=bT.toLowerCase();
bW=bT;
e=bx;
}e("parentNode",bT,bU,bV,bW,bX);
},"~":function(bV,bT,bX){var bW,bU=bK++,e=bP;
if(typeof bT==="string"&&!bS.test(bT)){bT=bT.toLowerCase();
bW=bT;
e=bx;
}e("previousSibling",bT,bU,bV,bW,bX);
}},find:{ID:function(bT,bU,bV){if(typeof bU.getElementById!=="undefined"&&!bV){var e=bU.getElementById(bT[1]);
return e&&e.parentNode?[e]:[];
}},NAME:function(bU,bX){if(typeof bX.getElementsByName!=="undefined"){var bT=[],bW=bX.getElementsByName(bU[1]);
for(var bV=0,e=bW.length;
bV<e;
bV++){if(bW[bV].getAttribute("name")===bU[1]){bT.push(bW[bV]);
}}return bT.length===0?null:bT;
}},TAG:function(e,bT){if(typeof bT.getElementsByTagName!=="undefined"){return bT.getElementsByTagName(e[1]);
}}},preFilter:{CLASS:function(bV,bT,bU,e,bY,bZ){bV=" "+bV[1].replace(bM,"")+" ";
if(bZ){return bV;
}for(var bW=0,bX;
(bX=bT[bW])!=null;
bW++){if(bX){if(bY^(bX.className&&(" "+bX.className+" ").replace(/[\t\n\r]/g," ").indexOf(bV)>=0)){if(!bU){e.push(bX);
}}else{if(bU){bT[bW]=false;
}}}}return false;
},ID:function(e){return e[1].replace(bM,"");
},TAG:function(bT,e){return bT[1].replace(bM,"").toLowerCase();
},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){bA.error(e[0]);
}e[2]=e[2].replace(/^\+|\s*/g,"");
var bT=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);
e[2]=(bT[1]+(bT[2]||1))-0;
e[3]=bT[3]-0;
}else{if(e[2]){bA.error(e[0]);
}}e[0]=bK++;
return e;
},ATTR:function(bW,bT,bU,e,bX,bY){var bV=bW[1]=bW[1].replace(bM,"");
if(!bY&&bG.attrMap[bV]){bW[1]=bG.attrMap[bV];
}bW[4]=(bW[4]||bW[5]||"").replace(bM,"");
if(bW[2]==="~="){bW[4]=" "+bW[4]+" ";
}return bW;
},PSEUDO:function(bW,bT,bU,e,bX){if(bW[1]==="not"){if((bJ.exec(bW[3])||"").length>1||/^\w/.test(bW[3])){bW[3]=bA(bW[3],null,null,bT);
}else{var bV=bA.filter(bW[3],bT,bU,true^bX);
if(!bU){e.push.apply(e,bV);
}return false;
}}else{if(bG.match.POS.test(bW[0])||bG.match.CHILD.test(bW[0])){return true;
}}return bW;
},POS:function(e){e.unshift(true);
return e;
}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden";
},disabled:function(e){return e.disabled===true;
},checked:function(e){return e.checked===true;
},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex;
}return e.selected===true;
},parent:function(e){return !!e.firstChild;
},empty:function(e){return !e.firstChild;
},has:function(bU,bT,e){return !!bA(e[3],bU).length;
},header:function(e){return(/h\d/i).test(e.nodeName);
},text:function(bU){var e=bU.getAttribute("type"),bT=bU.type;
return bU.nodeName.toLowerCase()==="input"&&"text"===bT&&(e===bT||e===null);
},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type;
},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type;
},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type;
},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type;
},submit:function(bT){var e=bT.nodeName.toLowerCase();
return(e==="input"||e==="button")&&"submit"===bT.type;
},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type;
},reset:function(bT){var e=bT.nodeName.toLowerCase();
return(e==="input"||e==="button")&&"reset"===bT.type;
},button:function(bT){var e=bT.nodeName.toLowerCase();
return e==="input"&&"button"===bT.type||e==="button";
},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName);
},focus:function(e){return e===e.ownerDocument.activeElement;
}},setFilters:{first:function(bT,e){return e===0;
},last:function(bU,bT,e,bV){return bT===bV.length-1;
},even:function(bT,e){return e%2===0;
},odd:function(bT,e){return e%2===1;
},lt:function(bU,bT,e){return bT<e[3]-0;
},gt:function(bU,bT,e){return bT>e[3]-0;
},nth:function(bU,bT,e){return e[3]-0===bT;
},eq:function(bU,bT,e){return e[3]-0===bT;
}},filter:{PSEUDO:function(bU,bZ,bY,b0){var e=bZ[1],bT=bG.filters[e];
if(bT){return bT(bU,bY,bZ,b0);
}else{if(e==="contains"){return(bU.textContent||bU.innerText||by([bU])||"").indexOf(bZ[3])>=0;
}else{if(e==="not"){var bV=bZ[3];
for(var bX=0,bW=bV.length;
bX<bW;
bX++){if(bV[bX]===bU){return false;
}}return true;
}else{bA.error(e);
}}}},CHILD:function(bU,bW){var bV,b2,bY,b1,e,bX,b0,bZ=bW[1],bT=bU;
switch(bZ){case"only":case"first":while((bT=bT.previousSibling)){if(bT.nodeType===1){return false;
}}if(bZ==="first"){return true;
}bT=bU;
case"last":while((bT=bT.nextSibling)){if(bT.nodeType===1){return false;
}}return true;
case"nth":bV=bW[2];
b2=bW[3];
if(bV===1&&b2===0){return true;
}bY=bW[0];
b1=bU.parentNode;
if(b1&&(b1[bE]!==bY||!bU.nodeIndex)){bX=0;
for(bT=b1.firstChild;
bT;
bT=bT.nextSibling){if(bT.nodeType===1){bT.nodeIndex=++bX;
}}b1[bE]=bY;
}b0=bU.nodeIndex-b2;
if(bV===0){return b0===0;
}else{return(b0%bV===0&&b0/bV>=0);
}}},ID:function(bT,e){return bT.nodeType===1&&bT.getAttribute("id")===e;
},TAG:function(bT,e){return(e==="*"&&bT.nodeType===1)||!!bT.nodeName&&bT.nodeName.toLowerCase()===e;
},CLASS:function(bT,e){return(" "+(bT.className||bT.getAttribute("class"))+" ").indexOf(e)>-1;
},ATTR:function(bX,bV){var bU=bV[1],e=bA.attr?bA.attr(bX,bU):bG.attrHandle[bU]?bG.attrHandle[bU](bX):bX[bU]!=null?bX[bU]:bX.getAttribute(bU),bY=e+"",bW=bV[2],bT=bV[4];
return e==null?bW==="!=":!bW&&bA.attr?e!=null:bW==="="?bY===bT:bW==="*="?bY.indexOf(bT)>=0:bW==="~="?(" "+bY+" ").indexOf(bT)>=0:!bT?bY&&e!==false:bW==="!="?bY!==bT:bW==="^="?bY.indexOf(bT)===0:bW==="$="?bY.substr(bY.length-bT.length)===bT:bW==="|="?bY===bT||bY.substr(0,bT.length+1)===bT+"-":false;
},POS:function(bW,bT,bU,bX){var e=bT[2],bV=bG.setFilters[e];
if(bV){return bV(bW,bU,bT,bX);
}}}};
var bF=bG.match.POS,bz=function(bT,e){return"\\"+(e-0+1);
};
for(var bB in bG.match){bG.match[bB]=new RegExp(bG.match[bB].source+(/(?![^\[]*\])(?![^\(]*\))/.source));
bG.leftMatch[bB]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bG.match[bB].source.replace(/\\(\d+)/g,bz));
}bG.match.globalPOS=bF;
var bH=function(bT,e){bT=Array.prototype.slice.call(bT,0);
if(e){e.push.apply(e,bT);
return e;
}return bT;
};
try{Array.prototype.slice.call(ax.documentElement.childNodes,0)[0].nodeType;
}catch(bR){bH=function(bW,bV){var bU=0,bT=bV||[];
if(bN.call(bW)==="[object Array]"){Array.prototype.push.apply(bT,bW);
}else{if(typeof bW.length==="number"){for(var e=bW.length;
bU<e;
bU++){bT.push(bW[bU]);
}}else{for(;
bW[bU];
bU++){bT.push(bW[bU]);
}}}return bT;
};
}var bL,bI;
if(ax.documentElement.compareDocumentPosition){bL=function(bT,e){if(bT===e){bD=true;
return 0;
}if(!bT.compareDocumentPosition||!e.compareDocumentPosition){return bT.compareDocumentPosition?-1:1;
}return bT.compareDocumentPosition(e)&4?-1:1;
};
}else{bL=function(b0,bZ){if(b0===bZ){bD=true;
return 0;
}else{if(b0.sourceIndex&&bZ.sourceIndex){return b0.sourceIndex-bZ.sourceIndex;
}}var bX,bT,bU=[],e=[],bW=b0.parentNode,bY=bZ.parentNode,b1=bW;
if(bW===bY){return bI(b0,bZ);
}else{if(!bW){return -1;
}else{if(!bY){return 1;
}}}while(b1){bU.unshift(b1);
b1=b1.parentNode;
}b1=bY;
while(b1){e.unshift(b1);
b1=b1.parentNode;
}bX=bU.length;
bT=e.length;
for(var bV=0;
bV<bX&&bV<bT;
bV++){if(bU[bV]!==e[bV]){return bI(bU[bV],e[bV]);
}}return bV===bX?bI(b0,e[bV],-1):bI(bU[bV],bZ,1);
};
bI=function(bT,e,bU){if(bT===e){return bU;
}var bV=bT.nextSibling;
while(bV){if(bV===e){return -1;
}bV=bV.nextSibling;
}return 1;
};
}(function(){var bT=ax.createElement("div"),bU="script"+(new Date()).getTime(),e=ax.documentElement;
bT.innerHTML="<a name='"+bU+"'/>";
e.insertBefore(bT,e.firstChild);
if(ax.getElementById(bU)){bG.find.ID=function(bW,bX,bY){if(typeof bX.getElementById!=="undefined"&&!bY){var bV=bX.getElementById(bW[1]);
return bV?bV.id===bW[1]||typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id").nodeValue===bW[1]?[bV]:N:[];
}};
bG.filter.ID=function(bX,bV){var bW=typeof bX.getAttributeNode!=="undefined"&&bX.getAttributeNode("id");
return bX.nodeType===1&&bW&&bW.nodeValue===bV;
};
}e.removeChild(bT);
e=bT=null;
})();
(function(){var e=ax.createElement("div");
e.appendChild(ax.createComment(""));
if(e.getElementsByTagName("*").length>0){bG.find.TAG=function(bT,bX){var bW=bX.getElementsByTagName(bT[1]);
if(bT[1]==="*"){var bV=[];
for(var bU=0;
bW[bU];
bU++){if(bW[bU].nodeType===1){bV.push(bW[bU]);
}}bW=bV;
}return bW;
};
}e.innerHTML="<a href='#'></a>";
if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bG.attrHandle.href=function(bT){return bT.getAttribute("href",2);
};
}e=null;
})();
if(ax.querySelectorAll){(function(){var e=bA,bV=ax.createElement("div"),bU="__sizzle__";
bV.innerHTML="<p class='TEST'></p>";
if(bV.querySelectorAll&&bV.querySelectorAll(".TEST").length===0){return;
}bA=function(b6,bX,b1,b5){bX=bX||ax;
if(!b5&&!bA.isXML(bX)){var b4=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b6);
if(b4&&(bX.nodeType===1||bX.nodeType===9)){if(b4[1]){return bH(bX.getElementsByTagName(b6),b1);
}else{if(b4[2]&&bG.find.CLASS&&bX.getElementsByClassName){return bH(bX.getElementsByClassName(b4[2]),b1);
}}}if(bX.nodeType===9){if(b6==="body"&&bX.body){return bH([bX.body],b1);
}else{if(b4&&b4[3]){var b0=bX.getElementById(b4[3]);
if(b0&&b0.parentNode){if(b0.id===b4[3]){return bH([b0],b1);
}}else{return bH([],b1);
}}}try{return bH(bX.querySelectorAll(b6),b1);
}catch(b2){}}else{if(bX.nodeType===1&&bX.nodeName.toLowerCase()!=="object"){var bY=bX,bZ=bX.getAttribute("id"),bW=bZ||bU,b8=bX.parentNode,b7=/^\s*[+~]/.test(b6);
if(!bZ){bX.setAttribute("id",bW);
}else{bW=bW.replace(/'/g,"\\$&");
}if(b7&&b8){bX=bX.parentNode;
}try{if(!b7||b8){return bH(bX.querySelectorAll("[id='"+bW+"'] "+b6),b1);
}}catch(b3){}finally{if(!bZ){bY.removeAttribute("id");
}}}}}return e(b6,bX,b1,b5);
};
for(var bT in e){bA[bT]=e[bT];
}bV=null;
})();
}(function(){var e=ax.documentElement,bU=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;
if(bU){var bW=!bU.call(ax.createElement("div"),"div"),bT=false;
try{bU.call(ax.documentElement,"[test!='']:sizzle");
}catch(bV){bT=true;
}bA.matchesSelector=function(bY,b0){b0=b0.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");
if(!bA.isXML(bY)){try{if(bT||!bG.match.PSEUDO.test(b0)&&!/!=/.test(b0)){var bX=bU.call(bY,b0);
if(bX||!bW||bY.document&&bY.document.nodeType!==11){return bX;
}}}catch(bZ){}}return bA(b0,null,null,[bY]).length>0;
};
}})();
(function(){var e=ax.createElement("div");
e.innerHTML="<div class='test e'></div><div class='test'></div>";
if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return;
}e.lastChild.className="e";
if(e.getElementsByClassName("e").length===1){return;
}bG.order.splice(1,0,"CLASS");
bG.find.CLASS=function(bT,bU,bV){if(typeof bU.getElementsByClassName!=="undefined"&&!bV){return bU.getElementsByClassName(bT[1]);
}};
e=null;
})();
function bx(bT,bY,bX,b1,bZ,b0){for(var bV=0,bU=b1.length;
bV<bU;
bV++){var e=b1[bV];
if(e){var bW=false;
e=e[bT];
while(e){if(e[bE]===bX){bW=b1[e.sizset];
break;
}if(e.nodeType===1&&!b0){e[bE]=bX;
e.sizset=bV;
}if(e.nodeName.toLowerCase()===bY){bW=e;
break;
}e=e[bT];
}b1[bV]=bW;
}}}function bP(bT,bY,bX,b1,bZ,b0){for(var bV=0,bU=b1.length;
bV<bU;
bV++){var e=b1[bV];
if(e){var bW=false;
e=e[bT];
while(e){if(e[bE]===bX){bW=b1[e.sizset];
break;
}if(e.nodeType===1){if(!b0){e[bE]=bX;
e.sizset=bV;
}if(typeof bY!=="string"){if(e===bY){bW=true;
break;
}}else{if(bA.filter(bY,[e]).length>0){bW=e;
break;
}}}e=e[bT];
}b1[bV]=bW;
}}}if(ax.documentElement.contains){bA.contains=function(bT,e){return bT!==e&&(bT.contains?bT.contains(e):true);
};
}else{if(ax.documentElement.compareDocumentPosition){bA.contains=function(bT,e){return !!(bT.compareDocumentPosition(e)&16);
};
}else{bA.contains=function(){return false;
};
}}bA.isXML=function(e){var bT=(e?e.ownerDocument||e:0).documentElement;
return bT?bT.nodeName!=="HTML":false;
};
var bO=function(bU,e,bY){var bX,bZ=[],bW="",b0=e.nodeType?[e]:e;
while((bX=bG.match.PSEUDO.exec(bU))){bW+=bX[0];
bU=bU.replace(bG.match.PSEUDO,"");
}bU=bG.relative[bU]?bU+"*":bU;
for(var bV=0,bT=b0.length;
bV<bT;
bV++){bA(bU,b0[bV],bZ,bY);
}return bA.filter(bW,bZ);
};
bA.attr=b.attr;
bA.selectors.attrMap={};
b.find=bA;
b.expr=bA.selectors;
b.expr[":"]=b.expr.filters;
b.unique=bA.uniqueSort;
b.text=bA.getText;
b.isXMLDoc=bA.isXML;
b.contains=bA.contains;
})();
var ad=/Until$/,at=/^(?:parents|prevUntil|prevAll)/,bd=/,/,br=/^.[^:#\[\.,]*$/,R=Array.prototype.slice,J=b.expr.match.globalPOS,aA={children:true,contents:true,next:true,prev:true};
b.fn.extend({find:function(e){var by=this,bA,bx;
if(typeof e!=="string"){return b(e).filter(function(){for(bA=0,bx=by.length;
bA<bx;
bA++){if(b.contains(by[bA],this)){return true;
}}});
}var bz=this.pushStack("","find",e),bC,bD,bB;
for(bA=0,bx=this.length;
bA<bx;
bA++){bC=bz.length;
b.find(e,this[bA],bz);
if(bA>0){for(bD=bC;
bD<bz.length;
bD++){for(bB=0;
bB<bC;
bB++){if(bz[bB]===bz[bD]){bz.splice(bD--,1);
break;
}}}}}return bz;
},has:function(bx){var e=b(bx);
return this.filter(function(){for(var bz=0,by=e.length;
bz<by;
bz++){if(b.contains(this,e[bz])){return true;
}}});
},not:function(e){return this.pushStack(aJ(this,e,false),"not",e);
},filter:function(e){return this.pushStack(aJ(this,e,true),"filter",e);
},is:function(e){return !!e&&(typeof e==="string"?J.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0);
},closest:function(bA,bz){var bx=[],by,e,bB=this[0];
if(b.isArray(bA)){var bD=1;
while(bB&&bB.ownerDocument&&bB!==bz){for(by=0;
by<bA.length;
by++){if(b(bB).is(bA[by])){bx.push({selector:bA[by],elem:bB,level:bD});
}}bB=bB.parentNode;
bD++;
}return bx;
}var bC=J.test(bA)||typeof bA!=="string"?b(bA,bz||this.context):0;
for(by=0,e=this.length;
by<e;
by++){bB=this[by];
while(bB){if(bC?bC.index(bB)>-1:b.find.matchesSelector(bB,bA)){bx.push(bB);
break;
}else{bB=bB.parentNode;
if(!bB||!bB.ownerDocument||bB===bz||bB.nodeType===11){break;
}}}}bx=bx.length>1?b.unique(bx):bx;
return this.pushStack(bx,"closest",bA);
},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1;
}if(typeof e==="string"){return b.inArray(this[0],b(e));
}return b.inArray(e.jquery?e[0]:e,this);
},add:function(e,bx){var bz=typeof e==="string"?b(e,bx):b.makeArray(e&&e.nodeType?[e]:e),by=b.merge(this.get(),bz);
return this.pushStack(D(bz[0])||D(by[0])?by:b.unique(by));
},andSelf:function(){return this.add(this.prevObject);
}});
function D(e){return !e||!e.parentNode||e.parentNode.nodeType===11;
}b.each({parent:function(bx){var e=bx.parentNode;
return e&&e.nodeType!==11?e:null;
},parents:function(e){return b.dir(e,"parentNode");
},parentsUntil:function(bx,e,by){return b.dir(bx,"parentNode",by);
},next:function(e){return b.nth(e,2,"nextSibling");
},prev:function(e){return b.nth(e,2,"previousSibling");
},nextAll:function(e){return b.dir(e,"nextSibling");
},prevAll:function(e){return b.dir(e,"previousSibling");
},nextUntil:function(bx,e,by){return b.dir(bx,"nextSibling",by);
},prevUntil:function(bx,e,by){return b.dir(bx,"previousSibling",by);
},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e);
},children:function(e){return b.sibling(e.firstChild);
},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes);
}},function(e,bx){b.fn[e]=function(bA,by){var bz=b.map(this,bx,bA);
if(!ad.test(e)){by=bA;
}if(by&&typeof by==="string"){bz=b.filter(by,bz);
}bz=this.length>1&&!aA[e]?b.unique(bz):bz;
if((this.length>1||bd.test(by))&&at.test(e)){bz=bz.reverse();
}return this.pushStack(bz,e,R.call(arguments).join(","));
};
});
b.extend({filter:function(by,e,bx){if(bx){by=":not("+by+")";
}return e.length===1?b.find.matchesSelector(e[0],by)?[e[0]]:[]:b.find.matches(by,e);
},dir:function(by,bx,bA){var e=[],bz=by[bx];
while(bz&&bz.nodeType!==9&&(bA===N||bz.nodeType!==1||!b(bz).is(bA))){if(bz.nodeType===1){e.push(bz);
}bz=bz[bx];
}return e;
},nth:function(bA,e,by,bz){e=e||1;
var bx=0;
for(;
bA;
bA=bA[by]){if(bA.nodeType===1&&++bx===e){break;
}}return bA;
},sibling:function(by,bx){var e=[];
for(;
by;
by=by.nextSibling){if(by.nodeType===1&&by!==bx){e.push(by);
}}return e;
}});
function aJ(bz,by,e){by=by||0;
if(b.isFunction(by)){return b.grep(bz,function(bB,bA){var bC=!!by.call(bB,bA,bB);
return bC===e;
});
}else{if(by.nodeType){return b.grep(bz,function(bB,bA){return(bB===by)===e;
});
}else{if(typeof by==="string"){var bx=b.grep(bz,function(bA){return bA.nodeType===1;
});
if(br.test(by)){return b.filter(by,bx,!e);
}else{by=b.filter(by,bx);
}}}}return b.grep(bz,function(bB,bA){return(b.inArray(bB,by)>=0)===e;
});
}function a(e){var by=aU.split("|"),bx=e.createDocumentFragment();
if(bx.createElement){while(by.length){bx.createElement(by.pop());
}}return bx;
}var aU="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",aj=/ jQuery\d+="(?:\d+|null)"/g,au=/^\s+/,T=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,x=/<tbody/i,Y=/<|&#?\w+;/,ag=/<(?:script|style)/i,Q=/<(?:script|object|embed|option|style)/i,ak=new RegExp("<(?:"+aU+")[\\s/>]","i"),p=/checked\s*(?:[^=]|=\s*.checked.)/i,bp=/\/(java|ecma)script/i,aQ=/^\s*<!(?:\[CDATA\[|\-\-)/,az={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},ae=a(ax);
az.optgroup=az.option;
az.tbody=az.tfoot=az.colgroup=az.caption=az.thead;
az.th=az.td;
if(!b.support.htmlSerialize){az._default=[1,"div<div>","</div>"];
}b.fn.extend({text:function(e){return b.access(this,function(bx){return bx===N?b.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ax).createTextNode(bx));
},null,e,arguments.length);
},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(by){b(this).wrapAll(e.call(this,by));
});
}if(this[0]){var bx=b(e,this[0].ownerDocument).eq(0).clone(true);
if(this[0].parentNode){bx.insertBefore(this[0]);
}bx.map(function(){var by=this;
while(by.firstChild&&by.firstChild.nodeType===1){by=by.firstChild;
}return by;
}).append(this);
}return this;
},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bx){b(this).wrapInner(e.call(this,bx));
});
}return this.each(function(){var bx=b(this),by=bx.contents();
if(by.length){by.wrapAll(e);
}else{bx.append(e);
}});
},wrap:function(e){var bx=b.isFunction(e);
return this.each(function(by){b(this).wrapAll(bx?e.call(this,by):e);
});
},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes);
}}).end();
},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e);
}});
},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild);
}});
},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bx){this.parentNode.insertBefore(bx,this);
});
}else{if(arguments.length){var e=b.clean(arguments);
e.push.apply(e,this.toArray());
return this.pushStack(e,"before",arguments);
}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bx){this.parentNode.insertBefore(bx,this.nextSibling);
});
}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);
e.push.apply(e,b.clean(arguments));
return e;
}}},remove:function(e,bz){for(var bx=0,by;
(by=this[bx])!=null;
bx++){if(!e||b.filter(e,[by]).length){if(!bz&&by.nodeType===1){b.cleanData(by.getElementsByTagName("*"));
b.cleanData([by]);
}if(by.parentNode){by.parentNode.removeChild(by);
}}}return this;
},empty:function(){for(var e=0,bx;
(bx=this[e])!=null;
e++){if(bx.nodeType===1){b.cleanData(bx.getElementsByTagName("*"));
}while(bx.firstChild){bx.removeChild(bx.firstChild);
}}return this;
},clone:function(bx,e){bx=bx==null?false:bx;
e=e==null?bx:e;
return this.map(function(){return b.clone(this,bx,e);
});
},html:function(e){return b.access(this,function(bA){var bz=this[0]||{},by=0,bx=this.length;
if(bA===N){return bz.nodeType===1?bz.innerHTML.replace(aj,""):null;
}if(typeof bA==="string"&&!ag.test(bA)&&(b.support.leadingWhitespace||!au.test(bA))&&!az[(d.exec(bA)||["",""])[1].toLowerCase()]){bA=bA.replace(T,"<$1></$2>");
try{for(;
by<bx;
by++){bz=this[by]||{};
if(bz.nodeType===1){b.cleanData(bz.getElementsByTagName("*"));
bz.innerHTML=bA;
}}bz=0;
}catch(bB){}}if(bz){this.empty().append(bA);
}},null,e,arguments.length);
},replaceWith:function(e){if(this[0]&&this[0].parentNode){if(b.isFunction(e)){return this.each(function(bz){var by=b(this),bx=by.html();
by.replaceWith(e.call(this,bz,bx));
});
}if(typeof e!=="string"){e=b(e).detach();
}return this.each(function(){var by=this.nextSibling,bx=this.parentNode;
b(this).remove();
if(by){b(by).before(e);
}else{b(bx).append(e);
}});
}else{return this.length?this.pushStack(b(b.isFunction(e)?e():e),"replaceWith",e):this;
}},detach:function(e){return this.remove(e,true);
},domManip:function(bD,bH,bG){var bz,bA,bC,bF,bE=bD[0],bx=[];
if(!b.support.checkClone&&arguments.length===3&&typeof bE==="string"&&p.test(bE)){return this.each(function(){b(this).domManip(bD,bH,bG,true);
});
}if(b.isFunction(bE)){return this.each(function(bJ){var bI=b(this);
bD[0]=bE.call(this,bJ,bH?bI.html():N);
bI.domManip(bD,bH,bG);
});
}if(this[0]){bF=bE&&bE.parentNode;
if(b.support.parentNode&&bF&&bF.nodeType===11&&bF.childNodes.length===this.length){bz={fragment:bF};
}else{bz=b.buildFragment(bD,this,bx);
}bC=bz.fragment;
if(bC.childNodes.length===1){bA=bC=bC.firstChild;
}else{bA=bC.firstChild;
}if(bA){bH=bH&&b.nodeName(bA,"tr");
for(var by=0,e=this.length,bB=e-1;
by<e;
by++){bG.call(bH?be(this[by],bA):this[by],bz.cacheable||(e>1&&by<bB)?b.clone(bC,true,true):bC);
}}if(bx.length){b.each(bx,function(bI,bJ){if(bJ.src){b.ajax({type:"GET",global:false,url:bJ.src,async:false,dataType:"script"});
}else{b.globalEval((bJ.text||bJ.textContent||bJ.innerHTML||"").replace(aQ,"/*$0*/"));
}if(bJ.parentNode){bJ.parentNode.removeChild(bJ);
}});
}}return this;
}});
function be(e,bx){return b.nodeName(e,"table")?(e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody"))):e;
}function u(bD,bx){if(bx.nodeType!==1||!b.hasData(bD)){return;
}var bA,bz,e,bC=b._data(bD),bB=b._data(bx,bC),by=bC.events;
if(by){delete bB.handle;
bB.events={};
for(bA in by){for(bz=0,e=by[bA].length;
bz<e;
bz++){b.event.add(bx,bA,by[bA][bz]);
}}}if(bB.data){bB.data=b.extend({},bB.data);
}}function al(bx,e){var by;
if(e.nodeType!==1){return;
}if(e.clearAttributes){e.clearAttributes();
}if(e.mergeAttributes){e.mergeAttributes(bx);
}by=e.nodeName.toLowerCase();
if(by==="object"){e.outerHTML=bx.outerHTML;
}else{if(by==="input"&&(bx.type==="checkbox"||bx.type==="radio")){if(bx.checked){e.defaultChecked=e.checked=bx.checked;
}if(e.value!==bx.value){e.value=bx.value;
}}else{if(by==="option"){e.selected=bx.defaultSelected;
}else{if(by==="input"||by==="textarea"){e.defaultValue=bx.defaultValue;
}else{if(by==="script"&&e.text!==bx.text){e.text=bx.text;
}}}}}e.removeAttribute(b.expando);
e.removeAttribute("_submit_attached");
e.removeAttribute("_change_attached");
}b.buildFragment=function(bB,bz,bx){var bA,e,by,bC,bD=bB[0];
if(bz&&bz[0]){bC=bz[0].ownerDocument||bz[0];
}if(!bC.createDocumentFragment){bC=ax;
}if(bB.length===1&&typeof bD==="string"&&bD.length<512&&bC===ax&&bD.charAt(0)==="<"&&!Q.test(bD)&&(b.support.checkClone||!p.test(bD))&&(b.support.html5Clone||!ak.test(bD))){e=true;
by=b.fragments[bD];
if(by&&by!==1){bA=by;
}}if(!bA){bA=bC.createDocumentFragment();
b.clean(bB,bC,bA,bx);
}if(e){b.fragments[bD]=by?bA:1;
}return{fragment:bA,cacheable:e};
};
b.fragments={};
b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,bx){b.fn[e]=function(by){var bB=[],bE=b(by),bD=this.length===1&&this[0].parentNode;
if(bD&&bD.nodeType===11&&bD.childNodes.length===1&&bE.length===1){bE[bx](this[0]);
return this;
}else{for(var bC=0,bz=bE.length;
bC<bz;
bC++){var bA=(bC>0?this.clone(true):this).get();
b(bE[bC])[bx](bA);
bB=bB.concat(bA);
}return this.pushStack(bB,e,bE.selector);
}};
});
function bj(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*");
}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*");
}else{return[];
}}}function aB(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked;
}}function F(e){var bx=(e.nodeName||"").toLowerCase();
if(bx==="input"){aB(e);
}else{if(bx!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),aB);
}}}function ao(e){var bx=ax.createElement("div");
ae.appendChild(bx);
bx.innerHTML=e.outerHTML;
return bx.firstChild;
}b.extend({clone:function(bA,bC,by){var e,bx,bz,bB=b.support.html5Clone||b.isXMLDoc(bA)||!ak.test("<"+bA.nodeName+">")?bA.cloneNode(true):ao(bA);
if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(bA.nodeType===1||bA.nodeType===11)&&!b.isXMLDoc(bA)){al(bA,bB);
e=bj(bA);
bx=bj(bB);
for(bz=0;
e[bz];
++bz){if(bx[bz]){al(e[bz],bx[bz]);
}}}if(bC){u(bA,bB);
if(by){e=bj(bA);
bx=bj(bB);
for(bz=0;
e[bz];
++bz){u(e[bz],bx[bz]);
}}}e=bx=null;
return bB;
},clean:function(bK,by,bx,bz){var bC,bJ,bF,bL=[];
by=by||ax;
if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||ax;
}for(var bG=0,bI;
(bI=bK[bG])!=null;
bG++){if(typeof bI==="number"){bI+="";
}if(!bI){continue;
}if(typeof bI==="string"){if(!Y.test(bI)){bI=by.createTextNode(bI);
}else{bI=bI.replace(T,"<$1></$2>");
var bP=(d.exec(bI)||["",""])[1].toLowerCase(),bB=az[bP]||az._default,bM=bB[0],bD=by.createElement("div"),bN=ae.childNodes,bO;
if(by===ax){ae.appendChild(bD);
}else{a(by).appendChild(bD);
}bD.innerHTML=bB[1]+bI+bB[2];
while(bM--){bD=bD.lastChild;
}if(!b.support.tbody){var bA=x.test(bI),e=bP==="table"&&!bA?bD.firstChild&&bD.firstChild.childNodes:bB[1]==="<table>"&&!bA?bD.childNodes:[];
for(bF=e.length-1;
bF>=0;
--bF){if(b.nodeName(e[bF],"tbody")&&!e[bF].childNodes.length){e[bF].parentNode.removeChild(e[bF]);
}}}if(!b.support.leadingWhitespace&&au.test(bI)){bD.insertBefore(by.createTextNode(au.exec(bI)[0]),bD.firstChild);
}bI=bD.childNodes;
if(bD){bD.parentNode.removeChild(bD);
if(bN.length>0){bO=bN[bN.length-1];
if(bO&&bO.parentNode){bO.parentNode.removeChild(bO);
}}}}}var bH;
if(!b.support.appendChecked){if(bI[0]&&typeof(bH=bI.length)==="number"){for(bF=0;
bF<bH;
bF++){F(bI[bF]);
}}else{F(bI);
}}if(bI.nodeType){bL.push(bI);
}else{bL=b.merge(bL,bI);
}}if(bx){bC=function(bQ){return !bQ.type||bp.test(bQ.type);
};
for(bG=0;
bL[bG];
bG++){bJ=bL[bG];
if(bz&&b.nodeName(bJ,"script")&&(!bJ.type||bp.test(bJ.type))){bz.push(bJ.parentNode?bJ.parentNode.removeChild(bJ):bJ);
}else{if(bJ.nodeType===1){var bE=b.grep(bJ.getElementsByTagName("script"),bC);
bL.splice.apply(bL,[bG+1,0].concat(bE));
}bx.appendChild(bJ);
}}}return bL;
},cleanData:function(bx){var bA,by,e=b.cache,bD=b.event.special,bC=b.support.deleteExpando;
for(var bB=0,bz;
(bz=bx[bB])!=null;
bB++){if(bz.nodeName&&b.noData[bz.nodeName.toLowerCase()]){continue;
}by=bz[b.expando];
if(by){bA=e[by];
if(bA&&bA.events){for(var bE in bA.events){if(bD[bE]){b.event.remove(bz,bE);
}else{b.removeEvent(bz,bE,bA.handle);
}}if(bA.handle){bA.handle.elem=null;
}}if(bC){delete bz[b.expando];
}else{if(bz.removeAttribute){bz.removeAttribute(b.expando);
}}delete e[by];
}}}});
var an=/alpha\([^)]*\)/i,aw=/opacity=([^)]*)/,A=/([A-Z]|^ms)/g,bq=/^[\-+]?(?:\d*\.)?\d+$/i,a3=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,K=/^([\-+])=([\-+.\de]+)/,aG=/^margin/,bb={position:"absolute",visibility:"hidden",display:"block"},I=["Top","Right","Bottom","Left"],ab,aL,a0;
b.fn.css=function(e,bx){return b.access(this,function(bz,by,bA){return bA!==N?b.style(bz,by,bA):b.css(bz,by);
},e,bx,arguments.length>1);
};
b.extend({cssHooks:{opacity:{get:function(by,bx){if(bx){var e=ab(by,"opacity");
return e===""?"1":e;
}else{return by.style.opacity;
}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(bz,by,bF,bA){if(!bz||bz.nodeType===3||bz.nodeType===8||!bz.style){return;
}var bD,bE,bB=b.camelCase(by),bx=bz.style,bG=b.cssHooks[bB];
by=b.cssProps[bB]||bB;
if(bF!==N){bE=typeof bF;
if(bE==="string"&&(bD=K.exec(bF))){bF=(+(bD[1]+1)*+bD[2])+parseFloat(b.css(bz,by));
bE="number";
}if(bF==null||bE==="number"&&isNaN(bF)){return;
}if(bE==="number"&&!b.cssNumber[bB]){bF+="px";
}if(!bG||!("set" in bG)||(bF=bG.set(bz,bF))!==N){try{bx[by]=bF;
}catch(bC){}}}else{if(bG&&"get" in bG&&(bD=bG.get(bz,false,bA))!==N){return bD;
}return bx[by];
}},css:function(bA,bz,bx){var by,e;
bz=b.camelCase(bz);
e=b.cssHooks[bz];
bz=b.cssProps[bz]||bz;
if(bz==="cssFloat"){bz="float";
}if(e&&"get" in e&&(by=e.get(bA,true,bx))!==N){return by;
}else{if(ab){return ab(bA,bz);
}}},swap:function(bA,bz,bB){var e={},by,bx;
for(bx in bz){e[bx]=bA.style[bx];
bA.style[bx]=bz[bx];
}by=bB.call(bA);
for(bx in bz){bA.style[bx]=e[bx];
}return by;
}});
b.curCSS=b.css;
if(ax.defaultView&&ax.defaultView.getComputedStyle){aL=function(bC,by){var bx,bB,e,bA,bz=bC.style;
by=by.replace(A,"-$1").toLowerCase();
if((bB=bC.ownerDocument.defaultView)&&(e=bB.getComputedStyle(bC,null))){bx=e.getPropertyValue(by);
if(bx===""&&!b.contains(bC.ownerDocument.documentElement,bC)){bx=b.style(bC,by);
}}if(!b.support.pixelMargin&&e&&aG.test(by)&&a3.test(bx)){bA=bz.width;
bz.width=bx;
bx=e.width;
bz.width=bA;
}return bx;
};
}if(ax.documentElement.currentStyle){a0=function(bB,by){var bC,e,bA,bx=bB.currentStyle&&bB.currentStyle[by],bz=bB.style;
if(bx==null&&bz&&(bA=bz[by])){bx=bA;
}if(a3.test(bx)){bC=bz.left;
e=bB.runtimeStyle&&bB.runtimeStyle.left;
if(e){bB.runtimeStyle.left=bB.currentStyle.left;
}bz.left=by==="fontSize"?"1em":bx;
bx=bz.pixelLeft+"px";
bz.left=bC;
if(e){bB.runtimeStyle.left=e;
}}return bx===""?"auto":bx;
};
}ab=aL||a0;
function ah(bA,by,bx){var bB=by==="width"?bA.offsetWidth:bA.offsetHeight,bz=by==="width"?1:0,e=4;
if(bB>0){if(bx!=="border"){for(;
bz<e;
bz+=2){if(!bx){bB-=parseFloat(b.css(bA,"padding"+I[bz]))||0;
}if(bx==="margin"){bB+=parseFloat(b.css(bA,bx+I[bz]))||0;
}else{bB-=parseFloat(b.css(bA,"border"+I[bz]+"Width"))||0;
}}}return bB+"px";
}bB=ab(bA,by);
if(bB<0||bB==null){bB=bA.style[by];
}if(a3.test(bB)){return bB;
}bB=parseFloat(bB)||0;
if(bx){for(;
bz<e;
bz+=2){bB+=parseFloat(b.css(bA,"padding"+I[bz]))||0;
if(bx!=="padding"){bB+=parseFloat(b.css(bA,"border"+I[bz]+"Width"))||0;
}if(bx==="margin"){bB+=parseFloat(b.css(bA,bx+I[bz]))||0;
}}}return bB+"px";
}b.each(["height","width"],function(bx,e){b.cssHooks[e]={get:function(bA,bz,by){if(bz){if(bA.offsetWidth!==0){return ah(bA,e,by);
}else{return b.swap(bA,bb,function(){return ah(bA,e,by);
});
}}},set:function(by,bz){return bq.test(bz)?bz+"px":bz;
}};
});
if(!b.support.opacity){b.cssHooks.opacity={get:function(bx,e){return aw.test((e&&bx.currentStyle?bx.currentStyle.filter:bx.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":"";
},set:function(bA,bB){var bz=bA.style,bx=bA.currentStyle,e=b.isNumeric(bB)?"alpha(opacity="+bB*100+")":"",by=bx&&bx.filter||bz.filter||"";
bz.zoom=1;
if(bB>=1&&b.trim(by.replace(an,""))===""){bz.removeAttribute("filter");
if(bx&&!bx.filter){return;
}}bz.filter=an.test(by)?by.replace(an,e):by+" "+e;
}};
}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bx,e){return b.swap(bx,{display:"inline-block"},function(){if(e){return ab(bx,"margin-right");
}else{return bx.style.marginRight;
}});
}};
}});
if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(by){var bx=by.offsetWidth,e=by.offsetHeight;
return(bx===0&&e===0)||(!b.support.reliableHiddenOffsets&&((by.style&&by.style.display)||b.css(by,"display"))==="none");
};
b.expr.filters.visible=function(e){return !b.expr.filters.hidden(e);
};
}b.each({margin:"",padding:"",border:"Width"},function(e,bx){b.cssHooks[e+bx]={expand:function(bA){var bz,bB=typeof bA==="string"?bA.split(" "):[bA],by={};
for(bz=0;
bz<4;
bz++){by[e+I[bz]+bx]=bB[bz]||bB[bz-2]||bB[0];
}return by;
}};
});
var l=/%20/g,ar=/\[\]$/,bu=/\r?\n/g,bs=/#.*$/,aF=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,a2=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aP=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,aT=/^(?:GET|HEAD)$/,c=/^\/\//,O=/\?/,a9=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,bt=/([?&])_=[^&]*/,M=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,B=b.fn.load,ac={},r={},aH,t,aY=["*/"]+["*"];
try{aH=bo.href;
}catch(ay){aH=ax.createElement("a");
aH.href="";
aH=aH.href;
}t=M.exec(aH.toLowerCase())||[];
function f(e){return function(bA,bC){if(typeof bA!=="string"){bC=bA;
bA="*";
}if(b.isFunction(bC)){var bz=bA.toLowerCase().split(h),by=0,bB=bz.length,bx,bD,bE;
for(;
by<bB;
by++){bx=bz[by];
bE=/^\+/.test(bx);
if(bE){bx=bx.substr(1)||"*";
}bD=e[bx]=e[bx]||[];
bD[bE?"unshift":"push"](bC);
}}};
}function aZ(bx,bG,bB,bF,bD,bz){bD=bD||bG.dataTypes[0];
bz=bz||{};
bz[bD]=true;
var bC=bx[bD],by=0,e=bC?bC.length:0,bA=(bx===ac),bE;
for(;
by<e&&(bA||!bE);
by++){bE=bC[by](bG,bB,bF);
if(typeof bE==="string"){if(!bA||bz[bE]){bE=N;
}else{bG.dataTypes.unshift(bE);
bE=aZ(bx,bG,bB,bF,bE,bz);
}}}if((bA||!bE)&&!bz["*"]){bE=aZ(bx,bG,bB,bF,"*",bz);
}return bE;
}function ap(by,bz){var bx,e,bA=b.ajaxSettings.flatOptions||{};
for(bx in bz){if(bz[bx]!==N){(bA[bx]?by:(e||(e={})))[bx]=bz[bx];
}}if(e){b.extend(true,by,e);
}}b.fn.extend({load:function(by,bB,bC){if(typeof by!=="string"&&B){return B.apply(this,arguments);
}else{if(!this.length){return this;
}}var bA=by.indexOf(" ");
if(bA>=0){var e=by.slice(bA,by.length);
by=by.slice(0,bA);
}var bz="GET";
if(bB){if(b.isFunction(bB)){bC=bB;
bB=N;
}else{if(typeof bB==="object"){bB=b.param(bB,b.ajaxSettings.traditional);
bz="POST";
}}}var bx=this;
b.ajax({url:by,type:bz,dataType:"html",data:bB,complete:function(bE,bD,bF){bF=bE.responseText;
if(bE.isResolved()){bE.done(function(bG){bF=bG;
});
bx.html(e?b("<div>").append(bF.replace(a9,"")).find(e):bF);
}if(bC){bx.each(bC,[bF,bD,bE]);
}}});
return this;
},serialize:function(){return b.param(this.serializeArray());
},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this;
}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||a2.test(this.type));
}).map(function(e,bx){var by=b(this).val();
return by==null?null:b.isArray(by)?b.map(by,function(bA,bz){return{name:bx.name,value:bA.replace(bu,"\r\n")};
}):{name:bx.name,value:by.replace(bu,"\r\n")};
}).get();
}});
b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bx){b.fn[bx]=function(by){return this.on(bx,by);
};
});
b.each(["get","post"],function(e,bx){b[bx]=function(by,bA,bB,bz){if(b.isFunction(bA)){bz=bz||bB;
bB=bA;
bA=N;
}return b.ajax({type:bx,url:by,data:bA,success:bB,dataType:bz});
};
});
b.extend({getScript:function(e,bx){return b.get(e,N,bx,"script");
},getJSON:function(e,bx,by){return b.get(e,bx,by,"json");
},ajaxSetup:function(bx,e){if(e){ap(bx,b.ajaxSettings);
}else{e=bx;
bx=b.ajaxSettings;
}ap(bx,e);
return bx;
},ajaxSettings:{url:aH,isLocal:aP.test(t[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aY},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bf.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(ac),ajaxTransport:f(r),ajax:function(bB,bz){if(typeof bB==="object"){bz=bB;
bB=N;
}bz=bz||{};
var bF=b.ajaxSetup({},bz),bU=bF.context||bF,bI=bU!==bF&&(bU.nodeType||bU instanceof b)?b(bU):b.event,bT=b.Deferred(),bP=b.Callbacks("once memory"),bD=bF.statusCode||{},bE,bJ={},bQ={},bS,bA,bN,bG,bK,bC=0,by,bM,bL={readyState:0,setRequestHeader:function(bV,bW){if(!bC){var e=bV.toLowerCase();
bV=bQ[e]=bQ[e]||bV;
bJ[bV]=bW;
}return this;
},getAllResponseHeaders:function(){return bC===2?bS:null;
},getResponseHeader:function(bV){var e;
if(bC===2){if(!bA){bA={};
while((e=aF.exec(bS))){bA[e[1].toLowerCase()]=e[2];
}}e=bA[bV.toLowerCase()];
}return e===N?null:e;
},overrideMimeType:function(e){if(!bC){bF.mimeType=e;
}return this;
},abort:function(e){e=e||"abort";
if(bN){bN.abort(e);
}bH(0,e);
return this;
}};
function bH(b1,bW,b2,bY){if(bC===2){return;
}bC=2;
if(bG){clearTimeout(bG);
}bN=N;
bS=bY||"";
bL.readyState=b1>0?4:0;
var bV,b6,b5,bZ=bW,b0=b2?bm(bF,bL,b2):N,bX,b4;
if(b1>=200&&b1<300||b1===304){if(bF.ifModified){if((bX=bL.getResponseHeader("Last-Modified"))){b.lastModified[bE]=bX;
}if((b4=bL.getResponseHeader("Etag"))){b.etag[bE]=b4;
}}if(b1===304){bZ="notmodified";
bV=true;
}else{try{b6=H(bF,b0);
bZ="success";
bV=true;
}catch(b3){bZ="parsererror";
b5=b3;
}}}else{b5=bZ;
if(!bZ||b1){bZ="error";
if(b1<0){b1=0;
}}}bL.status=b1;
bL.statusText=""+(bW||bZ);
if(bV){bT.resolveWith(bU,[b6,bZ,bL]);
}else{bT.rejectWith(bU,[bL,bZ,b5]);
}bL.statusCode(bD);
bD=N;
if(by){bI.trigger("ajax"+(bV?"Success":"Error"),[bL,bF,bV?b6:b5]);
}bP.fireWith(bU,[bL,bZ]);
if(by){bI.trigger("ajaxComplete",[bL,bF]);
if(!(--b.active)){b.event.trigger("ajaxStop");
}}}bT.promise(bL);
bL.success=bL.done;
bL.error=bL.fail;
bL.complete=bP.add;
bL.statusCode=function(bV){if(bV){var e;
if(bC<2){for(e in bV){bD[e]=[bD[e],bV[e]];
}}else{e=bV[bL.status];
bL.then(e,e);
}}return this;
};
bF.url=((bB||bF.url)+"").replace(bs,"").replace(c,t[1]+"//");
bF.dataTypes=b.trim(bF.dataType||"*").toLowerCase().split(h);
if(bF.crossDomain==null){bK=M.exec(bF.url.toLowerCase());
bF.crossDomain=!!(bK&&(bK[1]!=t[1]||bK[2]!=t[2]||(bK[3]||(bK[1]==="http:"?80:443))!=(t[3]||(t[1]==="http:"?80:443))));
}if(bF.data&&bF.processData&&typeof bF.data!=="string"){bF.data=b.param(bF.data,bF.traditional);
}aZ(ac,bF,bz,bL);
if(bC===2){return false;
}by=bF.global;
bF.type=bF.type.toUpperCase();
bF.hasContent=!aT.test(bF.type);
if(by&&b.active++===0){b.event.trigger("ajaxStart");
}if(!bF.hasContent){if(bF.data){bF.url+=(O.test(bF.url)?"&":"?")+bF.data;
delete bF.data;
}bE=bF.url;
if(bF.cache===false){var bx=b.now(),bR=bF.url.replace(bt,"$1_="+bx);
bF.url=bR+((bR===bF.url)?(O.test(bF.url)?"&":"?")+"_="+bx:"");
}}if(bF.data&&bF.hasContent&&bF.contentType!==false||bz.contentType){bL.setRequestHeader("Content-Type",bF.contentType);
}if(bF.ifModified){bE=bE||bF.url;
if(b.lastModified[bE]){bL.setRequestHeader("If-Modified-Since",b.lastModified[bE]);
}if(b.etag[bE]){bL.setRequestHeader("If-None-Match",b.etag[bE]);
}}bL.setRequestHeader("Accept",bF.dataTypes[0]&&bF.accepts[bF.dataTypes[0]]?bF.accepts[bF.dataTypes[0]]+(bF.dataTypes[0]!=="*"?", "+aY+"; q=0.01":""):bF.accepts["*"]);
for(bM in bF.headers){bL.setRequestHeader(bM,bF.headers[bM]);
}if(bF.beforeSend&&(bF.beforeSend.call(bU,bL,bF)===false||bC===2)){bL.abort();
return false;
}for(bM in {success:1,error:1,complete:1}){bL[bM](bF[bM]);
}bN=aZ(r,bF,bz,bL);
if(!bN){bH(-1,"No Transport");
}else{bL.readyState=1;
if(by){bI.trigger("ajaxSend",[bL,bF]);
}if(bF.async&&bF.timeout>0){bG=setTimeout(function(){bL.abort("timeout");
},bF.timeout);
}try{bC=1;
bN.send(bJ,bH);
}catch(bO){if(bC<2){bH(-1,bO);
}else{throw bO;
}}}return bL;
},param:function(e,by){var bx=[],bA=function(bB,bC){bC=b.isFunction(bC)?bC():bC;
bx[bx.length]=encodeURIComponent(bB)+"="+encodeURIComponent(bC);
};
if(by===N){by=b.ajaxSettings.traditional;
}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){bA(this.name,this.value);
});
}else{for(var bz in e){w(bz,e[bz],by,bA);
}}return bx.join("&").replace(l,"+");
}});
function w(by,bA,bx,bz){if(b.isArray(bA)){b.each(bA,function(bC,bB){if(bx||ar.test(by)){bz(by,bB);
}else{w(by+"["+(typeof bB==="object"?bC:"")+"]",bB,bx,bz);
}});
}else{if(!bx&&b.type(bA)==="object"){for(var e in bA){w(by+"["+e+"]",bA[e],bx,bz);
}}else{bz(by,bA);
}}}b.extend({active:0,lastModified:{},etag:{}});
function bm(bF,bE,bB){var bx=bF.contents,bD=bF.dataTypes,by=bF.responseFields,bA,bC,bz,e;
for(bC in by){if(bC in bB){bE[by[bC]]=bB[bC];
}}while(bD[0]==="*"){bD.shift();
if(bA===N){bA=bF.mimeType||bE.getResponseHeader("content-type");
}}if(bA){for(bC in bx){if(bx[bC]&&bx[bC].test(bA)){bD.unshift(bC);
break;
}}}if(bD[0] in bB){bz=bD[0];
}else{for(bC in bB){if(!bD[0]||bF.converters[bC+" "+bD[0]]){bz=bC;
break;
}if(!e){e=bC;
}}bz=bz||e;
}if(bz){if(bz!==bD[0]){bD.unshift(bz);
}return bB[bz];
}}function H(bJ,bB){if(bJ.dataFilter){bB=bJ.dataFilter(bB,bJ.dataType);
}var bF=bJ.dataTypes,bI={},bC,bG,by=bF.length,bD,bE=bF[0],bz,bA,bH,bx,e;
for(bC=1;
bC<by;
bC++){if(bC===1){for(bG in bJ.converters){if(typeof bG==="string"){bI[bG.toLowerCase()]=bJ.converters[bG];
}}}bz=bE;
bE=bF[bC];
if(bE==="*"){bE=bz;
}else{if(bz!=="*"&&bz!==bE){bA=bz+" "+bE;
bH=bI[bA]||bI["* "+bE];
if(!bH){e=N;
for(bx in bI){bD=bx.split(" ");
if(bD[0]===bz||bD[0]==="*"){e=bI[bD[1]+" "+bE];
if(e){bx=bI[bx];
if(bx===true){bH=e;
}else{if(e===true){bH=bx;
}}break;
}}}}if(!(bH||e)){b.error("No conversion from "+bA.replace(" "," to "));
}if(bH!==true){bB=bH?bH(bB):e(bx(bB));
}}}}return bB;
}var aE=b.now(),v=/(\=)\?(&|$)|\?\?/i;
b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+(aE++);
}});
b.ajaxPrefilter("json jsonp",function(bF,bC,bE){var bz=(typeof bF.data==="string")&&/^application\/x\-www\-form\-urlencoded/.test(bF.contentType);
if(bF.dataTypes[0]==="jsonp"||bF.jsonp!==false&&(v.test(bF.url)||bz&&v.test(bF.data))){var bD,by=bF.jsonpCallback=b.isFunction(bF.jsonpCallback)?bF.jsonpCallback():bF.jsonpCallback,bB=bf[by],e=bF.url,bA=bF.data,bx="$1"+by+"$2";
if(bF.jsonp!==false){e=e.replace(v,bx);
if(bF.url===e){if(bz){bA=bA.replace(v,bx);
}if(bF.data===bA){e+=(/\?/.test(e)?"&":"?")+bF.jsonp+"="+by;
}}}bF.url=e;
bF.data=bA;
bf[by]=function(bG){bD=[bG];
};
bE.always(function(){bf[by]=bB;
if(bD&&b.isFunction(bB)){bf[by](bD[0]);
}});
bF.converters["script json"]=function(){if(!bD){b.error(by+" was not called");
}return bD[0];
};
bF.dataTypes[0]="json";
return"script";
}});
b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){b.globalEval(e);
return e;
}}});
b.ajaxPrefilter("script",function(e){if(e.cache===N){e.cache=false;
}if(e.crossDomain){e.type="GET";
e.global=false;
}});
b.ajaxTransport("script",function(by){if(by.crossDomain){var e,bx=ax.head||ax.getElementsByTagName("head")[0]||ax.documentElement;
return{send:function(bz,bA){e=ax.createElement("script");
e.async="async";
if(by.scriptCharset){e.charset=by.scriptCharset;
}e.src=by.url;
e.onload=e.onreadystatechange=function(bC,bB){if(bB||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;
if(bx&&e.parentNode){bx.removeChild(e);
}e=N;
if(!bB){bA(200,"success");
}}};
bx.insertBefore(e,bx.firstChild);
},abort:function(){if(e){e.onload(0,1);
}}};
}});
var C=bf.ActiveXObject?function(){for(var e in P){P[e](0,1);
}}:false,z=0,P;
function aO(){try{return new bf.XMLHttpRequest();
}catch(bx){}}function am(){try{return new bf.ActiveXObject("Microsoft.XMLHTTP");
}catch(bx){}}b.ajaxSettings.xhr=bf.ActiveXObject?function(){return !this.isLocal&&aO()||am();
}:aO;
(function(e){b.extend(b.support,{ajax:!!e,cors:!!e&&("withCredentials" in e)});
})(b.ajaxSettings.xhr());
if(b.support.ajax){b.ajaxTransport(function(e){if(!e.crossDomain||b.support.cors){var bx;
return{send:function(bD,by){var bC=e.xhr(),bB,bA;
if(e.username){bC.open(e.type,e.url,e.async,e.username,e.password);
}else{bC.open(e.type,e.url,e.async);
}if(e.xhrFields){for(bA in e.xhrFields){bC[bA]=e.xhrFields[bA];
}}if(e.mimeType&&bC.overrideMimeType){bC.overrideMimeType(e.mimeType);
}if(!e.crossDomain&&!bD["X-Requested-With"]){bD["X-Requested-With"]="XMLHttpRequest";
}try{for(bA in bD){bC.setRequestHeader(bA,bD[bA]);
}}catch(bz){}bC.send((e.hasContent&&e.data)||null);
bx=function(bM,bG){var bH,bF,bE,bK,bJ;
try{if(bx&&(bG||bC.readyState===4)){bx=N;
if(bB){bC.onreadystatechange=b.noop;
if(C){delete P[bB];
}}if(bG){if(bC.readyState!==4){bC.abort();
}}else{bH=bC.status;
bE=bC.getAllResponseHeaders();
bK={};
bJ=bC.responseXML;
if(bJ&&bJ.documentElement){bK.xml=bJ;
}try{bK.text=bC.responseText;
}catch(bM){}try{bF=bC.statusText;
}catch(bL){bF="";
}if(!bH&&e.isLocal&&!e.crossDomain){bH=bK.text?200:404;
}else{if(bH===1223){bH=204;
}}}}}catch(bI){if(!bG){by(-1,bI);
}}if(bK){by(bH,bF,bK,bE);
}};
if(!e.async||bC.readyState===4){bx();
}else{bB=++z;
if(C){if(!P){P={};
b(bf).unload(C);
}P[bB]=bx;
}bC.onreadystatechange=bx;
}},abort:function(){if(bx){bx(0,1);
}}};
}});
}var S={},bc,n,aD=/^(?:toggle|show|hide)$/,aW=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,a6,aK=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],a7;
b.fn.extend({show:function(bz,bC,bB){var by,bA;
if(bz||bz===0){return this.animate(a4("show",3),bz,bC,bB);
}else{for(var bx=0,e=this.length;
bx<e;
bx++){by=this[bx];
if(by.style){bA=by.style.display;
if(!b._data(by,"olddisplay")&&bA==="none"){bA=by.style.display="";
}if((bA===""&&b.css(by,"display")==="none")||!b.contains(by.ownerDocument.documentElement,by)){b._data(by,"olddisplay",y(by.nodeName));
}}}for(bx=0;
bx<e;
bx++){by=this[bx];
if(by.style){bA=by.style.display;
if(bA===""||bA==="none"){by.style.display=b._data(by,"olddisplay")||"";
}}}return this;
}},hide:function(bz,bC,bB){if(bz||bz===0){return this.animate(a4("hide",3),bz,bC,bB);
}else{var by,bA,bx=0,e=this.length;
for(;
bx<e;
bx++){by=this[bx];
if(by.style){bA=b.css(by,"display");
if(bA!=="none"&&!b._data(by,"olddisplay")){b._data(by,"olddisplay",bA);
}}}for(bx=0;
bx<e;
bx++){if(this[bx].style){this[bx].style.display="none";
}}return this;
}},_toggle:b.fn.toggle,toggle:function(by,bx,bz){var e=typeof by==="boolean";
if(b.isFunction(by)&&b.isFunction(bx)){this._toggle.apply(this,arguments);
}else{if(by==null||e){this.each(function(){var bA=e?by:b(this).is(":hidden");
b(this)[bA?"show":"hide"]();
});
}else{this.animate(a4("toggle",3),by,bx,bz);
}}return this;
},fadeTo:function(e,bz,by,bx){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:bz},e,by,bx);
},animate:function(bB,by,bA,bz){var e=b.speed(by,bA,bz);
if(b.isEmptyObject(bB)){return this.each(e.complete,[false]);
}bB=b.extend({},bB);
function bx(){if(e.queue===false){b._mark(this);
}var bG=b.extend({},e),bN=this.nodeType===1,bL=bN&&b(this).is(":hidden"),bD,bI,bF,bM,bP,bH,bK,bE,bJ,bO,bC;
bG.animatedProperties={};
for(bF in bB){bD=b.camelCase(bF);
if(bF!==bD){bB[bD]=bB[bF];
delete bB[bF];
}if((bP=b.cssHooks[bD])&&"expand" in bP){bH=bP.expand(bB[bD]);
delete bB[bD];
for(bF in bH){if(!(bF in bB)){bB[bF]=bH[bF];
}}}}for(bD in bB){bI=bB[bD];
if(b.isArray(bI)){bG.animatedProperties[bD]=bI[1];
bI=bB[bD]=bI[0];
}else{bG.animatedProperties[bD]=bG.specialEasing&&bG.specialEasing[bD]||bG.easing||"swing";
}if(bI==="hide"&&bL||bI==="show"&&!bL){return bG.complete.call(this);
}if(bN&&(bD==="height"||bD==="width")){bG.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];
if(b.css(this,"display")==="inline"&&b.css(this,"float")==="none"){if(!b.support.inlineBlockNeedsLayout||y(this.nodeName)==="inline"){this.style.display="inline-block";
}else{this.style.zoom=1;
}}}}if(bG.overflow!=null){this.style.overflow="hidden";
}for(bF in bB){bM=new b.fx(this,bG,bF);
bI=bB[bF];
if(aD.test(bI)){bC=b._data(this,"toggle"+bF)||(bI==="toggle"?bL?"show":"hide":0);
if(bC){b._data(this,"toggle"+bF,bC==="show"?"hide":"show");
bM[bC]();
}else{bM[bI]();
}}else{bK=aW.exec(bI);
bE=bM.cur();
if(bK){bJ=parseFloat(bK[2]);
bO=bK[3]||(b.cssNumber[bF]?"":"px");
if(bO!=="px"){b.style(this,bF,(bJ||1)+bO);
bE=((bJ||1)/bM.cur())*bE;
b.style(this,bF,bE+bO);
}if(bK[1]){bJ=((bK[1]==="-="?-1:1)*bJ)+bE;
}bM.custom(bE,bJ,bO);
}else{bM.custom(bE,bI,"");
}}}return true;
}return e.queue===false?this.each(bx):this.queue(e.queue,bx);
},stop:function(by,bx,e){if(typeof by!=="string"){e=bx;
bx=by;
by=N;
}if(bx&&by!==false){this.queue(by||"fx",[]);
}return this.each(function(){var bz,bA=false,bC=b.timers,bB=b._data(this);
if(!e){b._unmark(true,this);
}function bD(bG,bH,bF){var bE=bH[bF];
b.removeData(bG,bF,true);
bE.stop(e);
}if(by==null){for(bz in bB){if(bB[bz]&&bB[bz].stop&&bz.indexOf(".run")===bz.length-4){bD(this,bB,bz);
}}}else{if(bB[bz=by+".run"]&&bB[bz].stop){bD(this,bB,bz);
}}for(bz=bC.length;
bz--;
){if(bC[bz].elem===this&&(by==null||bC[bz].queue===by)){if(e){bC[bz](true);
}else{bC[bz].saveState();
}bA=true;
bC.splice(bz,1);
}}if(!(e&&bA)){b.dequeue(this,by);
}});
}});
function bk(){setTimeout(av,0);
return(a7=b.now());
}function av(){a7=N;
}function a4(bx,e){var by={};
b.each(aK.concat.apply([],aK.slice(0,e)),function(){by[this]=bx;
});
return by;
}b.each({slideDown:a4("show",1),slideUp:a4("hide",1),slideToggle:a4("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,bx){b.fn[e]=function(by,bA,bz){return this.animate(bx,by,bA,bz);
};
});
b.extend({speed:function(by,bz,bx){var e=by&&typeof by==="object"?b.extend({},by):{complete:bx||!bx&&bz||b.isFunction(by)&&by,duration:by,easing:bx&&bz||bz&&!b.isFunction(bz)&&bz};
e.duration=b.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in b.fx.speeds?b.fx.speeds[e.duration]:b.fx.speeds._default;
if(e.queue==null||e.queue===true){e.queue="fx";
}e.old=e.complete;
e.complete=function(bA){if(b.isFunction(e.old)){e.old.call(this);
}if(e.queue){b.dequeue(this,e.queue);
}else{if(bA!==false){b._unmark(this);
}}};
return e;
},easing:{linear:function(e){return e;
},swing:function(e){return(-Math.cos(e*Math.PI)/2)+0.5;
}},timers:[],fx:function(bx,e,by){this.options=e;
this.elem=bx;
this.prop=by;
e.orig=e.orig||{};
}});
b.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this);
}(b.fx.step[this.prop]||b.fx.step._default)(this);
},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];
}var e,bx=b.css(this.elem,this.prop);
return isNaN(e=parseFloat(bx))?!bx||bx==="auto"?0:bx:e;
},custom:function(bB,bA,bz){var e=this,by=b.fx;
this.startTime=a7||bk();
this.end=bA;
this.now=this.start=bB;
this.pos=this.state=0;
this.unit=bz||this.unit||(b.cssNumber[this.prop]?"":"px");
function bx(bC){return e.step(bC);
}bx.queue=this.options.queue;
bx.elem=this.elem;
bx.saveState=function(){if(b._data(e.elem,"fxshow"+e.prop)===N){if(e.options.hide){b._data(e.elem,"fxshow"+e.prop,e.start);
}else{if(e.options.show){b._data(e.elem,"fxshow"+e.prop,e.end);
}}}};
if(bx()&&b.timers.push(bx)&&!a6){a6=setInterval(by.tick,by.interval);
}},show:function(){var e=b._data(this.elem,"fxshow"+this.prop);
this.options.orig[this.prop]=e||b.style(this.elem,this.prop);
this.options.show=true;
if(e!==N){this.custom(this.cur(),e);
}else{this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());
}b(this.elem).show();
},hide:function(){this.options.orig[this.prop]=b._data(this.elem,"fxshow"+this.prop)||b.style(this.elem,this.prop);
this.options.hide=true;
this.custom(this.cur(),0);
},step:function(bA){var bC,bD,bx,bz=a7||bk(),e=true,bB=this.elem,by=this.options;
if(bA||bz>=by.duration+this.startTime){this.now=this.end;
this.pos=this.state=1;
this.update();
by.animatedProperties[this.prop]=true;
for(bC in by.animatedProperties){if(by.animatedProperties[bC]!==true){e=false;
}}if(e){if(by.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bE,bF){bB.style["overflow"+bF]=by.overflow[bE];
});
}if(by.hide){b(bB).hide();
}if(by.hide||by.show){for(bC in by.animatedProperties){b.style(bB,bC,by.orig[bC]);
b.removeData(bB,"fxshow"+bC,true);
b.removeData(bB,"toggle"+bC,true);
}}bx=by.complete;
if(bx){by.complete=false;
bx.call(bB);
}}return false;
}else{if(by.duration==Infinity){this.now=bz;
}else{bD=bz-this.startTime;
this.state=bD/by.duration;
this.pos=b.easing[by.animatedProperties[this.prop]](this.state,bD,0,1,by.duration);
this.now=this.start+((this.end-this.start)*this.pos);
}this.update();
}return true;
}};
b.extend(b.fx,{tick:function(){var by,bx=b.timers,e=0;
for(;
e<bx.length;
e++){by=bx[e];
if(!by()&&bx[e]===by){bx.splice(e--,1);
}}if(!bx.length){b.fx.stop();
}},interval:13,stop:function(){clearInterval(a6);
a6=null;
},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){b.style(e.elem,"opacity",e.now);
},_default:function(e){if(e.elem.style&&e.elem.style[e.prop]!=null){e.elem.style[e.prop]=e.now+e.unit;
}else{e.elem[e.prop]=e.now;
}}}});
b.each(aK.concat.apply([],aK),function(e,bx){if(bx.indexOf("margin")){b.fx.step[bx]=function(by){b.style(by.elem,bx,Math.max(0,by.now)+by.unit);
};
}});
if(b.expr&&b.expr.filters){b.expr.filters.animated=function(e){return b.grep(b.timers,function(bx){return e===bx.elem;
}).length;
};
}function y(bz){if(!S[bz]){var e=ax.body,bx=b("<"+bz+">").appendTo(e),by=bx.css("display");
bx.remove();
if(by==="none"||by===""){if(!bc){bc=ax.createElement("iframe");
bc.frameBorder=bc.width=bc.height=0;
}e.appendChild(bc);
if(!n||!bc.createElement){n=(bc.contentWindow||bc.contentDocument).document;
n.write((b.support.boxModel?"<!doctype html>":"")+"<html><body>");
n.close();
}bx=n.createElement(bz);
n.body.appendChild(bx);
by=b.css(bx,"display");
e.removeChild(bc);
}S[bz]=by;
}return S[bz];
}var ba,X=/^t(?:able|d|h)$/i,af=/^(?:body|html)$/i;
if("getBoundingClientRect" in ax.documentElement){ba=function(bA,bJ,by,bD){try{bD=bA.getBoundingClientRect();
}catch(bH){}if(!bD||!b.contains(by,bA)){return bD?{top:bD.top,left:bD.left}:{top:0,left:0};
}var bE=bJ.body,bF=aN(bJ),bC=by.clientTop||bE.clientTop||0,bG=by.clientLeft||bE.clientLeft||0,bx=bF.pageYOffset||b.support.boxModel&&by.scrollTop||bE.scrollTop,bB=bF.pageXOffset||b.support.boxModel&&by.scrollLeft||bE.scrollLeft,bI=bD.top+bx-bC,bz=bD.left+bB-bG;
return{top:bI,left:bz};
};
}else{ba=function(bB,bG,bz){var bE,by=bB.offsetParent,bx=bB,bC=bG.body,bD=bG.defaultView,e=bD?bD.getComputedStyle(bB,null):bB.currentStyle,bF=bB.offsetTop,bA=bB.offsetLeft;
while((bB=bB.parentNode)&&bB!==bC&&bB!==bz){if(b.support.fixedPosition&&e.position==="fixed"){break;
}bE=bD?bD.getComputedStyle(bB,null):bB.currentStyle;
bF-=bB.scrollTop;
bA-=bB.scrollLeft;
if(bB===by){bF+=bB.offsetTop;
bA+=bB.offsetLeft;
if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&X.test(bB.nodeName))){bF+=parseFloat(bE.borderTopWidth)||0;
bA+=parseFloat(bE.borderLeftWidth)||0;
}bx=by;
by=bB.offsetParent;
}if(b.support.subtractsBorderForOverflowNotVisible&&bE.overflow!=="visible"){bF+=parseFloat(bE.borderTopWidth)||0;
bA+=parseFloat(bE.borderLeftWidth)||0;
}e=bE;
}if(e.position==="relative"||e.position==="static"){bF+=bC.offsetTop;
bA+=bC.offsetLeft;
}if(b.support.fixedPosition&&e.position==="fixed"){bF+=Math.max(bz.scrollTop,bC.scrollTop);
bA+=Math.max(bz.scrollLeft,bC.scrollLeft);
}return{top:bF,left:bA};
};
}b.fn.offset=function(e){if(arguments.length){return e===N?this:this.each(function(bz){b.offset.setOffset(this,e,bz);
});
}var bx=this[0],by=bx&&bx.ownerDocument;
if(!by){return null;
}if(bx===by.body){return b.offset.bodyOffset(bx);
}return ba(bx,by,by.documentElement);
};
b.offset={bodyOffset:function(e){var by=e.offsetTop,bx=e.offsetLeft;
if(b.support.doesNotIncludeMarginInBodyOffset){by+=parseFloat(b.css(e,"marginTop"))||0;
bx+=parseFloat(b.css(e,"marginLeft"))||0;
}return{top:by,left:bx};
},setOffset:function(bz,bI,bC){var bD=b.css(bz,"position");
if(bD==="static"){bz.style.position="relative";
}var bB=b(bz),bx=bB.offset(),e=b.css(bz,"top"),bG=b.css(bz,"left"),bH=(bD==="absolute"||bD==="fixed")&&b.inArray("auto",[e,bG])>-1,bF={},bE={},by,bA;
if(bH){bE=bB.position();
by=bE.top;
bA=bE.left;
}else{by=parseFloat(e)||0;
bA=parseFloat(bG)||0;
}if(b.isFunction(bI)){bI=bI.call(bz,bC,bx);
}if(bI.top!=null){bF.top=(bI.top-bx.top)+by;
}if(bI.left!=null){bF.left=(bI.left-bx.left)+bA;
}if("using" in bI){bI.using.call(bz,bF);
}else{bB.css(bF);
}}};
b.fn.extend({position:function(){if(!this[0]){return null;
}var by=this[0],bx=this.offsetParent(),bz=this.offset(),e=af.test(bx[0].nodeName)?{top:0,left:0}:bx.offset();
bz.top-=parseFloat(b.css(by,"marginTop"))||0;
bz.left-=parseFloat(b.css(by,"marginLeft"))||0;
e.top+=parseFloat(b.css(bx[0],"borderTopWidth"))||0;
e.left+=parseFloat(b.css(bx[0],"borderLeftWidth"))||0;
return{top:bz.top-e.top,left:bz.left-e.left};
},offsetParent:function(){return this.map(function(){var e=this.offsetParent||ax.body;
while(e&&(!af.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent;
}return e;
});
}});
b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(by,bx){var e=/Y/.test(bx);
b.fn[by]=function(bz){return b.access(this,function(bA,bD,bC){var bB=aN(bA);
if(bC===N){return bB?(bx in bB)?bB[bx]:b.support.boxModel&&bB.document.documentElement[bD]||bB.document.body[bD]:bA[bD];
}if(bB){bB.scrollTo(!e?bC:b(bB).scrollLeft(),e?bC:b(bB).scrollTop());
}else{bA[bD]=bC;
}},by,bz,arguments.length,null);
};
});
function aN(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false;
}b.each({Height:"height",Width:"width"},function(by,bz){var bx="client"+by,e="scroll"+by,bA="offset"+by;
b.fn["inner"+by]=function(){var bB=this[0];
return bB?bB.style?parseFloat(b.css(bB,bz,"padding")):this[bz]():null;
};
b.fn["outer"+by]=function(bC){var bB=this[0];
return bB?bB.style?parseFloat(b.css(bB,bz,bC?"margin":"border")):this[bz]():null;
};
b.fn[bz]=function(bB){return b.access(this,function(bE,bD,bF){var bH,bG,bI,bC;
if(b.isWindow(bE)){bH=bE.document;
bG=bH.documentElement[bx];
return b.support.boxModel&&bG||bH.body&&bH.body[bx]||bG;
}if(bE.nodeType===9){bH=bE.documentElement;
if(bH[bx]>=bH[e]){return bH[bx];
}return Math.max(bE.body[e],bH[e],bE.body[bA],bH[bA]);
}if(bF===N){bI=b.css(bE,bD);
bC=parseFloat(bI);
return b.isNumeric(bC)?bC:bI;
}b(bE).css(bD,bF);
},bz,bB,arguments.length,null);
};
});
bf.jQuery=bf.$=b;
if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b;
});
}})(window);
/*!
 * jQuery UI 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI
 */
(function(a,d){a.ui=a.ui||{};
if(a.ui.version){return;
}a.extend(a.ui,{version:"1.8.16",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});
a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;
setTimeout(function(){a(g).focus();
if(f){f.call(g);
}},e);
}):this._focus.apply(this,arguments);
},scrollParent:function(){var e;
if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1));
}).eq(0);
}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1));
}).eq(0);
}return(/fixed/).test(this.css("position"))||!e.length?a(document):e;
},zIndex:function(h){if(h!==d){return this.css("zIndex",h);
}if(this.length){var f=a(this[0]),e,g;
while(f.length&&f[0]!==document){e=f.css("position");
if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);
if(!isNaN(g)&&g!==0){return g;
}}f=f.parent();
}}return 0;
},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault();
});
},enableSelection:function(){return this.unbind(".ui-disableSelection");
}});
a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};
function j(n,m,l,o){a.each(f,function(){m-=parseFloat(a.curCSS(n,"padding"+this,true))||0;
if(l){m-=parseFloat(a.curCSS(n,"border"+this+"Width",true))||0;
}if(o){m-=parseFloat(a.curCSS(n,"margin"+this,true))||0;
}});
return m;
}a.fn["inner"+e]=function(l){if(l===d){return k["inner"+e].call(this);
}return this.each(function(){a(this).css(h,j(this,l)+"px");
});
};
a.fn["outer"+e]=function(l,m){if(typeof l!=="number"){return k["outer"+e].call(this,l);
}return this.each(function(){a(this).css(h,j(this,l,true,m)+"px");
});
};
});
function c(g,e){var k=g.nodeName.toLowerCase();
if("area"===k){var j=g.parentNode,h=j.name,f;
if(!g.href||!h||j.nodeName.toLowerCase()!=="map"){return false;
}f=a("img[usemap=#"+h+"]")[0];
return !!f&&b(f);
}return(/input|select|textarea|button|object/.test(k)?!g.disabled:"a"==k?g.href||e:e)&&b(g);
}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this);
}).length;
}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3]);
},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")));
},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);
return(f||e>=0)&&c(g,!f);
}});
a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));
a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});
a.support.minHeight=f.offsetHeight===100;
a.support.selectstart="onselectstart" in f;
e.removeChild(f).style.display="none";
});
a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;
for(var e in j){h.plugins[e]=h.plugins[e]||[];
h.plugins[e].push([g,j[e]]);
}},call:function(e,g,f){var j=e.plugins[g];
if(!j||!e.element[0].parentNode){return;
}for(var h=0;
h<j.length;
h++){if(e.options[j[h][0]]){j[h][1].apply(e.element,f);
}}}},contains:function(f,e){return document.compareDocumentPosition?f.compareDocumentPosition(e)&16:f!==e&&f.contains(e);
},hasScroll:function(h,f){if(a(h).css("overflow")==="hidden"){return false;
}var e=(f&&f==="left")?"scrollLeft":"scrollTop",g=false;
if(h[e]>0){return true;
}h[e]=1;
g=(h[e]>0);
h[e]=0;
return g;
},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g));
},isOver:function(k,f,j,h,e,g){return a.ui.isOverAxis(k,j,e)&&a.ui.isOverAxis(f,h,g);
}});
})(jQuery);
/*!
 * jQuery UI Widget 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(b,d){if(b.cleanData){var c=b.cleanData;
b.cleanData=function(f){for(var g=0,h;
(h=f[g])!=null;
g++){try{b(h).triggerHandler("remove");
}catch(j){}}c(f);
};
}else{var a=b.fn.remove;
b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove");
}catch(g){}});
}}return a.call(b(this),e,f);
});
};
}b.widget=function(f,h,e){var g=f.split(".")[0],k;
f=f.split(".")[1];
k=g+"-"+f;
if(!e){e=h;
h=b.Widget;
}b.expr[":"][k]=function(l){return !!b.data(l,f);
};
b[g]=b[g]||{};
b[g][f]=function(l,m){if(arguments.length){this._createWidget(l,m);
}};
var j=new h();
j.options=b.extend(true,{},j.options);
b[g][f].prototype=b.extend(true,j,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:k},e);
b.widget.bridge(f,b[g][f]);
};
b.widget.bridge=function(f,e){b.fn[f]=function(j){var g=typeof j==="string",h=Array.prototype.slice.call(arguments,1),k=this;
j=!g&&h.length?b.extend.apply(null,[true,j].concat(h)):j;
if(g&&j.charAt(0)==="_"){return k;
}if(g){this.each(function(){var l=b.data(this,f),m=l&&b.isFunction(l[j])?l[j].apply(l,h):l;
if(m!==l&&m!==d){k=m;
return false;
}});
}else{this.each(function(){var l=b.data(this,f);
if(l){l.option(j||{})._init();
}else{b.data(this,f,new e(j,this));
}});
}return k;
};
};
b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f);
}};
b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);
this.element=b(g);
this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);
var e=this;
this.element.bind("remove."+this.widgetName,function(){e.destroy();
});
this._create();
this._trigger("create");
this._init();
},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName];
},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);
this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled");
},widget:function(){return this.element;
},option:function(f,g){var e=f;
if(arguments.length===0){return b.extend({},this.options);
}if(typeof f==="string"){if(g===d){return this.options[f];
}e={};
e[f]=g;
}this._setOptions(e);
return this;
},_setOptions:function(f){var e=this;
b.each(f,function(g,h){e._setOption(g,h);
});
return this;
},_setOption:function(e,f){this.options[e]=f;
if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f);
}return this;
},enable:function(){return this._setOption("disabled",false);
},disable:function(){return this._setOption("disabled",true);
},_trigger:function(f,g,h){var k=this.options[f];
g=b.Event(g);
g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();
h=h||{};
if(g.originalEvent){for(var e=b.event.props.length,j;
e;
){j=b.event.props[--e];
g[j]=g.originalEvent[j];
}}this.element.trigger(g,h);
return !(b.isFunction(k)&&k.call(this.element[0],g,h)===false||g.isDefaultPrevented());
}};
})(jQuery);
(function($){var escape=/["\\\x00-\x1f\x7f-\x9f]/g,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},hasOwn=Object.prototype.hasOwnProperty;
$.toJSON=typeof JSON==="object"&&JSON.stringify?JSON.stringify:function(o){if(o===null){return"null";
}var pairs,k,name,val,type=$.type(o);
if(type==="undefined"){return undefined;
}if(type==="number"||type==="boolean"){return String(o);
}if(type==="string"){return $.quoteString(o);
}if(typeof o.toJSON==="function"){return $.toJSON(o.toJSON());
}if(type==="date"){var month=o.getUTCMonth()+1,day=o.getUTCDate(),year=o.getUTCFullYear(),hours=o.getUTCHours(),minutes=o.getUTCMinutes(),seconds=o.getUTCSeconds(),milli=o.getUTCMilliseconds();
if(month<10){month="0"+month;
}if(day<10){day="0"+day;
}if(hours<10){hours="0"+hours;
}if(minutes<10){minutes="0"+minutes;
}if(seconds<10){seconds="0"+seconds;
}if(milli<100){milli="0"+milli;
}if(milli<10){milli="0"+milli;
}return'"'+year+"-"+month+"-"+day+"T"+hours+":"+minutes+":"+seconds+"."+milli+'Z"';
}pairs=[];
if($.isArray(o)){for(k=0;
k<o.length;
k++){pairs.push($.toJSON(o[k])||"null");
}return"["+pairs.join(",")+"]";
}if(typeof o==="object"){for(k in o){if(hasOwn.call(o,k)){type=typeof k;
if(type==="number"){name='"'+k+'"';
}else{if(type==="string"){name=$.quoteString(k);
}else{continue;
}}type=typeof o[k];
if(type!=="function"&&type!=="undefined"){val=$.toJSON(o[k]);
pairs.push(name+":"+val);
}}}return"{"+pairs.join(",")+"}";
}};
$.evalJSON=typeof JSON==="object"&&JSON.parse?JSON.parse:function(str){return eval("("+str+")");
};
$.secureEvalJSON=typeof JSON==="object"&&JSON.parse?JSON.parse:function(str){var filtered=str.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"");
if(/^[\],:{}\s]*$/.test(filtered)){return eval("("+str+")");
}throw new SyntaxError("Error parsing JSON, source is not valid.");
};
$.quoteString=function(str){if(str.match(escape)){return'"'+str.replace(escape,function(a){var c=meta[a];
if(typeof c==="string"){return c;
}c=a.charCodeAt();
return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16);
})+'"';
}return'"'+str+'"';
};
}(jQuery));
jQuery.extend({bez:function(a){var b="bez_"+jQuery.makeArray(arguments).join("_").replace(/\./g,"p");
if(typeof jQuery.easing[b]!=="function"){var c=function(k,h){var e=[null,null],l=[null,null],j=[null,null],g=function(m,n){j[n]=3*k[n],l[n]=3*(h[n]-k[n])-j[n],e[n]=1-j[n]-l[n];
return m*(j[n]+m*(l[n]+m*e[n]));
},f=function(m){return j[0]+m*(2*l[0]+3*e[0]*m);
},d=function(o){var m=o,n=0,p;
while(++n<14){p=g(m,0)-o;
if(Math.abs(p)<0.001){break;
}m-=p/f(m);
}return m;
};
return function(m){return g(d(m),1);
};
};
jQuery.easing[b]=function(f,g,e,j,h){return j*c([a[0],a[1]],[a[2],a[3]])(g/h)+e;
};
}return b;
}});
(function(a){a.fn.extend({translate:function(){var b=new a.Lang();
return this.each(function(){if(a(this).data("translate-attribute")){a(this).attr(a(this).data("translate-attribute"),b.translate(a(this).data("translation-key"),a(this).data("translation-params")));
}else{a(this).html(b.translate(a(this).data("translation-key"),a(this).data("translation-params")));
}});
}});
a.Lang=function(){if(typeof translations=="undefined"||typeof translations!="object"){return;
}locale=a("html").attr("lang");
if(!translations[locale]){locale="en";
}this.translate=function(c,d){var b=c;
if(translations[locale][c]){b=translations[locale][c];
}else{if(translations.en[c]){b=translations.en[c];
}}if(d&&typeof d=="object"){a.each(d,function(f,e){b=b.replace("{"+f+"}",e);
});
}return b;
};
};
})(jQuery);
(function(a){a.fn.extend({selectRange:function(c,b){return this.each(function(){a.SelectRange(this,c,b);
});
}});
a.SelectRange=function(b,e,d){if(typeof b.setSelectionRange!=="undefined"){b.setSelectionRange(e,d);
}else{if(typeof b.createTextRange!=="undefined"){var c=b.createTextRange();
c.collapse(true);
c.moveStart("character",e);
c.moveEnd("character",(d-e));
c.select();
}}};
})(jQuery);
(function(b){var c=document.createElement("input"),a=0;
b.fn.extend({placeholder:function(d){var d=d||{};
return this.each(function(){if(b.supportsPlaceholderAttribute()===false){b.Placeholder(this,d);
}});
}});
b.supportsPlaceholderAttribute=function(){if(typeof c.placeholder==="undefined"){return false;
}else{return true;
}};
b.Placeholder=function(g,f){var j=document.createElement("span");
j.id=f.id||"placeholder-"+(a++);
j.className=f.className||"placeholder";
j.style.cursor=f.cursor||"text";
j.setAttribute("data-translation-key",g.getAttribute("data-translation-key"));
j.style.display="none";
j.innerHTML=g.getAttribute("placeholder");
var d=f.containingElement||g.parentNode;
d.appendChild(j);
function e(){j.style.display="none";
}function k(){if(g.value===""){j.style.display="block";
}}function h(){j.style.display="none";
g.focus();
}b(g).on("focus",e);
b(g).on("blur",k);
b(j).on("click",h);
b(g).data("placeholderElement",j.id);
if(document.activeElement!==g){if(g.value===""){j.style.display="block";
}}};
})(jQuery);
if(typeof SKYPE=="undefined"){var SKYPE={};
}SKYPE.namespace=function(){var b=arguments,g=null,e,c,f;
for(e=0;
e<b.length;
++e){f=b[e].split(".");
g=SKYPE;
for(c=(f[0]=="SKYPE")?1:0;
c<f.length;
++c){g[f[c]]=g[f[c]]||{};
g=g[f[c]];
}}return g;
};
SKYPE.namespace("buttonresizer");
SKYPE.buttonresizer=(function(b){var a=function(d,c){b(function(){try{if(d){var g=(c&&c.minWidth)?c.minWidth:0,e=d.find(".jsResizer"),j=0,h=0;
e.width("auto");
j=e.map(function(){return b(this).width();
}).get();
h=parseInt(Math.max.apply(null,j),10);
if(h<g){h=g;
}if((h%2)!==0){h++;
}e.width(h);
}}catch(f){console.log("An error occured while resizing buttons"+f);
}});
};
return{resizeButtons:a};
})(jQuery);
$.widget("ui.animator",{options:{src:undefined,width:50,height:50,horizontal:false,frames:24,fps:24,autostart:true,loop:false},animation:{container:null,interval:null,x:0,y:0,iw:0,ih:0,step:0},_create:function(){if(this.options.src!==undefined){var a=new Image();
a.src=this.options.src;
}this.animation.container=$("<div />",{"class":"animationContainer",width:this.options.width,height:this.options.height}).css({display:"none","background-color":"transparent","background-repeat":"no-repeat"});
this.animation.ih=this.options.horizontal?this.options.height:(this.options.height*this.options.frames);
this.animation.iw=this.options.horizontal?(this.options.width*this.options.frames):this.options.width;
this.element.append(this.animation.container);
if(this.options.src!==undefined&&this.options.autostart){this.start();
}},_animationEnd:function(){this._trigger("end");
},start:function(){if(this.animation.interval!==null){this.stop();
}if(!this.options.src){return;
}this._resetAnimation();
this.animation.container.show().css("background-image","url('"+this.options.src+"')");
var a=Math.round(1000/this.options.fps);
var b=this;
this.animation.interval=setInterval(function(){b._paint();
},a);
},_paint:function(){this.animation.step++;
if(this.animation.step>this.options.frames){if(!this.options.loop){this.stop();
return;
}else{this._resetAnimation();
this.animation.step++;
}}this.animation.x=this.options.horizontal?0-((this.animation.step-1)*this.options.width):0;
this.animation.y=this.options.horizontal?0:0-((this.animation.step-1)*this.options.height);
this.animation.container.css("background-position",this.animation.x+"px "+this.animation.y+"px");
},_resetAnimation:function(){this.animation.step=0;
this.animation.x=0;
this.animation.y=0;
},stop:function(){clearInterval(this.animation.interval);
this._animationEnd();
}});
$.widget("ui.button",{options:{disabled:false},_create:function(){this.className=this.element.attr("class");
this._enable();
},_setOption:function(a,b){if(a=="disabled"&&b!=this.options.disabled){b?this._disable():this._enable();
}$.Widget.prototype._setOption.apply(this,arguments);
},_enable:function(){var a=this;
this.element.click(function(){a._trigger("click");
var b=a.element.attr("href");
if(!b||b.substr(0,1)=="#"){return false;
}}).mouseout(function(){a.element.removeClass(a.className+"-down");
}).mousedown(function(){a.element.addClass(a.className+"-down");
}).mouseup(function(){a.element.removeClass(a.className+"-down");
}).keydown(function(b){if(b.which==32){a._trigger("click");
}});
this.element.removeClass().addClass(this.className).removeAttr("aria-disabled").attr("tabindex",function(b,c){return Math.abs(c);
});
$("body").append('<p id="tempHack"></p>');
},_disable:function(){this.element.unbind("click mouseout mousedown mouseup keydown").click(function(){return false;
});
this.element.removeClass().addClass(this.className+" "+this.className+"-disabled").attr("aria-disabled","true").attr("tabindex",function(a,b){return Math.abs(b)*-1;
});
$("#tempHack").remove();
}});
$.widget("ui.checkbox",{options:{checked:false,disabled:false},_create:function(){var a=this,b="";
this.element.wrap('<div class="checkboxModified"></div>');
if(!this.options.disabled&&this.options.checked){b='checked="checked"';
}this.checkbox=$('<input type="checkbox" class="highContrastCheckbox" '+b+" />");
this.element.parent().prepend(this.checkbox);
this.checkbox.bind("click",function(){a.element.trigger("click");
});
this.element.bind("click keydown",function(c){if(a.options.disabled){return false;
}if(c.type=="click"||c.keyCode==32){a.option("checked",!a.options.checked);
}if(c.type=="click"){return false;
}});
},_setOption:function(a,c){var b=this.options.checked;
if(a=="disabled"&&c!=this.options.disabled){c?this._disable():this._enable();
}$.Widget.prototype._setOption.apply(this,arguments);
if(a=="checked"&&c!=b){c?this._check():this._uncheck();
this._trigger("change");
}},_check:function(){this.element.addClass("checkbox-checked").attr("aria-checked","true");
this.checkbox.attr("checked",true);
},_uncheck:function(){this.element.removeClass("checkbox-checked").attr("aria-checked","false");
this.checkbox.attr("checked",false);
},_enable:function(){this.element.removeClass("checkbox-disabled").removeAttr("aria-disabled");
this.checkbox.attr("disabled",false);
},_disable:function(){this.element.addClass("checkbox-disabled").attr("aria-disabled","true");
this.checkbox.attr("disabled",true);
}});
$.widget("ui.inputfield",{options:{disabled:false,type:undefined,clearbutton:false,_types:["text","password"]},_create:function(){this.wrap=$("<div></div>").addClass("inputFieldWrap");
this.element.wrap(this.wrap);
if(API.getPlatformId()!==3){this.capsLock=$("<span></span>").addClass("caps");
this.capsLock.insertAfter(this.element);
}if(this.options.type==undefined){this.options.type=this.element.attr("type");
}else{if(this.options.type!=this.element.attr("type")){this.changeType(this.options.type);
}}this.element.addClass(this.options.type+"Type");
this.element.prop("autocomplete","off");
if(this.options.clearbutton){this.button=$("<div></div>").addClass("clearFieldButton").attr("role","button");
this.element.after(this.button);
this.element.parent().addClass("inputWithClearButton");
this._button();
}else{this.element.parent().addClass("inputWithoutClearButton");
}this._enable();
this._change();
this._hover();
this._focus();
this._blur();
this._paste();
},_setOption:function(a,b){switch(a){case"disabled":if(b!=this.options.disabled){b?this._disable():this._enable();
}break;
case"type":if(b!=this.options.type){this.changeType(b);
}}$.Widget.prototype._setOption.apply(this,arguments);
},changeType:function(a){a.toLowerCase();
if(this._isEnabledType(a)){try{this.element.prop("type",a);
this.options.type=a;
this.element.removeClass("textType passwordType").addClass(a+"Type");
}catch(b){this.options.type=this.element.attr("type");
}}},_isEnabledType:function(b){for(var a in this.options._types){if(b===this.options._types[a]){return true;
}}return false;
},_enable:function(){this.element.removeClass("disabledField").prop("disabled",false);
this.element.parent().removeClass("disabled");
},_disable:function(){this.element.addClass("disabledField").blur().prop("disabled",true);
this.element.parent().addClass("disabled");
},value:function(a){if(a!=undefined){this.element.val(a);
this.element.trigger("change");
}return this.element.val();
},_button:function(){var a=this;
this.button.click(function(){if(a.options.disabled){return;
}a.element.val("");
a.element.trigger("change");
a.focus();
});
},_change:function(){var a;
this.element.keydown(function(){a=this.value;
}).keyup(function(){if(this.value!=a){$(this).trigger("change");
}});
},_focus:function(){var a=this;
this.element.focus(function(){$(this).select();
a.element.parent().addClass("focus");
}).mouseup(function(b){b.preventDefault();
});
this.element.parent().click(function(){a.focus();
});
},_hover:function(){this.element.parent().hover(function(){$(this).addClass("hover");
},function(){$(this).removeClass("hover");
});
},_paste:function(){this.element.on("paste",function(a){setTimeout(function(){$(a.currentTarget).trigger("change");
},100);
});
},focus:function(){this.element.focus();
},blur:function(){this.element.blur();
},_blur:function(){var a=this;
this.element.blur(function(){a.element.parent().removeClass("focus");
});
}});
$.widget("ui.combobox",{options:{disabled:false},_create:function(){this.element.wrap($("<div></div>").addClass("combobox"));
var a=this;
this.button=$("<div><span>&#x25BC;</span></div>").addClass("dropdownButton").attr("role","button").attr("aria-haspopup","true").attr("aria-expanded","false");
this.ul=$("<ul></ul>").dropdown({pick:function(c,b){a.element.val(b).select().trigger("change");
}});
this.element.prop("autocomplete","off");
this.element.after(this.button,this.ul);
this._enable();
this._autocomplete();
this._button();
this._arrows();
this._keydown();
this._keyup();
this._change();
this._focus();
this._blur();
this.setItems([]);
},setItems:function(a){this.items=a;
this.dropdown("setItems",a);
},dropdown:function(){return this.ul.dropdown.apply(this.ul,arguments);
},_setOption:function(a,b){switch(a){case"disabled":if(b!=this.options.disabled){b?this._disable():this._enable();
}break;
}$.Widget.prototype._setOption.apply(this,arguments);
},_enable:function(){this.element.removeClass("disabledField").prop("disabled",false);
this.button.removeClass("dropdownButtonDisabled").addClass("dropdownButtonEnabled");
},_disable:function(){this.element.addClass("disabledField").prop("disabled",true);
this.button.removeClass("dropdownButtonEnabled").addClass("dropdownButtonDisabled");
},_autocomplete:function(){var a=this;
var c;
var b=function(e){e=e.toLowerCase();
var d;
$.each(a.items,function(f,g){g=g.toLowerCase();
if(g.indexOf(e)==0){d=g;
return false;
}});
return d;
};
this.element.keypress(function(f){var d=f.keyCode?f.keyCode:f.which;
clearTimeout(c);
if(d==8||d==46){return;
}c=setTimeout(function(){var g=a.element.val();
var e=b(g);
if(e&&g!=""){a.element.val(e).selectRange(g.length,e.length);
}},300);
}).blur(function(d){clearTimeout(c);
});
},_button:function(){var a=this;
this.button.click(function(){if(a.options.disabled){return;
}if(a.dropdown("isOpen")){a.dropdown("close");
a.button.attr("aria-expanded","false");
}else{a.element.focus();
a.dropdown("open",a.element.val());
a.button.attr("aria-expanded","true");
}});
},_arrows:function(){var a=this;
this.element.keydown(function(b){if(b.keyCode!=38&&b.keyCode!=40){return;
}if(b.altKey){if(b.keyCode==40||b.keyCode==38){a.dropdown("isOpen")?a.dropdown("close"):a.dropdown("open",a.element.val());
a.button.attr("aria-expanded","true");
}}else{b.preventDefault();
a.dropdown(b.keyCode==38?"up":"down");
}});
},_keydown:function(){var a=this;
this.element.keydown(function(b){switch(b.keyCode){case 8:if(a.element.prop("readonly")){return false;
}break;
}});
},_keyup:function(){var a=this;
this.element.keyup(function(b){switch(b.keyCode){case 13:if(a.dropdown("isOpen")){a.dropdown("pick");
}else{a._trigger("enter");
}break;
case 27:a.dropdown("close");
a.button.attr("aria-expanded","false");
break;
}});
},_change:function(){var a;
this.element.keydown(function(){a=this.value;
}).keyup(function(){if(this.value!=a){$(this).trigger("change");
}});
},_focus:function(){this.element.focus(function(){$(this).select();
}).mouseup(function(a){a.preventDefault();
});
},_blur:function(){var a=this;
this.element.blur(function(){setTimeout(function(){if(!a.element.is(":focus")){a.dropdown("close");
}},200);
});
}});
$.widget("ui.dropdown",{_create:function(){this.element.addClass("dropdown");
this.setItems([]);
},setItems:function(b){this.element.html("");
var a=this;
$.each(b,function(c,d){if(c>7){return false;
}$("<li></li>").attr("role","option").text(d).appendTo(a.element);
});
this.items=this.element.find("li").hover(function(){a._select($(this).index());
}).click(function(){a._pick($(this));
a.close();
});
this.items.first().addClass("first");
},open:function(b){if(this.isOpen()||this.items.size()<1){return;
}var a=this;
this.items.removeClass("selected");
this.items.each(function(c,d){if($(d).text()==b){a._select(c);
return false;
}});
this.element.show();
},close:function(){if(!this.isOpen()){return;
}this.element.hide();
if($("#username").val()){$("#password").select();
}},isOpen:function(){return this.element.is(":visible");
},_select:function(a){this.items.filter(".selected").removeClass("selected").removeAttr("aria-selected");
$(this.items.get(a)).addClass("selected").attr("aria-selected","true");
return $(this.items.get(a));
},_shift:function(a,c){if(this.items.size()<1){return;
}var b=this.items.filter(".selected").index()+a;
if(b<0){if(c){b=this.items.size()-1;
}else{b=0;
}}else{if(b>this.items.size()-1){if(c){b=0;
}else{b=this.items.size()-1;
}}}return this._select(b);
},_pick:function(a){if(!a){return;
}this._trigger("pick",null,a.text());
},up:function(){this._pick(this._shift(-1));
},down:function(){this._pick(this._shift(1));
},pick:function(){var a=this.items.filter(".selected");
if(a.size()>0){this._pick(a);
this.close();
}},_mouse:function(){var a=this;
this.items.hover(function(){a._select($(this).index());
});
this.items.click(function(){a._pick($(this));
a.close();
});
}});
$.widget("ui.suggestions",{options:{maxheight:150,maxitems:5,selectable:true,defaultAvatar:"images/skypeicon.png"},listedElements:[],showing:false,_create:function(){this.element.empty();
this.ul=$("<ul></ul>",{"class":"suggestionsList"});
this.element.append(this.ul);
this.setItems([]);
},isEmpty:function(){return !this.showing;
},setItems:function(c,d){this.ul.empty();
var b=this;
b.items=c;
b.listedElements=[];
var e=c.length,a=(d)?d:1;
this.showing=(e>0);
$.each(c,function(g,h){if((g+1)>b.options.maxitems){return false;
}h.index=g;
var l=$("<li></li>",{"class":"suggestionsListItem",id:"suggestionListItem-"+g}).data("suggestion",h).hover(function(n){b._select($(this),n);
}).click(function(){b._pick($(this));
}).keyup(function(n){if(n.keyCode===13){b._pick($(this));
}});
if(b.options.selectable){l.attr({role:"button"});
}l.attr({tabindex:(a+g)});
if((g+1)==e||(g+1)==b.options.maxitems){l.addClass("last");
}var k=h.avatar||b.options.defaultAvatar;
var j=$("<div />",{"class":"suggestionPicture"}).preloader({src:k,timeout:0});
$("<div />",{"class":"pictureContainer noflip"}).append(j).appendTo(l);
var f=$("<span />",{"class":"suggestionName"}).text(h.name);
var m=$("<span />",{"class":"suggestionUsername"}).text(h.username);
$("<div />",{"class":"suggestionText"}).append(f,m).appendTo(l);
b.listedElements.push(l);
b.ul.append(l);
});
this.element.removeData("selected");
},_pick:function(b){var a=this;
if(!b||!a.options.selectable){return;
}var c=b.data("suggestion");
a.element.data("selected",c);
a._trigger("pick",null,c);
},_select:function(b,a){if(!b||!this.options.selectable){return;
}$(".suggestionsListItem").removeClass("hover");
if(a&&a.type=="mouseenter"){b.addClass("hover");
}},_destroy:function(){this.element.empty();
$.Widget.prototype.destroy.call(this);
}});
$.widget("ui.preloader",{options:{src:undefined,width:48,height:48,fallbackSrc:"images/skypeicon.png",showDuration:"fast",timeout:2,forceLoad:false},_showing:false,_activeSrc:undefined,imageObject:undefined,fallbackObject:undefined,t:null,_create:function(){this.fallbackObject=new Image();
this.fallbackObject.src=this.options.fallbackSrc;
if(this.options.src){this.loadImage(this.options.src);
}},loadImage:function(b){if(!b){return;
}if(!this.options.forceLoad&&this._showing&&this._activeSrc==b){return;
}this.element.empty();
this._showing=false;
this._activeSrc=undefined;
var a=this;
this.options.src=b;
this.imageObject=new Image(this.options.width,this.options.height);
this.imageObject.onload=function(){a._onload();
};
this.imageObject.onerror=function(){a._onerror();
};
if(this.options.timeout!=null){this.t=setTimeout(function(){a._onerror();
},this.options.timeout*1000);
}this.imageObject.src=b;
},_setOption:function(a,b){$.Widget.prototype._setOption.apply(this,arguments);
},_onerror:function(){clearTimeout(this.t);
if(this._showing&&(this.options.fallbackSrc==this._activeSrc)){return;
}var a=$("<img/>").addClass("preloaderImage fallbackImage").width(this.options.width).height(this.options.height).attr("src",this.options.fallbackSrc).css("display","none");
this.element.empty();
this.element.append(a);
this._activeSrc=this.options.fallbackSrc;
if(this._showing){a.show();
}else{this._showing=true;
a.fadeIn(this.options.showDuration);
}},_onload:function(){clearTimeout(this.t);
var a=$("<img/>").addClass("preloaderImage").width(this.options.width).height(this.options.height).attr("src",this.options.src).css("display","none");
this.element.empty();
this.element.append(a);
this._activeSrc=this.options.src;
if(this._showing){a.show();
}else{this._showing=true;
a.fadeIn(this.options.showDuration);
}}});
$.widget("skype.disambiguationSuggestions",{options:{maxheight:150,defaultAvatar:"images/skypeicon.png",defaultListClass:"suggestionsList",defaultListItemClass:"suggestionsListItem",defaultListItemId:"suggestionListItem"},listedElements:[],_create:function(){this.element.empty();
this.ul=$('<ul id="disambiguationAccountsList"></ul>',{"class":this.options.defaultListClass});
this.element.append(this.ul);
this.setItems([]);
},setItems:function(c,d){this.ul.empty();
var b=this;
b.items=c;
b.listedElements=[];
var a=(d)?d:1;
$.each(c,function(e,g){var k=$("<li></li>",{"class":b.options.defaultListItemClass,id:b.options.defaultListItemId+"-"+e}).data("suggestion",g).click(function(){b._pick($(this));
}).keyup(function(m){if(m.keyCode===13){b._pick($(this));
}});
k.attr({role:"button"}).attr({tabindex:(a+e)});
var j=g.avatarUrl||b.options.defaultAvatar;
var h=$("<div />",{"class":"suggestionPicture"}).preloader({src:j,timeout:0});
$("<div />",{"class":"pictureContainer noflip"}).append(h).appendTo(k);
var l=$("<span />",{"class":"suggestionUsername"}).text(g.username);
var f=$("<span />",{"class":"suggestionType"});
if(g.type==="SKYPE"){f.data("translation-key","accountTypeSkype").translate();
}else{f.data("translation-key","accountTypeMsa").translate();
}$("<div />",{"class":"suggestionText"}).append(l,f).appendTo(k);
b.listedElements.push(k);
b.ul.append(k);
});
this.element.removeData("selected");
},_pick:function(b){var a=this;
if(!b){return;
}var c=b.data("suggestion");
a.element.data("selected",c);
a._trigger("pick",null,c);
},_destroy:function(){this.element.empty();
$.Widget.prototype.destroy.call(this);
}});
SKYPE.namespace("login");
SKYPE.login.Cookie={get:function(a){var c=document.cookie.split("; ");
for(i=0;
i<c.length;
++i){var b=c[i].split("=");
if(a===decodeURIComponent(b[0])){return decodeURIComponent(b[1]||"");
}}return null;
},set:function(d,e,a){a=a||0;
var b="";
if(typeof a==="number"&&a!==0){var c=new Date();
c.setDate(c.getDate()+a);
b="; expires="+c.toUTCString();
}e=String(e);
document.cookie=encodeURIComponent(d)+"="+encodeURIComponent(e)+b+"; path=/";
},clear:function(a){this.set(a,"",-1);
},clearAll:function(){var c=document.cookie.split("; ");
for(var b=0;
b<c.length;
++b){var a=c[b].split("=");
this.clear(decodeURIComponent(a[0]));
}}};
(function(){SKYPE.namespace("login");
SKYPE.login.Query={parse:function(d){var f={};
if(typeof(d)!="string"){d="";
}d=d.replace(/^[?#]/,"");
var c=d.split("&");
for(var b=0;
b<c.length;
++b){var e=c[b].split("=");
var a=decodeURIComponent(e.shift());
if(!a){continue;
}f[a]=decodeURIComponent(e.shift()||"");
}return f;
},build:function(d){var b=[];
for(var c in d){var a=d[c];
if(a===null){a="";
}b.push(encodeURIComponent(c)+"="+encodeURIComponent(a));
}return b.join("&");
}};
}());
SKYPE.namespace("login");
SKYPE.login.Tools={_useSessionStorage:undefined,storeSessionData:function(a,b){if(this._hasSessionStorage()){try{sessionStorage.setItem(a,b);
}catch(c){API.log("Could not store data in sessionStorage: ",(c&&c.name?c.name:""));
}}else{SKYPE.login.Cookie.set(a,b);
}},_hasSessionStorage:function(){if(this._useSessionStorage!==undefined){return this._useSessionStorage;
}try{sessionStorage.setItem("_storageTest","123");
sessionStorage.getItem("_storageTest");
sessionStorage.removeItem("_storageTest");
this._useSessionStorage=true;
return true;
}catch(a){}this._useSessionStorage=false;
return false;
},loadSessionData:function(a){var b=null;
if(this._hasSessionStorage()){try{b=sessionStorage.getItem(a);
}catch(c){}if(!b){b=null;
}}else{b=SKYPE.login.Cookie.get(a);
}return b;
},removeSessionData:function(a){if(this._hasSessionStorage()){try{sessionStorage.removeItem(a);
}catch(b){}}else{SKYPE.login.Cookie.clear(a);
}},escape:function(a){return $("<div/>").text(a).html();
},randomString:function(c){c=c||10;
var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
var d="";
for(var a=0;
a<c;
a++){d+=b.charAt(Math.floor(Math.random()*b.length));
}return d;
},skypeLocaleToMicrosoftLocale:function(a){switch(a){case"zh-hans":return"zh-CN";
case"zh-hant":return"zh-TW";
}return a;
},reasonTypeMapper:function(a){var b;
switch(a){case"microsoft_registration":b="USER_CONNECT_MS_REGISTRATION_CLIENT";
break;
case"microsoft_login":b="USER_CONNECT_MS_LOGIN_CLIENT";
break;
case"microsoft_registration_linking":b="USER_CONNECT_MS_LINKING_CLIENT";
break;
case"microsoft_login_linking":b="USER_CONNECT_MS_EXISTING_LINKING_CLIENT";
break;
default:b="USER_CONNECT_CLIENT_LOGIN";
break;
}return b;
},isEmail:function(a){return a.indexOf("@")>-1;
},isPhoneNumber:function(b){var a=/^[+\/\.\(\)\-\d \[\]#\*]{5,25}$/g;
return a.test(b);
},parseUrl:function(a){return a.split(/\?|#/)[0];
}};
(function(){SKYPE.namespace("login");
window.SKYPE.login.Parameters=function(){var e={},c={};
var g=function(h){e=SKYPE.login.Query.parse(h.hash);
c=SKYPE.login.Query.parse(h.search);
};
var a=function(j,h){h=h||null;
return(e[j])?e[j]:h;
};
var b=function(j,h){h=h||null;
return(c[j])?c[j]:h;
};
var d=function(j,h){h=h||null;
return a(j,b(j,h));
};
var f=function(){return $.extend(true,{},e);
};
g(window.location);
return{init:g,getHash:a,getQuery:b,getAny:d,getHashAll:f};
}();
}());
SKYPE.namespace("login");
SKYPE.login.Visitor=function(){var b=function(){return SKYPE.login.Parameters.getAny("visitorId");
};
var a=function(){var d=SKYPE.login.Tools.loadSessionData("visitorId"),c="storage";
if(!d){d=b();
c="queryString";
if(!d){d=API.getSharedSetting("VisitorID");
c="sharedSetting";
if(!d){d=SKYPE.login.Tools.randomString(20);
c="new";
}}SKYPE.login.Tools.storeSessionData("visitorId",d);
}API.log("Assigned visitor ID: [ "+d+" ], source: "+c);
return d;
};
return{getId:a};
};
SKYPE.namespace("login");
var getExternal=function(){if(window.external&&typeof window.external.getAPI!="undefined"){return window.external;
}throw new Error("[API] Failed to load external javascript API");
};
SKYPE.login.Api=function(){this.external=getExternal();
var a=this.external.getAPI(0);
this.getLanguage=function(){return a.getClient().language;
};
this.getPlatformId=function(){return a.platformID;
};
this.getVersion=function(){return a.getClient().version;
};
this.getClientVersion=function(){var c=a.getClient().trackingID;
var d=c?"/"+c:"";
return this.getPlatformId()+"/"+this.getVersion()+d;
};
this.getCobrand=function(){var c=a.getClient().version.split(".");
if(c.length>2){return c[2];
}return"0";
};
this.setLanguageChangeListener=function(c){a.setLanguageChangeListener(c);
};
var b=function(c){return c.indexOf(":")>=0;
};
this.getDefaultUsername=function(){if(!a.defaultLoginName){return null;
}if(b(a.defaultLoginName)){return null;
}return a.defaultLoginName;
};
this.getStorePassword=function(){return a.storePassword;
};
this.setStorePassword=function(c){a.storePassword=c;
};
this.hasSavedCredentials=function(c){return a.hasSavedCredentials(c);
};
this.canAutoLogin=function(){return a.defaultLoginName&&a.canAutoLogin(a.defaultLoginName);
};
this.setLoginStatusListener=function(c){return a.setLoginStatusListener(c||function(){});
};
this.getLoginStatus=function(){return a.loginStatus;
};
this.getUsernames=function(){if(a.loginNames&&a.loginNames!='""'){return $.grep(a.loginNames.split(";"),b,true);
}return[];
};
this.login=function(d,c){this.setLastKnownLogin("SKYPE");
a.login(d,c);
};
this.loginWithOAuth=function(e,c,d){if(e===999){this.setLastKnownLogin("MSA");
}else{if(e===95){this.setLastKnownLogin("FB");
}}if(e==999){c="";
}a.loginWithOAuth(e,c,d);
};
this.autoLogin=function(){a.login(a.defaultLoginName,"");
};
this.log=function(d,c){if(typeof(c)=="object"){var e=[];
for(property in c){e.push(property+": "+$.toJSON(c[property]));
}d+=" - "+e.join(", ");
}a.log("LOGIN - "+d);
};
this.redirectUrl=function(c,d){c=SKYPE.login.Tools.parseUrl(c);
d=SKYPE.login.Tools.parseUrl(d);
this.log("Registering redirect rule",{urlFrom:c,urlTo:d});
this.external.redirectURL(c,d);
};
this.getDisabledAuthPartners=function(){return a.disabledAuthPartners.split(",");
};
this.setSessionListener=function(c){a.setSessionListener(c||function(){});
};
this.saveSessionCookie=function(d,c){a.saveSessionCookie(d,c);
};
this.getSessionToken=function(){return a.sessionToken;
};
this.getLogoutReason=function(){return parseInt(a.getAccount().logoutReason,10);
};
this.store=function(c,d){this.log("Storing into local Skype storage: ",{key:c,value:typeof d});
a.postLocal(c,$.toJSON(d));
};
this.getLastPartnerId=function(){var d=a.getAccount(),c=null;
try{c=parseInt(d.getLastPartnerId(),10);
this.log("api.getAccount().getLastPartnerId method exists");
}catch(f){this.log("api.getAccount().getLastPartnerId method not supported");
}return c;
};
this.getLastKnownLogin=function(d){var e=this.getLastKnownLoginFromCoreLib(),c="CoreLib";
if(e===null){e=this.getLastKnownLoginFromCookie(d);
c="cookie";
}this.log("Obtained last known partner ID value from: "+c+", value: "+e);
return e;
};
this.getLastKnownLoginFromCoreLib=function(){var c=this.getLastPartnerId(),d=null;
switch(c){case 999:d="MSA";
break;
case 95:d="FB";
break;
case 1:d="SKYPE";
break;
default:a.log("LOGIN - CoreLib returned invalid lastPartnerId: "+c);
break;
}return d;
};
this.getLastKnownLoginFromCookie=function(c){var d=null;
var f=(c?"skypeLKLPersisted":"skypeLKL");
var e=SKYPE.login.Cookie.get(f);
switch(e){case"MSA":d="MSA";
break;
case"FB":d="FB";
break;
case"SKYPE":d="SKYPE";
break;
}if(d===null){this.log("lastPartnerId not found in cookies. Using empty value.");
d="";
}return d;
};
this.setLastKnownLogin=function(d){var c="";
switch(d){case"MSA":case"FB":case"SKYPE":c=d;
break;
default:c="SKYPE";
break;
}SKYPE.login.Cookie.set("skypeLKL",c,365);
SKYPE.login.Cookie.set("skypeLKLPersisted",c,365);
};
this.getHCmode=function(){return(a.HCmode!=="undefined")?a.HCmode:null;
};
this.getSharedSetting=function(d){var c="API.getSharedSetting("+d+")";
var f=null;
try{f=a.getAccount().getSharedSetting(d);
c+=" -> "+f;
}catch(g){c+=" exception: "+g.message;
}this.log(c);
return f;
};
};
(function(){SKYPE.namespace("login.ecs");
SKYPE.login.ecs.Cache=function(){this.cookieName="ecscache";
};
SKYPE.login.ecs.Cache.prototype={fetch:function(){var b=$.proxy(function(){var d=SKYPE.login.Tools.loadSessionData(this.cookieName),g,c;
if(!d){return null;
}try{g=$.parseJSON(d);
c=new Date(g.Headers.Expires.replace(/[+]/g," "));
if(c>new Date()){API.log("Cached ECS config valid - returning");
return g;
}else{API.log("Cached ECS config expired");
return null;
}}catch(f){API.log("Error while parsing ECS response from cache");
}return null;
},this);
var a=b();
API.log("Fetching ECS response from the cache - "+(a?"HIT":"MISS"));
return a;
},store:function(a){API.log("Storing ECS response to the cache");
SKYPE.login.Tools.storeSessionData(this.cookieName,$.toJSON(a));
}};
}());
(function(){SKYPE.namespace("login.ecs");
SKYPE.login.ecs.Config=function(){this.currentEcsResponse={XCO:{SkypeClientLogin:{msaRegistrationEnabled:false,omnitureEnabled:false,loginUrl:false,unifiedLoginEnabled:false,azureLinkingUrl:false}}};
};
SKYPE.login.ecs.Config.prototype={loadDefaultValues:function(){this.processResponse(this.currentEcsResponse);
API.log("Loaded ECS default values");
},isOmnitureEnabled:function(){return this.omnitureEnabled;
},isMsaRegistrationEnabled:function(){return this.msaRegistrationEnabled;
},isUnifiedLoginEnabled:function(){return this.unifiedLoginEnabled;
},isAzureLinkingEnabled:function(){return this.azureLinkingUrl!==false&&this.azureLinkingUrl!=="";
},getLoginUrl:function(){return this.loginUrl;
},forceMsaRegistrationState:function(a){this.msaRegistrationEnabled=a;
},getEcsResponse:function(){return this.currentEcsResponse;
},getAzureLinkingUrl:function(){return this.azureLinkingUrl;
},processResponse:function(a){var b;
if(a&&a.XCO&&a.XCO.SkypeClientLogin){b=a.XCO.SkypeClientLogin;
}else{return false;
}this.currentEcsResponse=a;
if(b.omnitureEnabled!==undefined&&b.omnitureEnabled!==null){this.omnitureEnabled=b.omnitureEnabled;
}if(b.msaRegistrationEnabled!==undefined&&b.msaRegistrationEnabled!==null){this.msaRegistrationEnabled=b.msaRegistrationEnabled;
}if(b.loginUrl!==undefined&&b.loginUrl!==null){this.loginUrl=b.loginUrl;
}if(b.unifiedLoginEnabled!==undefined&&b.unifiedLoginEnabled!==null){this.unifiedLoginEnabled=b.unifiedLoginEnabled;
}if(b.azureLinkingUrl!==undefined&&b.azureLinkingUrl!==null){this.azureLinkingUrl=b.azureLinkingUrl;
}}};
}());
(function(){SKYPE.namespace("login.ecs");
SKYPE.login.ecs.Client=function(){this.cache=new SKYPE.login.ecs.Cache();
};
SKYPE.login.ecs.Client.prototype={init:function(){var b=this.getConfigFromQueryString();
var a=this.cache.fetch();
if(b){API.log("Loading ECS config from Query String: "+$.toJSON(b));
EcsConfig.processResponse(b);
this.cache.store(b);
$(document).trigger("ecsload");
}else{if(a){API.log("Loading ECS config from cache:"+$.toJSON(a));
EcsConfig.processResponse(a);
$(document).trigger("ecsload");
}else{API.log("Cache empty, making an ECS config request");
this.newRequest();
}}},newRequest:function(){var a,b;
a=Config.buildVersion.replace("-testenv","");
if(a.match(/^[\d.]+$/)===null){a="0.0";
}b=Config.ecsUrl.replace("{{BUILD_VERSION}}",encodeURIComponent(a));
API.log("ECS Config URI: "+b);
$.ajax({url:b,timeout:7000,data:{ID:Login.visitor.getId()},dataType:"jsonp",jsonpCallback:"processEcsConfig",success:$.proxy(this.handleSuccess,this),error:$.proxy(this.handleError,this)});
},handleError:function(c,a,b){API.log("Failed to load ECS config. Using fallback values.",{status:a,error:b});
$(document).trigger("ecsfailed");
},handleSuccess:function(a){this.cache.store(a);
EcsConfig.processResponse(a);
$(document).trigger("ecsload");
},getConfigFromQueryString:function(){var a=SKYPE.login.Parameters.getAny("ecs_config");
if(a){API.log("Found ECS config in QueryString: "+a);
try{return $.parseJSON(a);
}catch(b){API.log("Failed to parse the ECS config from the QueryString");
return false;
}}else{API.log("No ECS config found in QueryString");
return false;
}}};
}());
(function(){window.Animation=function(b){if(typeof b!=="object"){throw"settings not an object";
}this.settings=b;
this.duration=b.duration;
this.onFinish=b.onFinish||function(){};
this.play();
};
var a=function(c,b){if(c===undefined||b===undefined){throw ("frame needs an element and animation settings to run");
}this.duration=b.duration;
this.startDelay=b.startDelay||0;
this.onFinish=b.onFinish;
this.layerDetails=c;
this.selector=this.layerDetails.selector;
this.$element=$(this.selector+":eq(0)");
this.frames=this.layerDetails.frames||[];
this.setUpFrame();
this.runAnimations();
};
a.prototype={setUpFrame:function(){if(this.layerDetails.animationType==="translate"){this.setUpTranslateAnimation();
}else{if(this.layerDetails.animationType==="opacity"){this.setUpOpacityAnimation();
}}this.addDelay();
},runAnimations:function(){var e=this.frames.length,b=0,d=false;
for(var c=0;
c<e;
c++){d=c===e-1;
if(this.layerDetails.animationType==="translate"){this.animateTranslation(this.frames[c],this.frames[c].timing-b,d);
}else{if(this.layerDetails.animationType==="opacity"){this.animateOpacity(this.frames[c],this.frames[c].timing-b,d);
}}b=this.frames[c].timing;
}},setUpTranslateAnimation:function(){var b={},c;
this.yField=(this.$element.css("bottom")!=="auto")?"bottom":"top";
this.xField=(this.$element.css("right")!=="auto")?"right":"left";
c=this.flipTranslateValues(this.layerDetails.startFrame.attributes);
b[this.yField]=this.convertToRelative(c.y);
b[this.xField]=this.convertToRelative(c.x);
this.$element.css(b);
},setUpOpacityAnimation:function(){this.$element.css({opacity:this.layerDetails.startFrame.attributes.opacity});
},addDelay:function(){if(this.startDelay>0){this.$element.delay(this.startDelay);
}},animateTranslation:function(f,e,d){var b={},c=this.flipTranslateValues(f.attributes),g=(d)?$.proxy(this.lastFrameCallBack,this):undefined;
b[this.yField]=this.convertToRelative(c.y);
b[this.xField]=this.convertToRelative(c.x);
this.$element.animate(b,this.getTimeFromPercentage(e),$.bez(f.easingParameters),g);
},animateOpacity:function(d,c,b){var e=(b)?$.proxy(this.lastFrameCallBack,this):undefined;
this.$element.animate({opacity:d.attributes.opacity},this.getTimeFromPercentage(c),$.bez(d.easingParameters),e);
},lastFrameCallBack:function(){this.$element.attr("style","");
this.onFinish();
},flipTranslateValues:function(b){if(this.yField==="bottom"){b.y=(b.y<0)?b.y*-1:0-b.y;
}if(this.xField==="right"){b.x=(b.x<0)?b.x*-1:0-b.x;
}return b;
},convertToRelative:function(b){return(b<0)?"-="+(b*-1):"+="+b;
},getTimeFromPercentage:function(b){return Math.round((this.duration/100)*b);
}};
window.Animation.prototype={animationsFinished:0,play:function(){var c=this.settings.elements||[],d={};
this.elementsLength=c.length;
d.duration=this.duration;
d.startDelay=this.settings.startDelay;
d.onFinish=$.proxy(this.lastElementCallback,this);
for(var b=0;
b<this.elementsLength;
b++){new this.Layer(c[b],d);
}},lastElementCallback:function(){if(++this.animationsFinished===this.elementsLength){this.onFinish();
}},Layer:a};
}());
SKYPE.namespace("login");
SKYPE.login.OAuthStorage=function(){this.flushStoredLoginArtifacts=function(){API.log("Attempting to retrieve stored login artifacts");
var e=SKYPE.login.Tools.loadSessionData("auth.access_token"),b=SKYPE.login.Tools.loadSessionData("auth.refresh_token"),d=SKYPE.login.Tools.loadSessionData("current"),a=SKYPE.login.Tools.loadSessionData("profile.id");
SKYPE.login.Tools.removeSessionData("auth.access_token");
SKYPE.login.Tools.removeSessionData("auth.refresh_token");
SKYPE.login.Tools.removeSessionData("current");
SKYPE.login.Tools.removeSessionData("profile.id");
if(e===null||b===null||d===null||a===null){return null;
}var c={access_token:e,refresh_token:b,current:d,profile_id:a};
return c;
};
this.setLoginArtifacts=function(c){API.log("Applying OAuth login properties");
var b={access_token:c.access_token,refresh_token:c.refresh_token};
var a={id:c.profile_id};
Login.partner.storeAuth(b);
Login.partner.setCurrent(c.current);
Login.partner.storeProfile(a);
};
};
var Login;
(function(){SKYPE.namespace("login");
SKYPE.login.Main=function(){Login=this;
this.legacyInit();
this.moduleInit();
this.formComponentInit();
this.buttonInit();
this.addScreenreaderTitleDataAttribute();
API.log("Modules and form components loaded.");
this.clearSavedData();
this.tracking.init();
SKYPE.login.form=null;
new SKYPE.login.Router();
};
SKYPE.login.Main.prototype={addScreenreaderTitleDataAttribute:function(){$(".view").each(function(){$(this).data("screenreaderTitle",$(this).find("h2.titleLarge").text());
});
},legacyInit:function(){if(typeof window.navigator==="object"&&typeof window.navigator.userAgent==="string"){var b=window.navigator.userAgent,d=b.indexOf("MSIE 6"),c=b.indexOf("MSIE 7"),a=b.indexOf("MSIE 8");
if(a>0){$("html").addClass("lt-ie9");
}else{if(c>0){$("html").addClass("lt-ie9 lt-ie8");
}else{if(d>0){$("html").addClass("lt-ie9 lt-ie8 lt-ie7");
}}}}},moduleInit:function(){new SKYPE.login.Checkbox();
new SKYPE.login.Preloaders();
new SKYPE.login.Suggestions();
new SKYPE.login.SignIn();
new SKYPE.login.TextDirection();
new SKYPE.login.Translate();
this.platform=new SKYPE.login.Platform();
this.partner=new SKYPE.login.Partner();
this.loader=new SKYPE.login.Loader();
this.message=new SKYPE.login.Message();
this.tracking=new SKYPE.login.Tracking();
this.view=new SKYPE.login.View();
this.urls=new SKYPE.login.Urls();
this.visitor=new SKYPE.login.Visitor();
},formComponentInit:function(){var a;
this.username=new SKYPE.login.Username();
this.username.init();
a=new SKYPE.login.Password();
a.init();
},buttonInit:function(b){var a=b||$(".button");
a.button();
},clearSavedData:function(){Login.partner.clearAll();
},setView:function(a){Login.view.set(a);
},toggleForm:function(d,g,e,b){var f=g||$("#usernameSkype"),a=e||$("#passwordSkype"),c=b||$("#signInSkype");
f.combobox("option","disabled",d);
a.inputfield(d?"disable":"enable");
c.button("option","disabled",d);
},enableForms:function(){this.toggleForm(false);
},disableForms:function(){this.toggleForm(true);
}};
})();
(function(){SKYPE.namespace("login.Router");
SKYPE.login.Router=function(){window.router=this;
this.initialise();
};
SKYPE.login.Router.prototype={initialise:function(){this.oAuthStorage=new SKYPE.login.OAuthStorage();
this.getLastKnownLogin=API.getLastKnownLogin();
this.goToExpectedStart();
},getLoginUrl:function(){return window.location.href.replace("/index.html","/login.html");
},goToExpectedStart:function(){var a=API.getLogoutReason();
var b=this.oAuthStorage.flushStoredLoginArtifacts();
if(this.shouldGoToRegistrationSuccess()){this.goToRegistrationSuccess();
}else{if(this.hasComeFromAzureLinkingFlow()){if(this.isAzureLinkingFlowSuccessful()&&b!==null){this.oAuthStorage.setLoginArtifacts(b);
this.goToOAuthLogin();
}else{this.handleAzureLinkingFlowError();
}}else{if(this.shouldGoToAuthSuccess()){this.goToAuthSuccess();
}else{if(this.shouldHandleMSAAccessTokenRenewal(a)){this.goToMSA();
}else{if(!this.hasHandledLogoutError(a)){if(this.shouldGoToMSA(a)){this.goToMSA();
}else{if(this.shouldGoToFB(a)){this.goToFB();
}else{if(this.shouldGoToSkype(a)){this.goToSkype();
}else{this.goToDefaultScreen();
}}}}}}}}},getDefaultControllerName:function(){return this.isUnifiedLoginEnabled()?"UnifiedLogin":"StartPage";
},goToDefaultScreen:function(){API.setLastKnownLogin("");
this.setController(this.getDefaultControllerName());
},goToAuthSuccess:function(){var a=SKYPE.login.Parameters.getHash("state");
Login.partner.setCurrent(a);
Login.partner.storeAuth(SKYPE.login.Parameters.getHashAll());
API.log("Handling successful redirect from partner "+a);
this.setController("AuthSuccess");
},goToRegistrationSuccess:function(){Login.partner.setCurrent("999");
Login.partner.storeAuth(SKYPE.login.Parameters.getHashAll());
API.log("Handling successful redirect from registration canvas: "+SKYPE.login.Parameters.getHash("state"));
this.setController("RegistrationSuccess");
},goToFB:function(){window.setTimeout($.proxy(function(){this.loading(true);
API.redirectUrl("https://www.facebook.com/connect/login_success.html",this.getLoginUrl());
this.redirectUrl($("#navigateToFBLogin").attr("href"));
},this),10);
},goToMSA:function(){API.redirectUrl("",this.getLoginUrl());
this.loading(true);
Login.partner.partnerLogout($.proxy(this.MSALogOut,this),999);
},goToRegistration:function(){API.redirectUrl("",this.getLoginUrl());
this.loading(true);
Login.partner.partnerLogout($.proxy(this.registrationLogOut,this),999);
},goToSkype:function(){this.setController("Login");
},handleAzureLinkingFlowError:function(){var a=this.getDefaultControllerName(),b="c3";
this.setController(a,{isErrorRedirect:true});
Login.message.error(b);
},loading:function(a,d){var b=(a===false)?a:true,c=d||"loading";
if(b){$("#loadingView").show();
if(c==="signIn"){$("#loadingView .signInText").show();
$("#loadingView .screenReaderSignInText").show().focus();
}}else{$("#loadingView").hide();
$("#loadingView .signInText").hide();
$("#loadingView .screenReaderSignInText").hide();
}},isAzureLinkingFlowSuccessful:function(){return !SKYPE.login.Parameters.getHash("error");
},isFirstLoad:function(){return window.history.length<3&&router.previousControllers.length<2;
},isUnifiedLoginEnabled:function(){return window.EcsConfig.isUnifiedLoginEnabled();
},isAzureLinkingEnabled:function(){return window.EcsConfig.isAzureLinkingEnabled();
},shouldGoToMSA:function(a){return(this.getLastKnownLogin==="MSA"&&(this.isFirstLoad()&&(!a||a===0||a===1)))||(parseInt(SKYPE.login.Parameters.getQuery("partner"),10)===999&&!SKYPE.login.Parameters.getQuery("error")&&(a<=1||a===27));
},shouldGoToFB:function(a){return this.getLastKnownLogin==="FB"&&(this.isFirstLoad()&&(!a||a===0));
},shouldGoToSkype:function(a){return this.getLastKnownLogin==="SKYPE"&&(this.isFirstLoad()&&(!a||a===0||a===1));
},shouldGoToAuthSuccess:function(){return SKYPE.login.Parameters.getHash("state")!==null&&SKYPE.login.Parameters.getHash("access_token")!==null;
},hasComeFromAzureLinkingFlow:function(){return SKYPE.login.Parameters.getAny("state")==="alf_finished";
},shouldGoToRegistrationSuccess:function(){var a=SKYPE.login.Parameters.getHash("state");
return a!==null&&SKYPE.login.Parameters.getHash("access_token")!==null&&a.indexOf("999::")>-1;
},shouldHandleMSAAccessTokenRenewal:function(a){return(this.getLastKnownLogin==="MSA"&&(a===26||a===27));
},goToOAuthLogin:function(){router.setController("OAuthLogin");
},goToLinking:function(){if(this.isAzureLinkingEnabled()){API.log("Azure linking enabled, redirecting to ALF");
router.loading(true);
this.storeLinkingParams();
var a=this.getAzureLinkingEntryUrl();
API.redirectUrl(this.getAzureLinkingExitUrl(),this.getLoginUrl());
this.redirectUrl(a);
return;
}router.setController("NoMapping");
},storeLinkingParams:function(){var b=Login.partner.getAuth();
var a=Login.partner.getProfile();
SKYPE.login.Tools.storeSessionData("auth.access_token",b.access_token);
SKYPE.login.Tools.storeSessionData("auth.refresh_token",b.refresh_token);
SKYPE.login.Tools.storeSessionData("current",Login.partner.getCurrent());
SKYPE.login.Tools.storeSessionData("profile.id",a.id);
},getAzureLinkingEntryUrl:function(){var b=Login.partner.getAuth();
var d={client_id:Login.platform.getClientIdForCurrentPlatform(),partner:Login.partner.getCurrent(),response_type:"token",setlang:API.getLanguage(),theme:"skype-blue",redirect_uri:this.getAzureLinkingExitUrl()+"?state=alf_finished",state:"alf_finished"};
var a={access_token:b.access_token};
var c=window.EcsConfig.getAzureLinkingUrl()+"/linking/flow/init?"+SKYPE.login.Query.build(d)+"#"+SKYPE.login.Query.build(a);
return c;
},getAzureLinkingExitUrl:function(){return window.EcsConfig.getAzureLinkingUrl()+"/finish";
},previousControllers:[],addToPreviousControllers:function(a,b){this.previousControllers[this.previousControllers.length]={name:a,params:b};
},goToPreviousController:function(){this.previousControllers.pop();
if(this.previousControllers.length>0){var a=this.previousControllers.pop();
this.setController(a.name,a.params);
}},setController:function(e,g,b){var d=b||$("body"),a=d.data("controllerActive"),c=this.previousControllers,f=c.length;
if(f>0&&c[f-1].name===e){return;
}API.log("Setting controller "+e);
if(a&&a.unbind){a.unbind();
}d.removeClass((this.previousControllers.length>0)?this.previousControllers[this.previousControllers.length-1].name:"").addClass(e);
this.addToPreviousControllers(e,g);
d.data("controllerActive",new SKYPE.login.controller[e](g));
},redirectUrl:function(a){window.location.href=a;
},MSALogOut:function(){API.redirectUrl("https://login."+Config.liveidHost+"/oauth20_desktop.srf",this.getLoginUrl());
this.redirectUrl($("#navigateToMSALogin").attr("href"));
},registrationLogOut:function(){API.redirectUrl("https://login."+Config.liveidHost+"/oauth20_desktop.srf",this.getLoginUrl());
this.redirectUrl($("#defaultCreateAccount").attr("href"));
},hasHandledLogoutError:function(b){var e,a,d=this.reasonControllerMap;
if(b<=1&&SKYPE.login.Parameters.getQuery("error")==="network_error"){b="ne";
}for(e in d){if(d.hasOwnProperty(e)&&$.inArray(b,d[e])>=0){a=e;
}}if(!a){return false;
}if(a==="Default"){a=this.getDefaultControllerName();
}if(a==="Contextual"){a=(this.getLastKnownLogin==="SKYPE")?"Login":this.getDefaultControllerName();
}this.setController(a,{isErrorRedirect:true});
var c=SKYPE.login.Parameters.getQuery("error_description");
Login.message.error(b,c);
return true;
},reasonControllerMap:{Contextual:[2,3,4,5,6,7,16,17,18,19,20,21,25,26,28,29,"ne"],Default:[9,11,12,22,23,24,27],Login:[8,13,14,15]}};
}());
SKYPE.namespace("login");
SKYPE.login.Platform=function(){var a,b=API.getPlatformId();
switch(b){case 2:a="unix";
break;
case 3:a="mac";
break;
default:a="win";
}$("<link />").attr("rel","stylesheet").attr("type","text/css").appendTo("head").attr("href","css/platform/"+a+".css");
if(a=="mac"){$("#capsLockSkype").remove();
}else{if(a=="win"){if(typeof document.msCapsLockWarningOff==="boolean"){document.msCapsLockWarningOff=true;
}}}this.getClientIdForCurrentPlatform=function(){var c;
switch(b){case 2:c=Config.linuxClientId;
break;
case 3:c=Config.macClientId;
break;
default:c=Config.windowsClientId;
}return c;
};
};
SKYPE.namespace("login");
SKYPE.login.Preloaders=function(){if(window.devicePixelRatio>1){$("#picturePartner").preloader({fallbackSrc:"images/retina/msDefaultPicture@2x.png",timeout:1});
$("#partnerAccountPicture").preloader({fallbackSrc:"images/retina/msDefaultPicture@2x.png",timeout:0});
$("#skypeAccountPicture").preloader({fallbackSrc:"images/retina/skypeicon@2x.png",timeout:0});
}else{$("#picturePartner").preloader({fallbackSrc:"images/msDefaultPicture.png",timeout:1});
$("#partnerAccountPicture").preloader({fallbackSrc:"images/msDefaultPicture.png",timeout:0});
$("#skypeAccountPicture").preloader({timeout:0});
}};
SKYPE.namespace("login");
SKYPE.login.Checkbox=function(){$("#autoLogin").checkbox().checkbox("option","checked",API.getStorePassword()).bind("checkboxchange",function(){var a=$(this).checkbox("option","checked");
API.setStorePassword(a);
Login.tracking.trackAction(a?"startup_optin":"startup_optout");
});
$("#allowSpam").checkbox().checkbox("option","checked",true);
$("#allowSms").checkbox().checkbox("option","checked",false);
};
SKYPE.namespace("login");
SKYPE.login.Suggestions=function(){$("#suggestionsContainer").suggestions({maxitems:2});
$("#suggestionsAccountContainer").suggestions({maxitems:2});
};
SKYPE.namespace("login");
SKYPE.login.Tracking=function(){this.currentPageName=null;
this.isCloud=this.isCloudHosted(window.location.hostname);
};
SKYPE.login.Tracking.prototype={init:function(){var b=$("a[data-track-page]"),a=$("a[data-track-action]");
this.attachListeners(b,a);
this.setDefaults();
},isCloudHosted:function(a){var b=/.*(\.com|\.net)$/;
return b.test(a);
},attachListeners:function(b,a){b.click($.proxy(this.pageLinkClickHandler,this));
a.click($.proxy(this.actionLinkClickHandler,this));
},trackPage:function(b){var c="client: "+({95:"facebook",999:"microsoftID"}[Login.partner.getCurrent()]||"");
var d=(c==="client: ")?c:c+"_login";
var a={"msa/login_skype":{eVar73:"client: skype_login",events:"event13"},"msa/login_microsoft":{eVar73:"client: microsoftID_login",events:"event13"},"msa/login_facebook":{eVar73:"client: facebook_login",events:"event13"},"msa/signup_client":{events:"event27"},"msa/signup":{events:"event27"},"link/start":{eVar73:d},"link/new_suggested-users":{eVar69:c+"/new_suggested-user"},"link/create-technical":{eVar69:c+"/create-technical"},"link/suggested-users":{eVar69:c+"/suggested-user"},"link/unprompted-user":{eVar69:c+"/unprompted-user"},"link/sign-in-new":{eVar69:c+"/unprompted-user"},"reg/microsoft_registration":{eVar69:"client: microsoftID created return"},"reg/microsoft_registration_linking":{eVar69:"client: microsoftID created return"},"reg/microsoft_login":{eVar69:"client: microsoftID login return"},"reg/microsoft_login_linking":{eVar69:"client: microsoftID login return"}};
var e=a[b]||{};
e.pageName="skypeloginclient/"+b;
e.prop43=e.pageName;
this.currentPageName=b;
this.track("trackPage",e);
},trackAction:function(d,a,c){if(!this.currentPageName){return;
}var b={};
b.prop43="skypeloginclient/"+this.currentPageName+"/"+d;
if(this.currentPageName.indexOf("reg/")===0){if(d==="new"){b.events="event11";
}if(this.currentPageName==="reg/microsoft_login"){b.events=(b.events)?b.events+",event15":"event15";
}}else{if(this.currentPageName==="link/new_suggested-users"&&d.substr(0,6)!=="choose"){b.prop43="skypeloginclient/link/"+d;
}else{if((d==="skype"||d==="back"||d==="startup_optin"||d==="startup_optout")&&this.currentPageName!="unified/select_account"){b.prop43="skypeloginclient/msa/"+this.currentPageName+"/"+d;
}}}if(a){b.prop9=b.eVar9=a;
b.events="event7";
}if(d==="agree"){b.events="event54";
}if(c==="createTechnical"){b.events+=",event11";
}this.track("trackAction",b);
},trackError:function(a,c){var b={};
if(a){if(c){b.prop7=c;
}b.prop9=a;
b.eVar9="D=c9";
b.events="event7";
this.track("trackAction",b);
}},pageLinkClickHandler:function(b){var a=$(b.currentTarget);
this.trackPage(a.data("track-page"));
},actionLinkClickHandler:function(b){var a=$(b.currentTarget);
this.trackAction(a.data("track-action"));
},setDefaults:function(){s.prop24=s.eVar6=API.getClientVersion();
s.visitorID=Login.visitor.getId();
s.ssl=true;
s.channel="skypeloginclient";
s.eVar5=s.prop5=API.getLanguage();
s.prop54="desktop";
s.prop41=this.isCloud?"server":"local";
s.pageURL=this.getPageToTrack();
s.referrer=this.getPageToTrack();
s.eVar30="MSA: "+(EcsConfig.isMsaRegistrationEnabled()?"enabled":"disabled");
s.eVar63="unified_login: "+(EcsConfig.isUnifiedLoginEnabled()?"unified":"legacy");
s.eVar54="D=c54";
},getPageToTrack:function(){var a=this.getWindowPathname();
return a.replace(/.*(\/|\\)/,"");
},getWindowPathname:function(){return window.location.pathname;
},track:function(b,c){var a=EcsConfig.isOmnitureEnabled();
API.log("Tracking event",{enabled:a,type:b,_t:c});
if(!a){return;
}try{s[b](c);
}catch(d){}}};
SKYPE.namespace("login");
var translations={};
SKYPE.login.Translate=function(){$("#confirmTou").data("translation-params",{TOU_START:"<a href='#' id='touLink' tabindex='"+$("#touLink").attr("tabindex")+"'>",TOU_END:"</a>",PRIVACY_START:"<a href='#' id='privacyLink' tabindex='"+$("#privacyLink").attr("tabindex")+"'>",PRIVACY_END:"</a>"});
$("#useExistingLiveidOption").data("translation-params",{LINK_START:"<a href='index.html' id='useExistingLiveid'>",LINK_END:"</a>"});
$("#mergeAnotherLiveidOption").data("translation-params",{LINK_START:"<a href='#' id='mergeAnotherLiveid'>",LINK_END:"</a>"});
$("#createNewAccountLiveidOption").data("translation-params",{LINK_START:"<a href='index.html' id='createNewAccountLiveid'>",LINK_END:"</a>"});
$("#useExistingFacebookOption").data("translation-params",{LINK_START:"<a href='index.html' id='useExistingFacebook'>",LINK_END:"</a>"});
$("#mergeAnotherFacebookOption").data("translation-params",{LINK_START:"<a href='#' id='mergeAnotherFacebook'>",LINK_END:"</a>"});
$("#createNewAccountFacebookOption").data("translation-params",{LINK_START:"<a href='index.html' id='createNewAccountFacebook'>",LINK_END:"</a>"});
var b=function(d){$("html").attr("lang",d);
$("*[data-translation-key]").translate();
$(document).trigger("changelanguage");
};
var c=function(g,f){var e=$("#languageTag");
var d=document.createElement("script");
if(typeof d.onreadystatechange!=="undefined"){d.onreadystatechange=function(){if(this.readyState==="complete"){f();
}};
}else{d.onload=f;
}d.onload=f;
d.src=e.attr("src").replace(/\/\w+\.js/,"/"+g+".js");
document.body.appendChild(d);
};
var a=function(d){d=d.toLowerCase();
if(!translations[d]){c(d,function(){b(d);
});
}else{b(d);
}};
a(API.getLanguage());
if(!$("html").attr("lang")){a("en");
}API.setLanguageChangeListener(a);
};
SKYPE.namespace("login");
SKYPE.login.Loader=function(){this.show=function(a){a=a||false;
$(".antiloader").hide();
if(a){$(".loader").fadeIn();
}else{$(".loader").show();
}};
this.hide=function(){$(".loader").hide();
$(".antiloader").show();
};
};
(function(){SKYPE.namespace("login");
SKYPE.login.Message=function(b){var c=parseInt(API.getPlatformId(),10),a=b||$(".messageBody");
this.platform=(c===3)?"mac":((c===2)?"linux":"win");
a.attr("data-translation-key","");
};
SKYPE.login.Message.prototype={$activeView:null,activeMessage:null,messages:{2:"msgErrorCantConnect",3:"msgErrorCantConnect",4:"msgErrorCantConnect",5:"msgErrorCantConnect",6:"msgErrorCantConnect",7:"msgErrorCantOpenSkype",8:"msgErrorInvalidUsernamePass",9:"InvalidEmail",11:"HandleTaken",12:"RejectedAsUnderage",13:"msgErrorInvalidUsernamePass",14:"msgErrorInvalidUsernamePass",15:"msgErrorTooManyAttempts",16:"msgErrorSignInAgain",17:"msgErrorForcedSignOut",18:"msgErrorDiskFull",19:"msgErrorDiskIO",20:"msgErrorDB",21:"msgErrorDB",22:"msgErrorAppId",23:"msgErrorAppId",24:"msgErrorUnsupportedVersion",25:"msgErrorAtoBlock",26:"msgErrorRemoteLogout",27:"msgErrorSignInAgain",28:"msgErrorSystemUnavailable",29:"msgErrorDBAccessDenied",f1:"msgErrorFacebookConnect",c3:"msgErrorGeneric",ne:"msgErrorNoConnection",ua999:"msgErrorRejectedAsUnderageMS",ua95:"msgErrorRejectedAsUnderageFB",ul1:"msgErrorSignInNotRecognized",ul2:"msgErrorPhoneNumberNotRecognized"},getParams:function(b){var a=SKYPE.login.UrlBuilder,c=function(d){return"<a href='"+d+"' target='_blank'>";
};
switch(b){case 19:return{LINK_START:(this.platform==="win")?c(a.buildGoUrl("help.faq.windiskioerror",{intsrc:"client-_-%PLATFORM_NAME%-_-%UI_VERSION%-_-go-help.faq.windiskioerror"})):c(a.buildGoUrl("help.faq.macdiskioerror",{intsrc:"client-_-%PLATFORM_NAME%-_-%UI_VERSION%-_-go-help.faq.macdiskioerror"})),LINK_END:"</a>"};
case 24:return{LINK_START:c(a.buildGoUrl("download",{intsrc:"client-_-%PLATFORM_NAME%-_-%UI_VERSION%-_-go-download"})),LINK_END:"</a>"};
case 25:return{LINK_START:c(a.buildGoUrl("help.faq.account.suspended",{intsrc:"client-_-%PLATFORM_NAME%-_-%UI_VERSION%-_-go-help.faq.account.suspended"})),LINK_END:"</a>"};
default:return null;
}},warning:function(a){this.showMessage(a,"warning");
},error:function(b,a){this.showMessage(b,"error",a);
},hide:function(e,d,a){var f=a||$(".view"),c=e||$(".message"),b=d||$(".messagePlaceholder");
$(document).unbind("changelanguage",$.proxy(this.messageResizer,this));
f.removeClass("view_error");
f.removeClass("view_warning");
c.hide();
b.show();
},showMessage:function(b,a,j,e,d,h){this.hide();
this.$activeView=$(".view.active");
this.activeMessage=this.$activeView.find(".message");
if(this.$activeView.attr("id")==="unifiedSkypeLoginView"){$("#unifiedLoginHeader").hide();
}var g=this.messages[b]||b,k=e||this.activeMessage.find(".messageBody"),c=d||this.activeMessage.find(".messageIcon"),f=h||$(".messagePlaceholder");
Login.tracking.trackError("skypeloginclient: "+b+": "+this.messages[b],j);
if(parseInt(b,10)===19&&this.platform==="linux"){g+="Linux";
}API.log("Display message, code: "+b+", key: "+g+", level: "+a+", description: "+j);
k.empty();
k.data("translation-key",g).data("translation-params",this.getParams(b)).translate();
c.removeClass("error, warning").addClass(a);
this.$activeView.addClass("view_"+a);
this.messageResizer();
$(document).bind("changelanguage",$.proxy(this.messageResizer,this));
f.hide();
this.activeMessage.show();
},messageResizer:function(){if(this.activeMessage&&typeof this.activeMessage.height==="function"){this.activeMessage.removeClass("messageFullWidth");
this.$activeView.removeClass("messageFullHeight");
var b=60,a=40,c=this.activeMessage.height();
if(c>b){this.activeMessage.addClass("messageFullWidth");
}if(c>a){this.$activeView.addClass("messageFullHeight");
}}}};
})();
SKYPE.namespace("login");
SKYPE.login.UrlBuilder={$html:$("html"),buildUrl:function(c){var a=c.protocol+"://"+c.host+"/"+c.path,b=$("#username").val();
if(c.partner==="msa"){c.params.locale=SKYPE.login.Tools.skypeLocaleToMicrosoftLocale($("html").attr("lang"));
if(SKYPE.login.Tools.isEmail(b)||SKYPE.login.Tools.isPhoneNumber(b)){c.params.username=b;
}}a+="?"+SKYPE.login.Query.build(c.params);
return a;
},buildGoUrl:function(d,c){c=c||{};
var a=Config.goLinkBaseUrl+"/"+d,b=this;
$.each(c,function(e,f){c[e]=b.replacePlaceholders(f);
});
c.setlang=this.$html.attr("lang");
a+="?"+SKYPE.login.Query.build(c);
return a;
},replacePlaceholders:function(a){var b=API.getPlatformId();
return a.replace(/%CLIENT_VERSION%/g,API.getClientVersion()).replace(/%UI_VERSION%/g,API.getVersion()).replace(/%PLATFORM_NAME%/g,(b===3)?"mac":(b===2)?"linux":"windows");
}};
SKYPE.namespace("login");
SKYPE.login.Urls=function(){var a,c,b;
this.setPartnerLoginUrls=function(){b();
};
a=[{partner:"msa",element:"#navigateToMSALogin, #liveLoginEmailMessage",protocol:"https",host:"login."+Config.liveidHost,path:"oauth20_authorize.srf",params:{client_id:Config.liveidClientId,scope:Config.liveidScope,response_type:"token",redirect_uri:"https://login."+Config.liveidHost+"/oauth20_desktop.srf",state:"999"}}];
b=function(){var d=SKYPE.login.UrlBuilder;
for(i=0;
i<a.length;
++i){$(a[i].element).attr("href",d.buildUrl(a[i]));
}};
c=function(){var e;
var d=SKYPE.login.UrlBuilder;
$("#navigateToFBLogin, #facebookLoginEmailMessage").attr("href",d.buildGoUrl("facebook.login.desktop",{response_type:"token",intsrc:"client|fb-a|%CLIENT_VERSION%"}));
$("#problemsSigningIn, #problemsSigningInSkype, #unifiedProblemsSigningIn").attr("href",d.buildGoUrl("forgotpassword",{intsrc:"client|forgot-pword"})).attr("target","_blank");
if(EcsConfig.isMsaRegistrationEnabled()){$("#defaultCreateAccount, #unifiedDefaultCreateAccount").attr("href",d.buildGoUrl("registration",{response_type:"token",intsrc:"client|reg-a|%CLIENT_VERSION%"})).removeAttr("target").addClass("inClientRegistration");
}else{$("#defaultCreateAccount, #unifiedDefaultCreateAccount").attr("href",d.buildGoUrl("registration",{intsrc:"client|reg-a|%CLIENT_VERSION%"})).attr("target","_blank").removeClass("inClientRegistration");
}$("#touLink").attr("href",d.buildGoUrl("tou",{intsrc:"client|tou"})).attr("target","_blank");
$("#privacyLink").attr("href",d.buildGoUrl("legal.privacy",{intsrc:"client|privacy"})).attr("target","_blank");
$("#liveidCSLink").attr("href",d.buildGoUrl("linking_conflict",{intsrc:"client|support-liveid"})).attr("target","_blank");
$("#facebookCSLink").attr("href",d.buildGoUrl("linking_conflict",{intsrc:"client|support-facebook"})).attr("target","_blank");
$("#navigateToLearnMoreMSA").attr("href",d.buildGoUrl("help.faq.whatisamsa",{intsrc:"client-_-%PLATFORM_NAME%-_-%UI_VERSION%-_-login_msa_learn_more"})).attr("target","_blank");
for(e=0;
e<a.length;
++e){$(a[e].element).attr("href",d.buildUrl(a[e]));
}b();
};
$("#liveLoginEmailMessage").on("click",c);
$(document).bind("changelanguage",c);
$(document).bind("ecsload",c);
c();
(function(){var d={};
$(document).keydown(function(f){d[f.which]=true;
if(d[16]&&d[17]){window.EcsConfig.forceMsaRegistrationState(true);
c();
}});
$(document).keyup(function(f){delete d[f.which];
});
})();
};
SKYPE.namespace("login");
SKYPE.login.Partner=function(){var c=null;
var b={};
var a={};
this.getApiUrl=function(d){d=d||this.partnerId;
switch(d){case 999:return Config.skypeApiUrl+"/rps";
case 95:return"https://graph.facebook.com/v2.2";
}return"";
};
this.getProfileImage=function(d,e){e=e||this.partnerId;
d=d||this.profile.id;
switch(e){case 999:return"https://cid-"+d+".users.storage."+Config.liveidHost+"/users/0x"+d+"/myprofile/expressionprofile/profilephoto:UserTileStatic/picture?ck=1&ex=24";
case 95:return this.getApiUrl(e)+"/"+d+"/picture";
}return"images/skypeicon.png";
};
this.setCurrent=function(d){API.log("Setting partner to "+d);
this.partnerId=Number(d);
};
this.getCurrent=function(){return this.partnerId;
};
this.storeAuth=function(d){this.auth=d;
};
this.getAuth=function(){return this.auth;
};
this.storeProfile=function(d){this.profile=d;
};
this.getProfile=function(){return this.profile;
};
this.getUserName=function(){var d=this.profile.name||this.profile.email||"";
d=SKYPE.login.Tools.escape(d);
d=$.trim(d);
return d;
};
this.clearAll=function(){this.partnerId=null;
this.profile={};
this.auth={};
$("body").removeData("selectedAccount");
$("body").removeData("suggestionsAll");
$("#usernameSkype").removeData("usernameSigned");
};
this.partnerLogout=function(k,j){j=j||this.partnerId;
timeout=null;
switch(j){case 999:API.log("Calling logout url for partner "+j);
var f="https://login."+Config.liveidHost+"/oauth20_logout.srf?client_id="+Config.liveidClientId+"&redirect_uri=https%3A%2F%2Flogin."+Config.liveidHost+"%2Foauth20_desktop.srf";
try{var h=new Image();
var d=function(){clearTimeout(timeout);
h.onerror=null;
h.onload=null;
if(typeof k==="function"){k();
}};
h.onload=d;
h.onerror=d;
timeout=setTimeout(d,30000);
h.src=f;
}catch(g){API.log("Unable to logout using an image",g);
if(typeof k==="function"){k();
}}}};
};
SKYPE.login.Partner.prototype={isFacebookLoginEnabled:function(){if(API.getCobrand()=="32"){return false;
}return $.inArray("95.v2",API.getDisabledAuthPartners())<0;
},isLiveidMandatory:function(){return false;
}};
SKYPE.namespace("login");
SKYPE.login.Username=function(){var d,c,b;
var g=false;
var k=function(l){if(l!==undefined){b.toggle(l);
}else{b.toggle(g===true);
}};
var a=function(){if(d.val().indexOf("@")!==-1){g=true;
}else{g=false;
}};
var f=function(){return g;
};
var e=function(l){g=l;
};
var h=function(){d=$("#username");
c=$("#usernameSkype");
b=$("#isEmailMessage");
};
var j=function(){h();
var l=function(){var m=$("#passwordSkype");
m.val("");
m.trigger("change");
};
c.change(l);
d.combobox({enter:function(){$("#form").submit();
}});
c.combobox({enter:function(){$("#formSkype").submit();
}});
d.on("keyup",a).focus(a);
d.on("keypress",function(){k();
}).on("keyup",function(){k();
}).on("focus",function(){k();
});
$("#defaultView, #password").on("focus",function(){k(false);
});
};
return{toggleIsEmail:k,getIsEmail:f,setIsEmail:e,init:j};
};
SKYPE.namespace("login");
SKYPE.login.Password=function(){var c;
var b=97,a=65,e=122,d=90;
return{getCapsLock:function(){return c;
},setCapsLock:function(f){c=f;
},checkCapsLock:function(f){if((f.keyCode>=b&&f.keyCode<=e&&f.shiftKey)||(f.keyCode>=a&&f.keyCode<=d&&!f.shiftKey)){c=true;
}else{if((f.keyCode>=b&&f.keyCode<=e&&!f.shiftKey)||(f.keyCode>=a&&f.keyCode<=d&&f.shiftKey)){c=false;
}}},handleCapsLock:function(f){if(f.keyCode===20&&c===true){c=false;
$(".caps").hide();
}else{if(f.keyCode===20&&c===false){c=true;
}}},toggleCaps:function(f){$(f).parents("form").find(".caps").toggle(c===true);
},init:function(){var f=this;
$("input[type='password'], input[type='text']").keypress(f.checkCapsLock).keyup(f.handleCapsLock);
$("input[type='password']").keypress(function(h){var g=$(this).parents("form");
if(h.keyCode==13){g.trigger("submit");
return false;
}g.find(".caps").toggle(c===true);
}).keyup(function(){f.toggleCaps(this);
}).focus(function(){f.toggleCaps(this);
}).blur(function(){$(this).parents("form").find(".caps").hide();
}).inputfield({type:"password"});
}};
};
SKYPE.namespace("login");
SKYPE.login.SignIn=function(){$("#signIn").on("click",function(){$("#form").trigger("submit");
});
$("#unifiedSignIn").on("click",function(){$("#unifiedForm").trigger("submit");
});
$("#signInSkype").button().on("buttonclick",function(){$("#formSkype").trigger("submit");
});
};
SKYPE.namespace("login");
SKYPE.login.TextDirection=function(){var b=function(){var c=$("html").attr("dir")=="rtl";
var d=$.inArray($("html").attr("lang"),["ar","he"])>-1;
if(d&&!c){$("html").attr("dir","rtl");
$("body").addClass("rtl");
a();
}else{if(!d&&c){$("html").attr("dir","ltr");
$("body").removeClass("rtl");
a();
}}};
var a=function(){$(".view *").not(".noflip, .noflip *").each(function(){var c=$(this);
if(c.css("left")!="auto"){c.css("right",c.css("left"));
c.css("left","auto");
}else{if(c.css("right")!="auto"){c.css("left",c.css("right"));
c.css("right","auto");
}}});
};
$(document).on("changelanguage",b);
};
SKYPE.namespace("login");
SKYPE.login.View=function(){var a=[],b="";
this.set=function(c){$(".view").removeClass("active");
var e=$("#"+c);
var d=Login.partner.getCurrent();
if(e&&d){if(d==999){e.find(".facebookOnly").hide();
e.find(".liveidOnly").show();
}else{if(d==95){e.find(".facebookOnly").show();
e.find(".liveidOnly").hide();
}else{e.find(".facebookOnly").hide();
e.find(".liveidOnly").hide();
}}}if(e){e.addClass("active");
}a.push(c);
b=c;
};
this.getCurrent=function(){return b;
};
this.getPrevious=function(){var c="";
if(a.length>1){c=a[a.length-2];
}return c;
};
};
SKYPE.namespace("login.controller");
SKYPE.login.controller.AuthSuccess=function(){Login.setView("loadingView");
var c=Login.partner.getAuth();
var a=function(){Login.partner.clearAll();
router.setController("Login");
Login.message.error("c3");
};
var e=function(h,f,g){API.log("Request failed",{status:f,error:g});
if(f=="timeout"){this.numOfTries++;
if(this.numOfTries<=this.retryLimit){API.log("Trying to resend timeouted request");
$.ajax(this);
return;
}}a();
};
var b=function(){router.loading(true);
var f=(Login.partner.getCurrent()==999)?"jsoncallback":"callback";
$.ajax(Login.partner.getApiUrl()+"/me",{dataType:"jsonp",timeout:7000,numOfTries:1,jsonp:f,retryLimit:2,data:{access_token:c.access_token},success:function(g){if(!g||typeof(g)!="object"||(!g.id&&!g.cid)){API.log("Failed to get partner profile",{response:g});
a();
return;
}if(Login.partner.getCurrent()==999){g.id=g.id||g.cid;
g.name=g.name||$.trim(g.firstName+" "+g.lastName);
}API.log("Partner profile",{id:g.id});
Login.partner.storeProfile(g);
d();
},error:e});
};
var d=function(){$.ajax(Config.skypeApiUrl+"/partners/"+Login.partner.getCurrent()+"/usermap",{dataType:"jsonp",jsonp:"jsoncallback",timeout:7000,numOfTries:1,retryLimit:2,data:{access_token:c.access_token,_accept:"1.0"},success:function(f){var h;
try{h=f.status.code;
}catch(j){}if(h){API.log("Failed to get mapped Skype account",{response:f});
a();
return;
}router.loading(false);
if(f.username!==null){API.log("Partner user is mapped to skypename: "+f.username);
router.setController("OAuthLogin");
}else{var g=Login.partner.getProfileImage();
$("#picturePartner").preloader("loadImage",g);
router.goToLinking();
}},error:e});
};
Login.tracking.trackPage("oauth_finish"+({95:"/facebook",999:"/msa"}[Login.partner.getCurrent()]));
b();
};
SKYPE.login.controller.AuthSuccess.prototype={unbind:function(){router.loading(false);
}};
SKYPE.namespace("login.controller");
SKYPE.login.controller.NoMapping=function(d){Login.tracking.trackPage("link/start");
var b=Login.partner.getAuth(),c=Login.partner.getProfile();
Login.setView("partnerView");
$("#partnerView h2:first").focus();
var e=Login.partner.getUserName();
$("#wrongAccountText").data("translation-params",{ACCOUNTID:e}).translate();
if(Login.partner.getCurrent()==95){$("#signInWithSkype").data("translation-key","signInWithFacebook").translate();
$("#wrongAccountText").data("translation-key","wrongAccountTextFacebook").translate();
$("#greetingMessage").data("translation-key","greetingMessageFacebook").translate();
}var a=function(g,j){var f=$("body").data("suggestionsAll");
if($.isArray(f)&&f.length>0){router.setController(g);
return;
}var h=function(m,k,l){API.log("Request failed",{status:k,error:l});
if(k=="timeout"){this.numOfTries++;
if(this.numOfTries<=this.retryLimit){API.log("Trying to resend timeouted request");
$.ajax(this);
return;
}}$("body").removeData("suggestionsAll");
router.setController("SkypeLogin");
};
$("body").addClass("working");
$("#partnerView").addClass("working");
$.ajax(Config.skypeApiUrl+"/search/me",{dataType:"jsonp",jsonp:"jsoncallback",timeout:10000,numOfTries:1,retryLimit:2,data:{partner:Login.partner.getCurrent(),access_token:b.access_token,_accept:"1.0"},success:function(k){if(!$.isArray(k)){API.log("Failed to get suggested accounts",{response:k});
}else{if(k.length>0){API.log("Suggested accounts: ",k);
$("body").data("suggestionsAll",k);
router.setController(g);
return;
}}$("body").removeData("suggestionsAll");
router.setController(j);
},error:h});
};
$("#linkAccounts").on("buttonclick",function(){$("#linkAccounts").button("option","disabled",true);
$("#getStarted").button("option","disabled",true);
Login.tracking.trackAction("have-account");
a("SuggestMapping","SkypeLogin");
return false;
});
$("#getStarted").on("buttonclick",function(){Login.tracking.trackAction("get-started");
a("SuggestAccount","CreateTechnical");
return false;
});
};
SKYPE.login.controller.NoMapping.prototype={unbind:function(){$("#linkAccounts").off("buttonclick").button("option","disabled",false);
$("#getStarted").off("buttonclick").button("option","disabled",false);
$("body").removeClass("working");
$("#partnerView").removeClass("working");
}};
SKYPE.namespace("login.controller");
SKYPE.login.controller.OAuthLogin=function(d){Login.setView("loadingView");
var b=Login.partner.getAuth();
var c=Login.partner.getCurrent();
var a=Login.partner.getProfile();
API.log("Trying to log in to client using oAuth");
API.setLoginStatusListener(function(f){if(f!=1){router.loading(false);
API.log("Login status changed to "+f);
}if(f==0){var e=API.getLogoutReason();
if(e>1){API.log("Login to client using OAuth failed. Error code "+e);
if(Login.partner.getCurrent()==95){API.store("SkypeHome_FB-Mapping",undefined);
}Login.partner.clearAll();
router.setController("StartPage");
Login.message.error(e);
}}});
if(c==95){API.store("SkypeHome_FB-Mapping",{oauthToken:b.access_token,partnerUid:a.id,dbSynced:1});
API.store("SkypeHome_facebookConnectOptOut",undefined);
API.store("SkypeHome_facebookConnectSplashDisplayCount",undefined);
API.store("_SkypeHome_data_encrypted","false");
}router.loading(true,"signIn");
Login.tracking.trackAction("submit_login");
API.loginWithOAuth(c,b.access_token,b.refresh_token);
};
SKYPE.login.controller.OAuthLogin.prototype={unbind:function(){API.setLoginStatusListener();
router.loading(false);
Login.message.hide();
}};
SKYPE.namespace("login.controller");
SKYPE.login.controller.SuggestMapping=function(){Login.tracking.trackPage("link/suggested-users");
Login.setView("suggestView");
$("#suggestView h2:first").focus();
var a=$("body").data("suggestionsAll");
if(Login.partner.getCurrent()==95){$("#onlyOneAccount").data("translation-key","onlyOneAccountFacebook").translate();
}(function(){var b=function(c,d){router.setController("NoMapping");
return false;
};
$("#backLinkSuggest").on("click",b);
})();
(function(){if($("#suggestionsContainer").suggestions("isEmpty")){var b=function(c,d){API.log("User selected: ",{username:d.username});
Login.tracking.trackAction("choose-"+d.index);
$("body").data("selectedAccount",d);
router.setController("SkypeLogin");
};
$("#suggestionsContainer").on("suggestionspick",b).suggestions("setItems",a,2);
}})();
$("#differentAccount").on("buttonclick",function(){$("body").removeData("selectedAccount");
router.setController("SkypeLogin");
});
};
SKYPE.login.controller.SuggestMapping.prototype={unbind:function(){$("#differentAccount").off("buttonclick");
$("#backLinkSuggest").off("click");
}};
SKYPE.namespace("login.controller");
SKYPE.login.controller.SuggestAccount=function(){Login.tracking.trackPage("link/new_suggested-users");
Login.setView("suggestAccountView");
$("#suggestAccountView h2:first").focus();
var a=$("body").data("suggestionsAll");
if(Login.partner.getCurrent()==95){$("#onlyOneSuggestAccount").data("translation-key","onlyOneAccountFacebook").translate();
}(function(){var b=function(c,d){Login.tracking.trackAction("new_back");
router.setController("NoMapping");
return false;
};
$("#backLinkSuggestAccount").on("click",b);
})();
(function(){if($("#suggestionsAccountContainer").suggestions("isEmpty")){var b=function(c,d){API.log("User selected: ",{username:d.username});
Login.tracking.trackAction("choose-"+d.index);
$("body").data("selectedAccount",d);
router.setController("SkypeLogin");
};
$("#suggestionsAccountContainer").on("suggestionspick",b).suggestions("setItems",a,2);
}})();
$("#nothanks").on("buttonclick",function(){$("body").removeData("selectedAccount");
Login.tracking.trackAction("new_create_new");
router.setController("CreateTechnical");
});
};
SKYPE.login.controller.SuggestAccount.prototype={unbind:function(){$("#nothanks").off("buttonclick");
$("#backLinkSuggestAccount").off("click");
}};
(function(){SKYPE.namespace("login.controller");
SKYPE.login.controller.Login=function(a){this.credentialsSaved=false;
Login.setView("skypeLoginView");
if(a&&a.username){this.usernameInit(a.username);
}else{this.usernameInit();
}this.passwordInit();
this.enableForms();
this.toggleFacebookLogin();
this.onUsernameChange();
this.onInputChange();
this.addListener($("#form"),"submit",this.submitHandler);
this.addListener($(".backButton"),"click",this.backButtonClick);
this.addListener($("a#liveLoginEmailMessage"),"click",this.navigateToMSALogin);
this.addListener($("a#facebookLoginEmailMessage"),"click",this.navigateToFBLogin);
if(a&&a.isErrorRedirect){this.handleLogoutReason();
}API.setLoginStatusListener(!this.isLinuxClient()?$.proxy(this.statusHandler,this):this.linuxProxyFix);
Login.tracking.trackPage("skype_login");
this.formFocus();
};
SKYPE.login.controller.Login.prototype={addListener:function(a,b,c){a.on(b,$.proxy(c,this));
},removeListener:function(a,b){a.off(b);
},unbind:function(n,o,k,f,e,b,l){var a=n||$("#username"),g=o||$("#password"),m=a.parent().find(".placeholder"),p=g.parent().find(".placeholder"),q=k||$("#form"),j=f||$("#skypeLoginView"),h=e||$(".backButton"),d=b||$("a#liveLoginEmailMessage"),c=l||$("a#facebookLoginEmailMessage");
API.setLoginStatusListener();
this.removeListener(a,"change focus blur");
this.removeListener(g,"change focus blur");
this.removeListener(q,"submit");
this.removeListener(h,"click");
this.removeListener(d,"click");
this.removeListener(c,"click");
m.off("click");
m.remove();
p.off("click");
p.remove();
j.removeClass("working");
this.enableForms();
Login.message.hide();
Login.username.toggleIsEmail(false);
},formFocus:function(){var a=$("#username");
if(a.val()){$("#password").focus();
}else{a.focus();
}},handleLogoutReason:function(){var a=API.getLogoutReason(),b=$("#password");
if(router.hasHandledLogoutError(a)){if(a===14||!$.trim(b.val())){b.val("");
b.trigger("change");
}}},toggleForm:function(d,g,a,e){var f=g||$("#username"),b=a||$("#password"),c=e||$("#autoLogin");
f.combobox("option","disabled",d);
b.inputfield(d?"disable":"enable");
c.checkbox("option","disabled",d);
this.toggleSignInButton(d);
},enableForms:function(){this.toggleForm(false);
},disableForms:function(){this.toggleForm(true);
},onUsernameChange:function(c,b){var a=b||$("#password");
if(API.hasSavedCredentials($("#username").val())){a.val("                ");
this.credentialsSaved=true;
}else{a.val("");
this.credentialsSaved=false;
}a.trigger("change");
},onInputChange:function(){if($("#password").is(":focus")){this.credentialsSaved=false;
}this.toggleSignInButton(!this.validate());
},validate:function(){var b=true,a=$.trim($("#password").val()),c=$("#username").val();
if((!c||!a)&&!this.credentialsSaved){b=false;
}return b;
},toggleSignInButton:function(c,a){var b=a||$("#signIn"),d="signInDisabled";
if(c){b.addClass(d);
this.toggleTabIndex(b,true);
}else{b.removeClass(d);
this.toggleTabIndex(b,false);
}},toggleTabIndex:function(a,b){if(b){a.attr("aria-disabled","true").attr("tabindex",function(c,d){return Math.abs(d)*-1;
});
$("#tempHack").remove();
}else{a.removeAttr("aria-disabled").attr("tabindex",function(c,d){return Math.abs(d);
});
$("body").append('<p id="tempHack"></p>');
}},usernameInit:function(a,c){var b=c||$("#username");
if(!a){a=API.getDefaultUsername();
}b.combobox("setItems",API.getUsernames()).val(a).prop("readonly",false).placeholder();
if(a&&a.length>0){b.parent().find(".placeholder").hide();
}this.addListener(b,"change",this.onUsernameChange);
this.addListener(b,"change",this.onInputChange);
this.addListener(b,"focus",this.usernameFocusHandler);
this.addListener(b,"blur",this.usernameBlurHandler);
},passwordInit:function(){var a=$("#password");
a.placeholder();
this.addListener(a,"change",this.onInputChange);
this.addListener(a,"focus",this.passwordFocusHandler);
this.addListener(a,"blur",this.passwordBlurHandler);
},usernameFocusHandler:function(){this.focusHandler($("#username"));
},passwordFocusHandler:function(){this.focusHandler($("#password"));
},usernameBlurHandler:function(){this.blurHandler($("#username"));
},passwordBlurHandler:function(){this.blurHandler($("#password"));
},focusHandler:function(a){a.parent().addClass("focused");
},blurHandler:function(a){a.parent().removeClass("focused");
},linuxProxyFix:function(){var a=$("body").data("controllerActive");
if(a&&typeof a.statusHandler!=="undefined"){a.statusHandler.apply(a,arguments);
}},statusHandler:function(a){a=parseInt(a,10);
if(a===1){return;
}$("#skypeLoginView").removeClass("working");
router.loading(false);
this.enableForms();
if(a===0){this.handleLogoutReason();
this.formFocus();
}},submitHandler:function(){this.login();
return false;
},login:function(){if(API.getLoginStatus()===1){return;
}$("#skypeLoginView").addClass("working");
if(!this.validate()){return;
}this.disableForms();
router.loading(true,"signIn");
Login.tracking.trackAction("submit_login");
API.login($.trim($("#username").val()),$("#password").val());
},isFacebookLoginPartner:function(){if(!Login.partner.isFacebookLoginEnabled()){return false;
}var a=true;
switch(API.getCobrand()){case"1":case"4":case"11":case"56":case"63":case"65":case"74":case"75":case"99":a=false;
break;
}return a;
},isLinuxClient:function(){return parseInt(API.getPlatformId(),10)===2;
},toggleFacebookLogin:function(){var a=$(".navigateToFBLogin");
a.removeClass("partnerBuild");
if(this.isLinuxClient()){a.addClass("partnerBuild");
}if(!this.isFacebookLoginPartner()){a.addClass("partnerBuild");
}},backButtonClick:function(a){a.preventDefault();
Login.tracking.trackAction("back");
router.goToDefaultScreen();
},navigateToMSALogin:function(a){a.preventDefault();
Login.tracking.trackPage("msa/login_microsoft");
router.goToMSA();
},navigateToFBLogin:function(a){a.preventDefault();
if(this.isFacebookLoginPartner()){Login.tracking.trackPage("msa/login_facebook");
router.goToFB();
}}};
})();
SKYPE.namespace("login.controller");
SKYPE.login.controller.SkypeLogin=function(e){var d=false;
Login.tracking.trackPage("link/unprompted-user");
Login.setView("loginView");
$("#usernameSkype").removeData("usernameSigned");
$("#usernameSkype").combobox("setItems",API.getUsernames()).prop("readonly",false);
(function(){var f=function(g,h){if(d){return false;
}router.goToPreviousController();
return false;
};
$("#backLinkLogin").on("click",f);
})();
var c=$("body").data("selectedAccount")||null;
(function(){var f=function(h){var g=$("#suggestedAccount");
if(h===null){Login.tracking.trackPage("link/sign-in-new");
$("#problemsSigningInSkype").on("click",function(){Login.tracking.trackAction("problem-signing-in");
});
g.empty();
g.hide();
$("#usernameSkype").val("");
$("#usernameSkype").trigger("change");
$("#usernameWrap").show();
return;
}else{Login.tracking.trackPage("link/sign-in-suggested");
$("#problemsSigningInSkype").on("click",function(){Login.tracking.trackAction("problem-signing-in");
});
$("#yourDetails").data("translation-key","yourDetailsPassword").translate();
$("#usernameWrap").hide();
$("#usernameSkype").val(h.username);
$("#usernameSkype").trigger("change");
g.suggestions({selectable:false});
g.suggestions("setItems",[h],3);
g.show();
}};
f(c);
})();
(function(){var f=function(){$("#signInSkype").button("option","disabled",!$("#usernameSkype").val()||!$("#passwordSkype").val());
};
$("#usernameSkype, #passwordSkype").change(f);
f();
})();
var b=function(){if(d){return;
}var h=$("#usernameSkype").val().toLowerCase();
h=$.trim(h);
if(!h){return;
}var f=$("#passwordSkype").val();
if(!f){return;
}d=true;
router.loading(true);
Login.message.hide();
Login.disableForms();
var g=function(l,j,k){API.log("Request failed",{status:j,error:k});
if(j=="timeout"){this.numOfTries++;
if(this.numOfTries<=this.retryLimit){API.log("Trying to resend timeouted request");
$.ajax(this);
return;
}}d=false;
router.loading(false);
Login.enableForms();
Login.message.error(6);
};
$.ajax(Config.skypeApiUrl+"/login/session",{dataType:"jsonp",jsonp:"jsoncallback",timeout:7000,numOfTries:1,retryLimit:2,data:{username:h,password:f,_method:"POST",_accept:"1.0"},success:function(m){d=false;
if(!m||typeof(m)!="object"||!m.id){API.log("Unexpected response or login failed",{response:m});
var k;
try{k=m.status.code;
}catch(l){}var j=6;
switch(k){case 40003:case 40004:case 40006:case 40007:case 40411:j=14;
break;
case 40412:j=15;
break;
}API.log("Error signing in with Skype credentials. Code "+j);
Login.tracking.trackAction("password-error","sign-in link: password error");
router.loading(false);
Login.enableForms();
if(j==14){$("#passwordSkype").val("");
$("#passwordSkype").trigger("change");
}$("#passwordSkype").focus();
Login.message.error(j);
return;
}API.log("User successfully logged into the web",{username:h});
$("#usernameSkype").data("usernameSigned",h);
API.setSessionListener(function(){API.setSessionListener();
router.setController("ConnectAccounts");
});
API.saveSessionCookie(m.id,m.token);
},error:g});
};
var a=function(){if($("#usernameSkype").val()){$("#passwordSkype").focus();
}else{$("#usernameSkype").focus();
}};
$("#formSkype").on("submit",function(){b();
return false;
});
a();
};
SKYPE.login.controller.SkypeLogin.prototype={unbind:function(){$("#formSkype").off("submit");
$("#loginView").removeClass("working");
Login.enableForms();
router.loading(false);
Login.message.hide();
$("#backLinkLogin").off("click");
$("#suggestedAccount").suggestions("destroy");
}};
SKYPE.namespace("login.controller");
SKYPE.login.controller.ConnectAccounts=function(d){Login.tracking.trackPage("link/merge");
var e=Login.partner.getAuth(),j=Login.partner.getCurrent();
Login.setView("connectView");
$("#connectView h2:first").focus();
if(Login.partner.getCurrent()==95){$("#partnerAccountName").removeClass("liveidBack").addClass("facebookBack");
$("#titleLarge").data("translation-key","lastStepFacebook").translate();
$("#usePartnerAccount").data("translation-key","usePartnerAccountFacebook").translate();
}else{$("#partnerAccountName").removeClass("facebookBack").addClass("liveidBack");
}var f=$("#usernameSkype").data("usernameSigned");
$("#skypeAccountName").text(f);
var b=Login.partner.getUserName();
var a=SKYPE.login.Tools.escape(f);
$("#partnerAccountName").text(b);
$("#usePartnerAccount").data("translation-params",{NAME:"<span class='partnerAccount highlight'>"+b+"</span>"}).translate();
var l=Config.skypeApiUrl+"/users/"+f+"/profile/avatar?session_token="+API.getSessionToken();
var g=Login.partner.getProfileImage();
$("#partnerAccountPicture").preloader("loadImage",g);
$("#skypeAccountPicture").preloader("loadImage",l);
var k=function(n){$("#useExistingLiveidOption").data("translation-params")["NAME"]="<span class='skypeAccount highlight'>"+a+"</span>";
$("#useExistingFacebookOption").data("translation-params")["NAME"]="<span class='skypeAccount highlight'>"+a+"</span>";
$("#mergeAnotherLiveidOption").data("translation-params")["NAME"]="<span class='partnerAccount highlight'>"+b+"</span>";
$("#mergeAnotherFacebookOption").data("translation-params")["NAME"]="<span class='partnerAccount highlight'>"+b+"</span>";
$("#useExistingLiveidOption, #useExistingFacebookOption, #mergeAnotherLiveidOption, #mergeAnotherFacebookOption").translate();
Login.setView("conflictView");
$("#messageBodyConflictContainer").hide();
setTimeout(function(){$("#messageBodyConflictContainer").show();
},500);
};
var h=function(p,n,o){API.log("Request failed",{status:n,error:o});
if(n=="timeout"){this.numOfTries++;
if(this.numOfTries<=this.retryLimit){API.log("Trying to resend timeouted request");
$.ajax(this);
return;
}}$("#connectAccounts").button("option","disabled",false);
Login.partner.clearAll();
router.setController("Login");
Login.message.error("c3");
};
var c="Connect from client login "+API.getClientVersion();
var m=function(){$("#connectView").addClass("working");
$.ajax(Config.skypeApiUrl+"/partners/"+Login.partner.getCurrent()+"/usermap",{dataType:"jsonp",jsonp:"jsoncallback",timeout:7000,numOfTries:1,retryLimit:2,data:{access_token:e.access_token,session_token:API.getSessionToken(),reasonType:SKYPE.login.Tools.reasonTypeMapper(SKYPE.login.form),reason:c,_method:"PUT",_accept:"1.0"},success:function(n){$("#connectView").removeClass("working");
var p;
try{p=n.status.code;
}catch(q){}var o="c3";
switch(p){case 20100:API.log("Skype and partner accounts successfully connected");
router.setController("OAuthLogin");
return;
case 40003:if(n.uid){k(n);
return;
}else{API.log("Another mapping in use",{response:n});
}break;
case 40301:API.log("Cannot merge accounts - User is underage");
o="ua"+j;
break;
case 40101:case 40102:default:API.log("Failed to connect Skype and partner accounts",{response:n});
break;
}Login.partner.clearAll();
router.setController("Login");
Login.message.error(o);
},error:h});
};
$("#conflictOptions").on("click","#mergeAnotherLiveid, #mergeAnotherFacebook",function(){router.setController("SkypeLogin");
return false;
});
$("#startAgainLinkConnect").on("click",function(){if($("#connectAccounts").button("option","disabled")){return false;
}});
$("#connectAccounts").on("buttonclick",function(){Login.tracking.trackAction("agree");
$("#connectAccounts").button("option","disabled",true);
m();
return false;
});
};
SKYPE.login.controller.ConnectAccounts.prototype={unbind:function(){$("#connectAccounts").off("buttonclick").button("option","disabled",false);
$("#startAgainLinkConnect").off("click");
$("#connectView").removeClass("working");
$("#conflictOptions").off("click","#mergeAnotherLiveid, #mergeAnotherFacebook");
Login.message.hide();
}};
SKYPE.namespace("login.controller");
SKYPE.login.controller.CreateTechnical=function(f){Login.tracking.trackPage("link/create-technical");
var c=Login.partner.getAuth();
var e=Login.partner.getCurrent();
(function(){var g=function(h,j){if($("#createTechnical").button("option","disabled")){return false;
}router.goToPreviousController();
return false;
};
$("#backLinkCreate").on("click",g);
})();
Login.setView("createView");
$("#createView h2:first").focus();
var b=function(g){API.log("CreateTechnical - error response",g);
$("#createTechnical").button("option","disabled",false);
Login.partner.clearAll();
router.setController("Login");
Login.message.error("c3");
};
var d=function(j,g,h){API.log("Request to createTechnical failed",{status:g,error:h});
b();
};
var a=function(){var j=($("#allowSpam").checkbox("option","checked"))?"1":"0";
var h=($("#allowSms").checkbox("option","checked"))?"1":"0";
var g=API.getClientVersion();
var k=API.getLanguage();
router.loading(true);
$.ajax(Config.skypeApiUrl+"/users/technical",{dataType:"jsonp",jsonp:"jsoncallback",timeout:30000,numOfTries:1,retryLimit:1,data:{access_token:c.access_token,partner:Login.partner.getCurrent(),allowSpam:j,allowSms:h,clientVersion:g,reasonType:SKYPE.login.Tools.reasonTypeMapper(SKYPE.login.form),language:k,_method:"POST",_accept:"1.0",form:SKYPE.login.form},success:function(l){var m;
try{m=l.status.code;
}catch(n){}switch(m){case 20100:API.log("Technical user created: "+l.username);
router.setController("OAuthLogin");
return;
case 40301:API.log("Cannot create technical user - User is underage");
Login.partner.clearAll();
router.setController("Login");
Login.message.error("ua"+e);
return;
default:b(l);
break;
}},error:d});
};
$("#createTechnical").on("buttonclick",function(){Login.tracking.trackAction("agree",false,"createTechnical");
$("#createTechnical").button("option","disabled",true);
a();
return false;
});
$("#createView h2:first").focus();
};
SKYPE.login.controller.CreateTechnical.prototype={unbind:function(){router.loading(false);
$("#createTechnical").button("option","disabled",false).off("buttonclick");
$("#backLinkCreate").off("click");
}};
(function(){SKYPE.namespace("login.controller");
SKYPE.login.controller.StartPage=function(d){var a=API.getLogoutReason(),c=$("#defaultView"),b={minWidth:220};
Login.setView("defaultView");
if(SKYPE.buttonresizer){SKYPE.buttonresizer.resizeButtons(c,b);
$(document).bind("changelanguage",function(){SKYPE.buttonresizer.resizeButtons(c,b);
});
}this.addListener($("#navigateToSkypeLogin"),"click",this.navigateToSkypeLogin);
this.addListener($("#navigateToMSALogin"),"click",this.navigateToMSALogin);
this.addListener($("#navigateToFBLogin"),"click",this.navigateToFBLogin);
this.addListener($("#defaultCreateAccount"),"click",this.navigateToRegistration);
this.toggleFacebookLogin();
if(router.isFirstLoad()){new Animation(this.loadAnimation);
}else{$("#defaultView h2").focus();
}this.logOutMSAUser();
if(d&&d.isErrorRedirect){router.hasHandledLogoutError(a);
}Login.tracking.trackPage("login");
};
SKYPE.login.controller.StartPage.prototype={addListener:function(a,b,c){a.on(b,$.proxy(c,this));
},logOutMSAUser:function(){var b=parseInt(API.getLoginStatus(),10),c=API.getLastKnownLogin(true),a=API.getLogoutReason();
if(b===0&&a===1&&c==="MSA"){API.log("Logging user out of MSA");
Login.partner.partnerLogout(function(){},999);
}},removeListener:function(a,b){a.off(b);
},unbind:function(d,f,a,c){var b=d||$("#navigateToSkypeLogin"),g=f||$("#navigateToMSALogin"),h=a||$("#navigateToFBLogin"),e=c||$("#defaultCreateAccount");
Login.message.hide();
this.removeListener(b,"click");
this.removeListener(g,"click");
this.removeListener(h,"click");
this.removeListener(e,"click");
},isFacebookLoginPartner:function(){if(!Login.partner.isFacebookLoginEnabled()){return false;
}var a=true;
switch(API.getCobrand()){case"1":case"4":case"11":case"56":case"63":case"65":case"74":case"75":case"99":a=false;
break;
}return a;
},navigateToSkypeLogin:function(a){a.preventDefault();
Login.tracking.trackPage("msa/login_skype");
router.goToSkype();
},navigateToFBLogin:function(a){a.preventDefault();
if(this.isFacebookLoginPartner()){Login.tracking.trackPage("msa/login_facebook");
router.goToFB();
}},navigateToMSALogin:function(a){a.preventDefault();
Login.tracking.trackPage("msa/login_microsoft");
router.goToMSA();
},navigateToRegistration:function(a){if(!$("#defaultCreateAccount").hasClass("inClientRegistration")){Login.tracking.trackPage("msa/signup");
return;
}a.preventDefault();
Login.tracking.trackPage("msa/signup_client");
router.goToRegistration();
},isLinuxClient:function(){return parseInt(API.getPlatformId(),10)===2;
},toggleFacebookLogin:function(){var a=$(".signInFB");
a.removeClass("partnerBuild");
if(this.isLinuxClient()){a.addClass("partnerBuild");
}if(!this.isFacebookLoginPartner()){a.addClass("partnerBuild");
}},loadAnimation:{onFinish:function(){$("#defaultView h2").focus();
},duration:2630,elements:[{selector:"#defaultView .logo",animationType:"translate",startFrame:{attributes:{y:154,x:0}},frames:[{timing:50.63,attributes:{y:0,x:0},easingParameters:[1,0,0.78,1]},{timing:65.82,attributes:{y:-164,x:0},easingParameters:[1,0,0.78,1]},{timing:79.75,attributes:{y:10,x:0},easingParameters:[0.33,0,0,1]}]},{selector:"#defaultView .signInTitle",animationType:"translate",startFrame:{attributes:{y:144,x:0}},frames:[{timing:50.63,attributes:{y:0,x:0},easingParameters:[1,0,0.78,1]},{timing:67.09,attributes:{y:-154,x:0},easingParameters:[1,0,0.78,1]},{timing:81.01,attributes:{y:10,x:0},easingParameters:[0.33,0,0,1]}]},{selector:"#defaultView .signInTitle span",animationType:"opacity",startFrame:{attributes:{opacity:0}},frames:[{timing:50.63,attributes:{opacity:0},easingParameters:[1,0,0.78,1]},{timing:67.09,attributes:{opacity:1},easingParameters:[1,0,0.78,1]}]},{selector:"#defaultView .signInSkype",animationType:"translate",startFrame:{attributes:{y:144,x:0}},frames:[{timing:50.63,attributes:{y:0,x:0},easingParameters:[1,0,0.78,1]},{timing:68.35,attributes:{y:-155,x:0},easingParameters:[1,0,0.78,1]},{timing:82.28,attributes:{y:10,x:0},easingParameters:[0.33,0,0,1]}]},{selector:"#defaultView .signInSkype a",animationType:"opacity",startFrame:{attributes:{opacity:0}},frames:[{timing:50.63,attributes:{opacity:0},easingParameters:[1,0,0.78,1]},{timing:68.35,attributes:{opacity:1},easingParameters:[1,0,0.78,1]}]},{selector:"#defaultView .signInMSA",animationType:"translate",startFrame:{attributes:{y:144,x:0}},frames:[{timing:50.63,attributes:{y:0,x:0},easingParameters:[1,0,0.78,1]},{timing:69.62,attributes:{y:-154,x:0},easingParameters:[1,0,0.78,1]},{timing:83.54,attributes:{y:10,x:0},easingParameters:[0.33,0,0,1]}]},{selector:"#defaultView .signInMSA a",animationType:"opacity",startFrame:{attributes:{opacity:0}},frames:[{timing:56.63,attributes:{opacity:0},easingParameters:[1,0,0.78,1]},{timing:69.62,attributes:{opacity:1},easingParameters:[1,0,0.78,1]}]},{selector:"#defaultView .learnMoreMSA",animationType:"translate",startFrame:{attributes:{y:144,x:0}},frames:[{timing:50.63,attributes:{y:0,x:0},easingParameters:[1,0,0.78,1]},{timing:70.89,attributes:{y:-154,x:0},easingParameters:[1,0,0.78,1]},{timing:84.81,attributes:{y:10,x:0},easingParameters:[0.33,0,0,1]}]},{selector:"#defaultView .learnMoreMSA .learnMoreMSAHolder",animationType:"opacity",startFrame:{attributes:{opacity:0}},frames:[{timing:50.63,attributes:{opacity:0},easingParameters:[1,0,0.78,1]},{timing:72.15,attributes:{opacity:1},easingParameters:[1,0,0.78,1]}]},{selector:"#defaultView .createSkypeAccount",animationType:"translate",startFrame:{attributes:{y:144,x:0}},frames:[{timing:50.63,attributes:{y:0,x:0},easingParameters:[1,0,0.78,1]},{timing:72.15,attributes:{y:-154,x:0},easingParameters:[1,0,0.78,1]},{timing:86.08,attributes:{y:10,x:0},easingParameters:[0.33,0,0,1]}]},{selector:"#defaultView .createSkypeAccount a",animationType:"opacity",startFrame:{attributes:{opacity:0}},frames:[{timing:50.63,attributes:{opacity:0},easingParameters:[1,0,0.78,1]},{timing:72.15,attributes:{opacity:1},easingParameters:[1,0,0.78,1]}]},{selector:"#defaultView .signInFB",animationType:"translate",startFrame:{attributes:{y:0,x:0}},frames:[{timing:82.28,attributes:{y:0,x:0},easingParameters:[1,0,0.78,1]},{timing:86.08,attributes:{y:-5,x:0},easingParameters:[1,0,0.78,1]},{timing:100,attributes:{y:5,x:0},easingParameters:[0.33,0,0,1]}]},{selector:"#defaultView .signInFB a",animationType:"opacity",startFrame:{attributes:{opacity:0}},frames:[{timing:82.28,attributes:{opacity:0},easingParameters:[1,0,0.78,1]},{timing:86.08,attributes:{opacity:1},easingParameters:[1,0,0.78,1]}]}]}};
})();
(function(){SKYPE.namespace("login.controller");
SKYPE.login.controller.RegistrationSuccess=function(){Login.setView("loadingView");
router.loading(true);
var d=Login.partner.getAuth();
var c=this.parseState(d.state);
SKYPE.login.form=c.form;
var b=function(){Login.partner.clearAll();
router.setController("Login");
Login.message.error("c3");
};
var e=function(h,f,g){API.log("Registration success - Request failed",{status:f,error:g});
if(f=="timeout"){this.numOfTries++;
if(this.numOfTries<=this.retryLimit){API.log("Trying to resend timeouted request");
$.ajax(this);
return;
}}b();
};
var a=function(h,g){var f=API.getClientVersion();
var j=API.getLanguage();
$.ajax(Config.skypeApiUrl+"/users/technical",{dataType:"jsonp",jsonp:"jsoncallback",timeout:30000,numOfTries:1,retryLimit:1,data:{access_token:d.access_token,partner:Login.partner.getCurrent(),allowSpam:g,clientVersion:f,form:h,reasonType:SKYPE.login.Tools.reasonTypeMapper(h),reason:"Connect from in-client registration",language:j,_method:"POST",_accept:"1.0"},success:function(k){var l;
try{l=k.status.code;
}catch(m){}switch(l){case 20100:Login.tracking.trackAction("new");
API.log("Technical user created: "+k.username);
router.setController("OAuthLogin");
return;
case 40001:if(k.username){Login.tracking.trackAction("exists");
API.log("Technical user already existed: "+k.username);
router.setController("OAuthLogin");
return;
}b(k);
break;
case 40301:API.log("Cannot create technical user - User is underage");
Login.partner.clearAll();
router.setController("Login");
Login.message.error("ua999");
return;
default:b(k);
break;
}},error:e});
};
Login.tracking.trackPage("reg/"+c.form);
switch(c.form){case"microsoft_registration":API.log("Registration flow, no MSA, no Skype, create technical.");
a(c.form,c.aspm);
break;
case"microsoft_login":API.log("Registration flow, has MSA, no Skype, create technical.");
a(c.form,c.aspm);
break;
case"microsoft_registration_linking":API.log("Registration flow, no MSA, has Skype, linking flow.");
router.setController("AuthSuccess");
break;
case"microsoft_login_linking":API.log("Registration flow, has MSA, has Skype, linking flow.");
router.setController("AuthSuccess");
break;
default:router.setController("AuthSuccess");
}};
SKYPE.login.controller.RegistrationSuccess.prototype={unbind:function(){router.loading(false);
},parseState:function(c){var b={form:null,aspm:false};
try{var f="::",a=c.split(f);
if(a.length>1&&a[1]){b.form=a[1];
b.aspm=(a[2].charAt(a[2].length-1)==1);
}}catch(d){}API.log("Parsed registration flow controls:",b);
return b;
}};
})();
(function(){var j="#unifiedUsername";
var a="#unifiedSignIn";
var d="#unifiedForm";
var h="#unifiedLoadingSpinner";
var k="#unifiedDefaultCreateAccount";
var l="div.facebookLoginContainer";
var b="#unifiedMsaLogin";
var c="#unifiedSignInContainer";
var g="#simulatedPlaceholder";
var e="#unifiedProblemsSigningIn";
var f="#username";
SKYPE.namespace("login.controller");
SKYPE.login.controller.UnifiedLogin=function(){this.credentialsSaved=false;
Login.setView("unifiedSkypeLoginView");
this.usernameInit();
this.enableForms();
this.onInputChange();
this.addListener($(d),"submit",this.submitHandler);
this.addListener($(l),"click",this.navigateToFBLogin);
this.addListener($(b),"click",this.navigateToMSALogin);
this.addListener($(k),"click",this.navigateToRegistration);
Login.tracking.trackPage("login_unified");
$("#unifiedLoginHeader").show();
$("#unifiedUsername").focus();
if($("html").hasClass("lt-ie7")){var n=$("#unifiedSignIn .nextButtonArrow");
var m=n.attr("src").replace("next_button.png","next_button_ie6.png");
n.attr("src",m);
}};
SKYPE.login.controller.UnifiedLogin.prototype={addListener:SKYPE.login.controller.Login.prototype.addListener,removeListener:SKYPE.login.controller.Login.prototype.removeListener,logOutMSAUser:SKYPE.login.controller.Login.prototype.logOutMSAUser,toggleTabIndex:SKYPE.login.controller.Login.prototype.toggleTabIndex,isFacebookLoginPartner:SKYPE.login.controller.Login.prototype.isFacebookLoginPartner,isLinuxClient:SKYPE.login.controller.Login.prototype.isLinuxClient,navigateToRegistration:SKYPE.login.controller.StartPage.prototype.navigateToRegistration,navigateToFBLogin:SKYPE.login.controller.Login.prototype.navigateToFBLogin,unbind:function(){var p=$(j),m=$(d),n=$(k),q=$(l),o=$(b);
this.removeListener(p,"keypress keyup");
this.removeListener(m,"submit");
this.removeListener(n,"click");
this.removeListener(q,"click");
this.removeListener(o,"click");
this.enableForms();
Login.message.hide();
},toggleForm:function(m){this.toggleSignInContainer(m);
this.toggleFacebookLogin(m);
this.toggleProblemSigningIn(m);
this.toggleUsernameField(m);
this.toggleSignInButton(m);
this.toggleSimulatedPlaceholder(m);
this.toggleUnifiedSpinner(!m);
},enableForms:function(){this.toggleForm(true);
},disableForms:function(){this.toggleForm(false);
},onInputChange:function(){this.setSignInButtonEnabledState(this.isUsernameValid());
this.toggleSimulatedPlaceholder(!this.isUsernameNonEmpty());
},isUsernameNonEmpty:function(){return !!($(j).val());
},isUsernameValid:function(){return !!($.trim($(j).val()));
},setSignInButtonEnabledState:function(m){var n=$(a),o="signInDisabled";
if(!m){n.addClass(o);
this.toggleTabIndex(n,true);
}else{n.removeClass(o);
this.toggleTabIndex(n,false);
}},usernameInit:function(n){var m=n||$(j);
this.addListener(m,"keypress keyup",this.onInputChange);
},submitHandler:function(){if(!this.isUsernameValid()){return false;
}Login.tracking.trackAction("continue");
this.disableForms();
this.makeIfExistsRequest();
return false;
},navigateToMSALogin:function(){var m=$(j).val();
$(f).val(m);
Login.urls.setPartnerLoginUrls();
router.goToMSA();
},isEmailOrPhoneNumber:function(m){return SKYPE.login.Tools.isEmail(m)||SKYPE.login.Tools.isPhoneNumber(m);
},getUserNameValue:function(){var m=$(j);
var n=m.val();
return n;
},makeIfExistsRequest:function(){var n={username:this.getUserNameValue(),clientVersion:API.getClientVersion(),_accept:"2.0"};
var m=Config.skypeLoginUrl+"/ifexists";
this.ifExistsRequest=$.ajax(m,{success:$.proxy(this.handleIfExistsSuccess,this,n.username),error:$.proxy(this.handleIfExistsError,this),timeout:3000,dataType:"jsonp",data:n,jsonp:"jsoncallback"});
},handleIfExistsSuccess:function(n,m){if(m.outcome==="MSA_EXISTS"){this.navigateToMSALogin();
}else{if(m.outcome==="SKYPE_EXISTS"){this.navigateToSkypeLogin();
}else{if(m.outcome==="SUGGESTIONS_FOUND"){this.navigateToDisambiguationScreen(m.accounts);
}else{this.enableForms();
this.showErrorMessage(n);
}}}},handleIfExistsError:function(){var m=this.getUserNameValue();
if(this.isEmailOrPhoneNumber(m)){this.navigateToMSALogin();
}else{this.navigateToSkypeLogin();
}},navigateToDisambiguationScreen:function(m){router.setController("Disambiguation",{suggestions:m});
},navigateToSkypeLogin:function(){var m=this.getUserNameValue();
router.setController("Login",{username:m});
},showErrorMessage:function(m){if(SKYPE.login.Tools.isPhoneNumber(m)){Login.message.error("ul2");
}else{Login.message.error("ul1");
}this.focusUsernameTextBox();
},focusUsernameTextBox:function(){$(j).focus();
},toggleUnifiedSpinner:function(m){$(h).toggle(m);
},toggleSignInContainer:function(m){$(c).toggle(m);
},toggleFacebookElements:function(m){$(l).toggle(m);
},toggleFacebookLogin:function(m){if(this.isLinuxClient()||!this.isFacebookLoginPartner()){this.toggleFacebookElements(false);
}else{this.toggleFacebookElements(m);
}},toggleProblemSigningIn:function(m){$(e).toggle(m);
},toggleUsernameField:function(m){$(j).toggle(m);
},toggleSignInButton:function(m){$(a).toggle(m);
},toggleSimulatedPlaceholder:function(m){$(g).toggle(m);
}};
})();
(function(){SKYPE.namespace("login.controller");
SKYPE.login.controller.Disambiguation=function(c){var a=3;
(function(){var d=function(){Login.tracking.trackAction("back");
router.setController("UnifiedLogin");
return false;
};
$("#backLinkDisambiguationView").on("click",d);
})();
Login.setView("disambiguationView");
var b=function(d,e){Login.tracking.trackAction("selected");
$("body").data("selectedAccount",e);
router.setController("Login",{username:e.username});
};
$("#disambiguationAccountsContainer").disambiguationSuggestions().disambiguationSuggestions("setItems",c.suggestions,a).on("disambiguationsuggestionspick",b);
Login.tracking.trackPage("unified/select_account");
};
})();
SKYPE.namespace("login");
SKYPE.login.HighContrast=function(){var o,j,h,d,c,a;
var f=function(){var p=j.css("background-color");
if(typeof API==="object"&&API.getPlatformId()===2){return(API.getHCmode()!=="")?API.getHCmode():false;
}else{if(p==="#000000"||p.replace(/ /g,"")==="rgb(0,0,0)"){return"black";
}else{if(p==="#ffffff"||p.replace(/ /g,"")==="rgb(255,255,255)"){return"white";
}}return false;
}};
var g=function(q,p){if(q){if(typeof p!=="undefined"&&p==="white"){j.addClass("highContrastWhite");
}else{if(typeof p!=="undefined"&&p==="black"){j.addClass("highContrastBlack");
}}j.addClass("highContrast");
}else{if(!q){highContrastEnabled=false;
j.removeClass("highContrast");
j.removeClass("highContrastWhite");
j.removeClass("highContrastBlack");
}}};
var l=function(q,p){var r,t;
r=$(q);
t=r.attr("src");
if(typeof p!==undefined&&p==="white"){t=t.replace("/normal/","/black-on-white/");
t=t.replace("/white-on-black/","/black-on-white/");
}else{t=t.replace("/normal/","/white-on-black/");
t=t.replace("/black-on-white/","/white-on-black/");
}r.attr({src:t});
};
var k=function(p){var q,r;
q=$(p);
r=q.attr("src");
r=r.replace("/black-on-white/","/normal/");
r=r.replace("/white-on-black/","/normal/");
q.attr({src:r});
};
var n=function(q,p){if(q){h.each(function(){l(this,p);
});
d.each(function(){l(this,p);
});
}else{if(!q){h.each(function(){k(this);
});
d.each(function(){k(this);
});
}}};
var e=function(){var p=f();
if(p!==a){if(p==="black"){g(true,"black");
n(true,"black");
}else{if(p==="white"){g(true,"white");
n(true,"white");
}else{g(false);
n(false);
}}}a=p;
};
var b=function(){j=$("body");
h=$(".skypeLogo");
d=$(".nextButtonArrow");
e();
o=window.setInterval(function(){e();
},2000);
};
var m=function(){if(o){window.clearInterval(o);
o=undefined;
}};
return{start:b,stop:m};
};
