From: Jason Skomorowski Date: Mon, 19 May 2014 23:03:48 +0000 (-0400) Subject: TPL example embedding X-Git-Tag: 1.0.0~646^2~2 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=30ecfd685d3347e247b71148edfd5e51a7cc4dbe TPL example embedding --- diff --git a/examples/htdocs/tpl.html b/examples/htdocs/tpl.html new file mode 100644 index 0000000..997bd7c --- /dev/null +++ b/examples/htdocs/tpl.html @@ -0,0 +1,11251 @@ + + + + + + + + + + + + + + + + + + + + + +water + : Toronto Public Library + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + +
+ + + + + + +
+
+ +
Toronto Public Library Homepage
+ + +
+ +
+ + + +
+ + + + + +
+ +
+ + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/htdocs/tpl_files/300lo.json b/examples/htdocs/tpl_files/300lo.json new file mode 100644 index 0000000..20d9a1c --- /dev/null +++ b/examples/htdocs/tpl_files/300lo.json @@ -0,0 +1 @@ +_ate.track.hsr({"segments":[],"urls":[],"loc":"MDAwMDBOQUNBT04yMjM3MTAwNjAwMDAwMDBEVg=="}); \ No newline at end of file diff --git a/examples/htdocs/tpl_files/addthis_widget.js b/examples/htdocs/tpl_files/addthis_widget.js new file mode 100644 index 0000000..4e9e8a9 --- /dev/null +++ b/examples/htdocs/tpl_files/addthis_widget.js @@ -0,0 +1,2 @@ +/* (c) 2008-2013 AddThis, Inc */ +var addthis_conf={ver:300};if(!((window._atc||{}).ver)){var _atd="www.addthis.com/",_atr=window.addthis_cdn||"//s7.addthis.com/",_euc=encodeURIComponent,_duc=decodeURIComponent,_atc={dbg:0,rrev:126596,dr:0,ver:250,loc:0,enote:"",cwait:500,bamp:0.25,camp:1,csmp:0.0001,damp:1,famp:1,pamp:0.1,sfmp:0.1,tamp:1,plmp:1,vamp:1,cscs:1,ohmp:0,ltj:1,xamp:1,abf:!!window.addthis_do_ab,qs:0,cdn:0,rsrcs:{bookmark:_atr+"static/r07/bookmark041.html",atimg:_atr+"static/r07/atimg041.html",countercss:_atr+"static/r07/counter014.css",counterIE67css:_atr+"static/r07/counterIE67004.css",counter:_atr+"static/r07/counter017.js",core:_atr+"static/r07/core122.js",wombat:_atr+"static/r07/bar026.js",wombatcss:_atr+"static/r07/bar012.css",qbarcss:_atr+"bannerQuirks.css",fltcss:_atr+"static/r07/floating010.css",barcss:_atr+"static/r07/banner006.css",barjs:_atr+"static/r07/banner004.js",contentcss:_atr+"static/r07/content008.css",contentjs:_atr+"static/r07/content022.js",layersjs:_atr+"static/r07/layers038.js",layerscss:_atr+"static/r07/layers034.css",layersiecss:_atr+"static/r07/layersIE6007.css",layersdroidcss:_atr+"static/r07/layersdroid004.css",warning:_atr+"static/r07/warning000.html",ssojs:_atr+"static/r07/ssi005.js",ssocss:_atr+"static/r07/ssi004.css",authjs:_atr+"static/r07/auth016.js",peekaboocss:_atr+"static/r07/peekaboo002.css",overlayjs:_atr+"static/r07/overlay005.js",widget32css:_atr+"static/r07/widgetbig059.css",widget20css:_atr+"static/r07/widgetmed009.css",widgetcss:_atr+"static/r07/widget119.css",widgetIE67css:_atr+"static/r07/widgetIE67006.css",widgetpng:"//s7.addthis.com/static/r07/widget059.gif",embed:_atr+"static/r07/embed010.js",embedcss:_atr+"static/r07/embed004.css",lightbox:_atr+"static/r07/lightbox000.js",lightboxcss:_atr+"static/r07/lightbox000.css",link:_atr+"static/r07/link005.html",pinit:_atr+"static/r07/pinit017.html",linkedin:_atr+"static/r07/linkedin022.html",fbshare:_atr+"static/r07/fbshare004.html",tweet:_atr+"static/r07/tweet027.html",menujs:_atr+"static/r07/menu161.js",sh:_atr+"static/r07/sh149.html"}};}(function(){var i,q=window,C=document;var s=(window.location.protocol=="https:"),F,n,y,A=(navigator.userAgent||"unk").toLowerCase(),v=(/firefox/.test(A)),p=(/msie/.test(A)&&!(/opera/.test(A))),c={0:_atr,1:"//ct1.addthis.com/",6:"//ct6z.addthis.com/"},g={gb:"1",nl:"1",no:"1"},o={gr:"1",it:"1",cz:"1",ie:"1",es:"1",pt:"1",ro:"1",ca:"1",pl:"1",be:"1",fr:"1",dk:"1",hr:"1",de:"1",hu:"1",fi:"1",us:"1",ua:"1",mx:"1",se:"1",at:"1"},E={nz:"1"},h=(h=document.getElementsByTagName("script"))&&h[h.length-1].parentNode;_atc.cdn=0;if(!window.addthis||window.addthis.nodeType!==i){try{F=window.navigator?(navigator.userLanguage||navigator.language):"";n=F.split("-").pop().toLowerCase();y=F.substring(0,2);if(n.length!=2){n="unk";}if(_atr.indexOf("-")>-1){}else{if(window.addthis_cdn!==i){_atc.cdn=window.addthis_cdn;}else{if(E[n]){_atc.cdn=6;}else{if(g[n]){_atc.cdn=(v||p)?0:1;}else{if(o[n]){_atc.cdn=(p)?0:1;}}}}}if(_atc.cdn){for(var z in _atc.rsrcs){if(_atc.rsrcs.hasOwnProperty(z)){_atc.rsrcs[z]=_atc.rsrcs[z].replace(_atr,typeof(window.addthis_cdn)==="string"?window.addthis_cdn:c[_atc.cdn]).replace(/live\/([a-z])07/,"live/$107");}}_atr=c[_atc.cdn];}}catch(B){}function b(k,e,d,a){return function(){if(!this.qs){this.qs=0;}_atc.qs++;if(!((this.qs++>0&&a)||_atc.qs>1000)&&window.addthis){window.addthis.plo.push({call:k,args:arguments,ns:e,ctx:d});}};}function x(e){var d=this,a=this.queue=[];this.name=e;this.call=function(){a.push(arguments);};this.call.queuer=this;this.flush=function(w,r){this.flushed=1;for(var k=0;k15){an=an.substr(0,15)+"...";}ae.innerHTML="Hi, "+an;ae.style.padding="5px 10px";ae.style.color="#87AC10";ac.appendChild(ae);}var ad=W.ce("LI");var ak=W.ce("A");ak.href="#";ak.innerHTML=v;ak.onclick=function(aq){return V();};ad.appendChild(ak);ac.appendChild(ad);var ap=W.ce("LI");var d=W.ce("A");d.href="#";d.innerHTML=H;d.onclick=function(aq){return y(ah);};ap.appendChild(d);ac.appendChild(ap);if(ah!="at"){var ab=S("at-qs-cred-id-"+ah).value;addthis.auth.updatePeep(ah,ab);}else{if(addthis.auth.userimg!=""&&(W.location.protocol.indexOf("https")==-1||addthis.auth.userimg.indexOf("https")==0)){aj.src=addthis.auth.userimg;}}}};addthis.auth.signinAuth=function(){g();};function y(w){var ac=W.ce("IFRAME");ac.src="//"+_atd+"user/logout?hidden=1";ac.style.display="none";s.appendChild(ac);for(var d in addthis.auth.isharecontainer){P(addthis.auth.isharecontainer[d]);}for(var ab in addthis.auth.lockiframe){addthis.auth.lockiframe[ab]=false;}h();addthis.auth.authupdated=false;return false;}function g(){addthis.auth.authupdated=false;_ate.share.ocw("//"+_atd+"user/auth",710,620);setTimeout(function(){Z();},1000);return false;}function V(){_ate.share.ocw("//"+_atd+"user/settings",710,620);}function x(d){if(d.cmd=="authUpdated"){addthis.auth.authchecked=true;i(d.username,d.profileImg);T(d.fb,d.tw,d.fbaccts,d.twaccts,d.imgs);if(d.email!=""){if(G._atw&&_atw.conf){_atw.conf.ui_email_from=d.email;}if(G.addthis_config){G.addthis_config.ui_email_form=d.email;}}}else{if(d.cmd=="userAuthed"){addthis.auth.authchecked=true;addthis.auth.user=d.username||"";addthis.auth.user=addthis.auth.user.replace("+"," ");addthis.auth.userimg=d.profileImg||"";T(d.fb,d.tw,d.fbaccts,d.twaccts,d.imgs);if(d.email!=""){if(G._atw&&_atw.conf){_atw.conf.ui_email_from=d.email;}if(G.addthis_config){G.addthis_config.ui_email_form=d.email;}}}}}function T(ac,ad,ab,w,d){}function h(){addthis.auth.fbishare=false;addthis.auth.twishare=false;var w=_ate.util.gebcn(s,"DIV","ishareactive",true,true);for(var d in w){P(w[d]);if(w[d]&&w[d].parentNode){w[d].parentNode.setAttribute("auth","false");}}b("","");}function b(ab,af){j();addthis.auth.user=ab.replace("+"," ");addthis.auth.userimage=af;var ai=S("atic_auth");if(ai==null){ai=W.ce("DIV");ai.id="atic_auth";al=S("at15pf");if(al&&al.parentNode){al.parentNode.insertBefore(ai,al);}}ai.innerHTML="";var d=null;if(ab==""){var al=S("at15pf");if(al){al.style.top="0px";}var d=W.ce("A");d.id="atic_signin";d.onclick=function(){return g();};var aj=W.ce("DIV");aj.id="at_auth";aj.innerHTML=a;d.appendChild(aj);d.onmouseover=function(){};d.onmouseout=function(){};}else{var d=W.ce("DIV");d.id="at_auth";var ad=aa;if(af!=""&&(W.location.protocol.indexOf("https")==-1||af.indexOf("https")==0)){ad=af;}ab=ab.replace("+"," ");if(ab.length>15){ab=ab.substr(0,15)+"...";}var ag=W.ce("A");ag.id="atic_usersettings";ag.onclick=function(){return V();};ag.title="Signed in as "+ab;d.appendChild(ag);var w=W.ce("IMG");w.src=ad;ag.appendChild(w);var ah=W.ce("A");ah.id="atic_usersettings";ah.onclick=function(){return V();};ah.title="AddThis "+v;d.appendChild(ah);var ac=W.ce("SPAN");ac.innerHTML=v;ah.appendChild(ac);var ae=W.ce("A");ae.id="atic_usersignout";ae.onclick=function(){return y("menu");};ae.style.display="none";ae.innerHTML=H;d.appendChild(ae);ai.onmouseover=function(){B("atic_usersignout");};ai.onmouseout=function(){P("atic_usersignout");};}ai.appendChild(d);P("atic_settings");var ak=S("at3winssi");if(ak){addthis.auth.generateProfile(ak,"at");}}function Z(){if(addthis.auth.authupdated){return;}_ate.track.msg("cmd=auth");}function i(ae,ab){var w=S("atic_auth"),ac=S("atic_usersettings"),ad=S("atic_signin"),d=S("at3winssi");if(w==null||(ae==""&&ac!=null)||(ae!=""&&ad!=null)||(ae!=""&&d!=null)){addthis.auth.authupdated=true;b(ae,ab);}else{setTimeout(function(){Z();},1000);}}function I(d){return(/(http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/).test(d);}function K(w){if(w.split("@").length!=2||w.indexOf(".")==-1||w.length>256){return false;}var d=new RegExp("^[a-z0-9,!#$%&'*+/=?^_`{|}~-]+(.[a-z0-9,!#$%&'*+/=?^_`{|}~-]+)*@[a-z0-9-]+(.[a-z0-9-]+)*.([a-z]{2,})$");return String(w.toLowerCase()).search(d)!=-1;}function O(w){var ac=new Array();o:for(var ab=0;abd){w.value=w.value.substring(0,d);}}function D(w,ab,d){if(w.length>ab){w=w.slice(0,ab-1);if(d){if(w[w.length-1]!=d){w.push(d);}}}return w;}function p(d){if(d._e){return true;}for(var w in d){if(w!="_e"&&d.hasOwnProperty(w)){delete d._e;return false;}}d._e=1;return true;}function S(d){if(typeof(d)=="string"){d=document.getElementById(d);}return d;}function f(d){return"";}function U(ac,d,ab,w){return"
";}function q(ab,w,d){return"";}function M(d,ab,w){if(!ab){ab="";}return"";}function C(ab,w,d){ab=S(ab);if(ab&&ab.style){ab.style[w]=d;}}function P(ab,d,w){if(!w){C(ab,"display","none");}if(d){C(ab,"visibility","hidden");}}function B(ab,d,w){if(!w){C(ab,"display","block");}if(d){C(ab,"visibility","visible");}}function t(d,w){d=S(d);if(d){if(!d.className){d.className=w;}else{if(d.className.indexOf(w)==-1){d.className+=" "+w;}}}}function m(d,w){d=S(d);if(d){if(!d.className){return;}if(d.className.indexOf(w)!=-1){d.className=d.className.split(w).join(" ");}}}function J(d,w){d=S(d);if(d){if(!d.className){return false;}return(d.className.indexOf(w)!=-1);}}function F(d,w){d=S(d);return(d&&d.parentNode&&(d.parentNode.className||"").indexOf(w)>-1);}function R(ab,d){C(ab,"width",d+"px");}function E(ab,d){C(ab,"height",d+"px");}function e(d){d=S(d);if(d){return d.style.display=="block";}return false;}function z(ad){var af=W.documentElement,w=W.body,ab=0,ac=0,ae=0,d=0;if(ad){if(G.innerHeight&&G.scrollMaxY){ab=w.scrollWidth;ac=G.innerHeight+G.scrollMaxY;}else{if(w.scrollHeight>w.offsetHeight){ab=w.scrollWidth;ac=w.scrollHeight;}else{ab=w.offsetWidth;ac=w.offsetHeight;}}}if(G.self&&G.self.innerHeight){ae=G.self.innerWidth;d=G.self.innerHeight;}else{if(af&&af.clientHeight){ae=af.clientWidth;d=af.clientHeight;}else{if(w&&(w.clientWidth||w.clientHeight)){ae=w.clientWidth;d=w.clientHeight;}else{if(w){ae=w.clientWidth;d=w.clientHeight;}}}}return[(ad!==true||ab13,chr:/chrome/.test(ua)&&!(/rockmelt/.test(ua)),cho:/chrome\/(1[2345678]|2\d)/.test(ua),iph:/iphone/.test(ua)||(/ipod/.test(ua)),dro:/android/.test(ua),wph:/windows phone/.test(ua),ipa:/ipad/.test(ua),saf:/safari/.test(ua)&&!(/chrome/.test(ua)),opr:/opera/.test(ua),ffx:/firefox/.test(ua),ff2:/firefox\/2/.test(ua),ffn:/firefox\/((3.[6789][0-9a-z]*)|(4.[0-9a-z]*))/.test(ua),ie6:/msie 6.0/.test(ua),ie7:/msie 7.0/.test(ua),ie8:/msie 8.0/.test(ua),ie9:/msie 9.0/.test(ua),ie10:/msie 10.0/.test(ua),ie11:/trident\/7.0/.test(ua),msi:(/msie/.test(ua))&&!(/opera/.test(ua)),mob:/(iphone|ipod|ipad|android|mobi|blackberry|opera mini|silk)/.test(ua),mod:-1},_a={rev:"126596",bro:b,wlp:(l||{}).protocol,dl:dl,unj:w.JSON&&typeof w.JSON.parse=="function"&&typeof w.JSON.stringify=="function",upm:!!w.postMessage&&(""+w.postMessage).toLowerCase().indexOf("[native code]")!==-1,uls:(function(){try{var _b="addthis-test",_c=window.localStorage;_c.setItem(_b,"1");_c.removeItem(_b);return _c!=null;}catch(error){return false;}}()),bamp:_atc.bamp-Math.random(),camp:_atc.camp-Math.random(),damp:_atc.damp-Math.random(),cscs:_atc.cscs-Math.random(),sfmp:_atc.sfmp-Math.random(),xamp:_atc.xamp-Math.random(),vamp:_atc.vamp-Math.random(),tamp:_atc.tamp-Math.random(),pamp:_atc.pamp-Math.random(),ab:"-",inst:1,wait:500,tmo:null,sub:!!window.at_sub,dbm:0,uid:null,api:{},imgz:[],hash:window.location.hash};d.ce=d.createElement;d.gn=d.getElementsByTagName;window._ate=_a;_a.evl=function(_d,_e){if(_e){var _f;eval("evl = "+_d);return _f;}else{return eval(_d);}};function reduce(o,fn,acc,cxt){if(!o){return acc;}if(o instanceof Array||(o.length&&(typeof o!=="function"))){for(var i=0,len=o.length,v=o[0];i-1||v.indexOf(eq||"=")>-1){v=_56(v,del||"&",eq||"=");}if(k){acc[k]=v;}}catch(e){}return acc;},{});},_5f=function(q,del){return reduce((q||"").split(del||"&"),function(acc,_63){try{var kv=_63.split("="),k=_3b(_duc(kv[0])),v=_3b(_duc(kv.slice(1).join("=")));if(k){acc[k]=v;}}catch(e){}return acc;},{});},_67=function(obj){if(null==obj||"object"!=typeof obj){return obj;}if(obj instanceof Object){var s="";for(var _6a in obj){if(obj.hasOwnProperty(_6a)){s+=((s.length>0)?",":"")+obj[_6a];}}return s;}return null;},_6b=function(){var _6c=_39(arguments,0),fn=_6c.shift(),_6e=_6c.shift();return function(){return fn.apply(_6e,_6c.concat(_39(arguments,0)));};},_6f=function(un,obj,evt,fn){if(!obj){return;}if(obj.attachEvent){obj[(un?"detach":"attach")+"Event"]("on"+evt,fn);}else{obj[(un?"remove":"add")+"EventListener"](evt,fn,false);}},_74=function(obj,evt,fn){_6f(0,obj,evt,fn);},_78=function(obj,evt,fn){_6f(1,obj,evt,fn);},_7c=function(s){return(s.match(/(([^\/\/]*)\/\/|\/\/)?([^\/\?\&\#]+)/i))[0];},_7e=function(s){return s.replace(_7c(s),"");},_80=function(obj){if(null==obj||"object"!=typeof obj){return obj;}if(obj instanceof Object){var _82={};if(typeof(obj.hasOwnProperty)=="function"){for(var _83 in obj){if(_82[_83]===obj){continue;}if(obj.hasOwnProperty(_83)&&obj[_83]!==_1){_82[_83]=_80(obj[_83]);}}}return _82;}return null;},_84=function(url){if(!url){return;}var _86,_87;if(url.search(/(?:\:|\/\/)/)!==-1){return url;}if(url.search(/^\//)!==-1){return window.location.origin+url;}if(url.search(/(?:^\.\/|^\.\.\/)/)!==-1){_86=/\.\.\//g;var _88=(url.search(_86)===0&&url.match(_86).length)||1,loc=window.location.href.replace(/\/$/,"").split("/");console.log(_88+", "+url.match(_86).length);url=url.replace(_86,"").replace(_87,"");return loc.slice(0,loc.length-_88).join("/")+"/"+url;}return window.location.href.match(/(.*\/)/)[0]+url;},_8a=function(){var _8b=function(_8c){var el,id,tag,_90;tag=_8c.match(/^(\w+)(?:#|.|$)/);tag=tag?tag[1]:"div";el=document.createElement(tag);id=_8c.match(/#[\w][\w-]*/);if(id){id=id[0].replace(/#/,"");el.setAttribute("id",id);}_90=_8c.match(/\.[\w][\w-]*/g);if(_90){_90=_90.join(" ").replace(/\./g,"");el.className=_90;}return el;};return function(_91){if(!_91){return;}var i,_93,val,el,_96,_97,_98,obj,_9a,_9b;for(i in _91){_93=i;break;}val=_91[_93];el=_8b(_93);if(val&&typeof val==="object"&&"length"in val){for(i in val){if(typeof val.hasOwnProperty!=="undefined"&&!val.hasOwnProperty(i)){continue;}var c=_8a(val[i]);el.appendChild(c);}return el;}_97=_91[_93];_9a=["a","b","body","br","div","em","font","head","h","p","span","button","h1","h2","h3","h4"];_9b=function(_9d){if(typeof _9a.indexOf==="function"){return _9a.indexOf(_9d)>-1;}for(var i in _9a){if(_9d===_9a[i]){return true;}}return false;};if(typeof _97==="string"){el.appendChild(document.createTextNode(_97));}else{for(var _96 in _97){if(_97.hasOwnProperty(_96)){_98=_97[_96];if(typeof _98==="string"&&_96.indexOf(".")<0&&(_96.indexOf("#")<0||_96.length===1)&&!_9b(_96.toLowerCase())){if(_96==="html"){el.appendChild(document.createTextNode(_98));}else{if(_96==="style"&&(_a.bro.ie6||_a.bro.ie7||(_a.bro.msi&&d.compatMode.toLowerCase()==="backcompat"))){var _9f=_98.split(";"),x=-1,_a1,_a2,_a3;while(++x<_9f.length){_a1=_9f[x];_a2=_a1.substring(0,_a1.indexOf(":"));_a3=_a1.substring(_a1.indexOf(":")+1,_a1.length);if(_a2&&_a3){try{el.style[_a2]=_a3;}catch(e){}}}}else{el.setAttribute(_96,_98);}}}else{if(_96=="children"){for(var c in _98){el.appendChild(_8a(_98[c]));}}else{if((_98||{}).test===false){continue;}obj={};obj[_96]=_98;_98=_8a(obj);el.appendChild(_98);}}}}}return el;};}(),_a4=function(obj){var _a6;for(_a6 in obj){if(obj.hasOwnProperty(_a6)){return false;}}return true;},_a7=function(obj){var str=[];for(var p in obj){str.push(_euc(p)+"="+_euc(obj[p]));}return str.join("&");},_ab={unqconcat:_33,reduce:reduce,slice:_39,strip:_3b,extend:_41,toKV:_50,toJSON:_3d,fromJSON:_3f,rtoKV:_49,fromKV:_5f,rfromKV:_56,otoCSV:_67,bind:_6b,listen:_74,each:_1c,map:map,unlisten:_78,gUD:_7c,gUQS:_7e,clone:_80,mrg:mrg,rel2abs:_84,json2html:_8a,isEmptyObj:_a4,serialize:_a7,misc:{}};_a.util=_ab;_41(_a,_ab);var u=_a.util;(function(j,l,m){var h,e=w.JSON&&"function"==typeof JSON.stringify,p=j.util;function k(s,r,u,q,t){this.type=s;this.triggerType=r||s;this.target=u||q;this.triggerTarget=q||u;this.data=t||{};this.serialize=function(){if(e){var v=p.extend({},this.data);v.element=null;return JSON.stringify({remoteEvent:{data:v,type:this.type,triggerType:this.triggerType,target:{},triggerTarget:{}}});}return"";};}p.extend(k.prototype,{constructor:k,bubbles:false,preventDefault:p.noop,stopPropagation:p.noop,clone:function(){return new this.constructor(this.type,this.triggerType,this.target,this.triggerTarget,p.extend({},this.data));}});function f(q,r){this.target=q;this.queues={};this.remoteDispatcher=null;this.remoteFilter=null;this.defaultEventType=r||k;}function a(q){var r=this.queues;if(!r[q]){r[q]=[];}return r[q];}function i(q,r){this.getQueue(q).push(r);}function o(r,q){if(r&&r.postMessage){this.remoteDispatcher=r;this.remoteFilter=q;}}function d(s,t){var u=this.getQueue(s),r=typeof u==="string"?u.indexOf(t):-1;if(r!==-1){u.splice(r,1);}}function b(q,u,t,s){var r=this;if(!s){setTimeout(function(){r.dispatchEvent(new r.defaultEventType(q,q,u,r.target,t));},10);}else{r.dispatchEvent(new r.defaultEventType(q,q,u,r.target,t));}}function n(s){for(var t=0,x=s.target,u=this.getQueue(s.type),r=u.length;t-1){r.onReady();return;}if(b.msi&&!b.ie9&&window==top){(function(){if(r.isReady){return;}try{d.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}r.onReady();})();}if(b.opr){d.addEventListener("DOMContentLoaded",function(){if(r.isReady){return;}for(var i=0;i=152)?300:_atc.ver;};b.rsu=function(){var j=document,h=j.title,e=j.location||{},g=e.href,f=g.split("#"),i=f.pop();if(_a.track.ich(i)){g=f.join("#");}if(b.ver()>=250&&addthis_share.imp_url&&g&&g!=w.addthis_share.url){w.addthis_share.url=w.addthis_url=g;w.addthis_share.title=w.addthis_title=h;return 1;}return 0;};b.igv=function(e,f){if(!w.addthis_config){w.addthis_config={username:w.addthis_pub};}else{if(addthis_config.data_use_cookies===false){_atc.xck=1;}}if(!w.addthis_share){w.addthis_share={};}if(!addthis_share.url){if(!w.addthis_url&&addthis_share.imp_url===_1){addthis_share.imp_url=1;}addthis_share.url=(w.addthis_url||e||"").split("#{").shift();}if(!addthis_share.title){addthis_share.title=(w.addthis_title||f||"").split("#{").shift();}};if(!_atc.ost){if(!w.addthis_conf){w.addthis_conf={};}if(l&&(l.href.indexOf("_at_test300")>-1||l.href.indexOf("_addthis_upgrade_test")>-1)){_atc.ver=300;}for(var a in addthis_conf){_atc[a]=addthis_conf[a];}_atc.ost=1;}})(_a,_a.api,_a);(function(g,j,k){var c=w.console,n=0,o=1,a=(!c||typeof c.log==="undefined"),p=n,b=Array.prototype.slice,f=["error","warn","info","debug"],h=f.length;function d(){if(p&&_a.bro.ie6){alert(Array.prototype.slice.call(arguments,0).join(","));}}try{if(!a&&(!o||l.hash.indexOf("atlog=1")>-1)){n=1;}}catch(m){}g.log={level:n};while(--h>=0){(function(e,q){g.log[q]=a?function(){return;}:function(){if(g.log.level<=0){return;}var s=b.call(arguments),r=((((arguments||{}).callee||{}).caller||{}).name),i=typeof c[q]==="function"?c[q]:c.log;if(r){s.unshift(r+": ");}s.unshift("["+q+"]");if(c&&typeof i=="function"){if(c.firebug){i.apply(w,s);}else{if(typeof i.apply=="function"){try{i.apply(c,s);}catch(t){i("failed apply");i(s);}}else{i(s);}}}else{if(!Function.prototype.bind&&typeof c.log=="object"){Function.prototype.call.call(c.log,c,b.call(arguments));}}};})(h,f[h]);}})(_a,_a.api,_a);(function(b,f,c){var h,g=document,a=b.util;b.ckv=a.fromKV(g.cookie,";");function e(d){return a.fromKV(g.cookie,";")[d];}if(!b.cookie){b.cookie={};}b.cookie.rck=e;})(_a,_a.api,_a);(function(a,b,e){var h=document,l=window,g=0;function i(){if(g){return 1;}j("xtc",1);if(1==a.cookie.rck("xtc")){g=1;}f("xtc",1);return g;}function c(o){var m,q,d,n=o||_a.dh||_a.du||(_a.dl?_a.dl.hostname:"");if(n.indexOf(".gov")>-1||n.indexOf(".mil")>-1){return true;}q=typeof(a.pub)==="function"?a.pub():a.pub;d=["usarmymedia","govdelivery"];for(m in d){if(q==d[m]){return true;}}return false;}function k(d){if(_atc.xck){return;}else{if(c(d)){_atc.xck=1;}}}function f(m,d){if(h.cookie){h.cookie=m+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/"+(d?"; domain="+(a.bro.msi?"":".")+"addthis.com":"");}}function j(o,n,p,d,m){if(!l.at_sub){k();}if(!_atc.xck&&(!d||(l.addthis_config||{}).data_use_cookies_ondomain!==false)&&(l.addthis_config||{}).data_use_cookies!==false){if(!m){m=new Date();m.setYear(m.getFullYear()+2);}document.cookie=o+"="+n+(!p?"; expires="+m.toUTCString():"")+"; path=/;"+(!d?" domain="+(a.bro.msi?"":".")+"addthis.com":"");}}if(!a.cookie){a.cookie={};}a.cookie.sck=j;a.cookie.kck=f;a.cookie.cww=i;a.cookie.gov=k;a.cookie.isgv=c;})(_a,_a.api,_a);(function(e,u,v){var g,n={high:4,med:2},m=(document.location.href.indexOf("addthis.com")>-1),p=10,h=20,o=(!m?"__at":"")+"ssc",s={},c=false,q=[],b=0,d,x=0;function y(){b=0;s={};q=[];}function j(z){if(z>n.high){return 3;}else{if(z>n.med){return 2;}}return 1;}function a(){var A=[],z;l();for(z in s){A.push({name:z,score:j(s[z])});}A.sortOn(function(C,B){return C.score>B.score?1:-1;});return A;}function f(){l();var A={},z;for(z in s){A[z]=j(s[z]);}return A;}function l(){if(!b){var z=(e.cookie.rck(o)||"").split(","),B,D,C,A;for(B=0,ssc_len=z.length;Bx){x=C;d=A;}}b=1;}}function t(z){return s.hasOwnProperty(z);}function k(){var z=false,B,A=(e.cookie.rck("sshs")||"").split(",");while(z===false&&A.length!=0){B=A.pop();if(s.hasOwnProperty(B)&&s[B]==Math.min(s)){z=B;}}if(z===false){z=q.pop();}delete s[z];}function i(){var B={},z=[],A;for(A in s){if(s.hasOwnProperty(A)){if((s[A]/2)>=1){B[A]=parseInt(s[A]/2);z.push(A);}}}s=B;q=z;}function w(z){l();if(typeof(z)!=="string"){return false;}z=z.replace(/_[a-zA-Z0-9]*/i,"");if(c===false){c=true;if((q.length+1)>=p&&!t(z)){k();}if(!t(z)){s[z]="1";}else{s[z]++;}if(s[z]>=h){i();}var A=r(s);e.cookie.sck(o,escape(A),false,!m);}}function r(B){var z=[],A,C;if(typeof B!=="object"){return false;}for(C in B){if(C.length>1){z.push(C+";"+B[C]);}}A=z.join(",");return A;}if(!e.cookie){e.cookie={};}e.cookie.ssc={reset:y,get:f,getServices:a,update:w};})(_a,_a.api,_a);(function(c,f,d){var b=new Date(),e="__at",h="|",a="/";function g(o,n){var j=this,m=0,l=0,i=!!n,k=(i?e:"")+o;keys={};this.toString=function(){var p="";_a.util.each(keys,function(r,q){p+=(p.length?h:"")+_euc(r)+a+((q===_1||q===null)?"":_euc(q));});return p;};this.get=function(){j.load();return keys;};this.load=function(){if(!m){var p=c.cookie.rck(k)||"",r="";if(p){var q=p.split(h);_a.util.each(q,function(t,s){r=s.split(a);if(r.length==2){l++;keys[_duc(r[0])]=_duc(r[1]);}});}m=1;}return keys;};this.save=function(){this.load();if(l){c.cookie.sck(k,j.toString(),i,i);}else{c.cookie.kck(k);}};this.add=function(p,q){j.load();l++;keys[p]=q;j.save();};this.remove=function(p){j.load();if(keys[p]){delete keys[p];l--;}j.save();};this.reset=function(){keys={};l=0;j.save();};}c.cookie=c.cookie||{};c.cookie.KV=g;})(_a,_a.api,_a);(function(f,i,k){var d=new Date(),b="__attag",o="|",l=",",m=0,e=0,q=[];function a(){return q.join(l);}function h(){if(!m){var r=f.cookie.rck(b)||"";if(r){q=(_duc(r)).split(l);}m=1;}}function n(){h();if(q.length){f.cookie.sck(b,_euc(a()),0,true);}}function c(){h();return q;}function p(r){h();if(typeof(r)=="string"){r=[r];}for(var t=0;t=0?x:x+7);y=Math.floor((A.getTime()-z.getTime()-(A.getTimezoneOffset()-z.getTimezoneOffset())*60000)/86400000)+1;if(x<4){B=Math.floor((y+x-1)/7)+1;if(B>52){nYear=new Date(A.getFullYear()+1,0,1);nday=nYear.getDay(A);nday=nday>=0?nday:nday+7;B=nday<4?1:53;}}else{B=Math.floor((y+x-1)/7);}return B;}function c(B,z,A){for(var y=0;y=51){x=1;}B.push("0"+l+x);}}function w(){if(!n){var x=e(u);k();g(x);n=1;}}function g(y){var x,z;if(!i.length){i.push("1"+l+y);}else{x=i[i.length-1];z=parseInt(x.split(l).pop(),10);if(z==y){i[i.length-1]=(parseInt(x.split(l).shift(),10)+1)+l+y;}else{if(z+1==y||z>=51){i.push("1"+l+y);}else{if(zy){i=[];i.push("1"+l+y);}}}}if(i.length>5){i.slice(-5);}}}function a(x){u=x;}function r(x){k();if(i.length){d.cookie.sck(m,_euc(j()),0,x);}}function h(x){k();w();r(x);}function t(){var y=[];k();for(var x=0;xf.high){return 3;}else{if(z>f.med){return 2;}else{if(z>n){return 1;}else{return 0;}}}}function v(){b=0;n=0;i=[];}d.cookie=d.cookie||{};d.cookie.view={_sd:a,_inc:g,_name:m,reset:v,update:h,get:t,cla:o,toKV:j};})(_a,_a.api,_a);(function(e,u,v){var g,n={high:4,med:2},m=(document.location.href.indexOf("addthis.com")>-1),p=10,h=20,o=(!m?"__at":"")+"ssc",s={},c=false,q=[],b=0,d,x=0;function y(){b=0;s={};q=[];}function j(z){if(z>n.high){return 3;}else{if(z>n.med){return 2;}}return 1;}function a(){var A=[],z;l();for(z in s){A.push({name:z,score:j(s[z])});}A.sortOn(function(C,B){return C.score>B.score?1:-1;});return A;}function f(){l();var A={},z;for(z in s){A[z]=j(s[z]);}return A;}function l(){if(!b){var z=(e.cookie.rck(o)||"").split(","),B,D,C,A;for(B=0,ssc_len=z.length;Bx){x=C;d=A;}}b=1;}}function t(z){return s.hasOwnProperty(z);}function k(){var z=false,B,A=(e.cookie.rck("sshs")||"").split(",");while(z===false&&A.length!=0){B=A.pop();if(s.hasOwnProperty(B)&&s[B]==Math.min(s)){z=B;}}if(z===false){z=q.pop();}delete s[z];}function i(){var B={},z=[],A;for(A in s){if(s.hasOwnProperty(A)){if((s[A]/2)>=1){B[A]=parseInt(s[A]/2);z.push(A);}}}s=B;q=z;}function w(z){l();if(typeof(z)!=="string"){return false;}z=z.replace(/_[a-zA-Z0-9]*/i,"");if(c===false){c=true;if((q.length+1)>=p&&!t(z)){k();}if(!t(z)){s[z]="1";}else{s[z]++;}if(s[z]>=h){i();}var A=r(s);e.cookie.sck(o,escape(A),false,!m);}}function r(B){var z=[],A,C;if(typeof B!=="object"){return false;}for(C in B){if(C.length>1){z.push(C+";"+B[C]);}}A=z.join(",");return A;}if(!e.cookie){e.cookie={};}e.cookie.ssc={reset:y,get:f,getServices:a,update:w};})(_a,_a.api,_a);(function(e,h,f){var d=e.util,a={},c={};if(!e.cbs){e.cbs={};}function b(j,l,k,o,m,i){var n=_a.util.scb("sc",j,o,m,i);_a.ajs(j+"&callback="+n,1);}function g(l,k,o,m,i){k=(_euc(k)).replace(/[0-3][A-Z]|[^a-zA-Z0-9]/g,"").toLowerCase();a[k]=a[k]||0;var j=a[k]++,n=l+"_"+k+(!i?j:"");if(!_a.cbs[n]){_a.cbs[n]=function(){if(c[n]){clearTimeout(c[n]);}o.apply(this,arguments);};}_a.cbs["time_"+n]=(new Date()).getTime();if(m){clearTimeout(c[n]);c[n]=setTimeout(m,10000);}return"_ate.cbs."+_euc(n);}d.scb=g;d.msc=b;})(_a,_a.api,_a);(function(c,f,e){var h={},g={};function b(l,m){var j=291;if(l){for(var k=0;kh[s].getTime()+3000)){h[s]=l;}else{return g[s];}var q=j.offsetTop,k=j.offsetLeft,i=j.offsetWidth,t=j.offsetHeight,n=w.pageYOffset?w.pageYOffset:d.documentElement.scrollTop,o=w.pageXOffset?w.pageXOffset:d.documentElement.scrollLeft,m=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth,p=0;while(j.offsetParent){j=j.offsetParent;q+=j.offsetTop;k+=j.offsetLeft;if(++p>100){break;}}g[s]=(q<(n+m)&&k<(o+r)&&(q+t)>n&&(k+i)>o);return g[s];}c.mun=b;c.ivz=a;})(_a,_a.api,_a);(function(d,e,h){var c,m=d.util,k=4294967295,b=new Date().getTime();function i(){return((b/1000)&k).toString(16)+("00000000"+(Math.floor(Math.random()*(k+1))).toString(16)).slice(-8);}function a(n){return l(n)?(new Date((parseInt(n.substr(0,8),16)*1000))):new Date();}function j(n){var o=a();return((o.getTime()-1000*86400)>(new Date()).getTime());}function g(n,p){var o=a(n);return(((new Date()).getTime()-o.getTime())>p*1000);}function l(n){return n&&n.match(/^[0-9a-f]{16}$/)&&!j(n);}function f(n){return l(n)&&n.match(/^0{16}$/);}m.cuid=i;m.ivc=l;m.iooc=f;m.ioc=g;})(_a,_a.api,_a);(function(c,f,e){function b(g){if(!g){return"";}else{if(g.indexOf("%")>-1){g=_duc(g);}}if(g.indexOf(",")>-1){g=g.split(",")[1];}g=_a.util.atob?_a.util.atob(g):(typeof window.atob=="function"?window.atob(g):"");return g;}function d(h){var j={},g,i;h=h.toUpperCase();j.zip=h.substring(0,5);j.continent=h.substring(5,7);j.country=h.substring(7,9);j.region=h.substring(9,11);g=h.substring(11,15);if(g!="0000"){j.lat=(parseInt(g)/10-180).toFixed(1);}i=h.substring(15,19);if(i!="0000"){j.lon=(parseInt(i)/10-180).toFixed(1);}j.dma=h.substring(19,22);j.msa=h.substring(22,26);j.network_type=h.substring(26,27);j.throughput=h.substring(27,28);return j;}function a(j,k){var h,g;j=j.toUpperCase().split(",");for(h=0;h-1&&!j[p]){j[p]=1;r(h(b[o].src));}}}function a(r){var q=_a.mun((r.adurl||"")+(r.adev||""));if(j[q]){return;}j[q]=1;if(r.adurl&&typeof(r.adurl)=="string"){_a.pixu=r.adurl;e=1;}if(r.adev&&typeof(r.adev)=="string"){var o=r.adev;try{o=_duc(o);}catch(p){}o=o.split(";");e=1;_a.ed.addEventListener("addthis-internal.data.uid",function(){for(var u=0;u-1&&!o?r.replace(/^[^\#]+\#?|^\#?/,""):r.replace(/^[^\?]+\??|^\??/,""),u=c.util.fromKV(t);return u;}function g(){var o=d.getElementsByTagName("script");return o[o.length-1];}function k(o){if(l[o]){return l[o];}else{var q=document.gn("script");for(var p=0;p-1){return q[p];}}}return null;}function n(u){var q=document.gn("script"),v=q.length,r=q[v-1],t=h(r.src);if(u||(r.src&&r.src.indexOf("addthis")==-1)){for(var o=0;o-1){l[q[o].src.split(".").slice(-2).shift()]=q[o];t=h(q[o].src);break;}}}return t;}if(!c.util){c.util={};}c.util.gsp=n;c.util.gst=k;c.util.gtt=g;c.util.ghp=h;c.util.pae=a;c.util.pas=m;})(_a,_a.api,_a);(function(e,g,f){var d=e.util,b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=";function a(k){var j="",n,l,h,p,o,m=0;if(/[0-9a-fA-F]+/.test(k)){while(m>2));o=((l&3)<<4)|h;j+=b.charAt(p)+(isNaN(h)?"":b.charAt(o));}}return j;}function c(k){var j="",n,l,h,p,o,m=0;while(m=k.length?NaN:b.indexOf(k.charAt(m++));n=p>>2;l=isNaN(o)?(p&3):(((p&3)<<2)|(o>>4));h=o&15;j+=n.toString(16)+l.toString(16)+(isNaN(o)?"":h.toString(16));}return j;}d.hbtoa=a;d.atohb=c;})(_a,_a.api,_a);(function(d,e,f){var l=d.util,a={};function c(m){return(typeof document.querySelectorAll=="function")?document.querySelectorAll(m)||[]:[];}function k(q){var n=(q||{}).childNodes,p,m=q.textContent||q.innerText||"",o=/^\s*$/;if(!m){if(!n){return"";}for(p=0;p-1){q.push(p);}}}else{v=v.replace(/\-/g,"\\-");var n=new RegExp("\\b"+v+(t?"\\w*":"")+"\\b");for(s=0;s=9)||(document.querySelectorAll&&typeof(document.querySelectorAll)=="function"&&(!_a.bro.msi||document.documentMode>=8)))?b:g;l.gebcn=g;l.select=h;l.parent=i;l.qsa=c;l.gettxt=k;})(_a,_a.api,_a);var _234=function(a){a=a.slice(1).split("&");var c={},b;u.each(a,function(f,d){b=d.split("=");if(b.length>1){c[b[0]]=b[1];}});return c;},_239=A.params=_234(l.search);u.misc.makeParams=_234;if("at_tags"in _239){_239.at_tag=_239.at_tags;}if("at_tag"in _239){_6.user.ready(function(){_a.cookie.tag.add(_6.params.at_tag);});}if("at_welcome"in _239){if(!_duc(_239.at_welcome).match(/\{/)){_6.welcome_rule=_duc(_239.at_welcome);}else{try{_6.bar.initialize(_duc(_239.at_welcome));}catch(e){}}}_6.tip=function(e){if(typeof e!=="object"||!("target"in e&&"text"in e)){return;}var a=".addthis.tip{position:absolute;z-index:20;} .addthis.tip .tip-body {position:relative;border:1px solid #ECE3E3;width:240px;box-shadow: 0px 0px 2px 0px #999;background-color:#F3F3F3;top:20px;} .addthis.tip .tip-body p {margin:1.5em;font-size:13px;font-family:arial;z-index:10;} .addthis.tip .tip-point {position:absolute;width:38px;height:20px;top:4px;margin:auto;width:240px;background-image:url('http://cache.addthiscdn.com/downloads/img/surface/tip-pnt0.png');background-repeat:no-repeat;background-position:center; z-index:13;}";if(a){var d={style:{type:"text/css"}};if(!_a.bro.ie){d.style.html=a;}var c=_a.util.json2html(d);document.getElementsByTagName("head")[0].appendChild(c);if(_a.bro.ie){c.styleSheet.cssText=a;}}var b=_a.util.json2html({"div.addthis.tip":[{"div.tip-point":""},{"div.tip-body":{p:e.text}}]});document.getElementsByTagName("body")[0].appendChild(b);target=e.target;b.style.left=target.offsetLeft+target.offsetWidth/2-b.offsetWidth/2+"px";b.style.top=target.offsetTop+target.offsetHeight+"px";return b;};(function(a,c,b){if(!a.ad){a.ad={};}_a.extend(a.ad,{type:{NOOP:-1,CLICK:50,VIEW:100,POP:200,COPY:250,SHARE:300,FOLLOW:350,COMMENT:375,UID:1000,CUSTOM:2000}});})(_a,_a.api,_a);(function(c,e,h){var f="_ati",i="_at.";c.data=c.data||{};c.data.storage={all:g,clear:n,add:o,get:a,remove:d,exists:k,preRemove:l};var m=b();function b(){if(!_a.uls){return false;}var q=i+Math.floor(Math.random()*100);try{localStorage.setItem(q,1);localStorage.removeItem(q);return(_a.uls=true);}catch(p){return(_a.uls=false);}}function a(p){if(!m){return;}return window.localStorage.getItem(i+p);}function o(q,p){if(!m){return;}var r=i+q;try{window.localStorage[r]=p;}catch(s){if(s.name==="QUOTA_EXCEEDED_ERR"){n();try{window.localStorage[r]=p;}catch(s){}}}}function j(p){if(!p||typeof p!=="function"){return;}_a.util.each(window.localStorage,function(s){var r=window.localStorage.key(s),q=window.localStorage.getItem(r);p(r,q);});}function g(p){var q={};if(!m){return;}j(function(s,r){if(s&&s.indexOf&&s.indexOf(i+(p||""))===0){q[s]=r;}});return q;}function k(q){var p=0;j(function(s,r){if(s&&s.indexOf&&s.indexOf(i+(q||""))===0){p++;}});return p>0;}function n(){j(function(q,p){if(q.indexOf(i)===0){window.localStorage.removeItem(q);}});}function l(q){var p=g();_a.util.each(p,function(s,r){if(s.indexOf(i+q)===0){window.localStorage.removeItem(s);}});}function d(p){if(!m){return;}var q=i+p;window.localStorage.removeItem(p);}})(_a,_a.api,_a);(function(c,e,h){c.data=c.data||{};c.data.bloom={filter:g};var f=c.data.storage;var a=typeof ArrayBuffer!=="undefined";function g(p,q,u,j){var v;if(typeof p!=="number"){v=p,p=v.length*32;}this.m=p;this.k=q;var l=Math.ceil(p/32),s=-1;if(a){var w=1<>1)&1431655765;j=(j&858993459)+((j>>2)&858993459);return((j+(j>>4)&252645135)*16843009)>>24;}function d(k){var p=k.length,j=2166136261,o,m,l=-1;while(++l>24;j+=(j<<1)+(j<<4)+(j<<7)+(j<<8)+(j<<24);}if(m=o&16711680){j^=m>>16;j+=(j<<1)+(j<<4)+(j<<7)+(j<<8)+(j<<24);}if(m=o&65280){j^=m>>8;j+=(j<<1)+(j<<4)+(j<<7)+(j<<8)+(j<<24);}j^=o&255;j+=(j<<1)+(j<<4)+(j<<7)+(j<<8)+(j<<24);}j+=j<<13;j^=j>>7;j+=j<<3;j^=j>>17;j+=j<<5;return j&4294967295;}function b(j){j+=(j<<1)+(j<<4)+(j<<7)+(j<<8)+(j<<24);j+=j<<13;j^=j>>7;j+=j<<3;j^=j>>17;j+=j<<5;return j&4294967295;}})(_a,_a.api,_a);(function(d,f,h){var g=d.data.bloom.filter,l=d.data.storage,j=3,k="hbs",c=600,e=2;d.data.bloom.pfilter=b;d.data.bloom.library=i;function i(m,o,p){var r={},q;if(!m){return null;}this.name=m;this.get=function(s){if(_a.ich){return null;}return(r[s]=b(s));};this.isEmpty=function(){return(!(l.exists(this.name)));};this.add=function(s){if(!r[s]){this.get(s);this.prune();}return r[s];};this.contains=function(s){return!!l.get(this.name+"."+s);};function n(s){s=(s||"").split(".").pop();if(s.length!=4){return{};}else{return{m:parseInt(s.substr(0,2)),d:parseInt(s.substr(2,4))};}}this.prune=function(w){l.remove(this.name);var x=this.getCurrentBlooms(),w=Math.min(w||j,31),s=[],v=n(this.generateName()),t=v.m,u=v.d;_a.util.each(x,function(z,A){v=n(z);if(v.m){var y=v.m,B=v.d;if((y>t)||(y==t&&Bw||B<(31-w)))){l.remove(z);}else{s.push(z);}}});s.sort(function(z,y){if(parseInt(z)3){l.remove(s.pop());}};this.testAll=function(t){var v=false;if(!q){var u=this.getCurrentBlooms(),s=this;_a.util.each(u,function(w,x){if(!r[w]){r[w]=s.get(w);}});q=1;}_a.util.each(r,function(w,x){if(x&&x.test(t)){v=true;return false;}});return v;};this.generateName=function(){return((p||a).call(this,this.name));};this.getCurrentBlooms=function(){if(_a.ich){return[];}return(l.all(this.name));};}function a(o){var n=_atc._date||new Date(),m=n.getDate(),p=(n.getMonth()+1);if(p<10){p="0"+p;}if(m<10){m="0"+m;}return o+"."+(p+""+m);}function b(q,o,p,n,s){var t;q=q||"pbf";if(o&&p&&n&&s){t=new g(o,p,n,s);}else{if(o&&p){t=new g(o,p);}else{t=r(q);}}t.name=q;function r(y){if(_a.uls){var z=JSON.parse(l.get(y)||"{}"),v=parseInt(z.m)||c,x=parseInt(z.k)||e,w=z.l,u=z.b;return new g(v,x,w,u);}return null;}t.save=function(){if(_a.uls){var m={m:t.m,k:t.k,l:t._locations,b:t.buckets};l.add(t.name,JSON.stringify(m));}};t.remove=function(){l.preRemove(t.name);};return t;}})(_a,_a.api,_a);(function(f,t,w){var x=f,j=new Date().getTime(),s=function(){return Math.floor(Math.random()*4294967295).toString(36);},y=function(){return Math.floor((new Date().getTime()-j)/100).toString(16);},g=0,i=function(a){if(g===0){x.sid=g=(a||x.util.cuid());}return g;},d=null,c=function(a,z,A){if(d!==null){clearTimeout(d);}if(a){d=setTimeout(function(){z(!!A);},_a.wait);}},o=function(z,a){return _euc(z)+"="+_euc(a)+";"+y();},n=1,h=function(A,C){if(typeof A=="object"){A=_a.util.toKV(A);}var z=(A||"").split("?"),a=z.shift(),B=(z.pop()||"").split("&");return C(a,B);},k=function(a,z,B,A){if(!z){z={};}if(!z.remove){z.remove=[];}if(z.remove.push){z.remove.push("sms_ss");z.remove.push("at_xt");z.remove.push("at_pco");z.remove.push("fb_ref");z.remove.push("fb_source");}if(z.remove){a=v(a,z.remove);}if(z.clean){a=l(a);}if(z.defrag){a=e(a);}if(z.add){a=m(a,z.add,B,A);}return a;},m=function(B,D,C,z){var a={},A;if(D){for(A in D){if(B.indexOf(A+"=")>-1){continue;}a[A]=p(D[A],B,C,z);}D=_a.util.toKV(a);}return B+(D.length?((B.indexOf("?")>-1?"&":"?")+D):"");},p=function(A,z,B,a){return A.replace(/\{\{service\}\}/g,_euc(a||"")).replace(/\{\{code\}\}/g,_euc(a||"")).replace(/\{\{title\}\}/g,_euc((B||addthis_share).title)).replace(/\{\{url\}\}/g,_euc(z));},v=function(z,B){var a={},C=B||[],A;for(A=0;A-1){return a.split("#").shift();}else{z=a.split("#").slice(1).join("#").split(";").shift();if(z.split(".").length==3){z=z.split(".").slice(0,-1).join(".");}if(z.length==12&&z.substr(0,1)=="."&&(/[a-zA-Z0-9\-_]{11}/).test(z.substr(1))){return a.split("#").shift();}}return a;},l=function(a){if(!a.length){a="";}return h(a,function(A,D){var z=A.indexOf(";jsessionid"),E=[],B,C;if(z>-1){A=A.substr(0,z);}if(D){for(B in D){if(typeof(D[B])=="string"){C=(D[B]||"").split("=");if(C.length==2){if(C[0].indexOf("utm_")===0||C[0]=="gclid"||C[0]=="sms_ss"||C[0]=="at_xt"||C[0]=="fb_ref"||C[0]=="fb_source"){continue;}}if(D[B]){E.push(D[B]);}}}A+=(E.length?("?"+E.join("&")):"");}return A;});},b=function(){var a=(typeof(x.pub||"")=="function"?x.pub():x.pub)||"unknown";return"AT-"+a+"/-/"+x.ab+"/"+i()+"/"+(n++)+(x.uid!==null?"/"+x.uid:"");},r=function(B){B=B.split("/");var z=B.shift(),E=B.shift(),A=B.shift(),C=B.shift(),D=B.shift(),a=B.shift();if(A){x.ab=x.ab;}if(C){x.sid=g=C;}if(D){n=D;}if(a){x.uid=a;}},u=function(A){if(typeof A=="string"){A={url:A};}var a=A.url,B=A.params,z=A.js,E=A.rand,H=A.close,G=a+(B?"?"+(E?_a.track.ran():"")+"&"+B:"");x.log.debug("u="+G);if(z){_a.ajs(G,1);}else{if(H){var F=document,C=F.createElement("iframe");C.id="_atf";C.src=G;_a.opp(C.style);F.body.appendChild(C);C=F.getElementById("_atf");}else{var D=new Image();_a.imgz.push(D);D.src=G;}}};if(!_a.track){_a.track={};}f.util.extend(_a.track,{fcv:o,ran:s,rup:v,aup:m,cof:e,gof:q,clu:l,mgu:k,ssid:i,sta:b,uns:r,lpx:u,sxm:c});})(_a,_a.api,_a);(function(e,o,p){var q=document,t=".",k=";",g=".",f=t.length,l=0,s={wpp:1,blg:1};function b(d){if(!d){return 0;}if(d.charAt(0)=="#"){d=d.substr(1);}var u=d.split(";").shift();if(u.split(".").length==3){u=u.split(".").slice(0,-1).join(".");}if(u.length==12&&u.substr(0,1)=="."&&(/[a-zA-Z0-9\-_]{11}/).test(u.substr(1))){return 1;}return 0;}function n(d){return(d.length==(11+f)&&(d.substr(0,f)==t)&&(/[a-zA-Z0-9\-_]{11}/).test(d.substr(f)));}function r(R,P){if(!R){R=document.location;}if(!P){P=q.referer||q.referrer||"";}var Q,Y,H,W,K,C=0,D=0,M=R?R.href:"",J=(M||"").split("#").shift(),x=R.hash.substr(1),L=_a.util.ghp(R.search,1),N=_a.util.ghp(R.hash),G=N.at_st,U=N.at_pco,O=N.at_ab,T=N.at_pos,d=N.at_tot,y=L.sms_ss,F=L.fb_ref,u=L.at_xt,X,z=L.at_st,Z,V,E,I,A,v,S;if(!G){if(n(x)){Z=_a.util.atohb(x.substr(f));K=Z.substr(8,8);G=Z.substr(0,8)+"00000000,";G+=parseInt(Z.substr(16),10);}}if(F&&!G){V=g;I=F.split(V);if(I.length<2&&F.indexOf("_")>-1){V="_";I=F.split(V);}A=I.length>1?I.pop():"";v=I.join(V);if(!n(v)){v=F;A="";}if(n(v)){Z=_a.util.atohb(v.substr(f));u=Z.substr(0,16)+","+parseInt(Z.substr(16),10);y="facebook_"+(A||"like");}else{X=F.split("=").pop().split(g);if(X.length==2&&_a.util.ivc(X[0])){u=X.join(",");y="facebook_"+(A||"like");}}}G=(G&&_a.util.ivc(G.split(",").shift()))?G:"";if(!u){V=(x.indexOf(k)>-1)?k:g;E=x.substr(f).split(V);if(E.length==2&&n(x.substr(0,1)+E[0])){Z=_a.util.atohb(E[0]);u=Z.substr(0,16)+","+parseInt(Z.substr(16),10);y=E[1];C=1;}}if(U){H=U;}if(G){D=parseInt(G.split(",").pop())+1;Y=G.split(",").shift();}else{if(M.indexOf(_atd+"book")==-1&&J!=P){if(u){S=u.split(",");Q=_duc(S.shift());if(Q.indexOf(",")>-1){S=Q.split(",");Q=S.shift();}}else{if(z){S=z.split(",");W=_duc(S.shift());if(W.indexOf(",")>-1){S=W.split(",");W=S.shift();}}}if(S&&S.length){D=Math.min(3,parseInt(S.pop())+1);}}}if(!_a.util.ivc(Y)){Y=null;}if(!_a.util.ivc(W)){W=null;}y=(y||"").split("#").shift().split("?").shift();var B={ab:O||null,pos:T,tot:d,rsi:Y,cfc:H,hash:C,rsiq:W,fuid:K,rxi:Q,rsc:y,gen:D};return B;}function i(d){d=d||window.addthis_config;return!d||(d.data_track_clickback!==false&&d.data_track_linkback!==false);}function c(v,d){if(!d||(d.data_track_clickback!==false&&d.data_track_linkback!==false)){if(l){return true;}if(_a.ver()>=250){return(l=true);}v=(v||w.addthis_product||"").split(",");for(var u=0;u-1?u:u+"#"+h((v?d:d.substr(0,8)+_a.ad.gub()),(a.smd||{}).gen)+(v?g+v:"");}function m(v){var u,y,A,B,z,d,x;if(v.indexOf("#")>-1){z=v.split("#").slice(1).shift();if(b(z)){d=z.substr(1).split(".");x=(d.length)?d.shift():"";y=(d.length)?d.pop():"";if(x){x=_a.util.atohb(x);u=x.substr(0,16);A=parseInt(x.substr(16),10);if(!isNaN(A)){B=B||{};B.gen=A;}}if(_a.util.ivc(u)){B=B||{};B.xid=u;}if(y.search(/^[a-zA-Z0-9_]+$/)!=-1){B=B||{};B.rsc=y;}}}return B;}_a.extend(_a.track,{cur:j,dcu:m,gcc:h,cpf:t,ctp:c,eop:r,ich:b,ict:i});})(_a,_a.api,_a);(function(c,d,e){var h,a="hist",i=0,f=new c.data.bloom.library(a,3),j=c.data.storage;function b(k){k=(k||_a.share.links.canonical||document.location.href).split("#").shift();if(f.testAll(k)){return true;}else{return f.testAll(k+"/");}}function g(l){if(_a.sub){return;}l=(l||_a.share.links.canonical||document.location.href).split("#").shift();var k=f.generateName();if(!f.contains(k)){f.add(k);}if(!h){h=f.get(k);}if(h&&!i&&!h.test(l)){i=1;setTimeout(function(){h.add(l);h.save(k);},5*1000);}}if(!c.track){c.track={};}c.track.hist={log:g,seenBefore:b};})(_a,_a.api,_a);(function(g,h,l){var q={},j={},b=0,d=new g.cookie.KV("rfs",1),f=null;function i(r){if(r=="t.co"){return"twitter";}var s,t;for(s in g.services.map){t=g.services.map[s];if(t===""){t=s+".com";}if(r.indexOf(t)!=-1){return s;}}return null;}function p(s){var t,v,u,r;s=_duc(s);s=s.toLowerCase();s=s.replace(/[,;:\+\|]/g," ");s=s.replace(/[^a-z0-9. '\-]/g,"");s=s.replace(/\s+/g," ");s=s.replace(/\s+$/g,"");v=[];u=s.split(" ");for(r=0;r0;}function o(r){return r?q:j||q||{};}function a(r){q={};_a.util.each(r,function(t,s){q[t]=s;});q.dr=g.dr;}function k(r){j={};if(!r.rsi&&!r.rsc&&!r.dr){return;}_a.util.each(r,function(t,s){j[t]=s;});if(b){g.log.debug("setting",j);}_a.util.each(j,function(t,s){d.add(t,s);});d.save();}function e(t,s){var r=s?null:d.get();if(b){g.log.debug("reset called; pageState=",t," stored state=",r);}a(t);if(!r){t.dr=g.dr;k(t);q=j;if(b){g.log.debug("session state",j);}}else{if(t.rsc){t.dr=g.dr;k(t);if(b){g.log.debug("formal referral",j);}}else{if(!document.referrer){if(b){g.log.debug("no referral - kill cookie, then start a new session");}d.reset();t.dr=g.dr;k(t);q=j;if(b){g.log.debug("session state",j);}}else{k(r);if(b){g.log.debug("referral - use stored state",j);}}}}}if(!g.track){g.track={};}g.track.ts={get:c,gst:p,set:k,reset:e};})(_a,_a.api,_a);(function(){var d=document,a=_a,_370=0,cvt=[],avt=null,pix="tev",evu="//o.addthis.com/at/",ssc=function(rsc){var _377=_a.track.ts.get();if(_377.type=="social"){_a.cookie.ssc.update(_377.service);}else{if(rsc){_a.cookie.ssc.update(rsc);}}},_378={ftho:1,aqe3:1,d99r:1,neud:1,"8elu":1,bqfn:1},_379=Math.random()<_atc.csmp,_37a=true,_37b=new RegExp(/\(?(\d{3})\)?[\- ]?(\d{3})[\- ]?(\d{4})/g),_37c=new RegExp(/^((([a-z]|[0-9]|\-)+)\.)+([a-z])+$/ig),qtp=[],xtp=function(){var p;while(p=qtp.pop()){trk(p);}},atf=null,vpcs=[],vpex=[],pcs=[],spc=null;function avpc(c){c=c.split("-").shift();for(var i=0;i";ifr=d.getElementById("_atssh"+r);}a.opp(ifr.style);ifr.frameborder=ifr.style.border=0;ifr.style.top=ifr.style.left=0;return ifr;}function prod(){if(document.getElementById("product")){return true;}if(typeof document.getElementsByClassName=="function"&&(document.getElementsByClassName("product")||[]).length>0){return true;}if(document.getElementById("productDescription")){return true;}if(document.getElementById("page-product")){return true;}if(document.getElementById("vm_cart_products")){return true;}if(window.Virtuemart){return true;}var og=(a.ad.gog()),_396;_a.util.each(og,function(k,v){if(v=="type=product"){_396=1;}});if(_396){return true;}}function jsl(){var w=window;return((((w.jQuery||{}).fn||{}).jquery&&1)|((w.Prototype||{}).Version&&2)|((w.YUI||{}).version||(w.YAHOO||{}).VERSION&&4)|((w.Ext||{}).version&&8)|((w.dojo||{}).version&&16)|((w._gaq||w._gat)&&32)|(w.google_ad_client&&64)|((w.FB||w.fbAsyncInit)&&128)|(w.$BTB&&256)|(w.meebo&&512)|(w.gigya&&1024)|(w.SHARETHIS&&2048)|(w._qevents&&4096)|(w.twttr&&8192)|(w.postwidgetnamespace&&16384)|(w.a2a&&32768)|(w.SHRSB_Settings&&65536)|(w._sf_async_config&&131072)|(w.Shopify&&262144));}function onLinkClick(e){if(!e||!e.data||!e.data.pco||!e.data.url){return;}cvt.push(a.track.fcv("typ","lnk"));cvt.push(a.track.fcv("pco",e.data.pco));cvt.push(a.track.fcv("pur",a.track.mgu(e.data.url,{defrag:1})));dirxmi(true);}function onMenuComment(e){}function onMenuFollow(e){if(e&&e.data&&e.data.service&&e.data.url){trk({gen:a.ad.type.FOLLOW,pix:"dest="+e.data.service,svc:e.data.service,url:e.data.url});}}function onMenuShare(e){var uid=a.uid;if(e&&e.data&&e.data.service){if(!_a.ssl&&uid&&_a.util.ivc(uid)&&!_atc.xck&&!_a.util.iooc(uid)&&(e.data.service.indexOf("facebook")>-1||e.data.service=="more"||e.data.service=="settings"||e.data.service=="link"||(_atc.ver>=300&&e.data.service=="email"))){var img=new Image();a.imgz.push(img);img.src="//aidps.atdmt.com/AI/Api/v1/UserRest.svc/Provider/39CD8FF4-531A-4266-A340-45548C451F45/User/"+uid+"/gif";}trk({gen:(e.data.service.indexOf("facebook")>-1||e.data.service=="more"||e.data.service=="settings"||e.data.service=="link"||(_atc.ver>=300&&e.data.service=="email"))?a.ad.type.NOOP:a.ad.type.SHARE,pix:"dest="+e.data.service,svc:e.data.service,url:(e.data.url||null)});a.dcp=a.ad.type.SHARE;}}var _3a0,_3a1=[];function onApiUsage(evt){if(Math.random()<0.01){if(evt.data.call){_3a1.push(evt.data.call);}if(!_3a0){_3a0=setTimeout(function(){img("ap","3","calls="+_euc(_3a1.join(",")),{});},10000);}}}function sendViewedProducts(){if(vpcs.length){var t={vpc:vpcs};if(a.ab!="-"){t.ab=a.ab;}img("plvp","3",vpex.length?vpex.join("&"):"",t);}else{setTimeout(sendViewedProducts,1000);}}function onProductsGathered(){if(Math.random()<_atc.plmp){sendViewedProducts();}}function onMenuPop(evt){var t={},data=evt.data||{},svc=data.svc,pco=data.pco,_3a9=data.cmo,_3aa=data.crs,_3ab=data.cso;if(svc){t.sh=svc;}if(_3a9){t.cm=_3a9;}if(_3ab){t.cs=1;}if(_3aa){t.cr=1;}if(pco){t.spc=pco;}img("sh","3",null,t);}function onWelcomeBarShow(evt){var t={},data=evt.data||{},svc=data.svc,pco=data.pco||"wmb-1.0";if(data.showCount>1){return;}t.sh="wombat";if(pco){t.spc=pco;}if(svc){t.sc=svc;}img("sh","3",null,t);apc(data.pco);}function onInstantShareShow(evt){var t={},data=evt.data||{},svc=data.svc,pco=data.pco||"ins-1.0";if(data.showCount>1){return;}t.sh="instant-share";if(pco){t.spc=pco;}if(svc){t.sc=svc;}img("sh","3",null,t);apc(data.pco);avpc(data.pco);}function trk(t,_3b7){var dr=a.dr,rev=(a.rev||"");if(!t){return;}t.xck=_atc.xck?1:0;t.xxl=1;t.sid=a.track.ssid();t.pub=a.pub();t.ssl=a.ssl||0;t.du=a.tru(t.url||a.du||a.dl.href);t.xtr=_3b7!==_1?0:_atc.xtr;if(a.dt){t.dt=a.dt;}if(a.cb){t.cb=a.cb;}if(a.kw){t.kw=a.kw;}t.lng=a.lng();t.ver=_a.ver();t.jsl=a.track.jsl();t.prod=a.track.prod();if(!a.upm&&a.uid){t.uid=a.uid;}t.pc=t.spc||pcs.join(",");if(vpcs){t.vpc=vpcs.join(",");}if(dr){t.dr=a.tru(dr);}if(a.dh){t.dh=a.dh;}if(rev){t.rev=rev;}if(a.xfr){if(a.upm){if(atf&&atf.contentWindow){atf.contentWindow.postMessage(_50(t),"*");}}else{var div=get_atssh(),base=_atc.rsrcs.sh+(false?"?t="+new Date().getTime():"");if(atf){div.removeChild(div.firstChild);}atf=ctf();atf.src=base+"#"+_50(t);div.appendChild(atf);}}else{qtp.push(t);}}function img(i,c,x,obj,_3c0){if(!window.at_sub&&!_atc.xtr){var t=obj||{};t.evt=i;if(x){t.ext=x;}avt=t;if(_3c0===1){xmi(true);}else{a.track.sxm(true,xmi);}}}function cev(k,v){cvt.push(a.track.fcv(k,v));a.track.sxm(true,xmi);}function xmi(_3c4){var h=a.dl?a.dl.hostname:"";if(cvt.length>0||avt){a.track.sxm(false,xmi);if(_atc.xtr){return;}var t=avt||{};t.ce=cvt.join(",");cvt=[];avt=null;trk(t);if(_3c4){var i=d.ce("iframe");i.id="_atf";_a.opp(i.style);d.body.appendChild(i);i=d.getElementById("_atf");}}}function dirxmi(_3c8){var a=_a,i,lng=a.lng().split("-").shift(),h=a.dl?a.dl.hostname:"";if(cvt.length>0){if(_atc.xtr){return;}if(h.indexOf(".gov")>-1||h.indexOf(".mil")>-1){_atc.xck=1;}if(a.dt){cvt.push(a.track.fcv("pti",a.dt));}cvt.push(a.track.fcv("lng",lng));if(a.cb){cvt.push(a.track.fcv("cb",a.cb));}var urp=pix+"-"+a.track.ran()+".png?ev="+a.track.sta()+"&ce="+cvt.join(",")+(_atc.xck?"&xck=1":"")+(a.dr?"&dr="+_euc(a.track.mgu(a.dr,{defrag:1})):"")+(a.du?"&PRE="+_euc(a.track.mgu(a.du,{defrag:1})):""),url=evu+urp;cvt=[];a.track.lpx({url:url,close:_3c8});}}function onConversion(e){_a.log.debug(e);trackConversion(e.data);}function trackConversion(_3d0){var t={},ts=a.track.ts.get(false),ref,ex="",_3d5={sku:1,brand:1,model:1,id:1,value:1,label:1,category:1};_a.util.each(_3d5,function(k,v){ex+=(_3d0[k]?"&"+k+"="+_euc(_3d0[k])||"":"");t[k]=_3d0[k];});ref=ts.type?ts.type+(ts.type=="social"?"&rsc="+ts.service:""):"";if(!t.label){return;}img("pro","3",(ref?"ref="+ref:"")+ex);}function trackSocial(typ,_3d9){var id=(_3d9||{}).id||_a.uid,_3db=(_3d9||{}).service||"unk";cev("typ",typ);cev("pur",a.track.mgu(a.du,{defrag:1}));cev("sto",_3db);}function onSocialConnect(_3dc){trackSocial("soc",_3dc);}function onCopy(e){var text="",_3df="";if(window.getSelection){_3df=window.getSelection()||"";text=_a.trim(_3df.toString()).replace(_37b," ").replace(/[\b]+/g," ").split(" ");if(text.length){if(_379&&_370<3){cev("cbc",text.length);}_370++;if(!_37a){return;}var _3e0=[];for(var i=0;i-1)||_378[_a.mun(_a.pub())])||(w.addthis_config||{}).data_track_textcopy||(window.addthis_product||"").indexOf("wpp")>-1||(window.addthis_product||"").indexOf("blg")>-1);try{if(_379||_37a){if(a.bro.msi){document.body.attachEvent("oncopy",onCopy,true);}else{document.addEventListener("copy",onCopy,true);}}}catch(e){}});a.ed.addEventListener("addthis-internal.api",onApiUsage);a.ed.addEventListener("addthis-internal.compact",onMenuPop);a.ed.addEventListener("addthis-internal.bar.show",onWelcomeBarShow);a.ed.addEventListener("addthis-internal.link.click",onLinkClick);a.ed.addEventListener("addthis-internal.ready",onProductsGathered);a.ed.addEventListener("addthis-internal.conversion",onConversion);a.ed.addEventListener("addthis.bar.show",onWelcomeBarShow);a.ed.addEventListener("addthis.menu.share",onMenuShare);a.ed.addEventListener("addthis.menu.follow",onMenuFollow);a.ed.addEventListener("addthis.menu.comment",onMenuComment);a.ed.addEventListener("addthis-internal.instant-share.show",onInstantShareShow);if(!a.track){a.track={};}a.util.extend(a.track,{pcs:pcs,apc:apc,avpc:avpc,avp:addVisibleProduct,cev:cev,ctf:ctf,jsl:jsl,prod:prod,osc:onSocialConnect,gtf:get_atssh,qtp:function(p){qtp.push(p);},ssc:ssc,stf:function(f){atf=f;},trk:trk,trl:onLinkClick,xtp:xtp,msg:msg,trc:trackConversion});})();_41(_a,{_rec:[],xfr:!_a.upm||!_a.bro.ffx,pmh:function(e){var data,r=_a._rec;if(e.origin.slice(-12)==".addthis.com"){if(!e.data){return;}if(e.data.length){if(_a.unj&&e.data.indexOf&&e.data.indexOf("{")===0){try{data=JSON.parse(e.data);}catch(e){data=_a.util.rfromKV(e.data);}}else{data=_a.util.rfromKV(e.data);}}else{data=e.data;}for(var n=0;nid&&o[q][id]){return o[q][id];}}}}return _3f0;},lng:function(){return window.addthis_language||(window.addthis_config||{}).ui_language||(_a.bro.msi?navigator.userLanguage:navigator.language)||"en";},jlng:function(lng){return(lng||_a.lng()).split("-").shift();},iwb:function(l){var wd={th:1,pl:1,sl:1,gl:1,hu:1,is:1,nb:1,se:1,su:1,sw:1};return!!wd[l];},gfl:function(l){var map={ca:"es",cs:"CZ",cy:"GB",da:"DK",de:"DE",eu:"ES",ck:"US",en:"US",es:"LA",fb:"FI",gl:"ES",ja:"JP",ko:"KR",nb:"NO",nn:"NO",sv:"SE",ku:"TR",zh:"CN","zh-tr":"CN","zh-hk":"HK","zh-tw":"TW",fo:"FO",fb:"LT",af:"ZA",sq:"AL",hy:"AM",be:"BY",bn:"IN",bs:"BA",nl:"NL",et:"EE",fr:"FR",ka:"GE",el:"GR",gu:"IN",hi:"IN",ga:"IE",jv:"ID",kn:"IN",kk:"KZ",la:"VA",li:"NL",ms:"MY",mr:"IN",ne:"NP",pa:"IN",pt:"PT",rm:"CH",sa:"IN",sr:"RS",sw:"KE",tl:"PH",ta:"IN",pl:"PL",tt:"RU",te:"IN",ml:"IN",uk:"UA",vi:"VN",tr:"TR",xh:"ZA",zu:"ZA",km:"KH",tg:"TJ",he:"IL",ur:"PK",fa:"IR",yi:"DE",gn:"PY",qu:"PE",ay:"BO",se:"NO",ps:"AF",tl:"ST"},rv=map[l]||map[l.split("-").shift()];if(rv){return l.split("-").shift()+"_"+rv;}else{return"en_US";}},ivl:function(l){var lg={af:1,afr:"af",ar:1,ara:"ar",az:1,aze:"az",be:1,bye:"be",bg:1,bul:"bg",bn:1,ben:"bn",bs:1,bos:"bs",ca:1,cat:"ca",cs:1,ces:"cs",cze:"cs",cy:1,cym:"cy",da:1,dan:"da",de:1,deu:"de",ger:"de",el:1,gre:"el",ell:"ell",en:1,eo:1,es:1,esl:"es",spa:"spa",et:1,est:"et",eu:1,fa:1,fas:"fa",per:"fa",fi:1,fin:"fi",fo:1,fao:"fo",fr:1,fra:"fr",fre:"fr",ga:1,gae:"ga",gdh:"ga",gl:1,glg:"gl",gu:1,he:1,heb:"he",hi:1,hin:"hin",hr:1,ht:1,hy:1,cro:"hr",hu:1,hun:"hu",id:1,ind:"id",is:1,ice:"is",it:1,ita:"it",iu:1,ike:"iu",iku:"iu",ja:1,jpn:"ja",km:1,ko:1,kor:"ko",ku:1,lb:1,ltz:"lb",lt:1,lit:"lt",lv:1,lav:"lv",mk:1,mac:"mk",mak:"mk",ml:1,mn:1,ms:1,msa:"ms",may:"ms",nb:1,nl:1,nla:"nl",dut:"nl",no:1,nds:1,nn:1,nno:"no",oc:1,oci:"oc",pl:1,pol:"pl",ps:1,pt:1,por:"pt",ro:1,ron:"ro",rum:"ro",ru:1,rus:"ru",sk:1,slk:"sk",slo:"sk",sl:1,slv:"sl",sq:1,alb:"sq",sr:1,se:1,si:1,ser:"sr",su:1,sv:1,sve:"sv",sw:1,swe:"sv",ta:1,tam:"ta",te:1,teg:"te",th:1,tha:"th",tl:1,tgl:"tl",tn:1,tr:1,tur:"tr",tpi:1,tt:1,uk:1,ukr:"uk",ur:1,urd:"ur",vi:1,vec:1,vie:"vi","zh-cn":1,"zh-hk":1,"chi-hk":"zh-hk","zho-hk":"zh-hk","zh-tr":1,"chi-tr":"zh-tr","zho-tr":"zh-tr","zh-tw":1,"chi-tw":"zh-tw","zho-tw":"zh-tw",zh:1,chi:"zh",zho:"zh"};if(lg[l]){return lg[l];}l=l.split("-").shift();if(lg[l]){if(lg[l]===1){return l;}else{return lg[l];}}return 0;},ggl:function(l){var map={en:"en-US",ar:"ar",ca:"ca",zh:"zh-CN",hr:"hr",cs:"cs",da:"da",nl:"nl",et:"et",fi:"fi",fr:"fr",de:"de",el:"el",he:"iw",hi:"hi",hu:"hu",id:"id",it:"it",ja:"ja",ko:"ko",lv:"lv",lt:"lt",ms:"ms",no:"no",fa:"fa",pl:"pl",pt:"pt-BR",ro:"ro",ru:"ru",sr:"sr",sk:"sk",sl:"sl",es:"es",sv:"sv",th:"th",tr:"tr",uk:"uk",vi:"vi"};return map[l]||null;},gvl:function(l){var rv=_a.ivl(l)||"en";if(rv===1){rv=l;}return rv;},ulg:function(_402){if(!_402||(_a.lng()).indexOf("en")===0){return;}try{var _403=window.addthis_translations;if(_403){_402(_403);}else{setTimeout(function(){_a.ulg(_402);},500);}}catch(e){}},alg:function(al,f){var l=_a.gvl((al||_a.lng()).toLowerCase());if(l.indexOf("en")!==0&&(!_a.pll||f)){_a.pll=_a.ajs("static/r07/lang30/"+l+".js");}}});_41(_a,{trim:function(s,e){if(s&&s.trim&&typeof(s.trim)=="function"){s=s.trim();}try{s=s.replace(/^[\s\u3000]+/,"").replace(/[\s\u3000]+$/,"");}catch(exc){}if(s&&e){s=_euc(s);}return s||"";},trl:[],tru:function(u,k,_40b){var rv="",_40d=0,_40e=-1;if(_40b===_1){_40b=300;}if(u){rv=u.substr(0,_40b);if(rv!==u){if((_40e=rv.lastIndexOf("%"))>=rv.length-4){rv=rv.substr(0,_40e);}if(rv!=u){for(var i in _a.trl){if(_a.trl[i]==k){_40d=1;}}if(!_40d){_a.trl.push(k);}}}}return rv;},opp:function(st){st.width=st.height="1px";st.position="absolute";st.zIndex=100000;},jlr:{},ajs:function(name,_412,_413,id,el,_416){if(!_a.jlr[name]||_416){var o=d.ce("script"),ssl=(window.location.protocol=="https:"),_419="",head=(el)?el:d.gn("head")[0]||d.documentElement;o.setAttribute("type","text/javascript");if(_413){o.setAttribute("async","true");}if(id){o.setAttribute("id",id);}if((window.chrome&&chrome.self)||(window.safari&&safari.extension)){_419=(ssl?"https:":"http:");if(name.indexOf("//")===0){name=_419+name;}}o.src=((_412||name.indexOf("//")===0)?"":(_419+_atr))+name;head.insertBefore(o,head.firstChild);_a.jlr[name]=1;return o;}return 1;},jlo:function(){try{var a=_a,al=a.lng(),aig=function(src){var img=new Image();_a.imgz.push(img);img.src=src;};a.alg(al);if(!a.pld){if(a.bro.ie6){aig(_atc.rsrcs.widgetpng);aig(_atr+"static/t00/logo1414.gif");aig(_atr+"static/t00/logo88.gif");if(window.addthis_feed){aig("static/r05/feed00.gif",1);}}if(a.pll&&!window.addthis_translations){setTimeout(function(){a.pld=a.ajs(_atc.rsrcs.menujs);},10);}else{a.pld=a.ajs(_atc.rsrcs.menujs);}}}catch(e){}},ao:function(elt,pane,iurl,_423,_424,_425){_a.lad(["open",elt,pane,iurl,_423,_424,_425]);_a.jlo();return false;},ac:function(){},as:function(s,cf,sh){_a.lad(["send",s,cf,sh]);_a.jlo();}});(function(f,s,t){var d=f.util.each,v=f.util.map;function g(y,x,A){var B="Cwm fjordbank glyphs vext quiz",z=y.getContext("2d");z.font=x;z.fillText(B,2,A||2);}function e(){if(!window.HTMLCanvasElement){return 0;}try{var x=document.createElement("canvas"),y=x.getContext("2d"),A;x.style.display="none";y.textBaseline="top";y.textBaseline="alphabetic";y.fillStyle="#f60";y.fillRect(125,1,62,20);y.fillStyle="#069";g(x,"11pt no-real-font-"+(Math.floor(Math.random*1000)),15);y.fillStyle="rgba(102, 204, 0, 0.7)";g(x,"18pt Arial",17);A=x.toDataURL();delete x;return A;}catch(z){return 1;}}function n(){var A=false,x="",C=null,y="",z="";try{y="AcroPDF.PDF";C=new ActiveXObject(y);}catch(B){}if(!C){try{y="PDF.PdfCtrl";C=new ActiveXObject(y);}catch(B){}}if(C){try{A=true;z=y;x=C.GetVersions().split(",");x=x[0].split("=");x=parseFloat(x[1]);}catch(B){}}return{isInstalled:A,version:x,name:z};}function j(){var A=false,x="",C=null,y="",z="";try{y="ShockwaveFlash.ShockwaveFlash";C=new ActiveXObject(y);}catch(B){}if(C){try{A=true;z=y;x=C.GetVariable("$version").substring(4);x=x.split(",");x=parseFloat(x[0]+"."+x[1]);}catch(B){}}return{isInstalled:A,version:x,name:z};}function o(){var A=false,x="",C=null,y="",z="";try{y="QuickTime.QuickTime";C=new ActiveXObject(y);}catch(B){}if(C){try{A=true;z=y;x=C.QuickTimeVersion.toString(16);x=x.substring(0,1)+"."+x.substring(1,3);x=parseFloat(x);}catch(B){}}return{isInstalled:A,version:x,name:z};}function m(){var B=false,x="",C=["rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","RealPlayer"],E=null,y="",z="";for(var A=0;A>>16)*A)&65535)<<16)))&4294967295;C=(C<<15)|(C>>>17);C=((((C&65535)*y)+((((C>>>16)*y)&65535)<<16)))&4294967295;D^=C;D=(D<<13)|(D>>>19);x=((((D&65535)*5)+((((D>>>16)*5)&65535)<<16)))&4294967295;D=(((x&65535)+27492)+((((x>>>16)+58964)&65535)<<16));}C=0;switch(F){case 3:C^=(E.charCodeAt(z+2)&255)<<16;case 2:C^=(E.charCodeAt(z+1)&255)<<8;case 1:C^=(E.charCodeAt(z)&255);C=(((C&65535)*A)+((((C>>>16)*A)&65535)<<16))&4294967295;C=(C<<15)|(C>>>17);C=(((C&65535)*y)+((((C>>>16)*y)&65535)<<16))&4294967295;D^=C;}D^=E.length;D^=D>>>16;D=(((D&65535)*2246822507)+((((D>>>16)*2246822507)&65535)<<16))&4294967295;D^=D>>>13;D=((((D&65535)*3266489909)+((((D>>>16)*3266489909)&65535)<<16)))&4294967295;D^=D>>>16;return D>>>0;}if(!f.ad){f.ad={};}_a.extend(f.ad,{gpl:r,gce:e,gfp:c});})(_a,_a.api,_a);(function(e,g,f){var c=e.mun,d=e.ad.gpl(),b=e.ad.gce();function h(){var n=c(navigator.userAgent,16),j=((new Date()).getTimezoneOffset())+""+navigator.javaEnabled()+(navigator.userLanguage||navigator.language),l=w.screen.colorDepth+""+w.screen.width+w.screen.height+w.screen.availWidth+w.screen.availHeight,k=navigator.plugins,o;try{o=k.length;if(o>0){for(var m=0;m0?d.substr(0,k):"",q=v>0?d.substr(k):"",j=v>0?d.substr(0,A):"",z=v>0?d.substr(A,A*2):"",l=v>0?d.substr(A*2):"",t=0;try{t=_a.ad.gfp();}catch(x){}if(b!=1&&b!==0&&r.length>10){i=c(r.substr(0,p),36)+c(r.substr(p),36);}else{i=b;}return"fcu7a="+n+s+c(m+u+j,16)+c(z,16)+c(l,16)+"&fcu7c="+s+i+c(m+u,16)+c(y,16)+c(q,16)+"&fcu7d="+s+i+c(m+y,16)+c(u+q,16)+"&fcu7e="+s+n+c(m+y,16)+c(u+q,16)+"&fcu7f="+s+i+c(m+y,36)+c(u+q,36)+"&fcu8="+t;}catch(x){return"fcun=1";}}if(!e.ad){e.ad={};}e.ad.gub=h;e.ad.gubr=a;})(_a,_a.api,_a);(function(f,G,I){var L=document,x=window,h=1,k=["cbea","cbeab","kkk","zvys","gvgf","shpxf","chfflyvcf","pernzcvr","svfgvat","wvmm","fcybbtr","flovna"],o=["phz"],H=k.length,F=o.length,A={},r=[],v=12,y=/.html|.htm|.php|.jsp|.asp|.aspx|.pl|.cfm|.shtml|.cgi|.py/,K=10,a=5,C=5,q=0.333,m,z={},b={},E={mr:1,a:1,able:1,about:1,above:1,abst:1,accordance:1,according:1,accordingly:1,across:1,act:1,actually:1,added:1,adj:1,adopted:1,affected:1,affecting:1,affects:1,after:1,afterwards:1,again:1,against:1,ah:1,all:1,almost:1,alone:1,along:1,already:1,also:1,although:1,always:1,am:1,among:1,amongst:1,an:1,and:1,announce:1,another:1,any:1,anybody:1,anyhow:1,anymore:1,anyone:1,anything:1,anyway:1,anyways:1,anywhere:1,apparently:1,approximately:1,are:1,aren:1,arent:1,arise:1,around:1,as:1,aside:1,ask:1,asking:1,at:1,auth:1,available:1,away:1,awfully:1,b:1,back:1,be:1,became:1,because:1,become:1,becomes:1,becoming:1,been:1,before:1,beforehand:1,begin:1,beginning:1,beginnings:1,begins:1,behind:1,being:1,believe:1,below:1,beside:1,besides:1,between:1,beyond:1,biol:1,both:1,brief:1,briefly:1,but:1,by:1,c:1,ca:1,came:1,can:1,cannot:1,"can't":1,cause:1,causes:1,certain:1,certainly:1,co:1,com:1,come:1,comes:1,contain:1,containing:1,contains:1,could:1,couldnt:1,d:1,date:1,did:1,"didn't":1,different:1,"do":1,does:1,"doesn't":1,doing:1,done:1,"don't":1,down:1,downwards:1,due:1,during:1,e:1,each:1,ed:1,edu:1,effect:1,eg:1,eight:1,eighty:1,either:1,"else":1,elsewhere:1,end:1,ending:1,enough:1,especially:1,et:1,"et-al":1,etc:1,even:1,ever:1,every:1,everybody:1,everyone:1,everything:1,everywhere:1,ex:1,except:1,f:1,far:1,few:1,ff:1,fifth:1,first:1,five:1,fix:1,followed:1,following:1,follows:1,"for":1,former:1,formerly:1,forth:1,found:1,four:1,from:1,further:1,furthermore:1,g:1,gave:1,get:1,gets:1,getting:1,give:1,given:1,gives:1,giving:1,go:1,goes:1,gone:1,got:1,gotten:1,h:1,had:1,happens:1,hardly:1,has:1,"hasn't":1,have:1,"haven't":1,having:1,he:1,hed:1,hence:1,her:1,here:1,hereafter:1,hereby:1,herein:1,heres:1,hereupon:1,hers:1,herself:1,hes:1,hi:1,hid:1,him:1,himself:1,his:1,hither:1,home:1,how:1,howbeit:1,however:1,hundred:1,i:1,id:1,ie:1,"if":1,"i'll":1,im:1,immediate:1,immediately:1,importance:1,important:1,"in":1,inc:1,indeed:1,index:1,information:1,instead:1,into:1,invention:1,inward:1,is:1,"isn't":1,it:1,itd:1,"it'll":1,its:1,itself:1,"i've":1,j:1,just:1,k:1,keep:1,keeps:1,kept:1,keys:1,kg:1,km:1,know:1,known:1,knows:1,l:1,largely:1,last:1,lately:1,later:1,latter:1,latterly:1,least:1,less:1,lest:1,let:1,lets:1,like:1,liked:1,likely:1,line:1,little:1,"'ll":1,look:1,looking:1,looks:1,ltd:1,m:1,made:1,mainly:1,make:1,makes:1,many:1,may:1,maybe:1,me:1,mean:1,means:1,meantime:1,meanwhile:1,merely:1,mg:1,might:1,million:1,miss:1,ml:1,more:1,moreover:1,most:1,mostly:1,mr:1,mrs:1,much:1,mug:1,must:1,my:1,myself:1,n:1,na:1,name:1,namely:1,nay:1,nd:1,near:1,nearly:1,necessarily:1,necessary:1,need:1,needs:1,neither:1,never:1,nevertheless:1,"new":1,next:1,nine:1,ninety:1,no:1,nobody:1,non:1,none:1,nonetheless:1,noone:1,nor:1,normally:1,nos:1,not:1,noted:1,nothing:1,now:1,nowhere:1,o:1,obtain:1,obtained:1,obviously:1,of:1,off:1,often:1,oh:1,ok:1,okay:1,old:1,omitted:1,on:1,once:1,one:1,ones:1,only:1,onto:1,or:1,ord:1,other:1,others:1,otherwise:1,ought:1,our:1,ours:1,ourselves:1,out:1,outside:1,over:1,overall:1,owing:1,own:1,p:1,page:1,pages:1,part:1,particular:1,particularly:1,past:1,per:1,perhaps:1,placed:1,please:1,plus:1,poorly:1,possible:1,possibly:1,potentially:1,pp:1,predominantly:1,present:1,previously:1,primarily:1,probably:1,promptly:1,proud:1,provides:1,put:1,q:1,que:1,quickly:1,quite:1,qv:1,r:1,ran:1,rather:1,rd:1,re:1,readily:1,really:1,recent:1,recently:1,ref:1,refs:1,regarding:1,regardless:1,regards:1,related:1,relatively:1,research:1,respectively:1,resulted:1,resulting:1,results:1,right:1,run:1,s:1,said:1,same:1,saw:1,say:1,saying:1,says:1,sec:1,section:1,see:1,seeing:1,seem:1,seemed:1,seeming:1,seems:1,seen:1,self:1,selves:1,sent:1,seven:1,several:1,shall:1,she:1,shed:1,"she'll":1,shes:1,should:1,"shouldn't":1,show:1,showed:1,shown:1,showns:1,shows:1,significant:1,significantly:1,similar:1,similarly:1,since:1,six:1,slightly:1,so:1,some:1,somebody:1,somehow:1,someone:1,somethan:1,something:1,sometime:1,sometimes:1,somewhat:1,somewhere:1,soon:1,sorry:1,specifically:1,specified:1,specify:1,specifying:1,state:1,states:1,still:1,stop:1,strongly:1,sub:1,substantially:1,successfully:1,such:1,sufficiently:1,suggest:1,sup:1,sure:1,t:1,take:1,taken:1,taking:1,tell:1,tends:1,th:1,than:1,thank:1,thanks:1,thanx:1,that:1,"that'll":1,thats:1,"that've":1,the:1,their:1,theirs:1,them:1,themselves:1,then:1,thence:1,there:1,thereafter:1,thereby:1,thered:1,therefore:1,therein:1,"there'll":1,thereof:1,therere:1,theres:1,thereto:1,thereupon:1,"there've":1,these:1,they:1,theyd:1,"they'll":1,theyre:1,"they've":1,think:1,"this":1,those:1,thou:1,though:1,thoughh:1,thousand:1,throug:1,through:1,throughout:1,thru:1,thus:1,til:1,tip:1,to:1,together:1,too:1,took:1,toward:1,towards:1,tried:1,tries:1,truly:1,"try":1,trying:1,ts:1,twice:1,two:1,u:1,un:1,under:1,unfortunately:1,unless:1,unlike:1,unlikely:1,until:1,unto:1,up:1,upon:1,ups:1,us:1,use:1,used:1,useful:1,usefully:1,usefulness:1,uses:1,using:1,usually:1,v:1,value:1,various:1,"'ve":1,very:1,via:1,viz:1,vol:1,vols:1,vs:1,w:1,want:1,wants:1,was:1,"wasn't":1,way:1,we:1,wed:1,welcome:1,"we'll":1,went:1,were:1,"weren't":1,"we've":1,what:1,whatever:1,"what'll":1,whats:1,when:1,whence:1,whenever:1,where:1,whereafter:1,whereas:1,whereby:1,wherein:1,wheres:1,whereupon:1,wherever:1,whether:1,which:1,"while":1,whim:1,whither:1,who:1,whod:1,whoever:1,whole:1,"who'll":1,whom:1,whomever:1,whos:1,whose:1,why:1,widely:1,willing:1,wish:1,"with":1,within:1,without:1,"won't":1,words:1,world:1,would:1,"wouldn't":1,www:1,x:1,y:1,yes:1,yet:1,you:1,youd:1,"you'll":1,your:1,youre:1,yours:1,yourself:1,yourselves:1};function p(d){return d.replace(/[a-zA-Z]/g,function(i){return String.fromCharCode((i<="Z"?90:122)>=(i=i.charCodeAt(0)+13)?i:i-26);});}while(H--){b[p(k[H])]=1;}while(F--){z[p(o[F])]=1;}function D(d){var i=0;if(!d||typeof(d)!="string"){return i;}d=((d||"").toLowerCase()+"").replace(/ /g,"");if(d=="mature"||d=="adult"||d=="rta-5042-1996-1400-1577-rta"){i|=h;}return i;}function e(w,d){var O=0,j,N;if(!w||typeof(w)!="string"){return O;}w=((w||"").toLowerCase()+"").replace(/[^a-zA-Z]/g," ").split(" ");for(j=0,N=w.length;jd){return false;}N=f.util.gettxt(Q);if(!i||N.length>i){u(N,O);}});}function u(P,O,N){var w=(P||""),d,j;if(!w){return;}if(N){w=w.replace(/ /g,"").split(N);}else{w=w.replace(/[^\w]/g," ").split(" ");}for(j=0;j0){r.push(j);}else{break;}}}function t(){J();var N=[],i=(m||"").length,d,P,O,w;if(m&&i){while(i--){d=m[i]||{};P=((d.getAttribute?d.getAttribute("property"):"")||d.name||"").toLowerCase();O=d.content;if(P.indexOf("og:")===0){w=P.split(":").pop();if(N.length<7||w=="type"){N.push(w=="type"?w+"="+O:w);}}}}return N;}function J(){if(!m){m=L.all&&typeof(L.all.tags)=="function"?L.all.tags("META"):L.getElementsByTagName?L.getElementsByTagName("META"):new Array();_a.meta=m;}}function g(){J();var w={},j,d="";if(!m||m.length==0){return w;}for(j=0;jw.weight){return-1;}return 1;});j=j.slice(0,v);i=(new Date()).getTime();f.log.debug("gcv",j,"te="+(i-d)+" ms");return j;}function s(){var d=document.charset||document.characterSet||document.inputEncoding||document.defaultCharset;if(!d){J();for(H=0;H14)?"":d);}if(!f.ad){f.ad={};}_a.extend(f.ad,{cla:B,gog:t,og:g,kw:n,gcv:l,gch:s});})(_a,_a.api,_a);(function(c,f,i){var g=0,b=1,a=2,h=4;function d(m,l,k){k=(k===_1||k)||(window.location.protocol=="https:");l=_a.util.host(l===_1?window.location.href:l);var o=g;if(m){var n=_a.util.host(m);if(l==n){o|=a;}else{o|=h;}}if(!k&&j(m)){o|=b;}return o;}function j(k){var p=".com/",n=".org/",l=(k||"").toLowerCase(),m=0;if(l&&l.match(/ws\/results\/(web|images|video|news)/)){m=1;}else{if(false&&l&&l.match(/\/relevance\/search\//)){m=1;}else{if(l&&l.indexOf("addthis"==-1)&&(l.match(/google.*\/(search|url|aclk|m\?)/)||l.indexOf("/pagead/aclk?")>-1||l.indexOf(p+"url")>-1||l.indexOf(p+"l.php")>-1||l.indexOf("/search?")>-1||l.indexOf("/search/?")>-1||l.indexOf("search?")>-1||l.indexOf("yandex.ru/clck/jsredir?")>-1||l.indexOf(p+"search")>-1||l.indexOf(n+"search")>-1||l.indexOf("/search.html?")>-1||l.indexOf("search/results.")>-1||l.indexOf(p+"s?bs")>-1||l.indexOf(p+"s?wd")>-1||l.indexOf(p+"mb?search")>-1||l.indexOf(p+"mvc/search")>-1||l.indexOf(p+"web")>-1||l.match(/aol.*\/aol/)||l.indexOf("hotbot"+p)>-1)){if(e(k)!=false){m=1;}}}}if(m){return true;}else{return false;}}function e(k){var m=k.split("?").pop().toLowerCase().split("&"),l,n=/^(?:q|search|bs|wd|p|kw|keyword|query|qry|querytext|text|searchcriteria|searchstring|searchtext|sp_q)=(.*)/i;for(l=0;l=300&&!_a.bro.wph&&!_a.bro.iph&&!_a.bro.dro){var R=_a.util.clone(S||(typeof _atw==="undefined"?addthis_share:_atw.share));R.url=_euc(R.url);R.title=_euc(R.title||(addthis_share||{}).title||"");var Q=typeof _atw==="undefined"?Q:_atw.conf;var P=_atc.rsrcs.bookmark+"#ats="+_euc(_a.util.rtoKV(R))+"&atc="+_euc(_a.util.rtoKV(Q));if(_a.bro.msi&&P.length>2000){P=P.split("&atc")[0];var a={product:Q.product,data_track_clickback:Q.data_track_clickback,pubid:Q.pubid,username:Q.username,pub:Q.pub,ui_email_to:Q.ui_email_to,ui_email_from:Q.ui_email_from,ui_email_note:Q.ui_email_note};if(_atw.ics(T)){a.services_custom=_atw.ics(T);}P+="&atc="+_euc(_a.util.rtoKV(a));}return P;}return G()+(U?"feed.php":(T=="email"&&_a.ver()>=300?"tellfriend.php":"bookmark.php"))+"?v="+(_a.ver())+"&winname=addthis&"+f(T,U,S,Q)+((((S||{}).smd||{}).dr||O.dr)?"&pre="+_euc(O.track.cof(((S||{}).smd||{}).dr||O.dr)):"")+"&tt=0"+(T==="more"&&O.bro.ipa?"&imore=1":"")+"&captcha_provider="+(O.bro.msi?"recaptcha":"nucaptcha");}function j(Q,P){var a={pinterest_share:"pinterest",pinterest_pinit:"pinterest"},R=null;if(a[P]){if(((Q||{}).passthrough||{})[P]){R=Q.passthrough[P];}else{if(((Q||{}).passthrough||{})[a[P]]){R=Q.passthrough[a[P]];}}}else{R=((Q||{}).passthrough||{})[P];}return R?"&passthrough="+O.trim((typeof(R)=="object"?O.util.toKV(R):R),1):"";}function f(ah,V,ak,ap){var ab=O.trim,am=w,aj,R,U,al,af,ai=O.pub(),ae=w._atw||{},aa=(ak&&ak.url?ak.url:(ae.share&&ae.share.url?ae.share.url:(am.addthis_url||am.location.href))),ao,T=function(at){if(aa&&aa!=""){al=aa.indexOf("#at"+at);if(al>-1){aa=aa.substr(0,al);}}};if(!ap){ap=w.conf||{};}else{for(aj in w.conf){if(!(ap[aj])){ap[aj]=w.conf[aj];}}}if(!ak){ak=w.share||{};}else{for(aj in w.share){if(!(ak[aj])){ak[aj]=w.share[aj];}}}if(O.rsu()){ak.url=w.addthis_url;ak.title=w.addthis_title;aa=ak.url;}if(C.canonical&&!ak.trackurl&&ak.imp_url&&!_a.share.inBm()){ak.trackurl=C.canonical;}if(!ai||ai=="undefined"){ai="unknown";}ao=ap.services_custom;T("pro");T("opp");T("cle");T("clb");T("abc");T("_pco");if(aa.indexOf("addthis.com/static/r07/ab")>-1){aa=aa.split("&");for(al=0;al=250);if(_a.ver()>=300&&ap.data_track_clickback===false){Z=false;}if(ak.email_vars){for(aj in ak.email_vars){X+=(X==""?"":"&")+_euc(aj)+"="+_euc(ak.email_vars[aj]);}}if(O.track.spc&&ag.indexOf(O.track.spc)==-1){ag+=","+O.track.spc;}if(S&&S.shorten&&ak.shorteners&&ah.indexOf("pinterest")==-1){for(aj in ak.shorteners){for(R in ak.shorteners[aj]){W+=(W.length?"&":"")+_euc(aj+"."+R)+"="+_euc(ak.shorteners[aj][R]);}}}aa=O.track.cof(aa);aa=O.track.mgu(aa,S,ak,ah);if(Y){ak.trackurl=O.track.mgu(ak.trackurl||aa,Y,ak,ah);}U="pub="+ai+"&source="+ag+"&lng="+(O.lng()||"xx")+"&s="+ah+(ap.ui_508_compliant?"&u508=1":"")+(V?"&h1="+ab((ak.feed||ak.url||"").replace("feed://",""),1)+"&t1=":"&url="+ab(aa,1)+"&title=")+ab(ak.title||(am.addthis_title||"").replace(/AddThis\sSocial\sBookmarking\sSharing\sButton\sWidget/,""),1)+((V&&ak.userid)?"&fid="+ab(ak.userid):"")+(_a.ver()<200?"&logo="+ab(am.addthis_logo,1)+"&logobg="+ab(am.addthis_logo_background,1)+"&logocolor="+ab(am.addthis_logo_color,1):"")+"&ate="+O.track.sta()+((ah!="email"||_a.ver()<300)?"&frommenu=1":"")+((w.addthis_ssh&&(!Q||addthis_ssh!=Q)&&(addthis_ssh==ah||addthis_ssh.search(new RegExp("(?:^|,)("+ah+")(?:$|,)"))>-1))?"&ips=1":"")+(Q?"&cr="+(ah==Q?1:0):"")+"&uid="+_euc(O.uid&&O.uid!="x"?O.uid:O.util.cuid())+(ak.email_template?"&email_template="+_euc(ak.email_template):"")+(X?"&email_vars="+_euc(X):"")+(ar?"&shortener="+_euc(typeof(ar)=="array"?ar.join(","):ar):"")+(ar&&W?"&"+W:"")+j(ak,ah)+(ak.description?"&description="+ab(ak.description,1):"")+(ak.html?"&html="+ab(ak.html,1):(ak.content?"&html="+ab(ak.content,1):""))+(ak.trackurl&&ak.trackurl!=aa?"&trackurl="+ab(ak.trackurl,1):"")+(ak.screenshot?"&screenshot="+ab(ak.screenshot,1):"")+(ak.screenshot_secure?"&screenshot_secure="+ab(ak.screenshot_secure,1):"")+(ak.swfurl?"&swfurl="+ab(ak.swfurl,1):"")+(ak.swfurl_secure?"&swfurl_secure="+ab(ak.swfurl_secure,1):"")+(ap.hdl?"&hdl=1":"")+(O.cb?"&cb="+O.cb:"")+(O.ufbl?"&ufbl=1":"")+(O.uud?"&uud=1":"")+(ak.iframeurl?"&iframeurl="+ab(ak.iframeurl,1):"")+(ak.width?"&width="+ak.width:"")+(ak.height?"&height="+ak.height:"")+(ap.data_track_p32?"&p32="+ap.data_track_p32:"")+(Z||_a.track.ctp(ap.product,ap)?"&ct=1":"&ct=0")+((Z||_a.track.ctp(ap.product,ap))&&aa.indexOf("#")>-1?"&uct=1":"")+((ao&&ao.url)?"&acn="+_euc(ao.name)+"&acc="+_euc(ao.code)+"&acu="+_euc(ao.url):"")+(ad?(ad.rxi?"&rxi="+ad.rxi:"")+(ad.rsi?"&rsi="+ad.rsi:"")+(ad.gen?"&gen="+ad.gen:""):((aq?"&rsi="+aq:"")+(a?"&gen="+a:"")))+(ak.xid?"&xid="+ab(ak.xid,1):"")+(an?"&template="+ab(an,1):"")+(P?"&module="+ab(P,1):"")+(ap.ui_cobrand?"&ui_cobrand="+ab(ap.ui_cobrand,1):"")+(ah=="email"&&_a.ver()>=300?"&ui_email_to="+ab(ap.ui_email_to,1)+"&ui_email_from="+ab(ap.ui_email_from,1)+"&ui_email_note="+ab(ap.ui_email_note,1):"")+(_a.ver()<300?((ap.ui_header_color?"&ui_header_color="+ab(ap.ui_header_color,1):"")+(ap.ui_header_background?"&ui_header_background="+ab(ap.ui_header_background,1):"")):"");return U;}function J(Q,P,R){var a=Q.xid;if(P.data_track_clickback||P.data_track_linkback||_a.track.ctp(P.product,P)){return O.track.gcc(a,(Q.smd||O.smd||{}).gen||0)+(R||"");}else{return"";}}function p(W,Y,S,X,P,Z){var V=O.pub(),a=X||Y.url||"",R=Y.xid||O.util.cuid(),Q,U,T=(S.data_track_clickback||S.data_track_linkback||!V||V=="AddThis")||(S.data_track_clickback!==false&&_a.ver()>=250);if(a.toLowerCase().indexOf("http%3a%2f%2f")===0){a=_duc(a);}if(P){Q={};for(U in Y){Q[U]=Y[U];}Q.xid=R;setTimeout(function(){(new Image()).src=E(W=="twitter"&&Z?"tweet":W,0,Q,S);},100);}return(T?O.track.cur(a,W,R):a);}function o(S,Q,a){var Q=Q||{},R=S.share_url_transforms||S.url_transforms||{},P=O.track.cof(O.track.mgu(S.url,R,S,"mailto")),T=S.title?S.title:P;return"mailto:?body="+_euc(p("mailto",S,Q,P,a))+"&subject="+(_a.bro.iph?T:_euc(T));}function t(a){return((!a.templates||!a.templates.twitter)&&(!O.wlp||O.wlp=="http:"));}function i(P,R,a){var Q=w.open(P,R,a);s.push(Q);return Q;}function F(P,R,Z,Q,W){var V=R||550,S=Z||450,Y=screen.width,T=screen.height,U=Math.round((Y/2)-(V/2)),a=0;if(T>S){a=Math.round((T/2)-(S/2));}var X=w.open(P,(_a.bro.msi?"":(Q||"addthis_share")),"left="+U+",top="+a+",width="+V+",height="+S+",personalbar=no,toolbar=no,scrollbars=yes,location=yes,resizable=yes");s.push(X);return W?X:false;}function L(Q,R,P){if(l.href.search(_atc.rsrcs.bookmark)>-1){l=E(Q,0,R,P);}else{var a=w.open(E(Q,0,R,P),"addthis_share");s.push(a);}return false;}function k(P){var a={twitter:1,wordpress:1,facebook:1,email:_a.ver()>=300,more:_a.ver()>=300,raiseyourvoice:1,vk:1};return a[P];}function x(Q,P,a,R){var S={googlebuzz:"http://www.google.com/profiles/%s",google_follow:"https://plus.google.com/%s",youtube:"http://www.youtube.com/"+(a?(a=="channel"?"channel/":"user/"):"user/")+"%s?sub_confirmation=1",facebook:"http://www.facebook.com/profile.php?id=%s",facebook_url:"http://www.facebook.com/%s",rss:"%s",flickr:"http://www.flickr.com/photos/%s",foursquare:"http://foursquare.com/%s",instagram:"http://instagram.com/%s",followgram:"http://followgram.me/%s",twitter:"http://twitter.com/intent/follow?source=followbutton&variant=1.0&screen_name=%s",linkedin:(a?(a=="group"?"http://www.linkedin.com/groups?gid=%s":"http://www.linkedin.com/company/%s"):"http://www.linkedin.com/in/%s"),pinterest:"http://www.pinterest.com/%s",tumblr:"http://%s.tumblr.com",vimeo:"http://www.vimeo.com/%s"};if(Q=="facebook"&&isNaN(P)){Q="facebook_url";}if(Q=="twitter"&&P==_1){P=(R||{})["tw:screen_name"];}return!P?null:((S[Q]||"").replace("%s",P)||null);}function r(V,U,W,S,R,X,Q,a){var T={wordpress:{width:720,height:570},linkedin:{width:600,height:400},twitter:{width:520,height:520},"default":{width:550,height:450}},P=x(V,U,a);q(V,1,W,S);if(S.ui_use_same_window){l.href=P;}else{if(S.ui_use_different_full_window){w.open(P,"_blank");}else{F(P,R||(T[V]||T["default"]).width,X||(T[V]||T["default"]).height,Q);}}return false;}function H(V,U,R,T,a,Q){var S={wordpress:{width:720,height:570},linkedin:{width:600,height:400},facebook:{width:675,height:375},email:_a.ver()>=300?{width:660,height:660}:{width:735,height:450},more:_a.ver()>=300?{width:660,height:716}:{width:735,height:450},vk:{width:720,height:290},raiseyourvoice:{width:480,height:635},"default":{width:550,height:450}},P=E(V,0,U,R);if(R.ui_use_same_window){l.href=P;}else{if(V!="more"){F(P,T||(S[V]||S["default"]).width,a||(S[V]||S["default"]).height,Q);}else{_a.share.imgOcw(F(P,T||(S[V]||S["default"]).width,a||(S[V]||S["default"]).height,Q,true));}}return false;}function n(T,R,U,P){var S=T.share_url_transforms||T.url_transforms||{},a,Q=O.track.cof(O.track.mgu(T.url,S,T,"twitter"));if(!T.templates){T.templates={};}Q=E("twitter",0,T,R);if(a){T.title=a;}if(R.ui_use_same_window||P){l.href=Q;}else{F(Q,550,450,"twitter_tweet");}return false;}function m(S,R,a,P,U){var Q=(U?"follow":(S.indexOf("_comment")>-1?"comment":"share")),T={element:P||{},service:S||"unknown",url:U?R.followUrl:(R.trackurl||R.url)};_a.ed.fire("addthis.menu."+Q,w.addthis||{},T);}function q(S,U,W,Q,T){var P={},V={},R;for(R in W){P[R]=W[R];}for(R in Q){V[R]=Q[R];}if(!P.xid){P.xid=O.util.cuid();}V.hdl=1;var a=E(S,U,P,V);K.push(O.ajs(a,1));if(!T){m(S,P,Q,null,U);}}var e={};var c={};var D=[];function h(a){_a.util.each(a,function(P,Q){e[P]=Q;});}function B(a){D.push(a);}function M(){_a.util.each(D,function(a,P){P();});}function v(P,Q,a){if(e[P]){try{e[P](Q,a,P);if(Q){if((Q.parentNode.className||"").indexOf("toolbox")>-1){Q.parentNode.services=Q.parentNode.services||{};Q.parentNode.services[P]=1;}if((Q.className||"").indexOf("at300")==-1){Q.className+=" at300b";}}return true;}catch(R){return false;}}return false;}function y(a){_a.util.each(a,function(P,Q){c[P]={};_a.util.each(Q,function(R,S){c[P][R]=S;});});}function u(P,Q,a){var R=function(){};if(c[P]){if(!c[P].require||c[P].require(P,Q,a)){_a.util.each(c[P],function(S,T){if(S=="_after"){R=T;}else{Q[S]=function(U){U=U||{};U.el=Q;U.service=P;return T(U);};}});}R(Q);return true;}return false;}function I(Q,P,a){return G()+"tellfriend.php?&fromname=aaa&fromemail="+_euc(P.from)+"&frommenu=1&tofriend="+_euc(P.to)+(Q.email_template?"&template="+_euc(Q.email_template):"")+(P.vars?"&vars="+_euc(P.vars):"")+"&lng="+(O.lng()||"xx")+"&captcha_provider=nucaptcha¬e="+_euc(P.note)+"&"+f("email",null,null,a);}b.share=b.share||{};b.util.extend(b.share,{auw:k,ocw:F,onw:i,caw:A,ftw:r,stw:H,siw:L,pts:n,unt:t,uadd:f,genurl:E,geneurl:I,genieu:o,acb:p,gcp:J,gfu:x,svcurl:G,track:q,notify:m,links:C,register:h,registerListeners:y,sub:M,registerSubscriber:B,extern:v,externEvents:u});})(_a,_a.api,_a);(function(f,y,B){var E=document,i={},h={},q,D=[],e=0,v=0,x=0,m=true,G=1,z=0,j=E.domain.search(/\.addthis\.com$/i)!=-1?1:0,o=_a.bro.mob?"http://m.facebook.com/sharer.php":"http://www.facebook.com/sharer/sharer.php";function s(){return((_atc.ltj&&n())||(t()&&FB.XFBML&&FB.XFBML.parse));}function p(){if(q===_1){try{var H=(document.getElementsByTagName("html"))[0];if(H){if(H.getAttribute&&H.getAttribute("xmlns:fb")){q=true;}else{if(_a.bro.msi){var d=H.outerHTML.substr(0,H.outerHTML.indexOf(">"));if(d.indexOf("xmlns:fb")>-1){q=true;}}}}}catch(I){q=false;}}return q;}function t(){return(typeof(w.FB)=="object"&&FB.Event&&typeof(FB.Event.subscribe)=="function");}function n(){return!w.FB_RequireFeatures&&(!w.FB||(!FB.Share&&!FB.Bootstrap));}function A(J,H){var d={},K=h[H],I=(addthis_config.data_ga_tracker||addthis_config.data_ga_property);for(k in addthis_share){d[k]=addthis_share[k];}if(K){for(k in K){d[k]=K[k];}}d.url=H;_a.share.track(J,0,d,addthis_config);if(I){_a.gat(J,H,addthis_config,d);}}function g(){var d,H;if(E.location.href.indexOf(_atr)==-1&&!_a.sub&&!e){if(t()){e=1;FB.Event.subscribe("message.send",function(I){A("facebook_send",I);});FB.Event.subscribe("edge.create",function(I){if(!i[I]){A("facebook_like",I);i[I]=1;}});FB.Event.subscribe("edge.remove",function(I){if(i[I]){A("facebook_unlike",I);i[I]=0;}});FB.Event.subscribe("comment.create",function(I){A("facebook_comment",I.href);});FB.Event.subscribe("comment.remove",function(I){A("facebook_uncomment",I.href);});}else{if(w.fbAsyncInit&&!x){if(v<3){setTimeout(g,3000+1000*2*(v++));}x=1;}}}}function u(d,L){var K="fb-root",I=E.getElementById(K),H=w.fbAsyncInit,J=function(){for(var N=0;N";H.style.width=H.style.height="0px";}H.noh=H.ost=1;}function a(H,d){if(H.ost||_a.bro.ie6){return;}_a.ufbl=1;if(_a.share.fb.ready()){c("share",H,d);}else{H.className="";H.innerHTML="";H.style.width=H.style.height="0px";}H.noh=H.ost=1;}function c(J,H,d,I){if(!I){I=_parseThirdPartyAttributes(H,"fb:"+J);}I.href=I.href||_a.track.mgu(d.share.url,{defrag:1});J=J==="share"?J+"-button":J;H.innerHTML="
";_a.util.each(I,function(L,K){if(J==="share-button"){if(L==="layout"){L="type";}if(K==="horizontal"){K="button_count";}else{if(K==="vertical"){K="box_count";}}}H.firstChild.setAttribute("data-"+L,K);});if(I&&(!I.type&&!I.layout)){H.firstChild.setAttribute("data-type","box_count");}u(H);}function r(N,L){if(N.ost){return;}var J,H,M=_a.api.ptpa(N,"fb:subscribe");if(_a.util.isEmpty(M)){M=_a.api.ptpa(N,"fb:follow");}var K=M.layout||"button_count",d={standard:[450,M.show_faces?80:35],button_count:[90,25],box_count:[55,65]},O=M.width||(d[K]?d[K][0]:100),I=M.height||(d[K]?d[K][1]:25);passthrough=_a.util.toKV(M);_a.ufbl=1;if(s()){if(M.layout===_1){M.layout="button_count";}if(M.show_faces===_1){M.show_faces="false";}if(M.action===_1){M.action="subscribe";}if(M.width===_1){M.width=O;}if(M.font===_1){M.font="arial";}if(M.href===_1){M.href=_a.track.mgu(L.share.url,{defrag:1});}if(!L.share.xid){L.share.xid=_a.util.cuid();}h[M.href]={};for(H in L.share){h[M.href][H]=L.share[H];}c("follow",N,L,M);}else{if(!_a.bro.msi){J=E.ce("iframe");}else{N.innerHTML="";J=N.firstChild;}J.style.overflow="hidden";J.style.scrolling="no";J.style.scrollbars="no";J.style.border="none";J.style.borderWidth="0px";J.style.width=O+"px";J.style.height=I+"px";J.src="//www.facebook.com/plugins/subscribe.php?href="+_euc(_a.track.mgu(L.share.url,{defrag:1}))+"&layout=button_count&show_faces=false&width=100&action=subscribe&font=arial&"+passthrough;if(!_a.bro.msi){N.appendChild(J);}}N.noh=N.ost=1;}function F(N,L){if(N.ost){return;}var O,I,d,M=_a.api.ptpa(N,"fb:like"),K=M.layout||"button_count",H={standard:[450,M.show_faces?80:35],button_count:[90,25],box_count:[55,65]},P=M.width||(H[K]?H[K][0]:100),J=M.height||(H[K]?H[K][1]:25);passthrough=_a.util.toKV(M);_a.ufbl=1;if(s()){if(M.layout===_1){M.layout="button_count";}if(M.show_faces===_1){M.show_faces="false";}if(M.action===_1){M.action="like";}if(M.width===_1){M.width=P;}if(M.font===_1){M.font="arial";}if(M.href===_1){d=_a.util.clone(L.share.url_transforms||{});d.defrag=1;M.href=_a.track.mgu(L.share.url,d);}M.send=false;if(!L.share.xid){L.share.xid=_a.util.cuid();}h[M.href]={};for(I in L.share){h[M.href][I]=L.share[I];}c("like",N,L,M);}else{if(!_a.bro.msi){O=E.ce("iframe");}else{N.innerHTML="";O=N.firstChild;}O.style.overflow="hidden";O.style.scrolling="no";O.style.scrollbars="no";O.style.border="none";O.style.borderWidth="0px";O.style.width=P+"px";O.style.height=J+"px";O.src="//www.facebook.com/plugins/like.php?href="+_euc(_a.track.mgu(L.share.url,{defrag:1}))+"&layout=button_count&show_faces=false&width=100&action=like&font=arial&"+passthrough;if(!_a.bro.msi){N.appendChild(O);}}N.noh=N.ost=1;}function b(L,J,N,H){var M=(L.passthrough||{}).facebook||{},K={},d,I=G?(o+"?u="+_euc(_a.share.acb("facebook",L,J))+"&p[title]="+_euc(L.title)+"&display=popup"):(z?("http://www.facebook.com/connect/prompt_feed.php?message="+_euc(L.title)+"%0A%0D"+_euc(_a.share.acb("facebook",L,J))):j?"http://www.facebook.com/dialog/feed?redirect_uri="+_euc("http://s7.addthis.com/static/postshare/c00.html")+"&app_id=140586622674265&link="+_euc(_a.share.acb("facebook",L,J))+"&name="+_euc(L.title)+"&description="+_euc(L.description||"")+"&display=popup":_a.share.genurl("facebook",0,L,J));if(G||z||j){for(d in J){K[d]=J[d];}K.hdl=1;_a.share.track("facebook",0,L,K,1);}if(J.ui_use_same_window||H){l.href=I;}else{_a.share.ocw(I,640,375,"facebook");}return false;}f.share=f.share||{};f.share.register({facebook_like:F,facebook_send:C,facebook_share:a,facebook_subscribe:r});f.share.registerSubscriber(g);f.share.registerListeners({facebook:{_after:function(d){d.ins=1;d.noh=1;},onclick:function(H){var I=H.el,d=H.service;if(I.ins!=0&&window.addthis.auth&&window.addthis.auth.fbishare){window.addthis.auth.lockiframe[d]=true;window.addthis.auth.loadIframe(I,d,I.share,I.conf);}else{return _a.share.fb.share(I.share,I.conf);}},onmouseover:function(H){var I=H.el,d=H.service;if(I.ins!=0&&window.addthis.auth&&window.addthis.auth.fbishare){window.addthis.auth.keepiframe[d]++;window.addthis.auth.loadIframe(I,d,I.share,I.conf);}},onmouseout:function(H){var I=H.el,d=H.service;if(I.ins!=0&&window.addthis.auth&&window.addthis.auth.fbishare){window.addthis.auth.keepiframe[d]--;setTimeout(function(){window.addthis.auth.hideIframe(d);},1000);}}}});f.share.fb={like:F,send:C,subs:r,has:t,ns:p,ready:s,compat:n,share:b,sub:g,load:u};})(_a,_a.api,_a);(function(e,f,i){var j=document,c=false,g=0;function b(){return(window.getglue&&window.getglue.on);}function h(m,l){var d=(((m||{}).passthrough||{}).objectId)||"none";_a.share.ocw("http://w.getglue.com/convo/checkins?type=conversation&objectId="+_euc(d)+"&source="+_euc(m.url));setTimeout(function(){(new Image()).src=genurl("getglue",0,m,l);},100);}function k(m,l,o){var d=(((q||{}).passthrough||{}).objectId);if(!d){m.innerHTML="";window.console&&console.log("Skipping Get Glue widget: no objectId defined");return;}if(!b()){var p=document.createElement("script");p.src="//widgets.getglue.com/checkin.js";var t=document.getElementsByTagName("script")[0];}var r=_parseThirdPartyAttributes(m,"getglue"),q=l.share;t.parentNode.insertBefore(p,t);m.innerHTML="Checkin on Get Glue";}function a(d){if(c){return;}var m=d?d.share:addthis_share,l=d?d.conf:addthis_config;if(b()){getglue.on("checkin",function(p){var n={};for(var o in m){n[o]=m[o];}_a.share.track("getglue",0,n,l);});c=true;}else{if(g<5){setTimeout(function(){a(d);},500*(g++));}}}e.share=e.share||{};e.share.registerSubscriber(a);e.share.register({getglue_checkin:k});e.share.getglue={sub:a,ps:h,gg:k};})(_a,_a.api,_a);(function(e,h,m){var p=document,f={},n={},a=0,k=0,g=0,o=true;function i(){return(window.gapi&&window.gapi.plusone);}function b(){if(i()){if(gapi&&gapi.plusone&&Object.prototype.toString.call(gapi.plusone.go)==="[object Function]"){gapi.plusone.go();}return;}else{if(!k){k=1;var d=new _a.resource.Resource("plusoneapi","//apis.google.com/js/plusone.js",i);d.addEventListener("load",function(){b();});d.load();}}}function c(d){var r=d?d.share:addthis_share,q=d?d.conf:addthis_config;window._at_plusonecallback=window._at_plusonecallback||function(u){var s={};for(var t in r){s[t]=r[t];}s.url=u.href;_a.share.track("google_"+(u.state=="off"?"un":"")+"plusone",0,s,q);};window._at_pluscallback=window._at_pluscallback||function(u){var s={};for(var t in r){s[t]=r[t];}s.url=u.href;_a.share.track("googleplus_counter",0,s,q);};}function j(q,d,r){if(q.ost){return;}var v=r==="googleplus_counter"?"plus":"plusone",t=_parseThirdPartyAttributes(q,"g:"+v),s=document.ce("g:"+v),u="";_a.gpl=_a.gpl||{},_a.gpl.lang=_a.gpl.lang||null;t.lang=_a.gpl.lang=_a.gpl.lang||((typeof t.lang=="undefined")?null:t.lang);window.___gcfg=window.___gcfg||{};window.___gcfg.lang=_a.gpl.lang||t.lang||_a.ggl((d.conf||{}).ui_language||window.addthis_language)||"en-US";t.href=d.share.url=t.href||_a.track.mgu(d.share.url,{defrag:1});if(v=="plusone"){t.size=t.size||(check32(q,true)?"standard":"small");t.callback=t.callback||"_at_"+v+"callback";}else{t.href=_a.share.acb("google_plusone_share",d.share,addthis_config);t.action="share";}_a.share.goog.sub(d);_a.util.each(t,function(y,x){s.setAttribute(y,x);});q.appendChild(s);q.noh=q.ost=1;b();}function l(q,d){if(q.ost){return;}q.title="Follow on Google+";var v=_parseThirdPartyAttributes(q,"g:plusone");v.size=(v.size||"").toLowerCase();if(document.head){var x=document.createElement("link");x.setAttribute("href",v.href);x.setAttribute("rel","publisher");document.head.appendChild(x);}v.url=v.href=v.href||"";if(v.size=="badge"||v.size=="smallbadge"){var r=document.ce("g:plus"),u="";_a.gpl=_a.gpl||{},_a.gpl.lang=_a.gpl.lang||null;v.lang=_a.gpl.lang=_a.gpl.lang||((typeof v.lang=="undefined")?null:v.lang);window.___gcfg=window.___gcfg||{};window.___gcfg.lang=_a.gpl.lang||v.lang||_a.ggl((d.conf||{}).ui_language||window.addthis_language)||"en-US";_a.util.each(v,function(z,y){r.setAttribute(z,y);});q.appendChild(r);q.noh=q.ost=1;b();}else{var s="32";if(v.size=="small"){s="16";}else{if(v.size=="large"){s="64";}}var t=txt=txt2=ieQ="";if(v.name){if(document.compatMode=="BackCompat"&&_a.bro.msi){ieQ="onclick=\"window.open("+v.href+"?prsrc=3)\"";}t="cursor:default;display:inline-block;text-decoration:none;color:#333;font:13px/16px arial,sans-serif;"+((v.size=="large")?"text-align:center;white-space:nowrap;":"");if(v.size=="large"){txt2="
"+v.name+"
on Google+ ";}else{txt=""+v.name+"on";}}q.setAttribute("target","_blank");q.style.textDecoration="none";q.style.cursor="default";q.innerHTML=""+txt+"\""+q.title+"\""+txt2+"";q.noh=q.ost=1;q.onclick=function(y){if(!y){var y=window.event;}var A=y.originalTarget||y.relatedTarget||y.toElement||y.srcElement,z="";if(!A){return;}while(A.nodeName!="A"){A=A.parentNode;}z=((A.attributes||{})["g:plusone:href"]||{}).value||window.location.href;w.open(z+"?prsrc=3");_a.share.track("google_plusone_badge",1,v,config);return false;};}q.onmouseover=function(){this.className=(this.className.indexOf("at300bo")>-1)?this.className:this.className.replace(/at300b/i,"at300bo");};q.noh=q.ost=1;}e.share=e.share||{};e.share.register({google_plusone:j,googleplus_counter:j,google_plusone_badge:l});e.share.registerSubscriber(c);e.share.registerListeners({google_plusone:{onclick:function(d){return false;}}});e.share.goog={plusone:j,badge:l,has:i,sub:c};})(_a,_a.api,_a);(function(a,e,b){var f=document;function c(g,d){var h=function(j){if((typeof window.Intent==="undefined"&&typeof window.WebKitIntent==="undefined")||(!window.navigator||(typeof window.navigator.startActivity==="undefined"&&typeof window.navigator.webkitStartActivity==="undefined"))){return false;}if(!window.Intent||(typeof window.Intent["native"]!=="undefined"&&!window.Intent["native"])){return true;}if(_a.bro.chr){var l=navigator.userAgent;var k=/Chrome\/(.*)\./.exec(l);if(k.length>=1){var i=parseInt(k[1].substring(0,2));if(i<19){var m=function(){if(typeof addthis_config==="undefined"){return false;}if(typeof addthis_config.webintents==="undefined"){return false;}if(!addthis_config.webintents){return false;}return true;};return(m());}}}return true;};if(!h()){return;}options.noevents=true;g.onclick=function(k){var i=window.Intent||window.WebKitIntent;var j=new i("http://webintents.org/share","text/uri-list",d.share.url);if(typeof navigator.startActivity!=="undefined"){navigator.startActivity(j);}else{if(typeof navigator.webkitStartActivity!=="undefined"){navigator.webkitStartActivity(j);}}_a.share.track("intent_share_url",0,d.share,d.conf);return false;};}a.share=a.share||{};a.share.register({intent_share_url:c});a.share.registerListeners({intent_share_url:{}});})(_a,_a.api,_a);(function(b,e,c){var f=document;function a(g,d,h){if(g.ost){return;}var j=_parseThirdPartyAttributes(g,"pi:pinit"),l=_a.util.clone(d.share),k;if(addthis_share&&addthis_share.passthrough&&addthis_share.passthrough.pinterest_share){k=addthis_share.passthrough.pinterest_share;}else{if(addthis_share&&addthis_share.pinterest_share){k=addthis_share.pinterest_share;}else{if(addthis_share&&addthis_share.passthrough){k=addthis_share.passthrough;}else{if(addthis_share){k=addthis_share;}else{k={};}}}}if(j.media||j.layout){j.url=l.url=j.url||k.url||_a.track.mgu(l.url,{defrag:1});j.url=_euc(_a.track.mgu(l.url));if(j.layout=="horizontal"){j.layout="&layout=horizontal";j.width="100px";j.height="25px";}else{if(j.layout=="vertical"){j.layout="&layout=vertical";j.width="49px";j.height="59px";}else{j.layout="";j.width="40px";j.height="25px";}}g.innerHTML="";pinitButton=g.firstChild;if(!d.conf.pubid){d.conf.pubid=addthis_config.pubid||_a.pub();}j.description=l.description=j.description||k.description||k.title||(addthis_share||{}).title||"";pinitButton.src=_atc.rsrcs.pinit+((_a.bro.ie6||_a.bro.ie7)?"?":"#")+"url="+_euc(j.url)+"&media="+_euc(j.media||k.media||"")+"&description="+_euc(j.description)+j.layout+"&ats="+_euc(_a.util.rtoKV(l))+"&atc="+_euc(_a.util.rtoKV(addthis_config));_a.ed.addEventListener("addthis.pinterest.image",function(n){if(!w.addthis_share){w.addthis_share={};}if(!w.addthis_share.passthrough){w.addthis_share.passthrough={};}if(!w.addthis_share.passthrough.pinterest_share){w.addthis_share.passthrough.pinterest_share={};}var m=w.addthis_share.passthrough.pinterest_share;m.pi_media=j.media;m.pi_media_desc=j.description;_a.share.img();});}else{var i=f.createElement("img");g.innerHTML="";g.onclick=function(){if(!w.addthis_share){w.addthis_share={};}if(!w.addthis_share.passthrough){w.addthis_share.passthrough={};}if(!w.addthis_share.passthrough.pinterest_share){w.addthis_share.passthrough.pinterest_share={};}var m=w.addthis_share.passthrough.pinterest_share;m.pi_media=j.media;m.pi_media_desc=j.description;_a.share.img();return false;};}g.noh=g.ost=1;}b.share=b.share||{};b.share.register({pinterest:a,pinterest_count:a,pinterest_pinit:a});b.share.registerListeners({pinterest_share:{onclick:function(g){var h=g.el;if(_atc.ver>=300){var d=_a.util.clone(h.config||addthis_config);d.ui_pane="image";d.image_service="pinterest_share";d.image_header="Pin It on Pinterest";window.addthis.menu(h,d,h.share||addthis_share);}else{_a.share.imgVer("pinterest_share");}return false;}}});b.share.pinterest={pinit:a};})(_a,_a.api,_a);(function(f,g,h,e){var i=document;function a(n,l,q){if(n.ost){return;}var m=_a.util.clone(l.share),k={type:"webpage",url:l.share.url,title:l.share.title,style:"number"},r=_parseThirdPartyAttributes(n,"wb:like"),p=j(),o=c(r,p),d=c(k,p);meta_tags=_a.util.extend(d,o),wb_elem=i.createElement("wb:like");if(_a.bro.ie6||_a.bro.ie7||_a.bro.ie8||(_a.bro.msi&&document.compatMode=="BackCompat")){n.parentNode.insertBefore(wb_elem,n.nextSibling);}else{n.appendChild(wb_elem);}b(wb_elem,meta_tags);_a.ajs("//tjs.sjs.sinajs.cn/open/api/js/wb.js",1);if(!l.conf.pubid){l.conf.pubid=addthis_config.pubid||_a.pub();}n.onclick=function(){_a.share.track("sinaweibo_like",0,l.share,l.conf);};n.noh=n.ost=1;}function j(){var o=i.getElementsByTagName("meta"),d={},p,k,n,m;for(var l=0;l=300){var d=_a.util.clone(g.config||addthis_config);d.ui_pane="image";d.image_service="thefancy";d.image_header="Fancy It";window.addthis.menu(g,d,g.share||addthis_share);}else{_a.share.imgVer("thefancy");}return false;}}});})(_a,_a.api,_a);(function(b,c,h){var i=document,f=0,m=0,a=0;function k(){return(window.twttr&&window.twttr.events);}function g(d){if(k()&&f==1){e();f=a=0;return;}else{if(!f){_a.ajs("//platform.twitter.com/widgets.js",1,null,null,null,true);f=1;}}if(a<3){setTimeout(g,3000+1000*2*(a++));}}function e(d){if(window.twttr&&!m&&twttr.events){m=1;twttr.events.bind("click",function(s){if(s.region=="tweetcount"){return;}if(((s.target||{}).conf||{}).follow){return false;}var r=(s.target.parentNode&&s.target.parentNode.share)?s.target.parentNode.share:{},p=r.url||s.target.baseURI,t=r.title||addthis_share.title,n={};for(var o in addthis_share){n[o]=addthis_share[o];}for(var o in r){n[o]=r[o];}n.url=p;if(t){n.title=t;}var q=(s.region=="follow"||s.region=="following")?false:true;_a.share.track(((q)?"tweet":"twitter_follow_native"),((q)?0:1),n,addthis_config);});}}function j(u,r,y){if(u.ost){return;}var v=_parseThirdPartyAttributes(u,"tw"),z=r.share,s=v.width||56,o=v.height||20,t,B="",q;r.share.url_transforms=r.share.url_transforms||{};r.share.url_transforms.defrag=1;var n=_a.util.clone(r.share),p=((_a.bro.msi&&i.compatMode=="BackCompat")||r.conf.ui_use_tweet_iframe||(r.share.url_transforms.shorten||{}).twitter=="bitly")?true:false;if(typeof v.url!="undefined"){n.url=v.url;}else{n.url=v.url=_a.track.mgu((n.url||(addthis_share||{}).url),n.url_transforms,n,"twitter");}if(!v.counturl){v.counturl=(p)?v.url.replace(/=/g,"%253D"):v.url;}if(n.url.search(/\.+.*(\/|\?)/)==-1){n.url+="/";}v.url=_a.share.acb("twitter",n,addthis_config);v.count=v.count||"horizontal";z.passthrough=z.passthrough||{};var A=z.passthrough.twitter||{};r.text=v.text=v.text||((r.share.title==i.title)?A.text:r.share.title)||"";r.related=v.related=v.related||A.related||"";r.hashtags=v.hashtags=v.hashtags||A.hashtags||"";if(v.via||A.via||(r.text.match(/via\s+@[a-zA-Z0-9_\.]+/i))){r.via=v.via=v.via||A.via||(r.text.match(/via\s+@[a-zA-Z0-9_\.]+/i)?r.text.match(/via\s+@[a-zA-Z0-9_\.]+/i).split("@")[1]:"");}B=_a.util.rtoKV(z,"#@!");if(v.count==="vertical"){o=62;v.height=v.height||o;}else{if(v.count==="horizontal"){s=110;v.width=v.width||s;}}if(v.width){s=v.width;}if(v.height){o=v.height;}t=_a.util.toKV(v,"#@!");if(p){u.innerHTML="";q=u.firstChild;if(!r.conf.pubid){r.conf.pubid=addthis_config.pubid||_a.pub();}q.src=_atc.rsrcs.tweet+((_a.bro.ie6||_a.bro.ie7)?"?":"#")+"href="+_euc(v.url)+"&dr="+_euc(_a.dr)+"&conf="+_euc(_a.util.toKV(r.conf))+"&share="+_euc(B)+"&tw="+_euc(t);}else{var x=(z.templates||{}).twitter||"";if(!v.text){v.text=z.title==""?"":z.title+":";}var w=i.ce("a");w.href="http://twitter.com/share";w.className="twitter-share-button";w.innerHTML="Tweet";for(var d in v){if(v.hasOwnProperty(d)){w.setAttribute("data-"+d,v[d]);}}u.appendChild(w);if(!r.conf.pubid){r.conf.pubid=addthis_config.pubid||_a.pub();}g(u);}u.noh=u.ost=1;}function l(o,n){var q=_parseThirdPartyAttributes(o,"tf"),d=_parseThirdPartyAttributes(o,"tw"),p=document.ce("a");q.screen_name=d.screen_name||q.screen_name||"addthis";p.href="http://twitter.com/"+q.screen_name;p.className="twitter-follow-button";p.innerHTML="Follow @"+q.screen_name;_a.util.each(q,function(s,r){p.setAttribute("data-"+s,r);});_a.util.each(d,function(s,r){p.setAttribute("data-"+s,r);});o.ost=1;o.appendChild(p);if(!n.conf.pubid){n.conf.pubid=addthis_config.pubid||_a.pub();}g(o);}b.share=b.share||{};b.share.register({tweet:j,twitter_follow_native:l});b.share.registerSubscriber(e);b.share.registerListeners({twitter:{_after:function(d){d.ins=1;d.noh=1;},onclick:function(n){var p=n.el,d=n.service;if(p.ins!=0&&window.addthis.auth&&window.addthis.auth.twishare){window.addthis.auth.lockiframe[d]=true;window.addthis.auth.loadIframe(p,d,p.share,p.conf);}else{return _a.share.pts(p.share,p.conf);}},onmouseover:function(n){var p=n.el,d=n.service;if(p.ins!=0&&window.addthis.auth&&window.addthis.auth.twishare){window.addthis.auth.keepiframe[d]++;window.addthis.auth.loadIframe(p,d,p.share,p.conf);}},onmouseout:function(n){var p=n.el,d=n.service;if(p.ins!=0&&window.addthis.auth&&window.addthis.auth.twishare){window.addthis.auth.keepiframe[d]--;setTimeout(function(){window.addthis.auth.hideIframe(d);},1000);}}}});b.share.twitter={tweet:j,follow:l,sub:e};})(_a,_a.api,_a);(function(h,i,k){var l=document;function g(p,o,q){if(p.ost||_a.bro.ie6){return;}var d=_parseThirdPartyAttributes(p,"su:badge"),t=d.style||"1",u=o.share.url=d.href||_a.track.mgu(o.share.url,{defrag:1}),s=d.height||"20px",r=d.width||"75px";if(t=="5"){s=d.height||"60px";}else{if(t=="6"){s=d.height||"31px";}}p.innerHTML="".replace("{{STYLE}}",t).replace("{{URL}}",_euc(u)).replace("{{HEIGHT}}",s).replace("{{WIDTH}}",r);p.noh=p.ost=1;}function c(A,y){if(A.ost){return;}var o=l.ce("div"),p="http://userapi.com/js/api/openapi.js?52",s=y.share.url.replace(/#.*$/,""),v=y.share.title,d=y.share.description,r=_parseThirdPartyAttributes(A,"vk"),t=r&&(r.apiId||r.apiid),q={type:"full",pageDescription:d,pageTitle:v,pageUrl:s},z=function(){return w.VK&&w.VK.init&&w.VK.Widgets&&w.VK.Widgets.Like;},u=function(B){VK.init({apiId:t,onlyWidgets:true});VK.Widgets.Like(B.id,B.configuration);},x=_a.util.bind(function(){u(this);},o);if(!t){return;}o.id="addthis_vk_like"+_a.util.cuid();o.configuration=q;A.appendChild(o);if(z()){u(o,q);}else{if(!i._vkr){i._vkr=new _a.resource.Resource("vklike",p,z);i._vkr.load();}i._vkr.addEventListener("load",x);}A.noh=A.ost=1;}function j(o,d){if(o.ost){return;}var p=_parseThirdPartyAttributes(o,"4sq"),q=document.createElement("a");q.href="https://foursquare.com/intent/venue.html";q.className="fourSq-widget";if(p["data-variant"]){q.setAttribute("data-variant",p["data-variant"]);}o.appendChild(q);_a.ajs("//platform.foursquare.com/js/widgets.js",1);o.noh=o.ost=1;}function f(o,d){if(o.ost){return;}var r=_parseThirdPartyAttributes(o,"rk:healthy"),q=l.createElement("div"),p=new _a.resource.Resource("runkeeperjs","//runkeeper.com/static/js/healthy/rkHealthyButton.js");q.className="rk-healthy";q.setAttribute("data-healthyUrl",(r.url||d.share.url||window.location.href));q.setAttribute("data-buttonType",(r.type||"normal"));o.appendChild(q);o.noh=o.ost=1;p.load();}function e(o,d){if(_a.bro.ie9&&_a.ver()<300){return;}o.title="Permalink";}function m(o,d){if(o.ost){return;}var r=_parseThirdPartyAttributes(o,"svejo:"),q=document.ce("div"),p=new _a.resource.Resource("svejojs","//svejo.net/button.js",function(){return!!window.load_svejo_buttons;});p.addEventListener("load",function(){window.load_svejo_buttons();});q.className="svejo-button";r.href=d.share.url=r.href||_a.track.mgu(d.share.url,{defrag:1});r.size=r.size||(check32(o,true)?"standard":"compact");_a.util.each(r,function(t,s){q.setAttribute("data-"+t,s);});o.appendChild(q);o.noh=o.ost=1;p.load();}function b(r,p){if(r.ost){return;}var d=_parseThirdPartyAttributes(r,"li"),u=p.share,s=d.width||100,o=d.height||18,q,v="",t;if(!d.counter){d.counter="horizontal";}if(!u.passthrough){u.passthrough={};}u.passthrough.linkedin=_a.util.toKV(d);v=_a.util.rtoKV(u);if(d.counter==="top"){o=55;s=57;if(!d.height){d.height=o;}if(!d.width){d.width=s;}}else{if(d.counter==="right"){s=100;if(!d.width){d.width=s;}}else{if(d.counter==="none"){s=57;if(!d.width){d.width=s;}}}}if(d.width){s=d.width;}if(d.height){o=d.height;}q=_a.util.toKV(d),r.innerHTML="";t=r.firstChild;if(!p.conf.pubid){p.conf.pubid=addthis_config.pubid||_a.pub();}t.src=_atc.rsrcs.linkedin+((_a.bro.ie6||_a.bro.ie7)?"?":"#")+"href="+_euc(p.share.url)+"&dr="+_euc(_a.dr)+"&conf="+_euc(_a.util.toKV(p.conf))+"&share="+_euc(v)+"&li="+_euc(q);r.noh=r.ost=1;}function n(s,q){var r=_parseThirdPartyAttributes(s,"am:wishlist"),v=q.share.url=r.url=r.url||_a.track.mgu(q.share.url,{defrag:1}),p=l.ce("div"),t=l.ce("div"),d=l.ce("div"),u=l.ce("div"),o=addthis_config||{};o.hdl=1;if(!r.id){r.id=Math.floor(Math.random()*10000);}p.style.display=t.style.display=d.style.display=u.style.display="none";p.id="AUWLBkURL."+r.id;p.innerHTML=r.url=_a.share.acb("amazonwishlist_native",q.share,o);t.id="AUWLBkPrice."+r.id;t.innerHTML=r.price;d.id="AUWLBkTitle."+r.id;d.innerHTML=r.title;u.id="AUWLBkImage."+r.id;u.innerHTML=r.img||"";s.appendChild(p);if(r.price){s.appendChild(t);}if(r.title){s.appendChild(d);}s.appendChild(u);_a.ajs("http://www.amazon.com/wishlist/bookmarklet/getbutton.js?name="+r.id+"&image="+(r.style||"2"),1,"1","AddToAUWLButton."+r.id,s);s.onclick=function(){_a.share.track("amazonwishlist_native",0,r,o);};s.noh=s.ost=1;}function a(o,d){if(o.className.indexOf("chiclet_style")!=-1){throw new Error("just do a chiclet");}if(o.ost){return;}var s=_parseThirdPartyAttributes(o,"tm"),r=50,q=61;passthrough=_a.util.toKV(s);if(s.style==="compact"){r=95;q=25;}o.innerHTML="";var p=o.firstChild;p.src="//api.tweetmeme.com/button.js?url="+_euc(d.share.url)+"&"+passthrough;o.noh=o.ost=1;}h.share=h.share||{};h.share.register({foursquare:j,svejo_counter:m,linkedin_counter:b,runkeeper_healthy:f,stumbleupon_badge:g,tweetmeme:a,vk_like:c});h.share.registerListeners({more:{require:function(o,p,d){return!p.noh&&_a.ver()>=300&&!_a.bro.iph&&!_a.bro.wph&&!_a.bro.dro;},onclick:function(d){var p=d.el||{};window.addthis.menu(p,p.conf,p.share);return false;}},email:{require:function(o,p,d){return!p.noh&&_a.ver()>=300&&!_a.bro.iph&&!_a.bro.wph&&!_a.bro.dro;},onclick:function(q){var r=q.el||{},p=q.service,d=_a.util.clone(r.conf);d.ui_pane=p;if(document.location.href.search(/bookmark\.php/)==-1){window.addthis.menu(r,d,r.share);}else{window.location=_a.share.genurl(p,0,r.share,r.conf);}return false;}},foursquare:{onclick:function(p){var q=p.el||{},d=p.service;_a.share.track(d,1,q.share,q.conf);return false;}},link:{onclick:function(r){var s=r.el||{},p=r.service,d=_euc((s.share||{}).url||addthis_share.url);if(_a.ver()>=300){var q=_a.util.clone(s.config||addthis_config);q.ui_pane="link";window.addthis.menu(s,q,s.share||addthis_share);}else{addthis_open(document.body,"link",d);if(document.getElementById("at16p")){document.getElementById("at16p").style.display="block";}if(document.getElementById("at15s")){document.getElementById("at15s").style.display="none";}}return false;}}});})(_a,_a.api,_a);(function(f,g,k){function a(){try{if(_a.ver()>=300){return(l.href.search(/bookmark\d+\.html/i)!=-1);}return l.href.search(/addthis\.com\/static\/r07\/bookmark\d+\.html/i)!=-1;}catch(o){return 0;}}var m={pinterest_share:{img_service:"pinterest_share",img_header:"Pin It to Pinterest",img_base_url:"//pinterest.com/pin/create/button/",img_param:"media=",ctype:"",windowProps:{height:"335",width:"750"}},pinterest:{img_service:"pinterest",img_header:"Pin It to Pinterest",img_base_url:"//pinterest.com/pin/create/button/",img_param:"media=",ctype:"",windowProps:{height:"335",width:"750"}},thefancy:{img_service:"thefancy",img_header:"Add to Fancy",img_base_url:"//thefancy.com/offer.html",img_param:"imageurl=",ctype:"&ctype=image",windowProps:{height:"500",width:"700"}}},j=document.body;function b(t,Y,Z){var t=typeof t=="undefined"?"pinterest_share":t,V=d.getElementById("atImgBox_"+t),o=d.getElementById("at16pccImg"),H=m[t]||m.pinterest_share,U=(t.indexOf("pinterest")!==-1)?true:false;Y=a()?(Y||w.addthis_media_msg):Y;if(V&&!Y){if(a()){e("main");e("filter");e("details");V.style.display="block";}else{V.style.display="block";if(o){o.style.height="100%";}}}else{var z=_a.util.gebcn(j,"DIV","atPinWin",true,true);for(var P in z){if(z[P].style){z[P].style.display="none";}}var s=d.getElementById("atImgBox_"+t)||d.createElement("div"),Q=w.addthis_media_msg||null,u=Q||Y||(n()||"").split(";"),p=new Array(),E,r=new Array(),R=d.createElement("div"),C=d.createElement("div"),B=d.createElement("span"),F=d.createElement("span"),O=(((w.addthis_share_msg||w.addthis_share||{}).passthrough||{}).pinterest_share||{}).media,K=false,G=a()?"3":"",y=a()?"15":0;if((s.innerHTML||"").search(/at3/)!=-1){s.innerHTML="";}if(_a.ver()>=300&&a()&&Q){Y=Q;}if(Z){u.push(Z);}for(var T in u){if(typeof u[T].split!=="function"){continue;}var W=(u[T]||"").split("!|");if(!W[0]||typeof W[0]=="undefined"){continue;}if(U&&W.length>2){if(W[1]!=="?"&&W[2]!=="?"){if(parseInt(W[1],10)*parseInt(W[2],10)<20000){continue;}}}p.push({src:unescape(W[0]),offsetHeight:W[1],offsetWidth:W[2],alt:W[3],og:W[4]});}if(!o&&!Y&&_a.ver()<300){o=d.createElement("div");o.id="at16pccImg";d.body.appendChild(o);if(_a.bro.msi&&d.compatMode.toLowerCase()=="backcompat"){o.style.position="absolute";}}else{if(o&&o.style){o.style.height="100%";}}R.className="atPinHdr";B.innerHTML=""+H.img_header+"";B.className="atPinHdrMsg";R.appendChild(B);F.innerHTML="X";F.className="atPinClose";F.onclick=function(){d.getElementById("atImgBox_"+t).style.display="none";o.style.height="0";};R.appendChild(F);s.appendChild(R);var J=0,v={};for(var T in p){E=p[T];if(!E||typeof E.src==="undefined"){continue;}var I=d.createElement("img"),L=d.createElement("span"),q=d.createElement("span"),A=d.createElement("span"),X=d.createElement("div"),N=4;I.alt=I.title=E.alt;if(_a.ver()>=300){X.className="atImgActBtn at300bs at15nc at15t_"+t;}X.style.display="none";X.onmouseover=function(){(this.style||{}).opacity="1";};I.src=E.src;J++;v=E;if(isNaN(E.offsetHeight)||isNaN(E.offsetWidth)){I.height=200-y;}else{N=Math.min((E.offsetHeight/(205-y)),(E.offsetWidth/(205-y)));I.height=E.offsetHeight/N;I.width=E.offsetWidth/N;I.style.marginTop=I.height>(202-y)?(-(I.height-(200-y))/2)+"px":0+"px";I.style.marginLeft=I.width>(202-y)?(-(I.width-(200-y))/2)+"px":0+"px";}A.innerHTML=(E.og)?"Preferred Image":E.offsetHeight+" x "+E.offsetWidth;q.className="atImgSpanInner";L.className="at"+G+"ImgSpanOuter addthis_32x32_style";A.className="atImgSpanSize";q.appendChild(I);q.appendChild(X);L.appendChild(q);L.appendChild(A);L.onmouseover=function(x){this.getElementsByTagName("div")[0].style.display="block";this.getElementsByTagName("img")[0].style.opacity=("0.4");this.getElementsByTagName("img")[0].style.filter="alpha(opacity=40)";};L.onmouseout=function(x){this.getElementsByTagName("div")[0].style.display="none";this.getElementsByTagName("img")[0].style.opacity=("1");this.getElementsByTagName("img")[0].style.filter="alpha(opacity=100)";};I.onclick=X.onclick=function(){var x=_a.util.clone(Y?addthis_share_msg:(g.share||w.addthis_share||{}));g.config=g.config||w.addthis_config||{};x.passthrough=x.passthrough||{};x.passthrough.pinterest_share={media:this.parentNode.getElementsByTagName("img")[0].src,description:(this.title||this.alt||x.description||x.title||this.parentNode.getElementsByTagName("img")[0].src.split("/").pop()||"")};if(Y){x.url=_euc(x.url);if(_a.ver()>=300){_a.share.track((U?"pinterest_share":t),0,x,addthis_config,this);h({windowUrl:H.img_base_url+"?"+H.img_param+_euc(x.passthrough.pinterest_share.media)+"&url="+x.url+"&description="+_euc(x.passthrough.pinterest_share.description)+H.ctype,width:H.windowProps.width,height:H.windowProps.height},H.img_service);}else{w.location=f.share.genurl(t,0,x,g.config);}}else{x.url=_euc(x.url);_a.share.track((U?"pinterest_share":t),0,w.addthis_share,w.addthis_config,this);h({windowUrl:H.img_base_url+"?"+H.img_param+_euc(x.passthrough.pinterest_share.media)+"&url="+x.url+"&description="+_euc(x.passthrough.pinterest_share.description)+H.ctype,width:H.windowProps.width,height:H.windowProps.height},H.img_service);d.getElementById("atImgBox_"+t).style.display="none";o.style.height="0";return false;}};if(_a.bro.msi&&document.compatMode.toLowerCase()=="backcompat"){L.style.margin="5px";}C.appendChild(L);}if(J==0){var D=d.createElement("span");D.className="atNoImg";D.innerHTML="There are no valid images to share.";C.appendChild(D);}if(J==1&&!a()){var S=_a.util.clone(a()?addthis_share_msg:(g.share||w.addthis_share||{}));S.url=_euc(S.url);g.config=g.config||addthis_config||{};S.passthrough=S.passthrough||{};S.passthrough.pinterest_share={media:v.src,description:(S.title||v.src.split("/").pop()||"")};if(_a.ver()>=300&&_a.share.inBm()){_a.share.notify((U?"pinterest_share":t),S,addthis_config_msg,this);h({windowUrl:H.img_base_url+"?"+H.img_param+_euc(S.passthrough.pinterest_share.media)+"&url="+S.url+"&description="+_euc(S.passthrough.pinterest_share.description)+H.ctype,width:H.windowProps.width,height:H.windowProps.height},H.img_service);return false;}else{h({windowUrl:H.img_base_url+"?"+H.img_param+_euc(S.passthrough.pinterest_share.media)+"&url="+S.url+"&description="+_euc(S.passthrough.pinterest_share.description)+H.ctype,width:H.windowProps.width,height:H.windowProps.height},H.img_service);((d.getElementById("atImgBox_"+t)||{}).style||{}).display="none";if(_a.ver()<300){o.style.height="0";}return false;}}if(_a.ver()>=300&&!a()){var M=_a.util.clone(w.addthis_config);M.ui_pane="image";M.image_service=(U?"pinterest":t);M.image_header=H.img_header;if(!(f.menu||{}).open){w.addthis.menu((_a.maf&&_a.maf.sib),M,w.addthis_share);}else{f.menu.open((_a.maf&&_a.maf.sib),M,w.addthis_share);}return;}if(Y){C.lastChild.style.marginBottom="40px";}s.appendChild(C);if(!a()){if(_a.bro.msi&&document.compatMode.toLowerCase()=="backcompat"||_a.bro.ie6){s.style.position="absolute";}s.className="atPinBox";C.className="atPinMn";R.className="atPinHdr";}else{s.className=s.id="atPinWin";s.style.display="block";C.className="at"+G+"PinWinMn";R.style.display="none";j.style.margin="0px";F.style.display="none";e("filter");e("main");e("details");}s.id="atImgBox_"+t;if(Y){if(typeof jQuery!="undefined"){s.style.display="none";d.body.appendChild(s);$(s).fadeIn();}else{d.body.appendChild(s);}}else{if(!a()){o.appendChild(s);o.onclick=function(ac){if(!ac){var ac=w.event||{};}if((ac.target||{}).id!="at16pccImg"&&(ac.srcElement||{}).id!="at16pccImg"){return;}var ab=_a.util.gebcn(j,"DIV","atPinBox",true,true);for(var aa in ab){if(ab[aa].style){ab[aa].style.display="none";}}o.style.height="0";};}}}}function e(o){if(typeof jQuery=="undefined"){((d.getElementById(o)||{}).style||{}).display="none";}else{$("#"+o).fadeOut();}}function n(y,J,x,B){var C="",r=new Array(),G=new Array(),H,u=new Array(),s=(((w.addthis_share_msg||w.addthis_share||{}).passthrough||{}).pinterest_share||{}),A=s.media,F=s.description,t=s.pi_media,I=s.pi_media_desc,D=false,z=null,p=typeof x=="string"?x:(typeof(w.addthis_config||{}).image_include=="string"?addthis_config.image_include:null),o=typeof B=="string"?B:(typeof(w.addthis_config||{}).image_exclude=="string"?addthis_config.image_exclude:null);if(typeof y!="undefined"&&y!=null){if(y.search(/^\#/)>-1){z=(document.getElementById(y.replace(/\#/,""))||document).getElementsByTagName("img");}else{if(y.search(/^\./)>-1&&typeof J!="undefined"){var q=J,v=(y||"").replace(".","");while(q.className!=v&&q.nodeName.toLowerCase()!="body"&&q.parentNode){q=q.parentNode;}z=(q||document).getElementsByTagName("img");}else{z=document.getElementsByTagName("img");}}}else{z=document.getElementsByTagName("img");}if(A){r[A]=true;G.push({url:A,title:F});}if(t){r[t]=true;G.push({url:t,title:I});}for(var E in z){if(!z[E]||typeof z[E].src==="undefined"){continue;}if(r[z[E].src]){if(z[E].src==A||z[E].src==t){D=true;if(D&&(z[E].src==A||z[E].src==t)&&((o&&(z[E].className||"").search(o)>-1)||(p&&(z[E].className||"").search(p)==-1))){continue;}G[0]=z[E];}continue;}else{if(typeof z[E].nodeName=="undefined"||(p&&(z[E].className||"").search(p)==-1)||(o&&(z[E].className||"").search(o)>-1)){continue;}G.push(z[E]);r[z[E].src]=true;}}for(var E in G){if(typeof G.hasOwnProperty!=="undefined"&&!G.hasOwnProperty(E)){continue;}H=G[E];if(typeof H=="object"&&H.url){C+=H.url+"!|undefined!|undefined!|"+H.title+"!|true;";continue;}if(!H.src||H.src=="undefined"||!H.offsetHeight||typeof H.offsetHeight=="undefined"||H.offsetHeight=="undefined"||!H.offsetWidth||H.offsetWidth=="undefined"||(parseInt(H.offsetWidth)==16&&parseInt(H.offsetWidth==16))||(parseInt(H.offsetWidth)==32&&parseInt(H.offsetWidth==32))||H.src.search("btn/v2/lg-share-")>-1||(H.offsetWidth!="?"&&H.offsetHeight!="?"&&parseInt(H.offsetWidth)<50&&parseInt(H.offsetWidth)<50)||!!H.getAttribute("nopin")){continue;}C+=escape(_a.util.rel2abs(H.src))+"!|"+H.offsetHeight+"!|"+H.offsetWidth+"!|"+(H.alt||H.title)+"!|;";}return(C.replace(/;$/,""));}function c(p){if(_a.ver()>=300){var o=_a.util.clone(w.addthis_config);o.ui_pane="image";o.image_service=p;g.menu(_a.maf.pre,o,w.addthis_share);}else{((document.getElementById("at16p")||{}).style||{}).display="none";_a.share.img(p);}return false;}function i(p){var r=r||_a.share.media();if(_a.bro.msi){_a.track.msg("atimg_ie"+r);}else{var q=setInterval(function(){p.postMessage("atimg_more"+r,"*");},500),o=setTimeout(function(){clearInterval(q);},10000);}return false;}function h(q,s){var u={height:350,left:0,location:0,menubar:0,resizable:0,scrollbars:0,status:0,width:700,windowName:null,windowURL:null,top:0,toolbar:0};_a.util.mrg(q,u);var p="height="+q.height+",width="+q.width+",toolbar="+q.toolbar+",scrollbars="+q.scrollbars+",status="+q.status+",resizable="+q.resizable+",location="+q.location+",menuBar="+q.menubar,r=(screen.height-q.height)/3,t=(screen.width-q.width)/2,o=window.open(q.windowUrl,q.windowName,p+",left="+t+",top="+r);if(o){o.focus();}_a.xf.send(window.parent,"addthis.menu.shareimg",{service:s,type:"share"});}f.share=f.share||{};f.util.extend(f.share,{img:b,media:n,imgVer:c,imgOcw:i,inBm:a});})(_a,_a.api,_a);(function(){var a=function(){if(typeof addthis_config==="undefined"){return false;}if(typeof addthis_config.webintents==="undefined"){return false;}if(!addthis_config.webintents){return false;}return true;};if(!a()){return;}var b=function(d){if(typeof w.WebKitIntent!=="undefined"){return true;}if((typeof w.Intent==="undefined"&&typeof w.WebKitIntent==="undefined")||(typeof w.navigator.startActivity==="undefined"&&typeof w.navigator.webkitStartActivity==="undefined")){return false;}var f=navigator.userAgent;if(/Chrome\/(.*)\./.test(f)){var e=/Chrome\/(.*)\./.exec(f);if(e.length>=1){var c=parseInt(e[1].substring(0,2));if(c<19){return false;}}}return true;};catchIntents=function(){if(b()){return;}w.Intent=function(f,e,d,c){this.verb=f;this.noun=e;this.data=d;};w.navigator.startActivity=function(d){if(d.verb==="http://webintents.org/share"&&d.noun==="text/uri-list"){_6.update("share","url",d.data);for(var c in d.extras){_6.update("share",c,d.extras);}var e="http://addthis.com/bookmark.php";e+="?v=300&url="+encodeURIComponent(d.data);w.open(e,"","width=700,height=500");}};};catchIntents();})();(function(b,c,e){if(!b.services){b.services={};}b.services.refget=function(f){f=f.split(".").slice(-3).join(".");var g={"mail.google.com":"gmail","mail.yahoo.com":"yahoomail","mail.aol.com":"aolmail","mail.live.com":"hotmail"};if(g[f]){return g[f];}f=f.split(".").slice(-2).shift();if(b.services.map[f]){return f;}return"";};b.services.map={facebook:"",twitter:"",reddit:"",stumbleupon:"",gmail:"mail.google.com",blogger:"",linkedin:"",tumblr:"",delicious:"",yahoomail:"compose.mail.yahoo.com",hotmail:"hotmail.msn.com","100zakladok":"100zakladok.ru","2tag":"2tag.nl","2linkme":"","7live7":"",a1webmarks:"a1-webmarks.com",a97abi:"",addio:"add.io",menu:"api.addthis.com",adfty:"",adifni:"",aerosocial:"",allmyfaves:"",amazonwishlist:"amazon.com",amenme:"",aim:"lifestream.aol.com",aolmail:"webmail.aol.com",armenix:"",arto:"",baang:"baang.ir",baidu:"cang.baidu.com",biggerpockets:"",bitly:"bit.ly",bizsugar:"",bleetbox:"",blinklist:"",bloggy:"bloggy.se",blogmarks:"blogmarks.net",blogtrottr:"",blurpalicious:"",bobrdobr:"bobrdobr.ru",bonzobox:"",socialbookmarkingnet:"social-bookmarking.net",bookmarkycz:"bookmarky.cz",bookmerkende:"bookmerken.de",bordom:"bordom.net",box:"box.net",brainify:"",bryderi:"bryderi.se",buddymarks:"",buzzzy:"",camyoo:"",care2:"",chiq:"",cirip:"cirip.ro",citeulike:"citeulike.org",classicalplace:"",cndig:"cndig.org",colivia:"colivia.de",technerd:"",cosmiq:"cosmiq.de",curateus:"curate.us",designmoo:"",digaculturanet:"digacultura.net",digg:"",diggita:"diggita.it",diglog:"",digo:"digo.it",diigo:"",domelhor:"domelhor.net",dosti:"dosti.webdunia.com",dotnetshoutout:"",woscc:"wos.cc",douban:"",draugiem:"draugiem.lv",dropjack:"",dwellicious:"",dzone:"",edelight:"edelight.de",efactor:"",ekudos:"ekudos.nl",elefantapl:"elefanta.pl",embarkons:"",evernote:"",extraplay:"",ezyspot:"",stylishhome:"",fabulously40:"",informazione:"fai.informazione.it",fark:"",farkinda:"",fashiolista:"",fashionburner:"",favable:"",faves:"",favlogde:"favlog.de",favoritende:"favoriten.de",favoritus:"",financialjuice:"",flaker:"flaker.pl",folkd:"",formspring:"formspring.me",thefreedictionary:"",fresqui:"",friendfeed:"",friendster:"",funp:"",fwisp:"",gabbr:"",gamekicker:"",givealink:"givealink.org",govn:"my.go.vn",goodnoows:"",googletranslate:"translate.google.com",gravee:"",greaterdebater:"",hackernews:"news.ycombinator.com",hatena:"b.hatena.ne.jp",gluvsnap:"healthimize.com",hedgehogs:"hedgehogs.net",historious:"historio.us",hitmarks:"",hotklix:"",w3validator:"validator.w3.org",idearef:"",identica:"identi.ca",ihavegot:"",index4:"index4.in",indexor:"indexor.co.uk",instapaper:"",iorbix:"",isociety:"isociety.be",iwiw:"iwiw.hu",jamespot:"",jappy:"jappy.de",jumptags:"",zooloo:"kablog.com",kaboodle:"",kaevur:"",kaixin:"kaixin001.com",kindleit:"fivefilters.org",kirtsy:"",kledy:"kledy.de",kommenting:"",latafaneracat:"latafanera.cat",laaikit:"laaik.it",ladenzeile:"ladenzeile.de",librerio:"",linkagogo:"",linksgutter:"",linkshares:"linkshares.net",linkuj:"linkuj.cz",livejournal:"",lockerblogger:"",logger24:"",mymailru:"connect.mail.ru",markme:"markme.me",margarin:"mar.gar.in",mashbord:"",mawindo:"",meinvz:"meinvz.net",mekusharim:"mekusharim.walla.co.il",memonic:"",memori:"memori.ru",meneame:"meneame.net",myvidster:"",live:"profile.live.com",misterwong:"mister-wong.com",misterwong_de:"mister-wong.de",moemesto:"moemesto.ru",moikrug:"moikrug.ru",mrcnetworkit:"mrcnetwork.it",myspace:"",n4g:"",naszaklasa:"nk.pl",netlog:"",netvibes:"",netvouz:"",newsmeback:"",newstrust:"newstrust.net",newsvine:"",nujij:"nujij.nl",odnoklassniki_ru:"odnoklassniki.ru",oknotizie:"oknotizie.virgilio.it",ongobee:"",openthedoor:"otd.to",orkut:"promote.orkut.com",dashboard:"api.addthis.com",oyyla:"",packg:"",pafnetde:"pafnet.de",pdfonline:"savepageaspdf.pdfonline.com",pdfmyurl:"",phonefavs:"",planypus:"planyp.us",plaxo:"",plurk:"",popedition:"",posteezy:"",posterous:"",printfriendly:"",pusha:"pusha.se",qrfin:"qrf.in",quantcast:"",qzone:"sns.qzone.qq.com",pocket:"getpocket.com",rediff:"share.rediff.com",redkum:"",scoopat:"scoop.at",scoopit:"scoop.it",sekoman:"sekoman.lv",select2gether:"www2.select2gether.com",shaveh:"shaveh.co.il",shetoldme:"",shirintar:"shir.intar.in",simpy:"",sinaweibo:"v.t.sina.com.cn",slashdot:"slashdot.org",smiru:"smi2.ru",sodahead:"",sonico:"",sphinn:"",spinsnap:"",spokentoyou:"",sportpost:"",sulia:"",yiid:"spread.ly",springpad:"springpadit.com",startaid:"",startlap:"startlap.hu",storyfollower:"",studivz:"studivz.net",stuffpit:"",stumpedia:"",sunlize:"",stylehive:"",svejo:"svejo.net",symbaloo:"",taaza:"",tagmarksde:"tagmarks.de",tagvn:"",tagza:"",tellmypolitician:"",thewebblend:"",thinkfinity:"community.thinkfinity.org",thisnext:"",throwpile:"",tipd:"",topsitelernet:"ekle.topsiteler.net",transferr:"",tuenti:"",tulinq:"",tusul:"",tvinx:"",tweetmeme:"api.tweetmeme.com",twitthis:"",typepad:"",upnews:"upnews.it",urlaubswerkde:"urlaubswerk.de",viadeo:"",virb:"",visitezmonsite:"",vk:"vkontakte.ru",vkrugudruzei:"vkrugudruzei.ru",voxopolis:"",vybralisme:"vybrali.sme.sk",webnews:"webnews.de",domaintoolswhois:"domaintools.com",wanelo:"",windows:"api.addthis.com",wirefan:"",wishmindr:"",wordpress:"",wykop:"wykop.pl",xanga:"",xing:"",yahoobkm:"bookmarks.yahoo.com",yammer:"",yardbarker:"",yigg:"yigg.de",yoolink:"go.yoolink.to",yorumcuyum:"",youmob:"",yuuby:"",zakladoknet:"zakladok.net",zanatic:"",ziczac:"ziczac.it",zingme:"link.apps.zing.vn",zootool:""};var d={more:1,compact:1,expanded:1,facebook:1,email:1,twitter:1,print:1,google:1,google_plusone_share:1,live:1,stumbleupon:1,vk:1,pinterest_share:1,myspace:1,favorites:1,digg:1,delicious:1,orkut:1,blogger:1,mailto:1,linkedin:1,mymailru:1,gmail:1,yahoomail:1,reddit:1,tumblr:1,live:1},a={more:1,compact:1,expanded:1,"100zakladok":1,adifni:1,aim:1,amazonwishlist:1,arto:1,baidu:1,bitly:1,blogger:1,bloggy:1,bobrdobr:1,delicious:1,digg:1,diggita:1,draugiem:1,ekudos:1,email:1,facebook:1,favorites:1,friendfeed:1,gmail:1,google:1,google_plusone_share:1,hatena:1,hotmail:1,jappy:1,linkedin:1,live:1,livejournal:1,mailto:1,meinvz:1,meneame:1,misterwong:1,mymailru:1,myspace:1,netlog:1,nujij:1,oknotizie:1,orkut:1,oyyla:1,pinterest_share:1,plurk:1,print:1,pusha:1,reddit:1,settings:1,sonico:1,studivz:1,stumbleupon:1,tuenti:1,tumblr:1,twitter:1,viadeo:1,vk:1,wordpress:1,wykop:1,xing:1,yahoobkm:1,yahoomail:1,yorumcuyum:1};_a._top_services=d;_a._top_services16=a;b.services.isTop=function(f,g){if(g==16){return a[f];}else{return d[f];}};})(_a,_a.api,_a);(function(b,d,e){var a={googlebuzz:"Google Buzz",googlereader:"Google Reader",googletranslate:"Google Translate",google_follow:"Google",rss:"RSS"};var f={"100zakladok":"100zakladok","2linkme":"2linkme","2tag":"2 Tag",a97abi:"A97abi",adfty:"Adfty",adifni:"Adifni",advqr:"ADV QR",aim:"Lifestream",amazonwishlist:"Amazon",amenme:"Amen Me!",aolmail:"AOL Mail",apsense:"APSense",arto:"Arto",azadegi:"Azadegi",baang:"Baang",baidu:"Baidu",balltribe:"BallTribe",beat100:"Beat100",biggerpockets:"BiggerPockets",bitly:"Bit.ly",bizsugar:"BizSugar",bland:"Bland takkinn",blinklist:"Blinklist",blogger:"Blogger",bloggy:"Bloggy",blogkeen:"Blogkeen",blogmarks:"Blogmarks",blurpalicious:"Blurpalicious",bobrdobr:"Bobrdobr",bonzobox:"BonzoBox",bookmarkycz:"Bookmarky.cz",bookmerkende:"Bookmerken",box:"Box",brainify:"Brainify",bryderi:"Bryderi.se",buddymarks:"BuddyMarks",buffer:"Buffer",buzzzy:"Buzzzy",camyoo:"Camyoo",care2:"Care2",chimein:"Chime",chiq:"Chiq",cirip:"Cirip",citeulike:"CiteULike",classicalplace:"ClassicalPlace",cleanprint:"CleanPrint",cleansave:"CleanSave",cndig:"Cndig",colivia:"Colivia.de",cosmiq:"COSMiQ",cssbased:"CSS Based",curateus:"Curate.us",delicious:"Delicious",digaculturanet:"DigaCultura",digg:"Digg",diggita:"Diggita",digo:"Digo",diigo:"Diigo",domaintoolswhois:"Whois Lookup",domelhor:"DoMelhor",dosti:"Dosti",dotnetshoutout:".netShoutout",douban:"Douban",draugiem:"Draugiem.lv",dropjack:"Dropjack",dudu:"Dudu",dzone:"Dzone",edelight:"Edelight",efactor:"EFactor",ekudos:"eKudos",elefantapl:"elefanta.pl",email:"Email",embarkons:"Embarkons",evernote:"Evernote",extraplay:"extraplay",ezyspot:"EzySpot",fabulously40:"Fabulously40",facebook:"Facebook",fark:"Fark",farkinda:"Farkinda",fashiolista:"Fashiolista",favable:"FAVable",faves:"Faves",favlogde:"favlog",favoritende:"Favoriten",favorites:"Favorites",favoritus:"Favoritus",financialjuice:"Financial Juice",flaker:"Flaker",folkd:"Folkd",foodlve:"Cherry Share",formspring:"Formspring",fresqui:"Fresqui",friendfeed:"FriendFeed",funp:"funP",fwisp:"fwisp",gabbr:"Gabbr",gamekicker:"Gamekicker",gg:"GG",giftery:"Giftery.me",gigbasket:"GigBasket",givealink:"GiveALink",gluvsnap:"Healthimize",gmail:"Gmail",goodnoows:"Good Noows",google:"Google",google_plusone_share:"Google+",googletranslate:"Translate",govn:"Go.vn",greaterdebater:"GreaterDebater",hackernews:"Hacker News",hatena:"Hatena",hedgehogs:"Hedgehogs",historious:"historious",hotklix:"Hotklix",hotmail:"Outlook",identica:"Identi.ca",ihavegot:"ihavegot",index4:"Index4",indexor:"Indexor",informazione:"Informazione",instapaper:"Instapaper",iorbix:"iOrbix",irepeater:"IRepeater",isociety:"iSociety",iwiw:"iWiW",jamespot:"Jamespot",jappy:"Jappy Ticker",jolly:"Jolly",jumptags:"Jumptags",kaboodle:"Kaboodle",kaevur:"Kaevur",kaixin:"Kaixin Repaste",ketnooi:"Ketnooi",kindleit:"Kindle It",kledy:"Kledy",kommenting:"Kommenting",latafaneracat:"La tafanera",librerio:"Librerio",lidar:"LiDAR Online",link:"Copy Link",linkedin:"LinkedIn",linksgutter:"Links Gutter",linkshares:"LinkShares",linkuj:"Linkuj.cz",live:"Messenger",livejournal:"LiveJournal",lockerblogger:"LockerBlogger",logger24:"Logger24",mailto:"Email App",margarin:"mar.gar.in",markme:"Markme",mashant:"Mashant",mashbord:"Mashbord",me2day:"me2day",meinvz:"meinVZ",mekusharim:"Mekusharim",memonic:"Memonic",memori:"Memori.ru",mendeley:"Mendeley",meneame:"Men\u221a\xa9ame",misterwong:"Mister Wong",mixi:"Mixi",myvidster:"myVidster",moemesto:"Moemesto.ru",moikrug:"Moikrug",mrcnetworkit:"mRcNEtwORK",mymailru:"Mail.ru",myspace:"Myspace",n4g:"N4G",naszaklasa:"Nasza-klasa",netlog:"NetLog",netvibes:"Netvibes",netvouz:"Netvouz",newsmeback:"NewsMeBack",newstrust:"NewsTrust",newsvine:"Newsvine",nujij:"Nujij",odnoklassniki_ru:"Odnoklassniki",oknotizie:"OKNOtizie",openthedoor:"OpenTheDoor",orkut:"Orkut",oyyla:"Oyyla",packg:"Packg",pafnetde:"Pafnet",pdfmyurl:"PDFmyURL",pdfonline:"PDF Online",phonefavs:"PhoneFavs",pinterest_share:"Pinterest",planypus:"Planypus",plaxo:"Plaxo",plurk:"Plurk",pocket:"Pocket",posteezy:"Posteezy",posterous:"Posterous",print:"Print",printfriendly:"PrintFriendly",pusha:"Pusha",qrfin:"QRF.in",qrsrc:"QRSrc.com",quantcast:"Quantcast",qzone:"Qzone",raiseyourvoice:"Write Your Rep",reddit:"Reddit",rediff:"Rediff MyPage",redkum:"RedKum",researchgate:"ResearchGate",safelinking:"Safelinking",scoopat:"Scoop.at",scoopit:"Scoop.it",sekoman:"Sekoman",select2gether:"Select2Gether",sharer:"Sharer",shaveh:"Shaveh",shetoldme:"She Told Me",sinaweibo:"Sina Weibo",skyrock:"Skyrock Blog",smiru:"SMI",socialbookmarkingnet:"BookmarkingNet",sodahead:"SodaHead",sonico:"Sonico",spinsnap:"SpinSnap",springpad:"springpad",startaid:"Startaid",startlap:"Startlap",storyfollower:"StoryFollower",studivz:"studiVZ",stuffpit:"Stuffpit",stumbleupon:"StumbleUpon",stumpedia:"Stumpedia",stylishhome:"FabDesign",sulia:"Sulia",sunlize:"Sunlize",supbro:"SUP BRO",surfingbird:"Surfingbird",svejo:"Svejo",symbaloo:"Symbaloo",taaza:"TaazaShare",tagza:"Tagza",taringa:"Taringa!",technerd:"Communicate",textme:"Textme",thefancy:"The Fancy",thefreedictionary:"FreeDictionary",thewebblend:"The Web Blend",thinkfinity:"Thinkfinity",thisnext:"ThisNext",throwpile:"Throwpile",toly:"to.ly",topsitelernet:"TopSiteler",transferr:"Transferr",tuenti:"Tuenti",tulinq:"Tulinq",tumblr:"Tumblr",tvinx:"Tvinx",twitter:"Twitter",twitthis:"TwitThis",typepad:"Typepad",upnews:"Upnews.it",urlaubswerkde:"Urlaubswerk",wanelo:"Wanelo",wishmindr:"WishMindr",viadeo:"Viadeo",virb:"Virb",visitezmonsite:"VisitezMonSite",vk:"VKontakte",vkrugudruzei:"vKruguDruzei",voxopolis:"VOX Social",vybralisme:"VybraliSME",w3validator:"HTML Validator",webnews:"Webnews",webshare:"WebShare",werkenntwen:"WerKenntWen",wirefan:"WireFan",windows:"Windows Gadget",wordpress:"WordPress",wowbored:"WowBored",wykop:"Wykop",xanga:"Xanga",xing:"XING",yahoobkm:"Y! Bookmarks",yahoomail:"Y! Mail",yammer:"Yammer",yardbarker:"Yardbarker",yigg:"Yigg",yiid:"Spreadly",yookos:"Yookos",yoolink:"Yoolink",yorumcuyum:"Yorumcuyum",youmob:"YouMob",yuuby:"Yuuby",zakladoknet:"Zakladok.net",ziczac:"ZicZac",zingme:"ZingMe"};function c(g,h){var i;if(f[g]){i=f[g];}else{if(a[g]){i=a[g];}else{i=(h?g:(g.substr(0,1).toUpperCase()+g.substr(1)));}}return(i||"").replace(/ /g," ");}if(!b.services){b.services={};}b.services.list=f;b.services.getName=c;b.services.exists=function(g){return!!f[g];};})(_a,_a.api,_a);(function(g,s,u){var v,d,c,k={},h,n,r,b,e=_a.util.each;function f(B){var D=new Array();o:for(var C=0;Cx.timestamp){return-1;}return 1;}function m(x,B,A){if(!A){A=window;}if(A[x]===_1||A[x]===""){A[x]=B;}return A[x];}function l(F){a();var B=j(),E=g.ups||{},A=[],D,G=0,C=0,x;r=[];for(D=0;D-1&&g.services.map.facebook!==_1)){G++;}if(B==x){C=1;}if(E[x]){delete E[x];}}e(E,function(H,I){A.push(I);});A.sort(p);for(D=0;D=300&&(aa||{}).parentServices){_a.util.each(aa.parentServices,function(ae,ad){aa.services_exclude+=((aa.services_exclude.length>1)?",":"")+ae;});}if(!X){X=[];}m("addthis_options_default",P.split(",").slice(0,11).join(",")+",more");m("addthis_options_rank",P.split(",").join(","));m("addthis_options",window.addthis_options_default);a();R=l(Q);addthis_options=(Q!=""?Q+",":"")+addthis_options;if(Q&&((addthis_options&&addthis_options.indexOf(Q)==-1)||(aa.services_compact&&aa.services_compact.indexOf(Q)==-1))){aa.services_compact=aa.services_compact?(Q+","+aa.services_compact):addthis_options;}addthis_options=f(addthis_options.split(",")).join(",");if(aa.services_compact){aa.services_compact=f(aa.services_compact.split(",")).join(",");}if(((window.addthis_ssh&&window.addthis_use_personalization&&R)||X.length||aa.services_exclude||addthis_exclude)){var D=addthis_options_rank.split(","),L=[],U,B=(aa.services_exclude||addthis_exclude||"").split(","),H={},T,Z=Q.join(","),ac=[],A={},x=0,K=11,J=0,F=aa.product||"",G=F.indexOf("ffext")>-1||F.indexOf("fxe")>-1;if(X.length&&addthis_options.indexOf(X[0].code)==-1){addthis_options+=","+X[0].code;}if(X.length&&X[0]){L.push(X[0].code);}for(W=0;W-1){x++;}}for(W=0;W=K){break;}U=Q[W];if(!A[U]&&!H[U]&&(g.services.map[U]!==_1||U.indexOf("facebook_")>-1)){A[U]=1;T=k[U]||new RegExp("(?:^|,)("+U+")(?:$|,)");k[U]=T;if(addthis_options.search(T)>-1){ac.push(U);addthis_options=addthis_options.replace(T,",").replace(",,",",");J++;}else{ac.push(U);}}}addthis_ssh=ac.join(",");addthis_options=(window.addthis_ssh?addthis_ssh+",":"")+addthis_options.replace(/[,]+/g,",").replace(/,$/,"").replace(/^,/,"").replace(/^more,|,more|^more$/,"");if(addthis_options.indexOf("email")>-1&&g.pub()===""&&!G){addthis_options=addthis_options.replace(/^email,|,email|^email$/,"");}while(addthis_options.split(",").length>11){addthis_options=addthis_options.split(",").slice(0,-1).join(",");}var S=g.util.fromKV(addthis_options.replace(/,|$/g,"=1&"));var Y=addthis_options.split(",").length;if(Y%2===0||Y<11){var W=Math.min(Y,11),M=P.split(","),I=Y;while((I<11||I%2===0)&&Wd.score){return-1;}else{if(w.score==d.score){return 0;}else{return 1;}}}function O(d){return(Math.max(0,(d||"").length-8)/9);}function f(w,d){if(!d&&y.ab){e.ab="per-"+y.ab;l=true;return y.ab;}if(A){if(h==0||(h>=5&&h<=10)){if(Math.random()>0.5){h=Math.floor(Math.round(Math.random()*3)+1);}else{h=Math.floor(Math.random()*3.99)+11;}}}else{h=1;}if(d){h+=100;}if(e.ab=="-"&&!w){e.ab="per-"+h;l=true;}else{if(!l){h=parseInt(e.ab.split("-").pop(),10);}}return h;}function L(d){e.log.debug("u="+(y._used?1:0),"c=",d);if(!d){return;}y._set=1;y.ab=d["per-cell"];y.feed=d["per-feed"];if(d["per-vectors"]=="NONE"){y.vectors=[];}else{y.vectors=typeof(d["per-vectors"])=="string"?d["per-vectors"].split(","):d["per-vectors"];}}function B(W,aa,w){var X=W.pubid||e.pub(),d=window.addthis_domain?_a.util.gUD(window.addthis_domain):"",Z=d||W.domain,Y;_a.ajs([i,w||N,"?pubid=",X,((W.period)?"&period="+W.period:""),((W.service)?"&service="+W.service:""),(Z?"&domain="+Z:""),(window.addthis_bt2?"&bt2="+e.bt2:""),((w.indexOf(E)>-1||w.indexOf(n)>-1)&&!!_a.dr?"&referer="+_a.dr:""),(w.indexOf("views")>-1?"&limit=25":""),"&callback=",e.util.scb("fds",X,function(){clearTimeout(Y);aa.apply(this,arguments);})].join(""),1,true,true,null,true);Y=setTimeout(function(){aa([]);},4500);}function H(w){var W=w.pubid||e.pub(),d=p;w._callback=w.callback;w.callback=function(X){w._callback(t(X,w));};if(w.type){d=d.replace("trending",w.type);}B(w,w.callback,d);}function Q(d){d=d||[];if(d.length<2){return d;}var w=parseInt(d.length/2);var X=d.slice(0,w);var W=d.slice(w,d.length);return G(Q(X),Q(W));}function G(Y,X){var w=[],W,d;while(Y.length&&X.length){W=Y[0];d=X[0];if(((!!W.image&&!!W.title)||(!d.image||!d.title))&&(!m(W)||m(d))){w.push(Y.shift());}else{w.push(X.shift());}}while(Y.length){w.push(Y.shift());}while(X.length){w.push(X.shift());}return w;}function u(d,W,w){if(e.uid=="4e13435baa56415b"){e.log.debug.call(this,d,W,w);}}function T(){try{var X=_a.mun(document.location.hostname.split(".").slice(-2).join(".")),w=X.charAt(0),d={ke4m:1,"1stj":1,u880:1,nl2f:1,cvt2:1,e86k:1,"6aio":1,o598:1,po2f:1,a462:1,n22r:1,kj68:1};if(d[X]){return true;}else{if(w.match(/^(a|b|c|d|e|f|g|h|i|j|k)/i)){return true;}}}catch(W){}return false;}function m(d){try{if(!T()){return false;}if(!d||!d.url){return false;}if(d.promoted==1){return false;}if(U[d.url]!==_1){return U[d.url];}U[d.url]=_a.track.hist.seenBefore(d.url);return U[d.url];}catch(w){}return false;}function j(d){e.log.debug("sfc",y);d.ab=y.ab;var w=(y.vectors||[]).length||0;if(!y.vectors||w===0){if(y.feed==n){v(d,n,I);}else{B(d,d.callback,y.feed);}}else{var X=y.vectors[0],W=y.vectors[1];if(w==1){if(e.bt2||(X!=s&&X!=V)){D(d,y.feed,X);}else{B(d,d.callback,y.feed);}}else{if(e.bt2||(X!=s&&X!=V&&W!=s&&W!=V)){C(d,y.feed,y.vectors[0],y.vectors[1]);}else{if(X==s||X==V){D(d,y.feed,W);}else{if(W==s||W==V){D(d,y.feed,X);}else{D(d,y.feed,X);B(d,d.callback,y.feed);}}}}}}function q(d){if(_a.sfmp>0&&d&&!d._wait&&!y._set){d._wait=1;setTimeout(function(){q(d);},2500);return;}f();var W=d.pubid||e.pub(),Y=h,X,w=Math.floor(d.total/2);if(!M&&(T()||Y==14)){M={features:e.ad.gcv()};}d._callback=d.callback;d.callback=function(ab){ab=ab||[];if(e.bro.chr){ab=Q(ab);}else{ab.sort(function(ad,ac){return!!ad.image?(!!ac.image?(!!ad.title?(!!ac.title?(m(ad)?(m(ac)?0:-1):(m(ac)?1:0)):-1):(!!ac.title?0:1)):-1):1;});}d._callback(t(ab,d));};if(_a.sfmp>0&&y._set&&h<100){y._used=1;j(d);return;}else{d.ab=e.ab;}if(h>=100){X=p;Y=h-100;}e.log.debug("rec; c="+h,"m="+Y,"hbt="+(!!e.bt2),d);switch(Y){case 1:B(d,d.callback,c);break;case 2:B(d,d.callback,I);break;case 3:D(d,X||I,E);break;case 4:if(e.bt2){D(d,X||I,s);}else{D(d,X||I,E);}break;case 5:d.split=w;P(d,X||N,s,"merged");break;case 6:d.split=w;P(d,N,s);break;case 7:d.split=w;P(d,I,s,"merged");break;case 8:d.split=w;P(d,I,s);break;case 9:var aa=0;try{aa=O(e.bt2)||0;}catch(Z){}if(aa>=3){D(d,I,s);}else{B(d,d.callback,I);}break;case 10:var aa=0;try{aa=O(e.bt2)||0;}catch(Z){}if(aa>=3){D(d,I,V);}else{B(d,d.callback,I);}break;case 11:v(d,n,X||I);break;case 12:if(e.bt2){D(d,I,s);}else{D(d,X||I,E);}break;case 13:if(e.bt2){C(d,X||I,s,E);}else{D(d,X||I,E);}break;case 14:r(d,X||I,M);break;default:B(d,d.callback,X||I);break;}}function x(d){return((d||{}).pvector||{}).features||{};}function b(ad,aa,w){var W,Y=new J(),X=0,Z=[],d,ab,w=typeof w=="function"?w:x,ac;K(aa.features||[],function(af,ae){Y.add(ae.name,ae.weight);});K(ad,function(af,ae){X=0;d=ae.url;ab=d.split("#").shift();if((e.share.links.canonical||"").indexOf(ab)>-1){return;}ac=w(ae);K(ac,function(ah,ag){if(typeof(W=Y.get(ag.name))!="undefined"){X+=(W+ag.weight);}});ad[af].score=X;d.score=X;Z.push(ae);});Z.sort(a);return Z;}function D(W,d,X,w){C(W,d,X,null,w);}function r(W,d,Y,w){var X,Z;B(W,function(aa){X=aa;Z=R(W,X,Y,w);W.callback(Z);},d);}function C(W,aa,Z,Y,X){var d,ac,ab,w;B(W,function(ad){d=ad;if(ac!==_1&&(!Y||ab!==_1)){w=R(W,d,ac,X);if(Y){w=R(W,w,ab,X);}W.callback(w);}},aa);B(W,function(ad){ac=ad;if(d!==_1&&(!Y||ab!==_1)){w=R(W,d,ac,X);if(Y){w=R(W,w,ab,X);}W.callback(w);}},Z);if(Y){B(W,function(ad){ab=ad;if(d!==_1&&ac!==_1){w=R(W,d,ac,X);w=R(W,w,ab,X);W.callback(w);}},Y);}}function P(w,X,Y,d){var W=5;if(w.split!==_1){w.split=W;}D(w,X,Y,d);}function v(Y,X,w){var W,d;B(Y,function(Z){W=Z;if(Z&&Z.length>1){Y.callback(Z);}else{if(d&&d.length>1){Y.callback(d);}}},X);B(Y,function(Z){d=Z;if(W&&W.length<=1){Y.callback(Z);}},w);}function R(W,d,Y,w){if(!d||!d.length){e.log.debug("no url data; returning []");return[];}if(!Y||!Y.features||!Y.features.length){e.log.debug("no vector data; returning urls");return d;}var Z=b(d,Y,x),ab=Z,X=W.split;if(X){ab=[];var aa=w?Z:d;second=w?d:Z;ab=ab.concat(aa.slice(0,X));ab=ab.concat(second.slice(0,X));}return ab;W.callback(ab);}function g(d){if(!d.ab){d.ab=e.ab;}if(!d.bt){d.bt=e.bt2;}return function(w){K(w,function(X,W){d[X]=W;});return o(d);};}function t(d,w,X){if(!X||typeof(X)!=="function"){X=o;}if(!w.total){w.total=d.length;}var W=0;K(d,function(Y,Z){w.pos=W++;w.url=Z.url;Z.url=X(w);Z.title=Z.title||"";});return d;}function o(X){var W=X.url,d=X.pco,Z=X.total,ac=X.pos,w=X.bt,aa=X.ab||"-",Y="cfd-1.0";if(W&&W.indexOf("at_pco")>-1){W=(d?W.replace(/at_pco=(.*)&/,"at_pco="+d+"&"):W);if(W.indexOf("at_ab")>-1){if(aa!="-"){W=W.replace(/at_ab=(.*)&/,"at_ab="+aa+"&");}}else{W+="&at_ab="+(X.ab||e.ab);}if(W.indexOf("at_pos")>-1){if(ac!==_1){W=W.replace(/at_pos=([0-9]+)/,"at_pos="+ac);}}else{W+="&at_pos="+(ac||0);}if(W.indexOf("at_tot")>-1){if(Z!==_1){W=W.replace(/at_tot=([0-9]+)/,"at_tot="+Z);}}else{W+="&at_tot="+(Z||0);}}return W;}e.feeds={ab:f,_ad:T,configure:L,get:B,recommend:q,trend:H,decorator:g};e.dctu=o;})(_a,_a.api,_a);var w=window,ac=w.addthis_config||{},css=new _a.resource.Resource("widgetcss",_atc.rsrcs.widgetcss,function(){return true;}),_848=new _a.resource.Resource("widgetIE67css",_atc.rsrcs.widgetIE67css,function(){return true;}),_849=new _a.resource.Resource("widget32css",_atc.rsrcs.widget32css,function(){return true;});if(w.addthis&&w.addthis.timer){w.addthis.timer.core=(new Date()).getTime();}function main(){if(w.addthis&&w.addthis.timer){w.addthis.timer.main=(new Date()).getTime();}try{if(_atc.xol&&!_atc.xcs&&ac.ui_use_css!==false){css.load();if(_a.bro.ie6||_a.bro.ie7){_848.load();}if(_a.bro.ipa){_849.load();}}var a=_a,msi=a.bro.msi,hp=0,_84d=w.addthis_config||{},dt=d.title,dr=(typeof(a.rdr)!=="undefined")?a.rdr:(d.referer||d.referrer||""),du=dl?dl.href:null,dh=dl.hostname,_852=du,_853=0,al=(_a.lng().split("-")).shift(),_855=_a.track.eop(dl,dr),cvt=[],nabc=!!a.cookie.rck("nabc"),cfc=_855.cfc,ab=_855.ab,pos=_855.pos?parseInt(_855.pos,10):null,tot=_855.tot?parseInt(_855.tot,10):null,rsiq=_855.rsiq,rsi=_855.rsi,rxi=_855.rxi,rsc=_855.rsc.split("&").shift().split("%").shift().replace(/[^a-z0-9_]/g,""),gen=_855.gen,fuid=_855.fuid,_862,ifr,_864=_atc.rsrcs.sh+"#",data,_866=function(){if(!_a.track.pcs.length){_a.track.apc(w.addthis_product||("men-"+_a.ver()));}data.pc=_a.track.pcs.join(",");},ljep=w.ljep||false,_868=a.pub();if(dl&&dl.hash&&dl.hash.indexOf("sky_ab=1")>-1){a.sfmp=1;}if((du||"").indexOf(_atr)==-1){a.cookie.view.update(true);}if(rsc=="tweet"){rsc="twitter";}_855.rsc=rsc;if(w.addthis_product){_a.track.apc(addthis_product);if(addthis_product.indexOf("fxe")==-1&&addthis_product.indexOf("bkm")==-1){_a.track.spc=addthis_product;}}var l=_a.share.links.canonical;if(l){if(l.indexOf("http")!==0){_852=(du||"").split("//").pop().split("/");if(l.indexOf("/")===0){_852=_852.shift()+l;}else{_852.pop();_852=_852.join("/")+"/"+l;}_852=dl.protocol+"//"+_852;}else{_852=l;}_a.usu(0,1);}_852=_852.split("#{").shift();a.igv(_852,d.title||"");if(_852){_a.share.links.canonical=_852;}var _86a=addthis_share.view_url_transforms||addthis_share.track_url_transforms||addthis_share.url_transforms||{};_86a.defrag=1;if(_86a){_852=_a.track.mgu(_852,_86a);}try{var atsp=(addthis_share||{}).passthrough||{};if(!(atsp.pinterest_share||{}).media){var tags=_a.ad.og(),_86d={},og=typeof(tags)=="string"?_a.util.fromKV(tags):tags;atsp={};if(og.image||_a.share.links.image_src){if(!w.addthis_share){w.addthis_share={};}addthis_share=w.addthis_share;addthis_share.passthrough=atsp=addthis_share.passthrough||{};atsp.pinterest_share=_86d=atsp.pinterest_share||{};_86d.media=og.image||_a.share.links.image_src;_86d.url=_86d.url||og.url||w.location.href;_86d.description=_86d.description||og.title||addthis_share.description||addthis_share.title||"";}}}catch(e){}if(rsi){rsi=rsi.substr(0,8)+fuid;}if(a.bro.mod==-1){var m=document.compatMode;if(m){var md=1;if(m=="BackCompat"){md=2;}else{if(m=="CSS1Compat"){md=0;}}a.bro.mode=md;if(a.bro.msi){a.bro.mod=md;}}}a.dr=a.tru(dr,"fr");a.du=a.tru(_852,"fp");a.dt=dt=w.addthis_share.title;a.smd={rsi:rsi,rxi:rxi,gen:gen,rsc:rsc};w.addthis_share.smd=a.smd;if(a.upm){w.addthis_share.smd.dr=a.dr;}if(a.upm){w.addthis_share.smd.sta=a.track.sta();}a.cb=a.ad.cla();a.kw=(a.cb!==1?a.ad.kw():"");a.dh=dl.hostname;a.ssl=du&&du.indexOf("https")===0?1:0;a.ab=ab||w.addthis_ab||"-";window.addthis_config=window.addthis_config||{};if(!window.addthis_config.ignore_server_config&&_868){if(_a.upm){_a.ipc=true;var _871="atpro-config",_872="",_873=false,_874=false,_875=_a.uls,_876=function _876(_877){if(_876.called||_874){return;}_a.ab="per-14";_877.cfs=true;_6.layers(_877);_876.called=true;},_878=function(){if(_6.layers.length){_6.layers({cfs:true});}else{_a.ipc=false;}},_879=function(){_874=true;if(!_873){_878();}};if(_875){_872=localStorage.getItem(_871);}if(_872&&_872!=="false"){try{_872=JSON.parse(_872);}catch(e){}_876(_872);}else{if(_872==="false"){_878();}else{setTimeout(_879,5000);}}_a.ed.addEventListener("addthis.pro.init",function(e){_873=true;if(e.data&&e.data._default){if(!_872||_872==="false"){_876(e.data);}if(_875){localStorage.setItem(_871,JSON.stringify(e.data));}}else{if(_872!=="false"){_878();}if(_875){localStorage.setItem(_871,"false");}}});}else{var _87b="__atpro",_87c=_a.cookie.rck(_87b),_87d=new Date(),_87e={pubid:_868},cb=function(_880){_87d.setDate(_87d.getDate()+7);if(_880&&_880._default){_a.cookie.sck(_87b,"true",0,1,_87d);}else{_a.cookie.sck(_87b,"false",0,1,_87d);}_880.cfs=true;_6.layers(_880);};if(_87c!="false"){_a.ipc=true;a.feeds.get(_87e,cb,"config.json");}}}data={iit:(new Date()).getTime(),tmr:_50((w.addthis||{}).timer||{}),cb:a.cb,cdn:_atc.cdn,chr:_a.ad.gch(),kw:a.kw,ab:a.ab,dh:a.dh,dr:a.dr,du:a.du,dt:dt,dbg:_a.log.level,md:a.bro.mode,cap:_50({tc:_84d.data_track_textcopy?1:0,ab:_84d.data_track_addressbar?1:0}),inst:a.inst,vcl:a.cookie.view.cla(),jsl:a.track.jsl(),prod:a.track.prod(),lng:a.lng(),ogt:_a.ad.gog().join(","),pc:w.addthis_product||"men",pub:a.pub(),ssl:a.ssl,sid:_a.track.ssid(),srpl:_atc.plmp,srcs:_atc.cscs,srd:_atc.damp,srf:_atc.famp,srx:_atc.xamp,ver:_a.ver(),xck:_atc.xck||0,xtr:_atc.xtr||0,og:_a.ad.og(),aa:0};if(_atc.noup){data.noup=1;}if(a.dcp==Number.MAX_VALUE){data.dnp=1;}if(a.pixu){data.pixu=a.pixu;}if(a.trl.length){data.trl=a.trl.join(",");}if(a.rev){data.rev=a.rev;}data.ct=a.ct=(_84d.data_track_clickback||_84d.data_track_linkback||_a.track.ctp(data.pc,_84d))?1:0;if(a.prv){data.prv=_50(a.prv);}if(rsc){data.sr=rsc;}_a.track.ssc(rsc);if(ljep){data.ljep=ljep;}if(du.indexOf("showWarningLayer=true")>-1){_6.layers({warning:{test:true}});}if(a.vamp>=0&&!a.sub){if(cfc){cvt.push(a.track.fcv("plv",Math.round(1/_atc.vamp)));cvt.push(a.track.fcv("typ","lnk"));if(!isNaN(pos)){cvt.push(a.track.fcv("ttpos",pos));}if(!isNaN(tot)){cvt.push(a.track.fcv("ttnl",tot));}cvt.push(a.track.fcv("pco",("string"===typeof cfc)?cfc:"cfd-1.0"));cvt.push(a.track.fcv("pur",a.track.mgu(_852,{defrag:1})));if(a.dr){data.pre=a.track.mgu(a.dr,{defrag:1});}data.ce=cvt.join(",");}else{if(rsi&&(fuid!=a.ad.gub())){cvt.push(a.track.fcv("plv",Math.round(1/_atc.vamp)));cvt.push(a.track.fcv("rsi",rsi));cvt.push(a.track.fcv("gen",gen));cvt.push(a.track.fcv("abc",1));cvt.push(a.track.fcv("fcu",a.ad.gub()));cvt.push(a.track.fcv("rcf",dl.hash));data.ce=cvt.join(",");_853="addressbar";_855.rsc=rsc="addressbar";}else{if(rxi||rsiq||rsc){cvt.push(a.track.fcv("plv",Math.round(1/_atc.vamp)));if(rsc){cvt.push(a.track.fcv("rsc",rsc));}if(rxi){cvt.push(a.track.fcv("rxi",rxi));}else{if(rsiq){cvt.push(a.track.fcv("rsi",rsiq));}}if(rsiq||rxi){cvt.push(a.track.fcv("gen",gen));}data.ce=cvt.join(",");_853=rsc||"unknown";}}}}a.track.ts.reset(_855);if(a.feeds._ad()){a.track.hist.log();}if(_853){if(a.bamp>=0){data.clk=1;if(a.dcp!=Number.MAX_VALUE){a.dcp=data.gen=a.ad.type.CLICK;}}_a.ed.fire("addthis.user.clickback",w.addthis||{},{service:_853,hash:_a.hash});}if(ab=="per-5"||ab=="per-6"||ab=="per-0"||ab=="per-7"||ab=="per-8"||ab=="per-9"||ab=="per-10"){ab=_a.ab="per-"+a.feeds.ab(true);}if(!w.at_noxld){data.xld=1;}if(a.upm){data.xd=1;}if(!nabc&&w.history&&typeof(history.replaceState)=="function"&&(!_a.bro.chr||_a.bro.chb)&&(_84d.data_track_addressbar||_84d.data_track_addressbar_paths)&&((du||"").split("#").shift()!=dr)&&(du.indexOf("#")==-1||rsi||(_855.hash&&rxi)||cfc)){var path=dl.pathname||"",_882,_883=path!="/";if(_84d.data_track_addressbar_paths){_883=0;for(var i=0;i<_84d.data_track_addressbar_paths.length;i++){_882=new RegExp(_84d.data_track_addressbar_paths[i].replace(/\*/g,".*")+"$");if(_882.test(path)){_883=1;break;}}}if(_883&&(!rsi||a.util.ioc(rsi,5))){_862=_a.track.cur(dl.href.split("#").shift(),null,_a.track.ssid());history.replaceState({d:(new Date()),g:gen},d.title,_862);data.fcu=_862.split("#.").pop();}}if(w.addthis&&w.addthis.timer){w.addthis.timer.ifr=(new Date()).getTime();if(data.tmr){data.tmr+="&ifr="+w.addthis.timer.ifr;}}if(a.aa===1&&w.postMessage){data.srd=1;data.aa=1;_a.ed.addEventListener("addthis.layers.warning.show",function(e){if(e.data&&e.data.alertId){_a.swl=e.data.alertId;}});}_866();if(dl.href.indexOf(_atr)==-1&&!a.sub){if(a.upm){if(_a.bro.ffx){ifr=a.track.ctf();ifr.src=_864;_a.track.qtp(data);}else{if(_a.bro.ie9){setTimeout(function(){ifr=a.track.ctf(_864+_50(data),true);a.track.stf(ifr);},0);}else{ifr=a.track.ctf();ifr.src=_864+_50(data);a.track.gtf().appendChild(ifr);a.track.stf(ifr);}}}else{ifr=a.track.ctf();ifr.src=_864+_50(data);a.track.gtf().appendChild(ifr);a.track.stf(ifr);}}_6._pmh.flushed=1;_6._pmh.flush(_a.pmh,_a);if(w.addthis_language||ac.ui_language){a.alg();}if(a.plo.length>0){a.jlo();}}catch(e){_a.log.debug("lod",e);}}w._ate=a;w._adr=r;a._ssc=a._ssh=[];a.dat={};a._rec.push(function(data){var rdy=a.dat.rdy,s,i;_1c(data,function(k,v){a.dat[k]=v;});if(data.rdy&&!rdy){a.xfr=1;a.track.xtp();}if(data.ssc){a._ssc=data.ssc;}if(data.sshs){data.sshs=data.sshs.replace(/\bpinterest\b/,"pinterest_share");s=w.addthis_ssh=_duc(data.sshs);a.gssh=1;a._ssh=s.split(",");_a.ed.fire("addthis-internal.data.ssh",{},{ssh:s});}if(data.uss){data.uss=data.uss.replace(/\bpinterest\b/,"pinterest_share");var u=a._uss=_duc(data.uss).split(",");if(w.addthis_ssh){var seen={},_88e=[];u=u.concat(a._ssh);for(i=0;i0){var per={"per-feed":data["per-feed"],"per-cell":data["per-cell"],"per-vectors":(data["per-vectors"]||"NONE").split(",")};a.feeds&&a.feeds.configure(per);}}if(data.ups){s=data.ups.split(",");a.ups={};for(i=0;i-1){var ckv=_5f(d.cookie,";");a._rec[a._rec.length-1](ckv);}var _894={},_239=_a.util.gsp("addthis_widget.js");if(typeof(_239)=="object"){if(_239.provider){_894={provider:_a.mun(_239.provider_code||_239.provider),auth:_239.auth||_239.provider_auth||""};if(_239.uid||_239.provider_uid){_894.uid=_a.mun(_239.uid||_239.provider_uid);}if(_239.logout){_894.logout=1;}_a.prv=_894;}if(_239.headless){_atc.xcs=1;}if(_239.dnp){_a.dcp=Number.MAX_VALUE;}if(_239.dnt){_atc.xtr=1;}_a.util.pae(_239);_a.util.pas(_a.util.pae);if(_239.pubid||_239.pub||_239.username){w.addthis_pub=_duc(_239.pubid||_239.pub||_239.username);}if(w.addthis_pub&&w.addthis_config){w.addthis_config.username=w.addthis_pub;}if(_239.domready){_atc.dr=1;}if(_239.onready&&_239.onready.match(/[a-zA-Z0-9_\.\$]+/)){try{_a.onr=_a.evl(_239.onready);}catch(e){w.console&&console.log("addthis: onready function ("+_239.onready+") not defined",e);}}if(_239.async){_atc.xol=1;}}if(_239.delayupgrade){_atc.noup=1;}else{if(_atc.ver>=152||(w.addthis_conf||{}).ver>=152){_atc.ver=300;}}_a.ed.fire("addthis-internal.params.loaded",{},{geo:a.geo});if((w.addthis_conf||{}).xol){_atc.xol=1;}if(_atc.ver===120){var rc="atb"+_a.util.cuid(),_896=_a.util.gst("addthis_widget"),span=d.ce("span");span.id=rc;_896.parentNode.appendChild(span);_a.igv();_a.lad(["span",rc,addthis_share.url||"[url]",addthis_share.title||"[title]"]);}if(w.addthis_clickout){_a.lad(["cout"]);}if(!_atc.xol&&!_atc.xcs&&ac.ui_use_css!==false){css.load();if(_a.bro.ie6||_a.bro.ie7){_848.load();}if(_a.bro.ipa){_849.load();}}}catch(e){_a.log.error("main",e);}_d1.bindReady();_d1.append(main);(function(e,g,i){var b;var a=false,m=_a.upm&&(w.postMessage&&(typeof w.postMessage=="function"||(typeof(w.postMessage||{}).call=="function"&&typeof(w.postMessage||{}).apply=="function"))&&!_a.bro.ie6&&!_a.bro.ie7),h=false;function f(n){if(_a.unj&&!_a.bro.msi){return JSON.stringify(n);}else{return _a.util.rtoKV(n,"&&","==");}}function j(p){if(p&&typeof(p)=="string"){if(_a.unj&&p.indexOf("{")===0){try{return JSON.parse(p);}catch(n){return _a.util.rfromKV(p);}}else{return _a.util.rfromKV(p,"&&","==");}}else{return p;}}function c(o){var n;if(!a||o.origin.slice(-12)==".addthis.com"){if(!o.data){return;}n=j(o.data);n.origin=o.origin;k(n);}}function k(n){if(n.addthisxf){_a.ed.fire(n.addthisxf,n.target||n.payload,n.payload);}}_41(_a,{xf:{upm:m,listen:function(){if(h){return;}if(m){if(l.href.indexOf(".addthis.com")==-1){a=true;}if(w.attachEvent){w.attachEvent("onmessage",c,false);d.attachEvent("onmessage",c,false);}else{w.addEventListener("message",c,false);}window.addthis._pml.push(c);}h=true;},send:function(o,n,p){if(m){setTimeout(function(){o.postMessage(f({addthisxf:n,payload:p}),"*");},0);}}}});})(_a,_a.api,_a);(function(a,d,b){d.HIGH=3;d.MED=2;d.LOW=1;d.ASC=1;d.DSC=d.DESC=0;function c(j){var e=j||[],f=e.length===0?{}:h(e),m=e;e._map=f;function g(n){e.sort(function(p,o){return i(p,o,d.ASC,n);});}function k(n){e.sort(function(p,o){return i(p,o,d.DSC,n);});}function i(p,n,r,s){var q=p[s],o=n[s];if(typeof(q)=="string"&&!isNaN(parseInt(q,10))){q=parseInt(q,10);o=parseInt(o,10);if(r){return q-q;}return q-o;}if(q>o){return r?1:-1;}else{if(q==o){return 0;}}return r?-1:1;}function h(){var o={};for(var n=0;n30){throw new Error("Service code must be between 5 and 30 characters.");}else{if(_8f0.search(/^[a-zA-Z0-9_]+$/)==-1){throw new Error("Service code must consist entirely of letters, numbers and underscores.");}}return true;}_6.logShare=function(url,_8f2,_8f3,_8f4){var c=_8f4||addthis_config,s=_8f3||addthis_share;c.product="hdl-"+_a.ver();s.imp_url=0;var url=url||(_8f3&&_8f3.url)||addthis_share.url,ct=_a.track.dcu(url);if(ct.rsc&&!_8f2){_8f2=ct.rsc;}if(validateServiceCode(_8f2)){s.url=url;_a.share.track(_8f2,0,s,c);}};_6.addClickTag=function(url,_8f9,_8fa,_8fb){var url=url||_8fa&&_8fa.url||addthis_share.url;if(validateServiceCode(_8f9)){url=_a.track.cur(_a.track.cof(url),_8f9);}return url;};})();if(!window.addthis){window.addthis={};}_6.user=(function(){var a=_a,at=_6,_8fe=1000,u={},_8ff=0,_900=0,_901={tags:a.cookie.tag.get()},_902=false,_903=a.data.OrderedSet,_904=_a.data.Set,_905;function apiReduce(fn,acc){return a.reduce(["getID","getGeolocation","getServiceShareHistory"],fn,acc);}function reply(key,def){return function(fn){setTimeout(function(){fn(a[key]||def);},0);};}function setup(data){if(_8ff){return;}if(!data||!data.uid){return;}if(_905!==null){clearTimeout(_905);}_905=null;_8ff=1;apiReduce(function(_90c,name,i){u[name]=u[name].queuer.flush(reply.apply(at,_90c[i]),at);return _90c;},[["uid",""],["geo",""],["_ssh",[]]]);}function fakeData(){var data={uid:"x",geo:{},ssh:"",ups:""};_900=1;setup(data);}_905=setTimeout(fakeData,_8fe);a._rec.push(setup);function arrmap(_910){var map={};for(var i=0;i<_910.length;i++){map[_910[i]]=_910[i];}return map;}function isLocatedIn(desc){return a.util.geo.isin(desc,a.geo);}function hasInterest(desc){return _901.interests.iskey(desc);}function hasTag(tag){return _901.tags.iskey(tag);}function hasTags(tags){return _901.tags.hasKeys(tags);}function ready(fn){if(!_a.uud){_a.ed.fire("addthis-internal.api",window.addthis||{},{call:"rdy"});}_a.uud=1;if(_8ff&&(_a.jlng()=="en"||window.addthis_translations)){var _918=_a.share.services.init(window.addthis_config),opts=(window.addthis_options||"").replace(",more","").split(",");if(isOptedOut()){fn(_901);return;}var _91a=[];var tags=a.cookie.tag.get();for(var k in _a.bti){_91a.push(_a.bti[k]);}_901.interests=new _903(_91a);_901.tags=new _903(tags);var _91d=new _903();_a.util.each(a._uss,function(k,name){_91d.addOne({name:name,score:_6.HIGH});});_a.util.each(a._ssc,function(name,val){_91d.addOne({name:name,score:val});});_901.services=_91d;_901.activity={};_901.activity.social=_a.bts;_901.activity.view=_a.vts;_901.source=getSource();api.location=_901.location=_a.geo||{};_901.location.contains=isLocatedIn;if(fn){fn(_901);}_a.ed.fire("addthis.user.data",window.addthis||{},{});}else{if(_a.jlng()!=="en"&&!window.addthis_translations){_a.ed.addEventListener("addthis.i18n.ready",function(){ready(fn);});_a.alg();}else{setTimeout(function(){ready(fn);},250);}}}function getUserData(fn){ready(fn);}u.getData=getUserData;u.getPreferredServices=function(fn){if(_a.jlng()=="en"||window.addthis_translations){var _924=_a.share.services.init(window.addthis_config),opts=(window.addthis_options||"").replace(",more","").split(",");fn(opts);}else{_a.ed.addEventListener("addthis.i18n.ready",function(){var _926=_a.share.services.init(window.addthis_config),opts=(window.addthis_options||"").replace(",more","").split(",");fn(opts);});_a.alg();}};function isReturning(){return(_a.cookie.view.cla())>0;}function tag(tag){var tags=tag;if(typeof(tags)=="string"){tags=tags.split(",");}_a.cookie.tag.add(tags);}function measuredCallFactory(code,_92a){var rv=function(a,b,c){var args=Array.prototype.slice.call(arguments);_a.ed.fire("addthis-internal.api",window.addthis||{},{call:code});return _92a.apply(this,args);};return rv;}function measureCall(code){_a.ed.fire("addthis-internal.api",window.addthis||{},{call:code});}function getInterests(){measureCall("gti");return _901.interests;}function getServices(){measureCall("gts");return _901.services;}function getSource(){measureCall("gtt");return a.track.ts.get();}function getLocation(){measureCall("gtl");return _901.location;}function isOptedOut(){return a.uid=="0000000000000000";}function isUserOf(_931){return((a._ssh&&a._ssh.indexOf(_931)>-1)||(a._ssc&&a._ssc[_931]));}function isSocial(_932){var _933=getSource();if(_933.type=="social"){if(typeof(_932)=="string"){_932=_932.split(",");}if(_932 instanceof Array){var _934={};for(var i=0;i<_932.length;i++){_934[_932[i]]=1;}if(!_934[_933.service]){return false;}}return true;}return false;}function isSearch(_936){var _937=getSource(),i;if(_937.type=="search"){if(typeof(_936)=="string"){_936=_936.split(",");}if(_936 instanceof Array){var _939={};for(i=0;i<_936.length;i++){_939[_936[i]]=1;}if(_937.terms&&_937.terms.length){for(i=0;i<_937.terms.length;i++){if(!_939[_937.terms[i]]){return false;}}}}return true;}return false;}var api={ready:ready,isReturning:isReturning,isOptedOut:measuredCallFactory("ioo",isOptedOut),isUserOf:measuredCallFactory("iuf",isUserOf),hasInterest:hasInterest,hasTag:hasTag,hasTags:hasTags,isLocatedIn:isLocatedIn,tag:tag,interests:getInterests,services:getServices,location:getLocation};_6.session={source:getSource,isSocial:measuredCallFactory("isl",isSocial),isSearch:measuredCallFactory("ish",isSearch)};_a.extend(u,api);return apiReduce(function(o,name){o[name]=(new at._Queuer(name)).call;return o;},u);})();if(!window.addthis.osta){_6.osta=1;window.addthis.cache={};window.addthis.ed=_a.ed;window.addthis.init=function(){_d1.onReady();_6.ready&&_6.ready();};window.addthis.cleanup=function(){_a.util.each(((window.addthis||{})._pml||[]),function(i,_93e){_a.util.unlisten(window,"message",_93e);});};_a.extend(window.addthis.util,{getServiceName:_a.services.getName});window.addthis.addEventListener=_a.util.bind(_a.ed.addEventListener,_a.ed);window.addthis.removeEventListener=_a.util.bind(_a.ed.removeEventListener,_a.ed);_a.extend(_6,_a.api);var d=document,_93f=0,u=_1,w=window,_940={},_849=new _a.resource.Resource("widget32css",_atc.rsrcs.widget32css),_941=new _a.resource.Resource("widget20css",_atc.rsrcs.widget20css),_942=false,_943=false,_944,_945,_946,_947,_948={},_949={},body=null,_94b=_a.util.select,_94c=[],_94d=[],_94e=[],v,_94f={rss:"Subscribe"},_950={tweet:"Tweet",pinterest_share:"Pinterest",email:"Email",mailto:"Email",print:"Print",favorites:"Favorites",twitter:"Tweet",digg:"Digg",more:"View more services"},json={email_vars:1,passthrough:1,modules:1,templates:1,services_custom:1},_952={feed:1,more:_a.ver()<300,email:_a.ver()<300,mailto:1},_953={feed:1,email:_a.ver()<300,mailto:1,print:1,more:!_a.bro.ipa&&_a.ver()<300,favorites:1},_954={print:1,favorites:1,mailto:1},_955={pinterest_pinit:(_a.ver()<300),pinterest_share:(_a.ver()<300)},_956={email:_a.ver()>=300,more:_a.ver()>=300};_a.ed.addEventListener("addthis-internal.data.ssh",function(){_947=1;});_a.ulg(function(_957){_950.email=_950.mailto=_957[0][4];_950.print=_957[0][22];_950.favorites=_957[0][5];_950.more=_957[0][2];while(_94e.length>0){v=_94e.pop();if(v&&v.link&&v.title){v.link.title=_950[v.title]||v.link.title;}}});function unaccent(s){if(s.indexOf("&")>-1){s=s.replace(/&([aeiou]).+;/g,"$1");}return s;}function mrg(o,n){if(n&&o!==n){for(var k in n){if(o[k]===u){o[k]=n[k];}}}}function addIEHoverFix(){if(_a.bro.msi&&!d.getElementById("at300bhoveriefilter")){var head=d.getElementsByTagName("head")[0],_95d=d.ce("style"),_95e=d.createTextNode(".at300b:hover,.at300bs:hover {filter:alpha(opacity=80);}");_95d.id="at300bhoveriefilter";_95d.type="text/css";if(_95d.styleSheet){_95d.styleSheet.cssText=_95e.nodeValue;}else{_95d.appendChild(_95e);}head.appendChild(_95d);}}_6.addEvents=function(o,ss,au){if(!o){return;}var _962=o.onclick||function(){},_963=_954[ss]?function(){_a.share.track(ss,0,o.share,o.conf);}:function(){_a.share.notify(ss,o.share,o.conf,o);};if(o.conf.data_ga_tracker||addthis_config.data_ga_tracker||o.conf.data_ga_property||addthis_config.data_ga_property){o.onclick=function(){_a.gat(ss,au,o.conf,o.share);_963();return _962();};}else{o.onclick=function(e){if(!_955[ss]){_963();}return _962(e);};}};function check32(o,_966){if(_942&&!_966){return true;}var opc=_a.util.parent(o,".addthis_toolbox");_942=((opc.className||"").search(/32x32/i)>-1||(o.className||"").search(/32x32/i)>-1);return _942;}function check20(o,_969){if(_943&&!_969){return true;}var opc=_a.util.parent(o,".addthis_toolbox");_943=((opc.className||"").search(/20x20/i)>-1||(o.className||"").search(/20x20/i)>-1);return _943;}function registerProductCode(o){var opc=(o.parentNode||{}).className||"",pc=o.conf&&o.conf.product&&opc.indexOf("toolbox")==-1?o.conf.product:"tbx"+(o.className.indexOf("32x32")>-1||opc.indexOf("32x32")>-1?"32":"")+"-"+_a.ver();if(pc.indexOf(32)>-1){_942=true;}_a.track.apc(pc);return pc;}function rpl(o,n){var r={};for(var k in o){if(n[k]){r[k]=n[k];}else{r[k]=o[k];}}return r;}function _makeButton(w,h,alt,url){var img=document.ce("img");img.width=w;img.height=h;img.border=0;img.alt=alt;img.src=url;return img;}function _parseThirdPartyAttributes(el,_978){var key,attr=[],rv={},len=Math.min((el.attributes||[]).length||0,160),_97d=_978.replace(/:/g,"-");if(isNaN(len)){return rv;}for(var i=0;i-1&&(o.conf.product||"").indexOf("men")===0){o.conf.product="tbx"+(_9b5.className.indexOf("32x32")>-1?"32":(_9b5.className.indexOf("20x20")>-1?"20":""))+"-"+_a.ver();_a.track.apc(o.conf.product);}if(ss&&ss!=="more"){o.conf.product=registerProductCode(o);}if((!o.conf||(!o.conf.ui_click&&!o.conf.ui_window_panes))&&!_a.bro.ipa){_a.maf=_a.maf||{};_a.maf.home=this;_a.maf.key=null;_a.maf.shift=null;if(_998){o.onfocus=o.onmouseover=function(){_a.maf.sib=this.nextSibling;while(_a.maf.sib&&_a.maf.sib.nodeType==3&&_a.maf.sib.nextSibling){_a.maf.sib=_a.maf.sib.nextSibling;}if(!_a.maf.sib||_a.maf.sib.nodeType==3){var el=this.parentNode;if(!el){el=document.body.firstChild||document.body;while(el.nodeType==3&&el.nextSibling){el=el.nextSibling;}}else{while(el.nextSibling&&el.nodeType==3){el=el.nextSibling;}}_a.maf.sib=el;}_a.maf.sib.onfocus=function(){_a.maf.sib.tabIndex="";};return _998(this,this.conf,this.share);};}if(_999){o.onmouseout=function(){return _999(this);};}if(_99a){o.onclick=function(){return _99a(o,(this.conf||o.conf),(this.share||o.share));};}if(_999||_99a){o.onkeypress=o.onkeydown=function(e){if(!e){var e=window.event;}if(e.shiftKey){_a.maf.shift=true;}if(e.keyCode){_a.maf.key=e.keyCode;}else{if(e.which){_a.maf.key=e.which;}}if(_a.maf.key==13){_a.maf.pre=this;}else{_a.maf.pre=null;}};o.onblur=function(e){if(_a.maf.key==9&&_a.maf.firstCompact&&!_a.maf.shift&&this.className.indexOf("compact")>-1){_a.maf.key=null;_a.maf.acm=true;document.getElementById(_a.maf.firstCompact).focus();}else{_a.maf.key=null;_a.maf.shift=null;if(_999){return _999(this);}}};}}else{if(_99a){if(ss){o.onclick=function(){return _99a(this,this.conf,this.share);};}else{if(!o.conf.ui_window_panes){o.onclick=function(){if(_a.bro.iph||_a.bro.wph||_a.bro.dro){return addthis_sendto("more",this.conf,this.share);}else{return addthis_open(this,"",null,null,this.conf,this.share);}};}else{o.onclick=function(){return addthis_sendto("more",this.conf,this.share);};}}}}if(o.tagName.toLowerCase()=="a"){var url=o.share.url||addthis_share.url;_a.usu(url);if(ss){var _9bb=_getCustomService(ss,o.conf),cbtn=o.firstChild;if(_9bb&&_9bb.code&&_9bb.icon){if(cbtn&&cbtn.className.indexOf("at300bs")>-1){var size="16";if(check32(o,1)){cbtn.className=cbtn.className.split("at15nc").join("");size="32";}else{if(check20(o,1)){cbtn.className=cbtn.className.split("at15nc").join("");size="20";}}cbtn.style.background="url("+_9bb.icon+") no-repeat top left transparent";if(!cbtn.style.cssText){cbtn.style.cssText="";}cbtn.style.cssText="line-height:"+size+"px!important;width:"+size+"px!important;height:"+size+"px!important;background:"+cbtn.style.background+"!important";}}if(!_953[ss]){if(_994.follow){if(ss!="twitter"){o.href=o.share.followUrl;}o.conf=(o.conf||{});o.conf.follow=true;o.onclick=function(ev){_a.share.track(ss,1,o.share,o.conf);if(ss=="twitter"){return _a.share.ocw(o.share.followUrl,520,520);}};if(o.children&&o.children.length==1&&o.parentNode&&o.parentNode.className.indexOf("toolbox")>-1){var sp=document.ce("span");sp.className="addthis_follow_label";sp.innerHTML=_a.services.getName(ss).replace("_follow","");o.appendChild(sp);}}else{if(_a.share.externEvents(ss,o,_994)){}else{if(!o.noh){if(o.conf.ui_open_windows||_a.share.auw(ss)){o.onclick=function(e){return _a.share.stw(ss,o.share,o.conf);};}else{o.onclick=function(e){return _a.share.siw(ss,o.share,o.conf);};o.href=_a.share.genurl(ss,0,o.share,o.conf);}}}}if(!o.conf.follow){_6.addEvents(o,ss,url);}if(!o.noh&&!o.target){o.target="_blank";}_6.links.push(o);}else{if(ss=="mailto"||(ss=="email"&&(o.conf.ui_use_mailto||_a.bro.iph||_a.bro.wph||_a.bro.ipa||_a.bro.dro))){o.onclick=function(){o.share.xid=_a.util.cuid();(new Image()).src=_a.share.genurl("mailto",0,o.share,o.config);_a.gat(ss,url,o.conf,o.share);};o.href=_a.share.genieu(o.share,o.config||o.conf);_6.ems.push(o);}}if(!o.title||o.at_titled){var _9c2=_a.services.getName(ss,!_9bb);if(_950[ss]){_94e.push({link:o,title:ss});}o.title=unaccent(_994.follow?(_94f[ss]?_94f[ss]:"Follow on "+_9c2):(_950[ss]?_950[ss]:_9c2));o.at_titled=1;}if(!o.href){o.href="#";}}else{if(o.conf.product&&o.parentNode.className.indexOf("toolbox")==-1){registerProductCode(o);}}}var app;switch(_99b){case"img":if(!o.hasChildNodes()){var lang=(o.conf.ui_language||_a.lng()).split("-").shift(),_9c5=_a.ivl(lang);if(!_9c5){lang="en";}else{if(_9c5!==1){lang=_9c5;}}app=_makeButton(_a.iwb(lang)?150:125,16,"Share",_atr+"static/btn/v2/lg-share-"+lang.substr(0,2)+".gif");}break;}if(app){o.appendChild(app);}}}}function _renderPreferredItem(b,_9c7,_9c8,_9c9,_9ca,_9cb,_9cc){if(b._iss){return;}var _9cd,excl,sv,_9d0,c=b.className||"",_9d2,opts,_9d4={pinterest:"pinterest_share"};if(!_946){_946=1;b.parentNode._atsharedconf=_9cd=_a.share.services.init(b.conf);}else{_9cd=b.parentNode._atsharedconf||{};}if(!b.parentNode.services){b.parentNode.services={};}excl=_9cd.services_exclude||"";if(_a.bro.ie9){excl+=(excl.length?",":"")+"link";}_9d0=_a.share.services.loc;_9d2=b.parentNode.services;opts=_a.util.unqconcat((window.addthis_options||"").replace(",more","").split(","),_9d0.split(","));do{sv=opts[_9c7++];if(_9d4[sv]){sv=_9d4[sv];}}while(_9c7-1||_9d2[sv]));if(_9d2[sv]){_a.util.each(_a.services.list,function(k,v){if(!_9d2[k]&&excl.indexOf(k)==-1){sv=k;return false;}});}b._ips=1;if(b.className.indexOf(sv)==-1){b.className="addthis_button_"+sv+" "+b.className;b._iss=1;}b.parentNode.services[sv]=1;if(_9c8){_renderToolbox([b],_9c9,_9ca,true,_9cc);}}function _renderToolbox(_9d7,_9d8,_9d9,_9da,_9db){for(var i=0;i<_9d7.length;i++){var b=_9d7[i],d=document;if(b==null){continue;}if(_9da!==false||!b.ost){var attr=_getATtributes(b,_9d8,_9d9,!_9db),hc=0,c=b.className||"",_9e1="",s=c.match(/addthis_button_([\w\-\.]+)(?:\s|$)/),cArr=c.match(/addthis_counter_([\w\.]+)(?:\s|$)/),_9e4={},sv=s&&s.length?s[1]:0,csv=cArr&&cArr.length?cArr[1]:0;mrg(attr.conf,_944);mrg(attr.share,_945);if(sv&&!_a.share.extern(sv,b,attr)){if(sv.indexOf("preferred")>-1){if(b._iss||b._iwps){continue;}s=c.match(/addthis_button_preferred_([0-9]+)(?:\s|$)/);var _9e7=((s&&s.length)?Math.min(16,Math.max(1,parseInt(s[1]))):1)-1;if(!b.conf||_9db){b.conf=attr.conf||b.conf||{};}if(!b.share||_9db){b.share=attr.share||b.share||{};}b.conf.product="tbx-"+_a.ver();registerProductCode(b);if(!_947){var _9e8=_a.util.bind(_renderPreferredItem,b,b,_9e7,true,_9d8,_9d9,_9da,_9db);_a.ed.addEventListener("addthis-internal.data.ssh",_9e8);setTimeout(_9e8,2000);b._iwps=1;continue;}else{_renderPreferredItem(b,_9e7,true);}}else{if(sv.indexOf("follow")>-1){if(sv=="google_follow"){b.title="Follow on Google";}else{sv=sv.split("_follow").shift();}_9e4.follow=true;_a.track.apc("flw-"+_a.ver());attr.share.followUrl=_a.share.gfu(sv,attr.share.userid,attr.share.usertype,attr.share)||attr.share.url;}}if(!_a.services.isTop(sv,32)&&(_942||check32(b))){_849.load();}if(!_a.services.isTop(sv,16)&&(_943||check20(b))){_941.load();}var _9e9=(_a.services.isTop(sv,16)&&!check32(b,true)&&!check20(b,true));if(!b.childNodes.length){var sp=d.ce("span");b.appendChild(sp);sp.className=(_9e9?"at16nc ":" ")+"at300bs at15nc at15t_"+sv+(_9e9?" at16t_"+sv:"");if(((((b.parentNode||{}).parentNode||{}).parentNode||{}).className||"").indexOf("label_style")>-1){var sp2=d.createTextNode(_a.services.getName(sv));b.appendChild(sp2);}else{var _9ec="";if(sp!=_1&&(sv==="compact"||sv==="expanded")){_9ec="More Sharing Services";}else{if(sp!=_1){_9ec="Share on "+sv;}}try{sp.innerHTML=""+_9ec+"";}catch(e){var _9ed=d.ce("span");_9ed.className="at_a11y";_9ed.appendChild(document.createTextNode(_9ec));sp.appendChild(_9ed);}}}else{if(b.childNodes.length==1){var cn=b.childNodes[0];if(cn.nodeType==3){var sp=d.ce("span");b.insertBefore(sp,cn);sp.className=(_9e9?"at16nc ":" ")+"at300bs at15nc at15t_"+sv+(_9e9?" at16t_"+sv:"");}if(sp!=_1&&(sv==="compact"||sv==="expanded")){sp.innerHTML="More Sharing Services";}else{if(sp!=_1){sp.innerHTML="Share on "+sv+"";}}}else{if(b.firstChild&&b.firstChild.nodeType==3&&b.firstChild.textContent=="\n"){}else{hc=1;}}}if(sv==="compact"||sv==="expanded"){if(!hc&&c.indexOf("at300")==-1){b.className+=" at300m";}if(attr.conf.product&&attr.conf.product.indexOf("men-")==-1){attr.conf.product+=",men-"+_a.ver();}if(!b.href){b.href="#";}if(b.parentNode&&b.parentNode.services){attr.conf.parentServices=b.parentNode.services;}if(sv==="expanded"){_9e4.nohover=true;_9e4.singleservice="more";}}else{if((b.parentNode.className||"").indexOf("toolbox")>-1){if(!b.parentNode.services){b.parentNode.services={};}b.parentNode.services[sv]=1;}if(!hc&&c.indexOf("at300")==-1){b.className+=" at300b";}_9e4.singleservice=sv;}if(b._ips){_9e4.issh=true;}_render([b],attr,_9e4,_9db);b.ost=1;registerProductCode(b);}else{if(csv){if(b.ost){continue;}b.ost=1;var _9ef=d.ce("a"),_9f0=d.ce("a");_9ef.className="addthis_native_counter_sibling addthis_button_"+csv;_9f0.className="addthis_native_counter addthis_counter addthis_bubble_style";b.className+=" addthis_native_counter_parent";b.appendChild(_9ef);b.appendChild(_9f0);attr.conf.service=csv.indexOf("pinterest")>-1?"pinterest_share":csv;_render(_9ef,attr,{singleservice:csv});_6.counter(_9f0,attr.conf,attr.share);}}}}}function gat(s,au,conf,_9f4){if(s=="facebook_unlike"||s=="google_unplusone"){return;}conf=conf||{};var _9f5=conf.data_ga_tracker,_9f6=conf.data_ga_property;if(_9f6){if(typeof(window._gat)=="object"&&_gat._getTracker){_9f5=_gat._getTracker(_9f6);}else{if(typeof(window._gaq)=="object"&&_gaq._getAsyncTracker){_9f5=_gaq._getAsyncTracker(_9f6);}else{if(window._gaq instanceof Array){_gaq.push([function(){_a.gat(s,au,conf,_9f4);}]);}}}}if(_9f5&&typeof(_9f5)=="string"){_9f5=window[_9f5];}if(_9f5&&typeof(_9f5)=="object"){if(s=="more"||s=="settings"){return;}var _9f7=au||(_9f4||{}).url||location.href,_9f8=s,_9f9="share";if(_9f8.indexOf("_")>-1){_9f8=_9f8.split("_");_9f9=_9f8.pop();if(_9f9.length<=2){_9f9="share";}_9f8=_9f8.shift();}if(_9f7.toLowerCase().replace("https","http").indexOf("http%3a%2f%2f")==0){_9f7=_duc(_9f7);}try{if(conf.data_ga_social&&_9f5._trackSocial&&s!="google_plusone"){_9f5._trackSocial(_9f8,_9f9,_9f4.url);}else{_9f5._trackEvent("addthis",s,_9f7);}}catch(e){try{_9f5._initData();if(conf.data_ga_social&&_9f5._trackSocial&&s!="google_plusone"){_9f5._trackSocial(_9f8,_9f9,_9f4.url);}else{_9f5._trackEvent("addthis",s,_9f7);}}catch(e){}}}}_a.gat=gat;_6.update=function(_9fa,what,_9fc){if(_9fa=="share"){if(what=="url"){_a.usu(0,1);}if(!window.addthis_share){window.addthis_share={};}window.addthis_share[what]=_9fc;_949[what]=_9fc;for(var i in _6.links){var o=_6.links[i],rx=new RegExp("&"+what+"=(.*)&"),ns="&"+what+"="+_euc(_9fc)+"&";if((o.conf||{}).follow||!o.nodeType){continue;}if(o.share){o.share[what]=_9fc;}if(!o.noh){o.href=o.href.replace(rx,ns);if(o.href.indexOf(what)==-1){o.href+=ns;}}}for(var i in _6.ems){var o=_6.ems[i];o.href=_a.share.genieu(addthis_share);}}else{if(_9fa=="config"){if(!window.addthis_config){window.addthis_config={};}window.addthis_config[what]=_9fc;_948[what]=_9fc;}}};_6._render=_render;_6.button=function(what,_a02,_a03){_a02=_a02||{};if(!_a02.product){_a02.product="men-"+_a.ver();}_render(what,{conf:_a02,share:_a03},{internal:"img"});};_6.toolbox=function(what,_a05,_a06,_a07,_a08){var _a09=_94b(what);for(var i=0;i<_a09.length;i++){var tb=_a09[i],_a0c=window.jQuery,attr=_getATtributes(tb,_a05,_a06,_a07),sp=document.ce("div"),c;tb.services={};if(tb&&tb.className){if(!attr.conf.product){attr.conf.product="tbx"+(tb.className.indexOf("32x32")>-1?"32":(tb.className.indexOf("20x20")>-1?"20":""))+"-"+_a.ver();}if(tb.className.indexOf("peekaboo_style")>-1){if(!_atc._ld_pkcss){(new _a.resource.Resource("peekaboo",_atc.rsrcs.peekaboocss,function(){return true;})).load();_atc._ld_pkrcss=1;}if(!tb.peekaboo){tb.peekaboo=true;tb.onmouseover=function(){tb.is_hovered=1;tb.timeout=setTimeout(function(){if(tb.is_hovered){if(_a0c){_a0c(".addthis_peekaboo_style ul").slideDown("fast");}else{tb.getElementsByTagName("ul")[0].style.display="block";}}},500);};tb.onmouseout=function(){tb.is_hovered=0;if(tb.timeout){clearTimeout(tb.timeout);}tb.timeout=setTimeout(function(){if(!tb.is_hovered){if(_a0c){_a0c(".addthis_peekaboo_style ul").slideUp("fast");}else{tb.getElementsByTagName("ul")[0].style.display="none";}}},500);};}}if(tb.className.indexOf("floating_style")>-1){if(!_atc._ld_barcss){(new _a.resource.Resource("fixedcss",_atc.rsrcs.fltcss,function(){return true;})).load();_atc._ld_barcss=1;}if(!tb.fixed){tb.fixed=true;function dce(t,c,i){var el=d.ce(t);el.className=c;if(i){el.id=i;}return el;}var _a14=dce("DIV","at-floatingbar-inner"),_a06=dce("DIV","at-floatingbar-share"),_a15=dce("DIV","addthis_internal_container");while(tb.childNodes.length>0){_a15.appendChild(tb.firstChild);}_a06.appendChild(_a15);_a14.appendChild(_a06);tb.appendChild(_a14);if(document.compatMode=="BackCompat"&&_a.bro.msi&&!_a08){tb.setAttribute("className",tb.className.replace("addthis_bar","").replace("addthis_bar_vertical","").replace("addthis_floating_style","addthis_quirks_mode"));if(tb.className.indexOf("addthis_32x32_style")>-1){tb.setAttribute("className",tb.className+" addthis_bar_vertical_medium");}else{if(tb.className.indexOf("addthis_16x16_style")>-1){tb.setAttribute("className",tb.className+" addthis_bar_vertical_small");}else{if(tb.className.indexOf("addthis_counter_style")>-1){tb.setAttribute("className",tb.className+" addthis_bar_vertical_large");}}}}}}}if(tb&&tb.getElementsByTagName){c=tb.getElementsByTagName("a");if(c){_renderToolbox(c,attr.conf,attr.share,!_a07,!_a07);}tb.appendChild(sp);}sp.className="atclear";}};_6.ready=function(_a16){if(_6.ost){return;}_6.ost=1;doRenderPass();_a.ed.fire("addthis.ready",_6);if(_a.onr){_a.onr(_6);}callPostLoads();_a.share.sub();w.addthis_config.eua=w.addthis_config.eua||true;if(w.addthis_config.eua&&_a.ver()>=300&&!_atc.xck&&!_a.bro.ie6&&!_a.bro.ie7){_6.auth.init();}if(_a16&&typeof _a16=="function"){_a16();}};_6.util.getAttributes=_getATtributes;_6.ad=_a.extend(_6.ad,_a.ad);function doRenderPass(){var at=_6,a=".addthis_";if(at.osrp){return;}at.osrp=1;_945=w.addthis_share;_944=w.addthis_config;body=d.body;_94c=_a.util.gebcn(body,"A","addthis_button_",true,true);_94d=_a.util.gebcn(body,"A","addthis_counter_",true,true);addIEHoverFix();_6.toolbox(a+"toolbox",null,null,true,_94d.length);_6.button(a+"button");_6.counter(a+"counter");_6.count(a+"count");if(typeof _6.overlay==="function"){_6.overlay(a+"shareable");}if(typeof _6.dock==="function"){_6.dock(a+"bar");}_renderToolbox(_94c,null,null,false);_renderToolbox(_94d,null,null,false);if(((_944||{}).login||{}).services){_6.login.initialize();}}addEventListeners();if(_atc.xol){callPostLoads();if(_d1.isReady){doRenderPass();}}else{_d1.append((function(){window.addthis.ready();}));}_a.ed.fire("addthis-internal.ready",_6);}function callPostLoads(){if(_93f){return;}var at=window.addthis,func;for(var i=0,plo=at.plo,q;ia[y]("/")[0][q](":")&&(a=k+f[2][B](0,f[2].lastIndexOf("/"))+"/"+a):a=k+f[2]+(a||Be);d.href=a;e=c(d);return{protocol:(d[A]||"")[D](),host:e[0], +port:e[1],path:e[2],Oa:d[va]||"",url:a||""}}function Na(a,b){function c(b,c){a.contains(b)||a.set(b,[]);a.get(b)[n](c)}for(var d=Da(b)[y]("&"),e=0;ef?c(d[e],"1"):c(d[e][B](0,f),d[e][B](f+1))}}function Pa(a,b){if(F(a)||"["==a[ma](0)&&"]"==a[ma](a[w]-1))return"-";var c=J.domain;return a[q](c+(b&&"/"!=b?b:""))==(0==a[q]("http://")?7:0==a[q]("https://")?8:0)?"0":a};var Qa=0;function Ra(a,b,c){1<=Qa||1<=100*m.random()||ld()||(a=["utmt=error","utmerr="+a,"utmwv=5.4.7","utmn="+Ea(),"utmsp=1"],b&&a[n]("api="+b),c&&a[n]("msg="+G(c[B](0,100))),M.w&&a[n]("aip=1"),Sa(a[C]("&")),Qa++)};var Ta=0,Ua={};function N(a){return Va("x"+Ta++,a)}function Va(a,b){Ua[a]=!!b;return a} +var Wa=N(),Xa=Va("anonymizeIp"),Ya=N(),$a=N(),ab=N(),bb=N(),O=N(),P=N(),cb=N(),db=N(),eb=N(),fb=N(),gb=N(),hb=N(),ib=N(),jb=N(),kb=N(),lb=N(),nb=N(),ob=N(),pb=N(),qb=N(),rb=N(),sb=N(),tb=N(),ub=N(),vb=N(),wb=N(),xb=N(),yb=N(),zb=N(),Ab=N(),Bb=N(),Cb=N(),Db=N(),Eb=N(),Fb=N(!0),Gb=Va("currencyCode"),Hb=Va("page"),Ib=Va("title"),Jb=N(),Kb=N(),Lb=N(),Mb=N(),Nb=N(),Ob=N(),Pb=N(),Qb=N(),Rb=N(),Q=N(!0),Sb=N(!0),Tb=N(!0),Ub=N(!0),Vb=N(!0),Wb=N(!0),Zb=N(!0),$b=N(!0),ac=N(!0),bc=N(!0),cc=N(!0),R=N(!0),dc=N(!0), +ec=N(!0),fc=N(!0),gc=N(!0),hc=N(!0),ic=N(!0),jc=N(!0),S=N(!0),kc=N(!0),lc=N(!0),mc=N(!0),nc=N(!0),oc=N(!0),pc=N(!0),qc=N(!0),rc=Va("campaignParams"),sc=N(),tc=Va("hitCallback"),uc=N();N();var vc=N(),wc=N(),xc=N(),yc=N(),zc=N(),Ac=N(),Bc=N(),Cc=N(),Dc=N(),Ec=N(),Fc=N(),Gc=N(),Hc=N(),Ic=N();N();var Mc=N(),Nc=N(),Oc=N(),Oe=Va("uaName"),Pe=Va("uaDomain"),Qe=Va("uaPath");var Re=function(){function a(a,c,d){T($[x],a,c,d)}a("_createTracker",$[x].r,55);a("_getTracker",$[x].oa,0);a("_getTrackerByName",$[x].u,51);a("_getTrackers",$[x].pa,130);a("_anonymizeIp",$[x].aa,16);a("_forceSSL",$[x].la,125);a("_getPlugin",Pc,120)},Se=function(){function a(a,c,d){T(U[x],a,c,d)}Qc("_getName",$a,58);Qc("_getAccount",Wa,64);Qc("_visitCode",Q,54);Qc("_getClientInfo",ib,53,1);Qc("_getDetectTitle",lb,56,1);Qc("_getDetectFlash",jb,65,1);Qc("_getLocalGifPath",wb,57);Qc("_getServiceMode", +xb,59);V("_setClientInfo",ib,66,2);V("_setAccount",Wa,3);V("_setNamespace",Ya,48);V("_setAllowLinker",fb,11,2);V("_setDetectFlash",jb,61,2);V("_setDetectTitle",lb,62,2);V("_setLocalGifPath",wb,46,0);V("_setLocalServerMode",xb,92,void 0,0);V("_setRemoteServerMode",xb,63,void 0,1);V("_setLocalRemoteServerMode",xb,47,void 0,2);V("_setSampleRate",vb,45,1);V("_setCampaignTrack",kb,36,2);V("_setAllowAnchor",gb,7,2);V("_setCampNameKey",ob,41);V("_setCampContentKey",tb,38);V("_setCampIdKey",nb,39);V("_setCampMediumKey", +rb,40);V("_setCampNOKey",ub,42);V("_setCampSourceKey",qb,43);V("_setCampTermKey",sb,44);V("_setCampCIdKey",pb,37);V("_setCookiePath",P,9,0);V("_setMaxCustomVariables",yb,0,1);V("_setVisitorCookieTimeout",cb,28,1);V("_setSessionCookieTimeout",db,26,1);V("_setCampaignCookieTimeout",eb,29,1);V("_setReferrerOverride",Jb,49);V("_setSiteSpeedSampleRate",Dc,132);a("_trackPageview",U[x].Fa,1);a("_trackEvent",U[x].F,4);a("_trackPageLoadTime",U[x].Ea,100);a("_trackSocial",U[x].Ga,104);a("_trackTrans",U[x].Ia, +18);a("_sendXEvent",U[x].t,78);a("_createEventTracker",U[x].ia,74);a("_getVersion",U[x].qa,60);a("_setDomainName",U[x].B,6);a("_setAllowHash",U[x].va,8);a("_getLinkerUrl",U[x].na,52);a("_link",U[x].link,101);a("_linkByPost",U[x].ua,102);a("_setTrans",U[x].za,20);a("_addTrans",U[x].$,21);a("_addItem",U[x].Y,19);a("_clearTrans",U[x].ea,105);a("_setTransactionDelim",U[x].Aa,82);a("_setCustomVar",U[x].wa,10);a("_deleteCustomVar",U[x].ka,35);a("_getVisitorCustomVar",U[x].ra,50);a("_setXKey",U[x].Ca,83); +a("_setXValue",U[x].Da,84);a("_getXKey",U[x].sa,76);a("_getXValue",U[x].ta,77);a("_clearXKey",U[x].fa,72);a("_clearXValue",U[x].ga,73);a("_createXObj",U[x].ja,75);a("_addIgnoredOrganic",U[x].W,15);a("_clearIgnoredOrganic",U[x].ba,97);a("_addIgnoredRef",U[x].X,31);a("_clearIgnoredRef",U[x].ca,32);a("_addOrganic",U[x].Z,14);a("_clearOrganic",U[x].da,70);a("_cookiePathCopy",U[x].ha,30);a("_get",U[x].ma,106);a("_set",U[x].xa,107);a("_addEventListener",U[x].addEventListener,108);a("_removeEventListener", +U[x].removeEventListener,109);a("_addDevId",U[x].V);a("_getPlugin",Pc,122);a("_setPageGroup",U[x].ya,126);a("_trackTiming",U[x].Ha,124);a("_initData",U[x].v,2);a("_setVar",U[x].Ba,22);V("_setSessionTimeout",db,27,3);V("_setCookieTimeout",eb,25,3);V("_setCookiePersistence",cb,24,1);a("_setAutoTrackOutbound",Fa,79);a("_setTrackOutboundSubdomains",Fa,81);a("_setHrefExamineLimit",Fa,80)};function Pc(a){var b=this.plugins_;if(b)return b.get(a)} +var T=function(a,b,c,d){a[b]=function(){try{return void 0!=d&&H(d),c[ya](this,arguments)}catch(a){throw Ra("exc",b,a&&a[r]),a;}}},Qc=function(a,b,c,d){U[x][a]=function(){try{return H(c),Aa(this.a.get(b),d)}catch(e){throw Ra("exc",a,e&&e[r]),e;}}},V=function(a,b,c,d,e){U[x][a]=function(f){try{H(c),void 0==e?this.a.set(b,Aa(f,d)):this.a.set(b,e)}catch(Be){throw Ra("exc",a,Be&&Be[r]),Be;}}},Te=function(a,b){return{type:b,target:a,stopPropagation:function(){throw"aborted";}}};var Rc=RegExp(/(^|\.)doubleclick\.net$/i),Sc=function(a,b){return Rc[ia](J[z].hostname)?!0:"/"!==b?!1:0!=a[q]("www.google.")&&0!=a[q](".google.")&&0!=a[q]("google.")||-1b[w]||ad(b[0],c))return!1;b=b[ja](1)[C](".")[y]("|");0=b[w])return!0; +b=b[1][y](-1==b[1][q](",")?"^":",");for(c=0;cb[w]||ad(b[0],c))return a.set(ec,void 0),a.set(fc,void 0),a.set(gc,void 0),a.set(ic,void 0),a.set(jc,void 0),a.set(nc,void 0),a.set(oc,void 0),a.set(pc,void 0),a.set(qc,void 0),a.set(S,void 0),a.set(kc,void 0),a.set(lc,void 0),a.set(mc,void 0),!1;a.set(ec,1*b[1]);a.set(fc,1*b[2]);a.set(gc,1*b[3]);Ve(a,b[ja](4)[C]("."));return!0},Ve=function(a,b){function c(a){return(a=b[oa](a+"=(.*?)(?:\\|utm|$)"))&& +2==a[w]?a[1]:void 0}function d(b,c){c?(c=e?I(c):c[y]("%20")[C](" "),a.set(b,c)):a.set(b,void 0)}-1==b[q]("=")&&(b=I(b));var e="2"==c("utmcvr");d(ic,c("utmcid"));d(jc,c("utmccn"));d(nc,c("utmcsr"));d(oc,c("utmcmd"));d(pc,c("utmctr"));d(qc,c("utmcct"));d(S,c("utmgclid"));d(kc,c("utmgclsrc"));d(lc,c("utmdclid"));d(mc,c("utmdsid"))},ad=function(a,b){return b?a!=b:!/^\d+$/[ia](a)};var Uc=function(){this.filters=[]};Uc[x].add=function(a,b){this.filters[n]({name:a,s:b})};Uc[x].cb=function(a){try{for(var b=0;b=100*a.get(vb)&&a[ta]()}function kd(a){ld(a.get(Wa))&&a[ta]()}function md(a){"file:"==J[z][A]&&a[ta]()}function Ge(a){He()&&a[ta]()}function nd(a){a.get(Ib)||a.set(Ib,J.title,!0);a.get(Hb)||a.set(Hb,J[z].pathname+J[z][va],!0)};var od=new function(){var a=[];this.set=function(b){a[b]=!0};this.Xa=function(){for(var b=[],c=0;c=b[0]||0>=b[1]?"":b[C]("x");a.Wa=d}catch(k){H(135)}qd=a}},td=function(){sd();for(var a= +qd,b=W[za],a=b.appName+b.version+a.language+b.platform+b.userAgent+a.javaEnabled+a.Q+a.P+(J.cookie?J.cookie:"")+(J.referrer?J.referrer:""),b=a[w],c=W.history[w];0d?(this.i=b[B](0,d),this.l=b[B](d+1,c),this.h=b[B](c+1)):(this.i=b[B](0,d),this.h=b[B](d+1));this.k=a[ja](1);this.Ma=!this.l&&"_require"==this.h;this.J=!this.i&&!this.l&&"_provide"==this.h}},Y=function(){T(Y[x],"push",Y[x][n],5);T(Y[x],"_getPlugin",Pc,121);T(Y[x], +"_createAsyncTracker",Y[x].Sa,33);T(Y[x],"_getAsyncTracker",Y[x].Ta,34);this.I=new Ja;this.p=[]};E=Y[x];E.Na=function(a,b,c){var d=this.I.get(a);if(!Ba(d))return!1;b.plugins_=b.plugins_||new Ja;b.plugins_.set(a,new d(b,c||{}));return!0};E.push=function(a){var b=Z.Va[ya](this,arguments),b=Z.p.concat(b);for(Z.p=[];0e?b+"#"+d:b+"&"+d;c="";f=b[q]("?");0f?b+"?"+d+c:b+"&"+d+c},$d=function(a,b,c,d){for(var e=0;3>e;e++){for(var f=0;3>f;f++){if(d==Yc(a+b+c))return H(127),[b,c]; +var Be=b[p](/ /g,"%20"),k=c[p](/ /g,"%20");if(d==Yc(a+Be+k))return H(128),[Be,k];Be=Be[p](/\+/g,"%20");k=k[p](/\+/g,"%20");if(d==Yc(a+Be+k))return H(129),[Be,k];try{var s=b[oa]("utmctr=(.*?)(?:\\|utm|$)");if(s&&2==s[w]&&(Be=b[p](s[1],G(I(s[1]))),d==Yc(a+Be+c)))return H(139),[Be,c]}catch(t){}b=I(b)}c=I(c)}};var de="|",fe=function(a,b,c,d,e,f,Be,k,s){var t=ee(a,b);t||(t={},a.get(Cb)[n](t));t.id_=b;t.affiliation_=c;t.total_=d;t.tax_=e;t.shipping_=f;t.city_=Be;t.state_=k;t.country_=s;t.items_=t.items_||[];return t},ge=function(a,b,c,d,e,f,Be){a=ee(a,b)||fe(a,b,"",0,0,0,"","","");var k;t:{if(a&&a.items_){k=a.items_;for(var s=0;sb[w]||!/^\d+$/[ia](b[0])||(b[0]=""+c,Fd(a,"__utmx",b[C]("."),void 0))},be=function(a,b){var c=$c(a.get(O),pd("__utmx"));"-"==c&&(c="");return b?G(c):c},Ye=function(a){try{var b=La(J[z][xa],!1),c=ea(L(b.d.get("utm_referrer")))||"";c&&a.set(Jb,c);var d=ea(K(b.d.get("utm_expid")))||"";d&&(d=d[y](".")[0],a.set(Oc,""+d))}catch(e){H(146)}},l=function(a){var b=W.gaData&&W.gaData.expId;b&&a.set(Oc,""+b)};var ke=function(a,b){var c=m.min(a.b(Dc,0),100);if(a.b(Q,0)%100>=c)return!1;c=Ze()||$e();if(void 0==c)return!1;var d=c[0];if(void 0==d||d==ba||da(d))return!1;0a[b])return!1;return!0},le=function(a){return da(a)|| +0>a?0:5E3>a?10*m[la](a/10):5E4>a?100*m[la](a/100):41E5>a?1E3*m[la](a/1E3):41E5},je=function(a){for(var b=new yd,c=0;cc[w])){for(var d=[],e=0;e=f)return!1;c=1*(""+c);if(""==a||!wd(a)||""==b||!wd(b)||!xd(c)||da(c)||0>c||0>f||100=a||a>e.get(yb))a=!1;else if(!b||!c||128=a&&Ca(b)&&""!=b){var c=this.get(Fc)||[];c[a]=b;this.set(Fc,c)}};E.V=function(a){a=""+a;if(a[oa](/^[A-Za-z0-9]{1,5}$/)){var b=this.get(Ic)||[];b[n](a);this.set(Ic,b)}};E.v=function(){this.a[ka]()};E.Ba=function(a){a&&""!=a&&(this.set(Tb,a),this.a.j("var"))};var ne=function(a){"trans"!==a.get(sc)&&500<=a.b(cc,0)&&a[ta]();if("event"===a.get(sc)){var b=(new Date)[g](),c=a.b(dc,0),d=a.b(Zb,0),c=m[la]((b-(c!=d?c:1E3*c))/1E3*1);0=a.b(R,0)&&a[ta]()}},pe=function(a){"event"===a.get(sc)&&a.set(R,m.max(0,a.b(R,10)-1))};var qe=function(){var a=[];this.add=function(b,c,d){d&&(c=G(""+c));a[n](b+"="+c)};this.toString=function(){return a[C]("&")}},re=function(a,b){(b||2!=a.get(xb))&&a.Za(cc)},se=function(a,b){b.add("utmwv","5.4.7");b.add("utms",a.get(cc));b.add("utmn",Ea());var c=J[z].hostname;F(c)||b.add("utmhn",c,!0);c=a.get(vb);100!=c&&b.add("utmsp",c,!0)},te=function(a,b){b.add("utmht",(new Date)[g]());b.add("utmac",Da(a.get(Wa)));a.get(Oc)&&b.add("utmxkey",a.get(Oc),!0);a.get(vc)&&b.add("utmni",1);var c=a.get(Ic); +c&&0=a[w])gf(a,b,c);else if(8192>=a[w]){if(0<=W[za].userAgent[q]("Firefox")&&![].reduce)throw new De(a[w]);hf(a,b)||Ee(a,b)}else throw new Ce(a[w]);},gf=function(a,b,c){c=c||("https:"==J[z][A]||M.G?"https://ssl.google-analytics.com":"http://www.google-analytics.com")+"/__utm.gif?";var d=new Image(1,1);d.src=c+a;d.onload=function(){d.onload=null;d.onerror= +null;b()};d.onerror=function(){d.onload=null;d.onerror=null;b()}},hf=function(a,b){var c,d=("https:"==J[z][A]||M.G?"https://ssl.google-analytics.com":"http://www.google-analytics.com")+"/p/__utm.gif",e=W.XDomainRequest;if(e)c=new e,c.open("POST",d);else if(e=W.XMLHttpRequest)e=new e,"withCredentials"in e&&(c=e,c.open("POST",d,!0),c.setRequestHeader("Content-Type","text/plain"));if(c)return c.onreadystatechange=function(){4==c.readyState&&(b(),c=null)},c.send(a),!0},Ee=function(a,b){if(J.body){a=aa(a); +try{var c=J[qa]('')}catch(d){c=J[qa]("iframe"),ha(c,a)}c.height="0";c.width="0";c.style.display="none";c.style.visibility="hidden";var e=J[z],e=("https:"==J[z][A]||M.G?"https://ssl.google-analytics.com":"http://www.google-analytics.com")+"/u/post_iframe.html#"+aa(e[A]+"//"+e[u]+"/favicon.ico"),f=function(){c.src="";c.parentNode&&c.parentNode.removeChild(c)};Ga(W,"beforeunload",f);var Be=!1,k=0,s=function(){if(!Be){try{if(9>21:b;return b};})(); diff --git a/examples/htdocs/tpl_files/gtranslate_icon.gif b/examples/htdocs/tpl_files/gtranslate_icon.gif new file mode 100644 index 0000000..285d767 Binary files /dev/null and b/examples/htdocs/tpl_files/gtranslate_icon.gif differ diff --git a/examples/htdocs/tpl_files/index(1).aspx b/examples/htdocs/tpl_files/index(1).aspx new file mode 100644 index 0000000..96b175d Binary files /dev/null and b/examples/htdocs/tpl_files/index(1).aspx differ diff --git a/examples/htdocs/tpl_files/index(2).aspx b/examples/htdocs/tpl_files/index(2).aspx new file mode 100644 index 0000000..5cf7516 Binary files /dev/null and b/examples/htdocs/tpl_files/index(2).aspx differ diff --git a/examples/htdocs/tpl_files/index(3).aspx b/examples/htdocs/tpl_files/index(3).aspx new file mode 100644 index 0000000..df8d49b Binary files /dev/null and b/examples/htdocs/tpl_files/index(3).aspx differ diff --git a/examples/htdocs/tpl_files/index(4).aspx b/examples/htdocs/tpl_files/index(4).aspx new file mode 100644 index 0000000..3663990 Binary files /dev/null and b/examples/htdocs/tpl_files/index(4).aspx differ diff --git a/examples/htdocs/tpl_files/index(5).aspx b/examples/htdocs/tpl_files/index(5).aspx new file mode 100644 index 0000000..178d8e5 Binary files /dev/null and b/examples/htdocs/tpl_files/index(5).aspx differ diff --git a/examples/htdocs/tpl_files/index.aspx b/examples/htdocs/tpl_files/index.aspx new file mode 100644 index 0000000..4521f1e Binary files /dev/null and b/examples/htdocs/tpl_files/index.aspx differ diff --git a/examples/htdocs/tpl_files/jquery-1.8.3.min.js b/examples/htdocs/tpl_files/jquery-1.8.3.min.js new file mode 100644 index 0000000..83589da --- /dev/null +++ b/examples/htdocs/tpl_files/jquery-1.8.3.min.js @@ -0,0 +1,2 @@ +/*! jQuery v1.8.3 jquery.com | jquery.org/license */ +(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write(""),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t
a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="
t
",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="
",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;ti.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="
",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="

",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t0)for(i=r;i=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*\s*$/g,Nt={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X
","
"]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1>");try{for(;r1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]===""&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("
").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window); \ No newline at end of file diff --git a/examples/htdocs/tpl_files/jsapi b/examples/htdocs/tpl_files/jsapi new file mode 100644 index 0000000..f9152ac --- /dev/null +++ b/examples/htdocs/tpl_files/jsapi @@ -0,0 +1,39 @@ +if(!window['googleLT_']){window['googleLT_']=(new Date()).getTime();}if (!window['google']) { +window['google'] = {}; +} +if (!window['google']['loader']) { +window['google']['loader'] = {}; +google.loader.ServiceBase = 'http://www.google.com/uds'; +google.loader.GoogleApisBase = 'http://ajax.googleapis.com/ajax'; +google.loader.ApiKey = 'AIzaSyB0Ftbjs0Op3LVaupf0tBk6OA84_yFD1dU'; +google.loader.KeyVerified = true; +google.loader.LoadFailure = false; +google.loader.Secure = false; +google.loader.GoogleLocale = 'www.google.com'; +google.loader.ClientLocation = null; +google.loader.AdditionalParams = ''; +(function() {var d=encodeURIComponent,g=window,h=document;function l(a,b){return a.load=b}var m="push",n="replace",q="charAt",r="indexOf",t="ServiceBase",u="name",v="getTime",w="length",x="prototype",y="setTimeout",z="loader",A="substring",B="join",C="toLowerCase";function D(a){return a in E?E[a]:E[a]=-1!=navigator.userAgent[C]()[r](a)}var E={};function F(a,b){var c=function(){};c.prototype=b[x];a.U=b[x];a.prototype=new c} +function G(a,b,c){var e=Array[x].slice.call(arguments,2)||[];return function(){return a.apply(b,e.concat(Array[x].slice.call(arguments)))}}function H(a){a=Error(a);a.toString=function(){return this.message};return a}function I(a,b){for(var c=a.split(/\./),e=g,f=0;f\x3c/script>"):(D("safari")||D("konqueror"))&&g[y](S,10)),O[m](a)):P(g,"load",a)};K("google.setOnLoadCallback",google.T); +function P(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var e=a["on"+b];a["on"+b]=null!=e?aa([c,e]):c}}function aa(a){return function(){for(var b=0;b\x3c/script>'):"css"==a&&h.write('')}; +K("google.loader.writeLoadTag",google[z].d);google[z].Q=function(a){N=a};K("google.loader.rfm",google[z].Q);google[z].S=function(a){for(var b in a)"string"==typeof b&&b&&":"==b[q](0)&&!M[b]&&(M[b]=new T(b[A](1),a[b]))};K("google.loader.rpl",google[z].S);google[z].R=function(a){if((a=a.specs)&&a[w])for(var b=0;b + +AddThis utility frame + \ No newline at end of file diff --git a/examples/htdocs/tpl_files/tpl-logo.png b/examples/htdocs/tpl_files/tpl-logo.png new file mode 100644 index 0000000..37d9824 Binary files /dev/null and b/examples/htdocs/tpl_files/tpl-logo.png differ diff --git a/examples/htdocs/tpl_files/tpl.css b/examples/htdocs/tpl_files/tpl.css new file mode 100644 index 0000000..6557887 --- /dev/null +++ b/examples/htdocs/tpl_files/tpl.css @@ -0,0 +1,6219 @@ + + + + + + + + + + +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.7.0 +*/ +body{font:13px/1.231 arial,verdana;*font-size:small;*font:x-small;}select,input,button,textarea,button{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;} +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.7.0 +*/ +.yui-calcontainer{position:relative;float:left;_overflow:hidden;}.yui-calcontainer iframe{position:absolute;border:none;margin:0;padding:0;z-index:0;width:100%;height:100%;left:0;top:0;}.yui-calcontainer iframe.fixedsize{width:50em;height:50em;top:-1px;left:-1px;}.yui-calcontainer.multi .groupcal{z-index:1;float:left;position:relative;}.yui-calcontainer .title{position:relative;z-index:1;}.yui-calcontainer .close-icon{position:absolute;z-index:1}.yui-calendar{position:relative;}.yui-calendar .calnavleft{position:absolute;z-index:1;overflow:hidden;}.yui-calendar .calnavright{position:absolute;z-index:1;overflow:hidden;}.yui-calendar .calheader{position:relative;width:100%;text-align:center;}.yui-calcontainer .yui-cal-nav-mask{position:absolute;z-index:2;margin:0;padding:0;width:100%;height:100%;_width:0;_height:0;left:0;top:0;display:none;}.yui-calcontainer .yui-cal-nav{position:absolute;z-index:3;top:0;display:none;}.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn{display:-moz-inline-box;display:inline-block;}.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button{display:block;*display:inline-block;*overflow:visible;border:none;background-color:transparent;cursor:pointer;}.yui-calendar .calbody a:hover{background:inherit;}p#clear{clear:left;padding-top:10px;}.yui-skin-sam .yui-calcontainer{background-color:#f2f2f2;border:1px solid #808080;padding:10px;}.yui-skin-sam .yui-calcontainer.multi{padding:0 5px 0 5px;}.yui-skin-sam .yui-calcontainer.multi .groupcal{background-color:transparent;border:none;padding:10px 5px 10px 5px;margin:0;}.yui-skin-sam .yui-calcontainer .title{background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;border-bottom:1px solid #ccc;font:100% sans-serif;color:#000;font-weight:bold;height:auto;padding:.4em;margin:0 -10px 10px -10px;top:0;left:0;text-align:left;}.yui-skin-sam .yui-calcontainer.multi .title{margin:0 -5px 0 -5px;}.yui-skin-sam .yui-calcontainer.withtitle{padding-top:0;}.yui-skin-sam .yui-calcontainer .calclose{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -300px;width:25px;height:15px;top:.4em;right:1.2em;cursor:pointer;}.yui-skin-sam .yui-calendar{border-spacing:0;border-collapse:collapse;font:100% sans-serif;text-align:center;margin:0;}.yui-skin-sam .yui-calendar .calhead{background:transparent;border:none;vertical-align:middle;padding:0;}.yui-skin-sam .yui-calendar .calheader{background:transparent;font-weight:bold;padding:0 0 .6em 0;text-align:center;}.yui-skin-sam .yui-calendar .calheader img{border:none;}.yui-skin-sam .yui-calendar .calnavleft{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -450px;width:25px;height:15px;top:0;bottom:0;left:-10px;margin-left:.4em;cursor:pointer;}.yui-skin-sam .yui-calendar .calnavright{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -500px;width:25px;height:15px;top:0;bottom:0;right:-10px;margin-right:.4em;cursor:pointer;}.yui-skin-sam .yui-calendar .calweekdayrow{height:2em;}.yui-skin-sam .yui-calendar .calweekdayrow th{padding:0;border:none;}.yui-skin-sam .yui-calendar .calweekdaycell{color:#000;font-weight:bold;text-align:center;width:2em;}.yui-skin-sam .yui-calendar .calfoot{background-color:#f2f2f2;}.yui-skin-sam .yui-calendar .calrowhead,.yui-skin-sam .yui-calendar .calrowfoot{color:#a6a6a6;font-size:85%;font-style:normal;font-weight:normal;border:none;}.yui-skin-sam .yui-calendar .calrowhead{text-align:right;padding:0 2px 0 0;}.yui-skin-sam .yui-calendar .calrowfoot{text-align:left;padding:0 0 0 2px;}.yui-skin-sam .yui-calendar td.calcell{border:1px solid #ccc;background:#fff;padding:1px;height:1.6em;line-height:1.6em;text-align:center;white-space:nowrap;}.yui-skin-sam .yui-calendar td.calcell a{color:#06c;display:block;height:100%;text-decoration:none;}.yui-skin-sam .yui-calendar td.calcell.today{background-color:#000;}.yui-skin-sam .yui-calendar td.calcell.today a{background-color:#fff;}.yui-skin-sam .yui-calendar td.calcell.oom{background-color:#ccc;color:#a6a6a6;cursor:default;}.yui-skin-sam .yui-calendar td.calcell.selected{background-color:#fff;color:#000;}.yui-skin-sam .yui-calendar td.calcell.selected a{background-color:#b3d4ff;color:#000;}.yui-skin-sam .yui-calendar td.calcell.calcellhover{background-color:#426fd9;color:#fff;cursor:pointer;}.yui-skin-sam .yui-calendar td.calcell.calcellhover a{background-color:#426fd9;color:#fff;}.yui-skin-sam .yui-calendar td.calcell.previous{color:#e0e0e0;}.yui-skin-sam .yui-calendar td.calcell.restricted{text-decoration:line-through;}.yui-skin-sam .yui-calendar td.calcell.highlight1{background-color:#cf9;}.yui-skin-sam .yui-calendar td.calcell.highlight2{background-color:#9cf;}.yui-skin-sam .yui-calendar td.calcell.highlight3{background-color:#fcc;}.yui-skin-sam .yui-calendar td.calcell.highlight4{background-color:#cf9;}.yui-skin-sam .yui-calendar a.calnav{border:1px solid #f2f2f2;padding:0 4px;text-decoration:none;color:#000;zoom:1;}.yui-skin-sam .yui-calendar a.calnav:hover{background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;border-color:#A0A0A0;cursor:pointer;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-mask{background-color:#000;opacity:.25;filter:alpha(opacity=25);}.yui-skin-sam .yui-calcontainer .yui-cal-nav{font-family:arial,helvetica,clean,sans-serif;font-size:93%;border:1px solid #808080;left:50%;margin-left:-7em;width:14em;padding:0;top:2.5em;background-color:#f2f2f2;}.yui-skin-sam .yui-calcontainer.withtitle .yui-cal-nav{top:4.5em;}.yui-skin-sam .yui-calcontainer.multi .yui-cal-nav{width:16em;margin-left:-8em;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-y,.yui-skin-sam .yui-calcontainer .yui-cal-nav-m,.yui-skin-sam .yui-calcontainer .yui-cal-nav-b{padding:5px 10px 5px 10px;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-b{text-align:center;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-e{margin-top:5px;padding:5px;background-color:#EDF5FF;border-top:1px solid black;display:none;}.yui-skin-sam .yui-calcontainer .yui-cal-nav label{display:block;font-weight:bold;} +.yui-skin-sam .yui-calcontainer .yui-cal-nav-mc{width:100%;_width:auto;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-y input.yui-invalid{background-color:#FFEE69;border:1px solid #000;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-yc{width:4em;}.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn{border:1px solid #808080;background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;background-color:#ccc;margin:auto .15em;}.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button{padding:0 8px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto;color:#000;}.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default{border:1px solid #304369;background-color:#426fd9;background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 -1400px;}.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default button{color:#fff;} + +#dates { + float:left; + border: 1px solid #000; + background-color: #ccc; + padding:10px; + margin:10px; +} + +#dates p { + clear:both; +} + +#dates label { + float:left; + display:block; + width:7em; + font-weight:bold; +} +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.7.0 +*/ +.yui-carousel{visibility:hidden;overflow:hidden;position:relative;text-align:left;zoom:1;}.yui-carousel.yui-carousel-visible{visibility:visible;}.yui-carousel-content{overflow:hidden;position:relative;}.yui-carousel-element{margin:5px 0;overflow:hidden;padding:0;position:relative;width:32000px;z-index:1;}.yui-carousel-vertical .yui-carousel-element{margin:0 5px;}.yui-carousel-element li{border:1px solid #ccc;float:left;list-style:none;margin:1px;overflow:hidden;padding:0;text-align:center;*float:none;*display:inline-block;*zoom:1;*display:inline;}.yui-carousel .yui-carousel-item-selected{border:0px dashed #000;margin:1px;}.yui-carousel-vertical{height:32000px;margin:0 5px;width:auto;}.yui-carousel-vertical .yui-carousel-element li{display:block;float:none;}.yui-log .carousel{background:#f2e886;}.yui-carousel-nav{zoom:1;}.yui-carousel-nav:after{clear:both;content:"";display:block;}.yui-carousel-button-focus{outline:1px dotted #000;}.yui-carousel-min-width .yui-carousel-content{margin:0 auto;}.yui-skin-sam .yui-carousel,.yui-skin-sam .yui-carousel-vertical{border:1px solid #808080;}.yui-skin-sam .yui-carousel-nav{background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;padding:3px;text-align:right;}.yui-skin-sam .yui-carousel-button{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -600px;float:right;height:19px;margin:5px;overflow:hidden;width:40px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button{background-position:0 -800px;}.yui-skin-sam .yui-carousel-button-disabled{background-position:0 -2000px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button-disabled{background-position:0 -2100px;}.yui-skin-sam .yui-carousel-button input,.yui-skin-sam .yui-carousel-button button{background-color:transparent;border:0;cursor:pointer;display:block;height:44px;margin:-2px 0 0 -2px;padding:0 0 0 50px;}.yui-skin-sam span.yui-carousel-first-button{background-position:0 -550px;margin-left:-100px;margin-right:50px;*margin:5px 5px 5px -90px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button{background-position:0 -750px;}.yui-skin-sam span.yui-carousel-first-button-disabled{background-position:0 -1950px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button-disabled{background-position:0 -2050px;}.yui-skin-sam .yui-carousel-nav ul{float:right;height:19px;margin:0;margin-left:-220px;margin-right:100px;*margin-left:-160px;*margin-right:0;padding:0;}.yui-skin-sam .yui-carousel-min-width .yui-carousel-nav ul{*margin-left:-170px;}.yui-skin-sam .yui-carousel-nav select{position:relative;*right:50px;top:4px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav ul,.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav select{float:none;margin:0;*zoom:1;}.yui-skin-sam .yui-carousel-nav ul li{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -650px;cursor:pointer;float:left;height:9px;list-style:none;margin:10px 0 0 5px;overflow:hidden;padding:0;width:9px;}.yui-skin-sam .yui-carousel-nav ul:after{clear:both;content:"";display:block;}.yui-skin-sam .yui-carousel-nav ul li a{left:-10000px;position:absolute;}.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-focus{outline:1px dotted #000;}.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-selected{background-position:0 -700px;}.yui-skin-sam .yui-carousel-item-loading{background:url(ajax-loader.gif) no-repeat 50% 50%;position:relative;text-indent:-150px;} + + + +h1#notification, #logon h1 +{ + margin-bottom:25px; + font-size:26px /*34px*/ +} +ul#youraccount-tab +{ + margin-top:0px; +} +#youraccount-tab li +{ + font-size:13px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + margin-right:10px; +} +#youraccount-tab li:first-child +{ + margin-left:7px; +} +#youraccount-tab li a +{ + padding:5px 13px; +} +/* style for the sign in form so that the global message box will float to the top */ +#form_signin +{ + float:left;clear:both; + /*margin-top:20px;*/ +} + +#resendConfirmDialog img +{ + border: solid 1px #BDBDBD; + display: block; + margin:auto; +} + +#messageHeader +{ + border-width:2px; + display:none; + padding-left:85px; + padding-top:15px; + padding-bottom:15px; + padding-right:30px; + margin:0; + background-repeat: no-repeat; + background-position: 10px; + line-height:23px; + min-height:50px; +} +#savedMessageHeader +{ + padding:10px; + border-top: 1px solid #A4D178; + border-bottom: 1px solid #CCC; + background: #78a04d url(/images/alert-lines.png) repeat-x top left; + display:none; +} +#logon #messageHeader +{ + float:left; + clear:both; +} +#operationMsg p, #messageHeader p +{ + margin:5px 0; + font-size:1.5em; + display:block; +} +#savedMessageHeader p +{ + font-size:18px; + font-weight:normal; + width:200px; + padding:0; + margin:auto; + color: #fff; +} +#messageHeader label.formError +{ + color: #525252; + font-size: 14px; +} +.alert +{ + background-color:#fdfdd4; + /*border-color:#fff;*/ + border-style:solid; + border-width:1px; + border-color:#F8A961; + background-image: url('/images/icons/alert.gif'); + -moz-border-radius: 5px;border-radius: 5px; +} +.alert p +{ + color: #c62e28; + font-weight:bold; +} +.confirming +{ +/* background-color:#e5edf8; + border-color:#115dab;*/ + background-color:#fffa85; + background-image: url('/images/icons/confirm.gif'); + -moz-box-shadow: 2px 2px 4px #808080; + -webkit-box-shadow: 2px 2px 4px #808080; + box-shadow: 2px 2px 4px #808080; + + /* For IE 8 */ + -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#808080')"; + + /* For IE 5.5 - 7 */ + filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#808080'); +} +.confirming p +{ + /*color: #115dab;*/ + color:#F25824; + display:inline; + font-weight:bold; +} +.info +{ + background-color:#e5edf8; +/* background-color:#fffa85; + border-color:#fff;*/ + border: 2px solid #115dab; + background-image: url('/images/icons/info.gif'); + -moz-border-radius: 5px;border-radius: 5px; +} +.info p +{ + color: #115dab; + /*color:#ff6633;*/ + font-weight:bold; +} +.success +{ + /*background-color:#fcfdf9;*/ + background-color:#fff; + border:2px solid #49823c; + background-image: url('/images/icons/success.gif'); + -moz-border-radius: 5px;border-radius: 5px; +} +.success p +{ + /*color: #b9c55a;*/ + color: #49823c; + font-weight:bold; +} +.closeLink +{ + float:right; + font-weight:bold; + color:#000; +} +#notificationPref , #logon #user-info label +{ + margin-top:20px; + font-family:Arial, Verdana, Helvetica, sans-serif; +} +/* +#notificationPref h2 +{ + display:inline; + margin: 35px 0 10px 0; + background-color: #fff; + color: #3F434A; + font-size: 2em; + font-weight: normal; + padding: 0 !important; + height: 2px; + clear: left; +}*/ +#notificationPrefForm h3 +{ +/* margin-top:20px; + margin-bottom:20px; + color: #3F434A; + background-color: #eee; + padding: 10px; + margin:0px 0px 20px 0px; + */ + margin:0px; + font-size:18px; + float:left; +} +#notificationPrefForm legend#subtitle +{ + padding-bottom:20px; + color:#525252; + font-size:14px; + margin:0; + margin-top:0; + line-height:20px; + font-weight:normal; +} +#notificationPref span#help +{ + display:inline; + float:right; + font-size:14px; + margin-top:0px; +} +#notificationPrefForm p +{ + font-size: 14px; + font-weight: normal; + color: #525252; + /*margin-top:22px;*/ +} +label.selected +{ + padding-right:35px; + background-image: url('/images/icons/checkmark.gif'); + background-repeat: no-repeat; + background-position: right; +} +div.title label +{ + margin-left:10px; + font-weight:bold; +} +div.notificationPrefField +{ + color:#4D4D4D; + font-weight: bold; + font-size: 1.5em; + margin-bottom:20px; + display:block; +} +#preDue p +{ + color:#4D4D4D; + font-weight:bold; + height:15px; + background-color: #FFF; + margin: 0 0 10px 0; + padding: 0; + font-size: 0.9em; +} +div.notificationPrefField p +{ + font-size: 14px; + font-weight: normal; + color: #525252; + margin: 5px 0 0 35px; + float: left; +} +div.noticesOption +{ + width:550px; + float:left; + font-weight:normal; + font-size:0.8em; + vertical-align:top; +/* border:solid 1px #ccc; */ + clear:right; +} +/* +div.notificationPrefField div.title +{ + float: left; + clear: right; +}*/ +#preDue +{ + background-color:#FFF; + padding:15px; +/* -moz-border-radius: 5px;border-radius: 5px;*/ + margin: 30px 0 10px 35px; + width:400px; +} +#preDue label +{ + font-size:14px; + color: #525252; +} +.textLabel, #logon #user-info label +{ + font-size:18px; + font-weight:bold; + margin:20px 0 5px 0; + display:block; +} +#preferredNameHelp, #phoneHelp +{ + font-size:11px; + display:inline-block; + vertical-align:middle; + margin-left:10px; + color:#525252; +} + +#notificationPrefForm +{ + padding:30px; + margin: 10px 0; + background-color:#f5f5f5; + /*float:left;*/ +} +#notificationPrefForm fieldset legend +{ + color:#f5f5f5; + font-size:1px; + margin:0; + line-height:1px; +} +#notificationPrefForm fieldset +{ + border:none; + background-color:#f5f5f5; + padding:0; + margin-top:0; + clear:left; +} +#notificationPrefForm label.formError +{ + padding-left:30px; + padding-top:2px; + padding-bottom:2px; + padding-right:10px; + background-image: url('/images/icons/alert-s.gif'); + font-size:11px; + margin-top:5px; + background-repeat: no-repeat; + background-position: 5px; + width:250px; +} +#notificationPrefForm input.formError +{ + border-style:solid; + border-width:1px; + border-color:#c52e28; + background-color:#FBFBFB; +} +#notificationPrefForm fieldset#contact +{ + margin-left:20px; + border:none; + margin-left:0px; + margin-bottom:15px; + padding: 0px; + background-color:#f5f5f5; + float:left; + clear:both; +} + +#notificationPrefForm input /* #logon #form_signin input --> classes: .button & .submit have replaced this descendent selector */ +{ + + /*padding-left:0;*/ + margin-left:0; +} +#notificationPrefForm input[type=text], #logon #user-info input#userId, #logon #user-info input#password +{ + padding:5px; + font-size:1.3em; +} +#notificationPrefForm input[type=text]:focus +{ + border: 1px solid #e5edf8; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset, 0 0 8px rgba(17,93,171, 0.6); + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset, 0 0 8px rgba(17,93,171, 0.6); + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset, 0 0 8px rgba(17,93,171, 0.6); +} +#notificationPrefForm input#preDuePref { + padding: 0.2em 0px; + line-height: 1.1em; + /*margin: 0px 5px 0 10px;*/ + font-size: 14px; + font-weight:normal +} +#notificationPrefForm input#formSubmit/*, #logon #form_signin .hold-button --> classes: .button & .submit have replaced this descendent selector*/ +{ + /* New button styles replace the following: + + padding:5px 30px; + display: block; + font-size:14px; + cursor:hand; + cursor:pointer;*/ +} +span#newIcon +{ + display:inline-block; + font-weight:bold; + color:#fff; + font-size:14px; + padding:2px 4px; + background-color:#F25824; + /*-moz-border-radius: 5px; + border-radius: 5px;*/ +} +span#newIcon.greyout +{ + background-color:#b5b5b5; +} +@charset "utf-8"; +/* CSS Document */ + +.radio-button {vertical-align: middle; margin: 0 3px;} + +.form-container { + text-align: left; + background: #E6EFF7; + padding: 1px 5px 5px 10px; + width:430px; + font-family: arial, verdana; +} + +.desc-requiredfield { + font-size: 14px; + font-weight: bold; + color: #222; + line-height: 120%; + display:block; + margin-top:10px; +} +.honeypot { + position:absolute; + left:-10000px; + top:auto; + width:1px; + height:1px; + overflow:hidden; +} +.review { + background: none repeat scroll 0 0 #EFF9FF; + margin: 8px 0; + padding: 8px; + width:75% +} +label.fieldset-desc { + padding: 5px; + display: block; +} + +.desc-radio { + display:block; +} +.desc-radio-inline { + margin-right:45px; +} +.fieldset-container { + background-color: #E6EFF7; + margin-bottom: 8px; +} + +fieldset { + /*border: none;*/ + border: 1px solid #781351; + background-color: #f8f8f8; +} +fieldset.nobgcolor { + background-color: #E6EFF7; +} +fieldset.noborder { + border: none; + margin:0; + padding:0; + } +legend.desc { + font-size: 15px; + font-family: arial, verdana; + font-weight: bold; + color: #222; + line-height: 150%; + padding: 2px 6px +} +.field +{ + border:1px #666 solid; +} +.contact{ + background-color:#f8f8f8; + border-radius: 15px; + -moz-border-radius: 15px; + margin:0px 10px 10px 30px; + padding:10px 15px 10px 15px; + width:330px; + font-size:13px; +} +.contactgroup{ + background-color:#E6EFF7; + width:400px; + margin-left:0px; +} +.none{ + background-color:#E6EFF7; + /*border:none;*/ + margin-bottom:10px; + margin-right:10px; + padding:5px; + margin-top:10px; +} + +.radio { + display:inline-block; + vertical-align: top; +} +.required { + font-size:11px; + color:#dc0000; + margin-bottom:10px; +} +.requiredgroup +{ + margin-bottom:2px; + font-size:9px; + color:#F00; +} +.submitted-form +{ + -moz-border-radius-bottomleft:7px; + -moz-border-radius-bottomright:7px; + -moz-border-radius-topleft:7px; + -moz-border-radius-topright:7px; + padding:3px 10px; + text-align:left; + border:solid medium; + border-color:#525252; + margin-top:10px; + border-width:2px; +} +.formError { + border:1px dotted red; +} +label.formError { + display:block; + color:#dc0000; + border:0px; + background-repeat: no-repeat; + background-image: none; +} +#errorMessageHeader +{ + border-style:dotted; + border-width:1px; + background-color:#FFC; + border-color:#F00; + display:none; + margin-bottom:10px; + padding-left:10px; + font-weight:bold; + width:433px; + margin-top:10px; +} +#itemDetails{ + border:solid; + border-width:1px; + padding:5px; + border-color:#aaa; + margin-bottom:10px; + width:433px; +} +#errorMessageList +{ + margin-top:8px; + margin-bottom:8px; + font-weight:normal +} +.form-button{ + display:block; + margin-top:10px; +} +#hours{ + width:445px; +} +body{min-width:960px} +.container_16,.main{margin-left:auto;margin-right:auto;width:960px} +.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12,.grid_13,.grid_14,.grid_15,.grid_16{display:inline;float:left;margin-left:10px;margin-right:10px} +.push_1,.pull_1,.push_2,.pull_2,.push_3,.pull_3,.push_4,.pull_4,.push_5,.pull_5,.push_6,.pull_6,.push_7,.pull_7,.push_8,.pull_8,.push_9,.pull_9,.push_10,.pull_10,.push_11,.pull_11,.push_12,.pull_12,.push_13,.pull_13,.push_14,.pull_14,.push_15,.pull_15{position:relative} +.container_16 .grid_4,.main .grid_4{width:220px} +.container_16 .grid_8,.main .grid_8{width:460px} +.container_16 .grid_12,.main .grid_12{width:700px} +.container_16 .grid_16,.main .grid_16{width:940px} + +.alpha{margin-left:0} +.omega{margin-right:0} + +.container_16 .grid_1,.main .grid_1{width:40px} +.container_16 .grid_2,.main .grid_2{width:100px} +.container_16 .grid_3,.main .grid_3{width:160px} +.container_16 .grid_5,.main .grid_5{width:280px} +.container_16 .grid_6,.main .grid_6{width:340px} +.container_16 .grid_7,.main .grid_7{width:400px} +.container_16 .grid_9,.main .grid_9{width:520px} +.container_16 .grid_10,.main .grid_10{width:580px} +.container_16 .grid_11,.main .grid_11{width:640px} +.container_16 .grid_13,.main .grid_13{width:760px} +.container_16 .grid_14,.main .grid_14{width:820px} +.container_16 .grid_15,.main .grid_15{width:880px} + +.container_16 .prefix_4,.main .prefix_4{padding-left:240px} +.container_16 .prefix_8,.main .prefix_8{padding-left:480px} +.container_16 .prefix_12,.main .prefix_12{padding-left:720px} + + +.container_16 .prefix_1,.main .prefix_1{padding-left:60px} +.container_16 .prefix_2,.main .prefix_2{padding-left:120px} +.container_16 .prefix_3,.main .prefix_3{padding-left:180px} +.container_16 .prefix_5,.main .prefix_5{padding-left:300px} +.container_16 .prefix_6,.main .prefix_6{padding-left:360px} +.container_16 .prefix_7,.main .prefix_7{padding-left:420px} +.container_16 .prefix_9,.main .prefix_9{padding-left:540px} +.container_16 .prefix_10,.main .prefix_10{padding-left:600px} +.container_16 .prefix_11,.main .prefix_11{padding-left:660px} +.container_16 .prefix_13,.main .prefix_13{padding-left:780px} +.container_16 .prefix_14,.main .prefix_14{padding-left:840px} +.container_16 .prefix_15,.main .prefix_15{padding-left:900px} + +.container_16 .suffix_4,.main .suffix_4{padding-right:240px} +.container_16 .suffix_8,.main .suffix_8{padding-right:480px} +.container_16 .suffix_12,.main .suffix_12{padding-right:720px} + + +.container_16 .suffix_1,.main .suffix_1{padding-right:60px} +.container_16 .suffix_2,.main .suffix_2{padding-right:120px} +.container_16 .suffix_3,.main .suffix_3{padding-right:180px} +.container_16 .suffix_5,.main .suffix_5{padding-right:300px} +.container_16 .suffix_6,.main .suffix_6{padding-right:360px} +.container_16 .suffix_7,.main .suffix_7{padding-right:420px} +.container_16 .suffix_9,.main .suffix_9{padding-right:540px} +.container_16 .suffix_10,.main .suffix_10{padding-right:600px} +.container_16 .suffix_11,.main .suffix_11{padding-right:660px} +.container_16 .suffix_13,.main .suffix_13{padding-right:780px} +.container_16 .suffix_14,.main .suffix_14{padding-right:840px} +.container_16 .suffix_15,.main .suffix_15{padding-right:900px} + +.container_16 .push_4,.main .push_4{left:240px} +.container_16 .push_8,.main .push_8{left:480px} +.container_16 .push_12,.main .push_12{left:720px} + + +.container_16 .push_1,.main .push_1{left:60px} +.container_16 .push_2,.main .push_2{left:120px} +.container_16 .push_3,.main .push_3{left:180px} +.container_16 .push_5,.main .push_5{left:300px} +.container_16 .push_6,.main .push_6{left:360px} +.container_16 .push_7,.main .push_7{left:420px} +.container_16 .push_9,.main .push_9{left:540px} +.container_16 .push_10,.main .push_10{left:600px} +.container_16 .push_11,.main .push_11{left:660px} +.container_16 .push_13,.main .push_13{left:780px} +.container_16 .push_14,.main .push_14{left:840px} +.container_16 .push_15,.main .push_15{left:900px} + +.container_16 .pull_4,.main .pull_4{left:-240px} +.container_16 .pull_8,.main .pull_8{left:-480px} +.container_16 .pull_12,.main .pull_12{left:-720px} + + +.container_16 .pull_1,.main .pull_1{left:-60px} +.container_16 .pull_2,.main .pull_2{left:-120px} +.container_16 .pull_3,.main .pull_3{left:-180px} +.container_16 .pull_5,.main .pull_5{left:-300px} +.container_16 .pull_6,.main .pull_6{left:-360px} +.container_16 .pull_7,.main .pull_7{left:-420px} +.container_16 .pull_9,.main .pull_9{left:-540px} +.container_16 .pull_10,.main .pull_10{left:-600px} +.container_16 .pull_11,.main .pull_11{left:-660px} +.container_16 .pull_13,.main .pull_13{left:-780px} +.container_16 .pull_14,.main .pull_14{left:-840px} +.container_16 .pull_15,.main .pull_15{left:-900px} + + +.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0} +.clearfix:before,.clearfix:after{content:'\0020';display:block;overflow:hidden;visibility:hidden;width:0;height:0} +.clearfix:after{clear:both} +.clearfix{zoom:1} + +/* Quick Search for style Sections. Copy and paste these into search for easy searching + +1.0 - Page body Styles +1.1 - Header tags main styles +1.2 - Widget header style Spacing +1.3 - Header Secondary styles +1.4 - link tag styles +1.5 - list tag styles +1.6 - table styles +1.7 - Form Field styles +1.8 - Typographic styles + +Note: Try to Phase out section 2 by using 960.css +2.0 - Content columns styles +2.1 - Alts to Content columns styles +2.2 - branch profile page columns +2.3 - accessibility page columns +2.4 - Secondary Column styles + +3.0 - percentage widths +4.0 - positioning styles + +5.0 - Header styles +5.1 - Header Links +6.0 - Page banners + +7.0 - Page Specific styles +7.1 - Branches +7.2 - Detail page styles +7.3 - Appel Salon page styles +7.4 - Holds placement page styles +7.5 - Featured Series page styles + +9.0 - Footer styles + +10.0 - Sprite styles + +XX - Random general styles +XXX - Readers and Introductions +XXXX - Record from embed + +/******** 1.0 - Page body styles *********/ + +body { + background-color: #FFF; + color: #525252; + font-size: 62.5%; /*0.833em;*/ + font-family: Verdana, Arial, Helvetica, sans-serif; + line-height: 1.65em; /*1.23em;*/ + margin: auto; + padding: 0;} + +form { + display: block; + margin: 0; + padding: 0;} + +p { + padding: 0 0 0px 0; + margin: 10px 0 7px 0; + display: block; + font-size: 1em; + line-height: 1.4em;} + +dd { + padding: 4px 0px; + margin:0 0 0 0px;} + +img { + border: 0; + margin: 0em;} + +img.left { + text-align: left; + float: left; + padding: 0 0px 0px 0; + margin: 1em 1.5em 1em 0; } + +img.right { + text-align: left; + float: right; + padding: 0 0px 0px 0; + margin: 1em 0 1em 1em; } + +widget-content-round-all img { + text-align: left; + float: left; + padding: 0 0px 0px 0; + margin: 1em 0em 0em 0; } + +.image-container { /* For all Results list + float: left; + width: 80px; + text-align: right; + padding-right: 20px; + overflow: hidden;*/ +} + +.book-buzz-cover-container { + padding-top:10px; + float: left; + text-align: right; + padding-right: 20px; +} +.SC { + width:60px; +} +.MC { + width:120px; +} + +#search #searchForm-searchBar { + margin-bottom: 0;} + +#searchBarForm { + /*margin: 0 0 20px;*/ + margin:10px 0 20px; +} + +.main { + padding: 0 0 0 20px; + position: relative; + overflow: hidden; + margin: 0 auto; + font-size:1.2em; + min-height: 500px;} + +.gray { + background-color: #eee; + /*padding: 0 0 0 20px;*/} + +.overflow-hidden{ + overflow:hidden;} + +.indent { + margin-left: 0.8em;} + +.caption-frame, .elem-frame { + border:2px solid #dadada; + padding:0.3em; + margin:0.6em;} + +.caption-frame img, .elem-frame img { + width:100%;} + +.caption { + display:block; + padding: 0.2em 0; +} + +/********** 1.1 - Header tags main styles *************/ + +h1 { + font-size: 2.2em; + font-family: Arial, Verdana, sans-serif; + /*display: block;*/ + line-height: 1em; + color:#545454; + font-weight: normal; + margin-top: 0em; + margin-bottom: 25px;} + +h2, .quote { + font-size: 2em; /*1.65em*/ + font-family: Arial, Verdana, sans-serif; + font-weight: normal; + line-height: 1.1em; + margin: 35px 0 10px 0; + padding: 0em 0 0 0; + color: #3f434a;} + +h4, legend, .widget h3 { + font-size: 1.25em; /* 1.3em */ + font-family: Arial, Verdana, sans-serif; + font-weight: bold; + margin-top: 0.8em; + margin-bottom: .4em; + padding: 0.4em 0 0 0; + color: #525252; + line-height: 1.2em; + } + +h3 { + font-size: 1.45em; + line-height: 1.2em; + font-family: Arial, Verdana, sans-serif; + font-weight: bold; + margin: 27px 0 0 0; + padding: 0 0 0em 0; + color: #f25824;} + +h5, dt { + font-size: 1.1em; + font-family: Arial, Verdana, sans-serif; + font-weight: bold; + margin: 15px 0 -7px 0; + padding: 0 0 0 0; + color: #293d66; + display: block;} + +h6 { + display: inline; + font-size:1em; + font-weight: bold;} + +/********* 1.2 - Widget header style Spacing ***********/ +.widget h2 { + margin: 0; + padding-left: 5px; + margin-top: 10px; + margin-bottom: 2px;} + +.widget h3 { + border-top: 4px solid #1765A9; + border-bottom: 1px solid #1765A9; + background-color: #fff; + margin: 0px 0 0px 0; + padding: 5px; + padding-left: 7px;} + + +.branch-message h3, #branch-message-br h3, #branch-message-bkone h3, #email-signup h3 { /* Added #email-signup h3 - needed for email signup btns */ + background:none; + border:0; + padding-top: 0.5em; + margin-top: 0em; + font-size: 1.1em; + color: #525252;} + + +.widget-content h5 { + padding-top: 1em; + margin-top: 0em; + } + +.widget legend { + padding-top: 0em; + margin-top: .5em; + font-size: 1.15em; + font-weight: bold; + color: #525252;} + +/** 1.3 - Header Secondary styles **/ + +/**H1**/ +/*#branch-detail h1 { + width: 18em;} +*/ +/**H2**/ +#introduction.widget h2 { + margin: 0px 0px 0px 0px; + padding: 0px 0px 5px 0.4em;} + +#branch-detail h2 { + /* clear: left; + padding-top: 15px; */} + +/**h3**/ +.search-bar h3 /* h4 */ { + color: #525252; + display: inline; + font-weight: normal; + float: left; + margin: 0 2px 0 0; + padding: 0; + border: 0;} + +.widget-youtube h4 { /* No longer needed */ + /*padding: .25em 0em .4em 0em !important; + margin: 0em !important; */} + +.widget-content-round-all h3, .round-all h3, #related-internet-links .merch-record-horizontal .branch-message h3 {/**h4 within rounded corners**/ + background: none; + border: 0px; + margin: 0em 0 0 0; + padding: 0.5em 0em .3em 0em; + /*font-size: 1.1em; + color: #525252;*/ + } + +/********** 1.4 - link tag styles *************/ + +a, a:visited { + color: #1765A9; + text-decoration: none; + } + +a:hover { + text-decoration: underline; + color: #293D66; + } + +p a, p a:visited, li a, li a:visited, dl a, dl a:visited{ + color: #1765A9 ; + text-decoration: none; + font-weight: bold; } + +p a:hover, li a:hover, dl a:hover{ + color: #293D66 ; + text-decoration: underline; /*!important;*/ + font-weight: bold; } + +#header-bottom li a, #ask-a-librarian li a{font-weight:normal} + +h4 a:link, h4 a:visited { + color: #1765A9; + font-weight: bold; + text-decoration: none;} + +h4 a:hover { + color: #293D66; + font-weight: bold; + text-decoration: underline;} + +.links-disabled { + color: #666;} + +li p a, li p a:link, li p a:visited, li p a:hover { + font-weight: normal !important; + } + +/********1.4.1 Left Nav Links *****/ + +#section-navigation a, #section-navigation a:visited { + color: #1765A9; + text-decoration: none; + line-height: 1.2em} + +#section-navigation a:hover { + text-decoration: underline; + color: #293D66; + line-height: 1.2em} + +/********** 1.5 - list tag styles *************/ + +ol { + padding: 0px; + margin: 0 0 35px 15px;} + +ul { + list-style-type: disc; + padding: .5em 0 .7em 0px; + margin: 0px 0px 0px 1em; + zoom:1; /*Is not a hack - gives IE6/7 layout */} + +li { + padding: 0.2em 0px; + line-height: 1.4em; + margin: 7px 0 0 15px; } + +.upper-alpha { + list-style-type: upper-alpha; + padding: 0px; + margin: 0px 0px 0px 10px;} + +.lower-alpha { + list-style-type: lower-alpha; + padding: 0px; + margin: 0px 0px 0px 10px;} + +.lower-roman { + list-style-type: lower-roman; + padding: 0px; + margin: 0px 0px 0px 10px;} + +.decimal { + list-style-type: decimal; + padding: 0px; + margin: 0px;} + +ul.horizontal-list { + display: inline; + list-style-image: none; + list-style-position: outside; + list-style-type: none; + margin: 0; + padding: 0;} + +ul.horizontal-list li { + display: inline; + float: left; + border-right: 1px solid #3a3a3a; + padding: 0 5px; + margin:0; + line-height:1.2em; + } + +ul.horizontal-list li.first { + padding-left: 0;} + +ul.horizontal-list li.last { + border-right: none; + padding-right: 0;} + +.columnize-list { + padding-left:15px; + line-height:normal; + font-size:1em; + margin:0.58em 0 0.58em 15px;} + +.columnize-list li { + padding:0; + height:20px; + vertical-align:middle;} + +.no-bullet { + list-style-type: none; + padding-left:0;} + +.no-bullet li {margin:0} + +.no-border,.no-border li {border:none !important} + +.branchImgheight {width: 100px} + +.elem_jsDisabled {display: block} + +/********** Used for larger list with sublists within sublist example: Travel booklist ***********/ + +.large-list ul { + list-style-type:none; + margin:0 0 0 1em; + padding:0 0 0 0; +} + +.large-list li { + line-height:1.2em; + margin:0; + padding:0 0 0.1em 0; +} + +.large-list h3{ margin: 20px 0px 10px 0px;} + +.large-list h3 a { + color:#ff6633; + margin: 20px 0px 10px 0px; +} + +.large-list h3 a:hover { + color:#ff6633; + text-decoration: underline; +} + +.large-sub-list { + color:#1765A9; + padding: 0 0 0 0; + line-height: 1.8em; + font-family:Arial,Verdana,sans-serif; + font-size:1.25em; + font-weight:bold; + margin-bottom:0 !important; + margin-top:0 !important; +} + +/********** 1.6 - table styles ***********/ + +/* Tables still need 'cellspacing="0"' in the markup. */ +table { + border-collapse: collapse; + border-spacing: 0; + border:1px solid #DFDEDD; + width:100%; + margin:10px 0 15px 0; +} + +table tr td, table tr th, table thead th { + padding:0.8em;} + +table.dynamic tbody { + display:block;} + +table.column-borders td { + border-left: 1px solid #DFDEDD;} + +table td { + border-bottom: 1px solid #DFDEDD;} + +table tfoot { + border-top:1px solid #DFDEDD;} + +caption,th,td { + text-align: left;} + +td.align-top,table.align-top { + vertical-align:top; + margin:0.4em 0;} + +caption { + color:#525252; + font-size:1.1em; + font-weight:bold; + + background-color:#e1ebf2; + + border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + -webkit-border-radius: 4px 4px 0 0; + -khtml-border-radius: 4px 4px 0 0; + padding: 10px 5px 10px 12px; + +} + +table th { + background-color:#efeeed; + border-left:none; + border-right:none; + border-bottom:1px solid #dfdedd; + text-align:left; +} + +table tr:last-child td, table tr:last-child th{ + border-bottom: none;} + +table.has-caption { /* Fix for bug in FF 3.5 and Safari */ + margin-top:0;} + +/********** 1.7 - Form Field styles *****************/ + +label.hint:hover { + background: none !important;} + +label,.header-links a:link,.header-links a:visited,.header-links a:active { + font-weight: normal; + } + +/********** 1.8 - Typographic styles *****************/ + +.subtext, .small-font { + font-size: .9em; + font-weight: normal; + color: #333; + display: block;} + +.author { + font-size: 1.1em; + color: #333; + display: block; + } + +p.subtitlelist { + margin: 0px 0px 0px -15px;} + +.bold,#place-hold .expiration,#place-hold .pickup,#place-hold label,#logon label + { + font-weight: bold; + } +#place-hold input.required + { color:#000;} +abbr { + border-bottom-width: 0;} + +/********** 2.0 - Content columns styles ***********/ +.narrow-home { + width: 280px;} + +.narrow-search,.narrow { + width: 220px; + margin: 0 20px 0 0 !important; + overflow:hidden;} + +.narrower { + width: 220px; + margin: 0 20px 0 0 !important;} + +.narrower-search { + clear: left; + width: 220px; + padding-bottom: 8px;} + +.narrow-rest { + width: 640px;} + +.half-wider { + width: 220px;} + +.wider { + width: 460px;} + +.widest { + width: 700px;} + +.half-widest { + width:340px; + } + +.wide-home,.wide { + width: 340px;} + +/********** 2.1 - Alts to Content columns styles ***********/ +#books-video-music .narrow { + margin-right: 10px;} + +/*********** 2.2 - branch profile page columns ***********/ +.sharewidget-narrower { + width: 160px; + float: left;} + +/********** 2.3 - accessibility page columns ********/ + +#accessibility fieldset { + border: none; + border-bottom: 1px solid #ccc; + margin: 0.5em 0 0 0; + padding-left: 0;} + +#accessibility legend { + padding-left: 0; + margin-left: 0;} + +#accessibility label { + padding-right: 1em;} + +#accessibility .last-fieldset { + border-bottom: none;} + +/********** 2.4 - Secondary Column styles - Try to phase out ***********/ +.column { + float: left; + display: inline; + margin: 0 20px 0 0; + padding: 0;} +/**Advanced search column style**/ +#advanced-search .column { + margin-right: 45px;} + +/**home page columns**/ +.inner-column { + padding-right: 10px;} + +/******** 3.0 - percentage widths ************/ +.pct100-width { + width: 100%;} + +.pct50-width { + width: 50%;} + +.pct60-width { + width: 60%; + float: left;} + +.pct40-width { + width: 40%; + float: left;} + +.pct35-width { + width: 35%;} + +.pct33-width { + width: 31%; + float: left;} + +.pct25-width { + width: 25%; + float: left;} + +/********** 4.0 - positioning styles *************/ + +.record-detail { + float: left;} + +.left { + text-align: left; + float: left; + padding: 0 0px 1em 0; + } + +.float-left { + float:left; } + +.left-float-clear { + text-align: left; + float: left; + clear: left; + margin: 3px 9px 5px 0;} + +.center { + text-align: center;} + +.right { + text-align: left; + float: right;} + +.float-right { + float:right; +} + +.align-top { + margin-top:-2px !important; + padding-top:0;} + +.align-right { + margin-right:0 !important;} + +.align-left { + margin-left:0 !important;} + +.align-bottom { + margin-bottom:0 !important;} + +.valign-middle { + vertical-align:middle} + +.clear-left { + clear: left;} + +.clear-right { + clear: right;} + +.small { + font-size: 0.8em;} + +.divider { + height: 10px; + border-bottom: 1px solid #999; + margin-bottom: 10px;} + +img.align-center { + display:block; + margin:0 auto; + padding: 10px 0;} + +img.align-left { + display:block; + padding: 5px;} + + +/******** 5.0 - Header styles ********/ + +.header #submit-button :active {border-color: #2B7076 #A3DEE1 #A3DEE1 #2B7076} + +/***** Renamed from header-top ******/ +.header-search-container { + margin: 0 auto; + overflow: hidden; + position: relative; + padding: 0 0 0 0; + width: 980px;} + +/******* New Header Menu *******/ +.header-menu-container { + width: 960px; + margin: 0 auto; + height: 100%; + } + +.masthead-container { + height: 7.65em; + overflow: hidden; + padding-top: 4px;} + +.skip-navigation { + position:absolute; + left:-10000px;} + + +.header-top-menu { + color: #293869; + display:inline; + float:right; + font-size: 1.25em; + font-family: Arial, Helvetica, sans-serif; + height:100%; + list-style:none outside none; + margin:0; + overflow: hidden; + padding:0; + } + +.header-top-menu li { + border-left:1px solid #AAA; + display: inline-block; + float: left; + margin: 0; + padding:0; + } + +.header-top-menu li a { + display:inline-block; + color: #1765A9; + padding: 32px 16px 28px; + } + +.header-top-menu li a b { + text-decoration:underline; +} + +.header-top-menu li a:hover { + text-decoration: none; + background-color: #0051B1; + color: white; + border-bottom: solid; + border-color: #0051B1; +} + +#contact-item{white-space:nowrap} + +.header-search-container .homepage-only, .header-top-menu .homepage-only {display:none} + +#menu-search { + border-right:none; + display:block; + display:inline-block; + float:right; + font-size:1.25em; + padding:15px 0 0px 0; + } + +.searchTerms { + background-color: #F2F2F2; + float:left; + font-size: 1.6em; + line-height:1.3em; + margin:0 5px 0 0; + padding:0.45em 0 0.35em 0.26em; + width: 230px; + } + +#menu-search #submit-button { + font-size: 1.2em; + height: 3em; + width: 5.6em;} + +#logo-item { + width:183px; + border-left: none; + padding: 6px 0; + float: left;} + +#logo-item a{ + background-image:url('/images/tpl-logo.gif'); + background-repeat:no-repeat; + display:block; + width: 228px; + height: 64px; + margin-bottom:5px; + padding:0; +} + +#logo-item a:hover{background-position:0px -64px} + +.header-search { + font-family:arial; + font-size:1.6em; + font-weight:normal; + margin:32px auto 0 auto; + padding:0 0 32px 0; + position: relative; + float:left; + left:25%;} + +.header #submit-button { + background-color: #329aa5; + border-color: #A3DEE1 #2B7076 #2B7076 #A3DEE1; + border-style: solid; + border-width: 2px; + color: #FFFFFF; + cursor:hand; + cursor:pointer; + display: inline; + height: 1.8em; /*2em;*/ + margin-left: 3px; /* 5px */ + vertical-align: middle; + width: 4.5em; + padding-bottom:2px; + float:left; + margin-bottom:0;} + +.header #submit-button :active {border-color: #2B7076 #A3DEE1 #A3DEE1 #2B7076} + +.top-menu { + background-color:#EEE; + border:1px solid #AAA; + display:none; float:right; + position:absolute; + z-index:10000; + overflow: hidden; + padding-right:0; + margin:0 0 0 0; + font-size:0.9em;} + +.top-menu ul { + list-style:none; + margin:0px; + padding:0px;} + +.top-menu li { + width:100%; + border-bottom:1px solid #293D66; + font-size:1.5em; + background-color: #EEE; + margin: 0px; + padding:0px;} + +.top-menu li a { + display:block; + height:100%; + width:100%; + padding: 16px 0 16px 10px;} + +.top-menu li a:hover { + background-color:#153B68; + color:white; + text-decoration:none;} + + +/*******************************/ +#header-bottom-container { + background-color: #293869; + font-family: Arial, Verdana, sans-serif; + margin-bottom: 44px; /**Changed for new menus **// + display: block;} + +.header-bottom { + font-size: 1.5em; + color: #153b68; + list-style-image: none; + list-style-position: outside; + list-style-type: none; + overflow: hidden; + width: 980px; + padding: 0 0 0 0px; + margin: 0 auto;} + + +.header-bottom li { + float: left; + display: inline; + margin: 0 0 0 50px; + padding: 0;} + +.header-bottom li a { + display: inline-block; + margin: 0; + padding: 13px 10px 13px 10px;} //changed for new nav + +.header-bottom .top-nav-selected { + background-color: #00809A; + padding-left: 20px; + padding-right: 20px; + display: block;} + +.header-bottom #books-link { + text-align: left; + margin-left: 10px;} + +.header-bottom #books-link a { + width: 215px; padding-left: 20px; padding-right: 20px;} + +.header-bottom #programs-link a { + width: 199px; padding-left: 20px; padding-right: 20px;} + +.header-bottom #branches-link a { + width: 124px; padding-left: 20px; padding-right: 20px;} + +.header-bottom #using-link a { + width: 115px; padding-left: 20px; padding-right: 20px;} + + +#header-links-container { + float:right; + padding-right:14px;} + +.header-links { + display: inline-block; + margin-bottom: 5px; + font-family: Arial, sans-serif; + font-size: 1.25em; /*10pt*/ + font-weight: normal; + color: #CCCCCC; + width: 16.3em;} + +#search-alternative-links #old-cat, #search-alternative-links span, #reserve-computer, #header-language-links, .header-search label.hint { + display: none;} + +#search-links { + font-size:1em; + margin-left:5px;} + +ul.header-links li { + margin: 6px 0 2px; + border:none;} + +.header-search ul li.first{ + border-right:none; + padding:6px 5px 0 5px;} + +.header-search a, .link-block { + display:block;} + +.header-search #searchTerms { + background-color: #F2F2F2; + border: 1px solid #AAAAAA; + float: left; + padding: 0.26em; + width: 160px; + margin-top:0;} + +.header-search #searchTerms :hover { + border: 1px solid #686868;} + +.header-search #searchTerms :focus { + background-color: #f9f9f9; + border: 1px solid #686868;} + +.header-search a:hover { + font-size: 1em; + font-weight: normal; + text-decoration: underline;} + +.header-search label.hint { + color: #6e6e6e; + left: 12px; + position: absolute; + top: 11px; + padding: 5px;} + +.header-language-links { + float: right; + position: relative; + top: 30px;} + +.header-hide-offscreen { + position: absolute; + left: -999em;} + +/******* 5.1 - Header Links *******/ +.header-bottom a:link,.header-bottom a:visited,.header-bottom a:active,.footer-bottom a:link,.footer-bottom a:visited,.footer-bottom a:active { + color: #fff;text-decoration:none} + +.header-search a:link,.header-search a:visited,.header-search a:active { + font-size: 0.8em;font-weight:normal} + +/*************** 6.0 - Page banners *****************/ + +.color-bar {display:none} + +#header-container { + display: block; + background-image: url(/images/header_background_logo_blue.gif); + background-repeat: repeat-x; + } + +/************ 7.0 - Page Specific styles ******************/ +/** 7.1 - Branches**/ +#branch-detail .record-detail { + width: 25em; + margin-bottom: 20px;} + +/** 7.2 - Detail page styles**/ +.bib-detail .image { + height: 150px;} + +#buy-button { + background-color: #797a7a; + background-image: none; + color: white; + padding: 5px 5px +} + +.buy-button a:hover { + text-decoration:none;} + +/** 7.3 - Appel Salon page styles**/ +#salon-banner { + height: 101px; + margin-right: 15px; + background-image: + url('/content/programs-and-classes/appel-salon/images/appel_banner.jpg'); + background-repeat: no-repeat; + background-position: middle; + margin-bottom: 15px;} + +/** 8.4 - Holds placement page styles**/ + +#place-hold h2 { + font-size:1.2em; + font-weight:bold; + color: #545454; + margin-top:8px; +} + +.success-message { + font-size: 1.7em; + font-family: Arial, Verdana, sans-serif; + /*display: block;*/ + line-height: 1em; + color:#545454; + font-weight: normal; + margin-top: 0em; + margin-bottom: 25px; + } + +/** 7.5 - Featured Series page styles **/ +.featured-series #series-banner, #page-banner { + background-repeat: no-repeat; + background-position: left; + margin-right: 20px; + margin-bottom: 15px;} + +#asian-heritage-month.featured-series #series-banner { + height: 110px; + background-image:url('/content/programs-and-classes/images/featured-series/featured-series-banner-ahm.jpg');} + +#eh-list.featured-series #series-banner { + height: 108px; + background-image:url('/content/programs-and-classes/images/featured-series/featured-series-banner-ehlist.jpg');} + +#seniors-month.featured-series #series-banner { + height: 100px; + background-image:url('/content/programs-and-classes/images/featured-series/featured-series-banner-seniors-month.jpg');} + +#luminato.featured-series #series-banner { + height: 104px; + background-image:url('/content/programs-and-classes/images/featured-series/featured-series-banner-luminato.jpg');} + +#aboriginal-celebration.featured-series #series-banner { + height: 100px; + background-image:url('/content/programs-and-classes/images/featured-series/featured-series-banner-aboriginal-celebration.jpg');} + +#book-bash.featured-series #series-banner { + height: 100px; + background-image:url('/content/programs-and-classes/images/featured-series/featured-series-banner-book-bash.jpg');} + +#business-inc.featured-series #series-banner { + height: 100px; + background-image:url('/content/programs-and-classes/images/featured-series/featured-series-business-inc-series.jpg');} + +#thought-exchange.featured-series #series-banner { + height: 100px; + background-image:url('/content/programs-and-classes/images/featured-series/featured-series-banner-thought-exchange.jpg');} + +/******** 7.6 - TPL Foundation Styles ******/ + + +#donate-button a { + background-color: #f25824; + color: white; + display:block; + font-size:11px; + font-weight: bold; + padding: 8px 0px 10px 10px; + width: 78px; + font-family:Arial, Helvetica, sans-serif;} + +#donate-button a:hover { + text-decoration:none;} + +/******** 9.0 - Footer styles ********/ +#footer-stripe { + margin: 3em 0 0 0; + background-color: #293869; + color: #FFF; + font-size: 1.25em; + font-family: Arial, Helvetica, sans-serif; + font-weight: normal; + padding: 2em 0 1.5em 0; +} + +.columns { /* Creates Borders Only*/ + min-height: 350px; + border-right: solid 1px #3f4c78; +} + +#footer-stripe h3 { + margin: 0 0 .5em 0; + padding: 0; + } + +#footer-stripe h3 a:link, #footer-stripe h3 a:visited, #footer-stripe h3 a:hover { /*Orange Header Links in the Footer*/ + + color: #fdbe00; + font-size: .85em; + font-family: Arial, Helvetica, sans-serif; + text-shadow: 0.1em 0.1em #232f53; + font-weight: bold; + text-decoration: none; + display: block; +} + + +#footer-stripe ul a:link, #footer-stripe ul a:visited{ /*Basic white on blue links*/ + color: #FFF; + font-weight:normal; + text-decoration: none; +} + +#footer-stripe ul a:hover { + color: #FFF; + font-weight:normal; + text-decoration: underline; +} + +#footer-stripe ul { /*Styled footer list only*/ + list-style-type: none; + margin: 0 0 2.7em -1.1em; + padding: 0 0 0 0; + font-size: .95em; +} + +#footer-stripe li{ + margin-top:0; + margin-bottom:4px; +} + + +/* Legal copy Strip */ +#footer-bottom-container { + margin: .5em 0 4em 0; + color: #525252; + font-size: 1.1em; + font-family: Arial, Helvetica, sans-serif; + font-weight:normal; + text-align: left; + padding: 0; +} + +#footer-bottom-container ul { /* Legal list spacing */ + list-style-type: none; + list-style: none; + padding: 0; + margin: 0 0 0 0; +} + +#footer-bottom-container li { + display: inline; + float: left; + padding: 0 .1em 0 0; +} + +/******** 10.0 - Sprite styles & Icons ********/ + +.sprite a, .toggle-link{ + display: block; + background-image:url('/images/icons/sprite-icons.png'); + background-repeat:no-repeat; + padding: 0 0 0 25px; + height: 25px; +} + +/*Large Icons - found in the footer */ +.sprite a#social-blogs {background-position: 0px -25px} +.sprite a#social-facebook {background-position: 0px -50px} +.sprite a#social-twitter {background-position: 0px -75px} +.sprite a#social-youtube {background-position: 0px -100px} +.sprite a#social-flickr {background-position: 0px -125px} +.sprite a#social-pinterest {background-position: 0px -150px} +.sprite a#social-goodreads {background-position: 0px -675px} + +/*Large icon IDs also need to be added to the list below so that proper padding & height is added to each large icon */ +#social-news,#social-blogs,#social-facebook,#social-twitter,#social-youtube,#social-flickr,#social-pinterest,#social-goodreads{padding:3px 0 0 33px; height:22px} + +/*Small Icons - found in search results page and branch profiles */ +.sprite a#email-link {background-position:0px -250px} +.sprite a#print {background-position: 0px -275px} +.sprite a#facebook {background-position: 0px -300px} +.sprite a#twitter {background-position: 0px -325px} +/*.sprite a#addthis {background-position: 0px -350px} --> Not needed since addthis component has links to external styles*/ +.sprite a#rss {background-position: 0px -375px} +.sprite a#pinterest {background-position: 0px -400px} + +/*Small icon IDs also need to be added to the list below so that a height of 16px is set to each small icon */ +#email-link,#print,#facebook,#twitter,#addthis,#rss{height:16px; font-weight: inherit} + +.sprite #branch-phone {background-position: 0px -703px} +.sprite #wheelchair-access {background-position: 0px -176px} +.sprite #wireless-access {background-position: 0px -200px} +.sprite #tty-service {background-position: 0px -225px; padding-right:5px} +.sprite #wheelchair-access,.sprite #wireless-access, .sprite #branch-phone{height:25px; width:25px; padding: 0 5px 0 0; float:left} + +.sprite li a#grid-view {background-position: 0px -425px} +.sprite li .sort-selected a#grid-view {background-position: 0px -450px} + +.sprite li a#list-view {background-position: 0px -475px} +.sprite li .sort-selected a#list-view {background-position: 0px -500px} + +.sprite a.pagination-next {background-position:0px -525px} +.sprite a.pagination-next:hover {background-position:0px -550px} +.sprite a.pagination-previous {background-position:0px -575px} +.sprite a.pagination-previous:hover {background-position:0px -600px} + +.sprite a.pagination-previous,.sprite a.pagination-next{width:16px; height:19px; padding:0} + +.sprite .toggle-link.open {background-position:0px -625px} +.sprite .toggle-link.closed {background-position:0px -650px} + +.addthis_toolbox span { + display:block; + float:left; + padding-right: 10px; +} +/*Remove the sprite background image for the within the addthis parent container. Not needed.*/ +.addthis_toolbox a { + background:none; + padding:0; +} + +.accessible-element {position:absolute; left:-100000px} + +/******** XX - Random general styles ********/ .elem_jsEnabled,.elem_printOnly {display: none;} #place-hold #pickup,#place-hold #expiration,#place-hold #hold-button {margin-top: 1.6em; /*1.2em*/ float:left; overflow:hidden} +/** XXX - Readers and Introductions from Content.css**/ .readers-advisory {padding: 10px;} .readers-advisory a {margin-bottom: 5px; font-weight: normal;} #introduction { padding-top: 0px;} #introduction.widget h1.title, #introduction .title { margin: 0px 0px 10px 0px; padding: 0px 0px 0px 0px; border: 0px;} #introduction.widget h2 { margin: 0px 0px 0px 0px; padding: 0px 0px 5px 0.4em;} +/** XXXX - Record from embed.css**/ .record-embed {background-color: #FFF; color: #000; font-size: 10pt; padding: 10px; border: 1px solid #333; width: 450px; position: relative;} .record-embed .image-container { float: left; width: 100px; text-align: center; overflow: hidden;} .record-embed .title { font-size: 11pt; font-weight: bold;} .record-embed .text { float: left; width: 60%; } .record-embed .logo { font-size: 9pt; float: right; } .record-embed .logo img { height: 30px; vertical-align: bottom; border: 0px;} +/*********** Widget container style ********/ + +p + div.widget, ul + div.widget, div.clear + div.widget { + margin-top: 15px; +} + +.widget, .section { + margin: 0px 0px 20px 0px; + padding: 0px 0px 0px 0px; + display: block; +} + +.widget div.white { + padding: 10px; + border-top: 0px; + background-color: #fff; +} + +.widget-content,.map-container{ + background-color: #eee; + overflow:hidden; + padding: 0px 15px 10px 15px; + + border-radius: 0px 0px 7px 7px; + -moz-border-radius: 0px 0px 7px 7px; + -webkit-border-bottom-right-radius: 7px; + -webkit-border-bottom-left-radius: 7px; +} + +.widget-content-round-all, .round-all { /*, #spotlight-promotion .widget-content */ + background-color: #f5f5f5; + padding:3px 10px 10px; + + border-radius: 7px; + -moz-border-radius: 7px; + -webkit-border-radius: 7px; + -khtml-border-radius: 7px; + +} + +.widget-content-round-all.message-yellow { + background-color: #fcfdd5; + border: 1px solid #F8A961; +} + +.widget-content-round-all img { + /*vertical-align: middle;*/ +} + +/***************** Individual widget styles *******************/ +/*****In the Future please use color coding system and not div titles *********/ +.widget#latest-blogs h3, .widget#branch-info h3, .widget#green-title h3 { + border-top: 4px solid #339933; + border-bottom: 1px solid #339933; +} + +.widget#new-titles h3, .widget#see-also h3, .widget#new-items-adult h3,.widget#new-items-teen h3,.widget#new-items-children h3, .widget#yellow-title h3 { + border-top: 4px solid #FFCC33; + border-bottom: 1px solid #FFCC33;} + +.widget#related-internet-links h3, .widget#vrl-matches h3, .widget#orange-title h3 { + border-top: 4px solid #FF6633; + border-bottom: 1px solid #FF6633; +} + +.widget#emonthly-signup h3, .widget#calendar h3, .widget#red-title h3 { + border-top: 4px solid #CC3333; + border-bottom: 1px solid #CC3333; +} + +.widget#Support-Your-Library h3, .widget#Become-Donor h3, .widget#Legacy-Giving h3, .widget#Build-Collections h3 { + border-top: 4px solid #f25824; + border-bottom: 1px solid #f25824; +} + +.widget#online-downloads h3 { + border-top: 4px solid #da0f5e; + border-bottom: 1px solid #da0f5e; +} + +.widget#Build-Collections .description a { + background-color: #f25824; + color: white; + display:block; + font-size:11px; + font-weight: bold; + padding: 8px 0px 10px 10px; + width: 78px; + font-family:Arial, Helvetica, sans-serif; + margin-top:25px; + } + +.widget#Build-Collections .description a:hover { + text-decoration: none; + } + +.widget#social-links-spotlight a { + margin-bottom:10px; + } + +.widget#social-links-spotlight span { + padding-left:10px; + } + +.widget#upcoming-programming h4, .widget#ask-a-librarian h4, .widget#spotlight-promotion h4 { + /* default Blue styles */ +} +.widget#latest-blogs .last { + border: none; +} +/********* Background color and styles for widgets ***********/ +.bg-light-blue { + background-color: #e5f6f4; +} + +.bg-white { + background-color: #fff; +} + +.widget#latest-blogs .pointer { + margin-left: -1em; + float: left; + font-weight: bold; + color: #005dab; + display: inline; /* IE 6 fix */ +} + + +/***************** Misc widget content styles *******************/ +.widget#latest-blogs div { /*border: 0px;*/ + padding-left: 0.2em; + background-color: #fff; +} + +.widget#latest-blogs { + margin-bottom: 0px; +} + +.widget#related-subjects a.subject { + text-decoration: underline; + line-height: 1.3em; +} + +.widget#vrl-matches #more-link { + text-align: right; + margin-top: 0.8em; + margin-bottom: 0.8em; +} + +.widget#vrl-matches #more-link a { + text-decoration: underline; + white-space: nowrap; +} + +.widget#vrl-matches #more-link a:hover { + text-decoration: none; +} + +.widget#new-item-spotlight { + margin-bottom: 0px; +} + +.widget#new-item-spotlight h4 { + text-transform: none; +} + +.widget#new-item-spotlight .no-margin { + margin-bottom: 0px; + padding-right: 10px; + padding-bottom: 10px; + overflow:hidden; +} + +.widget#search-results { + margin-bottom: 5px; +} + +.widget#merch-spotlight-multi { + width: 470px; + /*float:left;*/ + display: inline; + padding: 0; +} + +.widget#support-your-library a +{ + text-decoration:none; +} + +.widget#support-your-library h3 { + color: white; + border: none; + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 1.25em; + font-weight: bold; + padding-bottom: 10px; + padding-top: 10px; + padding-left: 10px; + background-color: transparent; +} + +.widget#support-your-library +{ + background-color: rgb(242, 88, 36); +} + +.widget#support-your-library:hover +{ + background-color: rgb(199, 73, 30); +} + +.widget#support-your-library:active +{ + background-color: rgb(255, 115, 38); +} + +.widget#support-your-library .headline { + margin-bottom: 0px; overflow: hidden; +} + +.widget#support-your-library .tagline { + font-weight: bold; + color: #525252; + margin-left: 10px; + margin-bottom: 10px; + text-decoration: none; + padding-top: 10px; +} + +.widget#support-your-library .pitch-text { + margin: 10px; + padding-bottom: 10px; + color: #525252; + text-decoration: none; +} + +.widget#support-your-library #foundation { + display: block; + cursor: pointer; + text-decoration: none; +} + +.widget#support-your-library .foundation-body { + margin-top: 2px; + background-color: rgb(226, 226, 226); + +} + +/****Homepage style for Online Download section using widget_merch-foundation.jspf****/ + +.widget#online-downloads a +{ + text-decoration:none; +} + +.widget#online-downloads h3 { + color: white; + border: none; + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 1.25em; + font-weight: bold; + padding-bottom: 10px; + padding-top: 10px; + padding-left: 10px; + background-color: transparent; +} + +.widget#online-downloads +{ + background-color: #da0f5e; +} + +.widget#online-downloads:hover +{ + background-color: #990033; +} + +.widget#online-downloads:active +{ + background-color: #da0f5e; +} + +.widget#online-downloads .headline { + margin-bottom: 0px; overflow: hidden; +} + +.widget#online-downloads .tagline { + font-weight: bold; + color: #525252; + margin-left: 10px; + margin-bottom: 10px; + text-decoration: none; + padding-top: 10px; +} + +.widget#online-downloads .pitch-text { + margin: 10px; + padding-bottom: 10px; + color: #525252; + text-decoration: none; +} + +.widget#online-downloads #ebooks { + display: block; + cursor: pointer; + text-decoration: none; +} + +.widget#online-downloads .ebooks-body { + margin-top: 2px; + background-color: rgb(226, 226, 226); +} + + + +/******************SEARCH REFINE DIVS**************************/ +.refinement, .record { + margin: 0.4em 8px 0.4em 8px; + font-weight: normal; +} +.record b { + font-weight: normal; +} + +.refinement a, .record a { + text-decoration: none; +} + +.refinement a:hover, .record a:hover { + text-decoration: underline; +} + +.refinement a:visited, .record a:visited { + font-weight: normal; +} + +.refinement .links-disabled, .record .links-disabled { + color: #666; +} + +.refinement-container { + border: 1px solid #666; /*#eee*/ + margin: 0px 0px 5px 0px; + padding-bottom: 3px; + /*position: relative;*/ +} + +.refinement-container h3, .refinement-title { + background: #525252 none repeat scroll 0 0; + border-bottom:none; + color: #FFFFFF; + font-size: 1em; + line-height: 16pt; + margin-bottom: 4px; + margin-top: 0; + padding-bottom: 0; + padding-top: 0; + padding-left: 8px; + text-decoration: none; + font-weight: normal; + border-top-width: 0px; +} + +.refinement-container-selected { + border: 1px solid #00B6BD; + margin: 0 0 5px; + padding-bottom: 3px; + position: relative; +} + +.refinement-container-selected h3, .refinement-container-selected .refinement-title { + background-color: #00B6BD; + border: none; + font-weight: bold; + color:#fff; + font-size:1em; +} + +.refinement-clear { + font-size: 8pt; + position: absolute; + right: 4px; + text-align: left; + text-transform: lowercase; + top: 0; + line-height: 16pt; +} + +.refinement-clear a:link,.refinement-clear a:visited { + color: #fff; +} + +.refinement-crumb { + margin-left: 8px; + font-weight: bold; +} + +.refinement-crumb a:link,.refinement-crumb a:visited { + color: #444; +} + +#refinements-Type .refinement-crumb a:link,#refinements-Type .refinement-crumb a:visited + { + color: #1765A9; +} + +#refinements-Type .refinement-crumb { + font-weight: normal; +} + +#refinements-website_category .refinement-crumb a:link,#refinements-website_category .refinement-crumb a:visited, #refinements-catégorie_de_site_internet .refinement-crumb a:link,#refinements-catégorie_de_site_internet .refinement-crumb a:visited + { + color: #1765A9; +} + +#refinements-website_category .refinement-crumb, #refinements-catégorie_de_site_internet .refinement-crumb { + font-weight: normal; +} + + +.refinement .ref-count { + font-size: 8pt; + color: #666666 +} + +#refinements img { + vertical-align: top; + /*top: -2px; + position: relative; + */ +} + +.refinement-more { + font-size: 0.9em; + margin-left: 8px; + margin-bottom: 0.4em; + text-transform: lowercase; +} + +.refinement-more a:link,.refinement-more a:visited { + color: #3CA4AA; + text-decoration: underline; +} + +.refinement-more a:hover { + color: #01316b; +} + +.refinement-select-others { + font-size: 0.9em; +} + +.refinement-cancel-others { + font-size: 0.9em; + display: none; + padding-bottom: 5px; + margin-bottom: 5px; + margin-right: 10px; + border-bottom: 1px solid #DDD; +} + +#refinements-library_branch { + height: 12.5em; + overflow-y: scroll; +} + +/****************************************************************** +Styles for individual refinements (reference by numeric dimension value) +******************************************************************/ +#refinements-38526 .refinement { + margin-left: 24px; + text-indent: -18px; +} + +.breadcrumb-title { + color: #074997; + font-size: 11pt; + font-weight: bold; + margin-top: 5px; + margin-bottom: 5px; +} + +#search #breadcrumb-stacked { + background-color: #FFF; + padding-left: 10px; + padding-right: 10px; +} + +#search #breadcrumb-stacked h3 { + background-color: #FFF; + border: 0px; +} + +#breadcrumb-stacked img { + vertical-align: bottom; + margin-top: 3px; + margin-bottom: 1px; +} + +#breadcrumb-stacked .title { + font-size: 9pt; + font-weight: bold; + margin-bottom: 7px; +} + +#breadcrumb-stacked .clear-refinements { + font-size: 8pt; +} + +.itemcount { + font-weight: normal; +} + +.preview-panel { + display: none; + width: 300px; + height: 300px; + float: right; + border: 1px solid #999; + padding: 10px; + margin: 5px; +} + +/* Horizontal Carousel */ +#horizontal_carousel { + float: left; + margin-left: 6px; + margin-right: 6px; + width: 200px; + height: 83px; + margin-bottom: 10px; + position: relative; +} + +#horizontal_carousel .container { + position: absolute; + top: 4px; + left: 10px; + width: 180px; + height: 75px; + overflow: hidden; +} + +#horizontal_carousel .previous_button { + position: absolute; + top: 0; + left: 0; + width: 8px; + height: 8px; + background-image: url(/images/pagination_arrow-prev.gif); + background-repeat: no-repeat; + background-position: center; + z-index: 100; + cursor: pointer; + padding-top: 31px; + padding-bottom: 33px +} + +#horizontal_carousel .previous_button_disabled { + background-image: url(/images/pagination_arrow-prev.gif); + cursor: default; +} + +#horizontal_carousel .next_button { + position: absolute; + top: 5px; + right: 0px; + width: 8px; + height: 8px; + background-image: url(/images/pagination_arrow-next.gif); + background-repeat: no-repeat; + z-index: 100; + cursor: pointer; + margin-top: 30px; +} + +#horizontal_carousel .next_button_disabled { + background-image: url(/images/pagination_arrow-next.gif); + cursor: default; +} + +#horizontal_carousel ul { + margin: 0; + padding: 0 0 0 0; + border: 0; + width: 100000px; + position: relative; + top: 0; + left: 0; + height: 75px; +} + +#horizontal_carousel ul li img { + display: block; + margin-left: 2px; + margin-right: 2px; + border: 0; +} + +#horizontal_carousel ul li { + border: 0px solid green; + font-size: 10px; + margin: 0pt; + padding: 0; + list-style: none; + float: left; +} + +#detail-image-container img { + display: block; + height: 195px; + overflow: hidden; + width: 270px; +} + +/******************** Vertical Carousel *******************/ +#vertical_carousel { + margin-left:10px; +} + +#vertical_carousel ul { + border: 0 none; + float: left; + margin: 0; + padding: 0; + position: relative; +} + +#vertical_carousel ul img { + width: 60px; +} + +#vertical_carousel ul li { + border: 0 solid green; + display: block; + list-style-image: none; + list-style-position: outside; + list-style-type: none; + float: left; + width: 60px; + height: 40px; + margin: 0 8px 6px 0; + overflow: hidden; +} + +#vertical_carousel .previous_button, #vertical_carousel .next_button{ + display: none; +} + +/******************** programs calendar widget *******************/ +#programs-calendar { + /*position: relative; --> Don't think this is needed DS */ +} + +#programs-calendar .widget-content { + background-color: #E6EFF7; + padding: 0 8px 0 8px; +} + +#programs-calendar h3 { + /*text-transform: uppercase; --> Not Needed - DS*/ +} + +#programs-calendar .refinement-container { + border: 0; +} + +#programs-calendar #refinements { + margin-bottom: 0px; + padding-bottom: 0px; +} + +#programs-calendar #ages-fieldset fieldset { + padding-left: 10px; +} + +#programs-calendar #ages-fieldset br { + /*margin-bottom: 8px; --> Not needed - DS*/ +} + +#programs-calendar .refinement-title { + display: none; +} + +#programs-calendar .date-range input { + width: 2em; +} + +#programs-calendar .date-range input.year { + width: 3em; +} + +#programs-calendar .search-within { + /*margin: 0 0 5px 0;*/ +} + +#programs-calendar #search-submit { + background:none; + float:right; + margin-right:0; + padding: 1em 0 1em 1em; +} + +#programs-calendar fieldset { + border:none; + padding: 5px; + position:relative; +} + +#programs-calendar #branches-fieldset #branch-filters { + background-color:#F8F8F8; + border:1px solid #E2E2E2 +} + +#programs-calendar #branches-fieldset, #programs-calendar #ages-fieldset { + background-color:#F8F8F8; + margin-top:10px; + padding-bottom:10px; +} + +#programs-calendar #branches-fieldset legend, #programs-calendar #ages-fieldset legend { + *margin-left:-5px; + margin-bottom:0; + margin-top:0; + padding: 10px 0 5px 0; +} + +#programs-calendar #date-fields { + margin-right: 10px; + padding-left: 10px; +} + +#programs-calendar #date-fields .text { + font-size: 0.9em; + color: #666; + width: 40px; +} + +#programs-calendar #date-fields .footnote { + position: relative; + color: #999; + top: -2px; + margin-left: 0px; + margin-bottom: 5px; +} + +#programs-calendar .refinement { + margin-left: 3px; +} + +#programs-calendar .refinement-container { + margin-bottom: 0px; + padding-bottom: 0px; +} + +#programs-calendar #calendar-button { /*float: right; + *position: relative; + *top: -25px;*/ + display: block !important; + float: right; + margin-right: 10px; + margin-top: -24px; +} + +/************** styles for section navigation widget **************/ +.section-nav { + background-color: #fff; + color: #525252; + font-size: 1.3em; + padding: 0.4em 0; + font-weight: bold; + border-top: 2px solid #444; + font-family: Arial, sans-serif; +} + +.section-nav-current { + margin: 0; + background-color: #E6EFF7; + border-top: 4px solid #444; + border-bottom: 2px solid #444; /*1px solid #00809a;*/ + color: #525252; + font-size: 1.1em; + font-weight: bold; + padding: 5pt 0 5pt 5pt; /*5px 0px 5px 0px;*/ + /*border-bottom: 1px solid #666;*/ /* background-color: #EEE; + font-weight: bold; + padding: 3px; + padding-left: 5px; */ + font-family: Arial, sans-serif; +} + +.section-nav-current a { + font-size: 1.2em; +} + +.section-nav-page { + background-color: #FFFFFF; + border-bottom: 1px dotted #000000; + border-top: 0 dotted #000000; + font-family: Arial, sans-serif; + font-weight: normal; + margin: 0.5em 0; + padding: 0 0 0.5em 0.5em; + font-size:1.1em; +} + +.section-nav-page a { + padding: 0; + font-weight: normal;; +} + +.section-top { + border-top: 4px solid #444; + margin-top: 30px; + padding-top: 7px; +} + +.section-top.section-nav-current { + border-top: 4px solid #444; + margin-top: 0px; +} + +#section-navigation .whats-more { + padding: 82px 0 0 0; + display: block; + background-image: url(/images/navigation/whatsmore.jpg); + background-repeat: no-repeat; + overflow: hidden; + height: 0px; +} + +#widget-page-actions { + /*float:right; + margin-right:60px; + margin-top:-50px;*/ +} + +#page-actions-horizontal { + list-style-type: none; + margin: 0; + padding: 0; + font-size: 0.8em; + margin: 0px 10px; + /*overflow:hidden;*/ + display:block; +} +#page-actions-horizontal li { + float: left; + margin-left:0; +} + +#page-actions-horizontal li img { + /*vertical-align: middle; + display: block; + float: left; + padding-right: 10px;*/ +} + +#page-actions-horizontal li a { + /*vertical-align: middle;*/ +} + +#page-actions-horizontal li.lastItem { + padding-left: 0; +} + +#page-actions-vertical { + /*list-style-type: none;*/ + width:16em; +} + +h3#page-actions-vertical { + /*list-style-type: none;*/ + margin-left:1.5em; + margin-bottom:0; + padding-bottom:0; +} + +ul#page-actions-vertical { + margin:0 0 20px 0; + padding:0; + overflow:hidden; +} + +#page-actions-vertical li div a { + /*display:block; + font-weight:normal; + padding: 0 2px;*/ + } + +#page-actions-vertical li div + a { + display:block; + /*margin-top:0.3em;*/ + margin-left:45%; + margin-top:7%; + } +#page-actions-vertical li { + list-style-type: none; + padding:0; + margin:0 0 0 2em; + } + +#page-actions-vertical li div{ +background-color:#F7F6F5; + border: 1px solid #E5E5E5; + width: 7em; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + position:relative; + margin-top:0.8em; + padding:0.5em; + float:left; + font-weight:normal; + } +#page-actions-vertical li div img{ + /*width: 16px; + height: 16px; + margin-right:4px; + vertical-align:text-top;*/ +} +.countBubble { + margin-top: 0.8em; + padding: 8px 0; + text-align: center; + width: 67px; + background-image:url('/images/icons/action-share-count.gif'); + background-repeat:no-repeat; + float: right; +} + +div.atclear { display:none;} +/*********************** See Also widget styles ******************/ +#see-also .title { + font-weight: normal; +} + +#see-also .record { + padding-top: 10px; +} + +/*************** Refinement typeahead styles ********************/ + /****** NOTE SEE AJAX_REFINEMENT-TYPEAHEAD.JSPF FOR STYLES *****/ + /********************* Carousel styles **************************/ +.carousel-container { /*height: 135px;*/ + padding-top: 10px; + background-color: #eee; + overflow:hidden; + zoom:1; /** IE6 fix -- Does not cause validation errors**/ +} + +.carousel-sub-container { + float:left; + display:inline; + text-align:center; + padding:5px; +} + +.carousel-sub-container .item { + float: left; + width: 31%; + padding-left:5px; + overflow:hidden; +} + +.carousel-sub-container .item .book-cover { + display:block; + width:6.2em; + overflow:hidden; + margin:0 auto; +} + +.carousel-cell { + float: left; + width: 12px; + padding: 0px; + margin: 0px; +} + +.carousel-cell img { + margin-top: 50px; +} + +.yui-carousel-nav { + display: none; +} + +.carousel-middle { + float: left; + width: 100%; + background: #eee; + display: none; +} + +.carousel-item { + float: left; + width: 83px; + min-width: 83px; + max-width: 83px; + margin: 0 auto; + list-style: none; + overflow: hidden; +} + +.carousel-title { + text-align: center; + background: #ccc; + padding: 0.5em; + color: #4037b0; + font-weight: bold; + font-size:1.25em; + border-top: 2px solid #e8c31b; + margin: 0em 0 0 0; + clear:both; +} + +.carousel-image { + /*max-height: 100px; + overflow: hidden;*/ +} + +.carousel-item-title { + background: #fffec3; + font-size: 0.8em; + color: #000; + position: relative; + top: -5px; /*-15px*/ + margin: 0 auto; + width: 175px; + z-index: 200; + padding: 3px; + text-align: center; + display: block; + line-height: 1.3; + /*top:120px; + position:absolute; + left:100px;*/ +} + +.carousel-item-title a { + color: #4740ab; +} + +.carousel-container .footer-link { + text-align: right; + float:right; + padding: 0.9em; +} + +.yui-carousel-item-selected { + border: 0px; +} + +.yui-carousel-element li { + border: 0px; +} + +.yui-carousel { + padding: 0px; + margin: 0px; + /*padding-bottom:60px;*/ +} + +.carousel-wide { + margin-bottom: 2em; +} + +.carousel-wide .carousel-item-title { + width: 250px; +} + +/*********************** Ask a Librarian widget styles ******************/ + +#ask-a-librarian ul { + font-size: 1em; + margin: 0; + padding: 0 0 0 15px; + list-style-position: outside; + list-style-type: none; + font-weight:bold; +} + +#ask-a-librarian ul li { + margin-top:8px; +} + +#ask-a-librarian ul li img { + float: left; + padding-right: 15px; + margin: 0; +} + +#ask-a-librarian a.block-level { + display:block; + padding-top:5px; +} + + +#ask-a-librarian ul li#phone div { + font-weight: normal; + font-size: 0.9em; + display: block; + margin: 0; + padding: 0; +} + +#ask-a-librarian ul li#faq { + padding:0 0 5px 0; + font-weight:normal; +} + +/*********************** Homepage footer (social networking) styles ******************/ +#homepage-footer { + margin-left: 40px; + margin-right: 40px; + padding-left: 10px; + height: 50px; + background-color: #EEE; + border: 10px solid #EEE; + font-weight: bold; +} + +#social-links { + margin-left: 20px; + float: left; + background-color: white; +} + +#social-links ul { + list-style-image: none; + list-style-position: outside; + list-style-type: none; +} + +#social-links li { + margin-right: 40px; + float: left; + line-height: 20px; +} + +/*********************** Youtube feed widget style ******************/ +.youtube-feed-entry { + border-bottom: 1px solid #e8e9ee; + padding: 0.8em 0 0.8em 0; + margin: 0 0 0.8em 0; + min-height: 180px; +} + +.youtube-feed-entry .left { + padding: 0em 0 0em 0; + margin: 0 .8em 0em 0; +} + +/*********************** Refinement microbrowser search widget style ******************/ +/* Not needed +.refinement-microbrowser { + background-color: #EEEEEE; + padding: 0.8em; +}*/ + +.refinement-microbrowser select { + width: 15em; +} + +/*********************** Book promotion widget styles ******************/ + +.widget-book-promotion .merch-record-horizontal { + overflow:hidden; + border-bottom:none; + padding-top:5px; + padding-bottom:5px; +} +.image-container + span.booklist,.widget-book-promotion .link { + font-weight:bold; + font-size:120%; +} +.widget-book-promotion .footer-message { + text-align:right; +} + +/********************** New spotlight styles ********************/ + + +/* Apply new spotlight background image style to spotlights in narrow-search and narrow type columns only */ + +.narrow #spotlight-promotion .widget-content, .narrow #spotlight-promotion .widget-content-round-all, .narrow-search #spotlight-promotion .widget-content, .narrow-search #spotlight-promotion .widget-content-round-all, +.grid_4.omega #spotlight-promotion .widget-content, .grid_4.omega #spotlight-promotion .widget-content-round-all { + /*margin-bottom: 25px; + margin-top: 25px;*/ + background-color: #e9f1fe; + + border-left: solid 1px #3B9DB0; border-right: solid 1px #3B9DB0; border-bottom: solid 1px #3B9DB0; border-top: solid 4px #3B9DB0; + border-radius: 0px 0px 7px 7px; -moz-border-radius: 0px 0px 7px 7px; -webkit-border-bottom-right-radius: 7px; -webkit-border-bottom-left-radius: 7px; + + background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #FBFDFF), color-stop(0.75, #D7E5FD)); + background-image: -moz-linear-gradient( center bottom, #FBFDFF 0%, #D7E5FD 75% ); + overflow:hidden; + + } + + +} + +#spotlight-promotion .widget-content .title a:link, #spotlight-promotion .widget-content .title a:visited, #spotlight-promotion .widget-content-round-all .title a:link, #spotlight-promotion .widget-content-round-all .title a:visited { + font-size: 1.1em; + line-height: 1.2em; + color: #293869; + font-weight: bold; +} + +#spotlight-promotion .widget-content .title a:hover, #spotlight-promotion .widget-content .title a:hover { + line-decoration: underline; + color: #1765A9; +} + +#spotlight-promotion .widget-content p, #spotlight-promotion .widget-content-round-all p { + font-size: 0.9em; + line-height: 1.3em; + margin-bottom:0; /*3*/ + margin-top:0; + padding-top:0; + overflow:hidden; + zoom:1; +} + +#spotlight-promotion .widget-content p a, #spotlight-promotion .widget-content-round-all p a { + text-decoration: underline; + font-weight:normal !important; + clear:left; + display:block; +} + +#spotlight-promotion .widget-content .category, #spotlight-promotion .widget-content-round-all .category { /*Accessibility fix on Blue BG*/ + color: #008094; /*#525252 */ + margin-top:4px; + font-size:0.9em; + line-height:1em; + font-family:arial; +} + +#spotlight-promotion img.spotlight-promotion { + /*margin-left:-15px; /-15px/ + margin-top:-5px; /-5px/ + + width: 218px; + overflow: hidden;*/ + } + +#spotlight-promotion .merch-record-horizontal{ + border: 0px; + padding:5px 10px 8px; +} + +#spotlight-promotion .merch-record-horizontal .image-container{ + padding:0 1.1em 0.5em 0; +} + +#spotlight-promotion .title { + color:#293869; + font-weight:bold; + font-size:1.2em; + display:block; + line-height:1.1em; + padding-bottom:5px; + padding-top:2px; + font-family: arial; +} + +#spotlight-promotion .widget-content, #spotlight-promotion .widget-content-round-all { + background-color: #eee; + padding:0; + border-radius: 7px; + -moz-border-radius: 7px; + -webkit-border-radius: 7px; + -khtml-border-radius: 7px; +} + +/* +#spotlight-promotion .banner-anchor { + display:block; + margin:-5px -15px 0; +} + +#spotlight-promotion .banner-anchor img { + width:218px; +}*/ + +/*New style*/ +#spotlight-promotion .widget-content.vertical, #spotlight-promotion .widget-content-round-all.vertical {/*border-top: 1px solid #3B9DB0; border-radius: 7px; -moz-border-radius: 7px; -webkit-border-radius: 7px;*/} +/***Merge into .details used on homepage*/ +#spotlight-promotion .details {/*max-height: 114px;min-height: 113px;overflow: hidden;padding-left: 90px;position: relative; margin-top:0.6em*/ } + +/***Merge into .details img used on homepage*/ +#spotlight-promotion .details img {/*left: 0; max-width: 80px !important; overflow: hidden; position: absolute; top: 10px;*/ float:left; max-width:81px; padding-right:8px; padding-top:0.3em} + +/***Merge into .details .text used on homepage*/ +#spotlight-promotion .details .text {margin-top: 0.75em; overflow: auto;} + +/*New style*/#spotlight-promotion .date {display: block; font-size: 0.78em; color: #525252; margin-top:0; line-height:1.1em; margin-bottom:5px; margin-top:-4px/* font-weight: normal; line-height: 1.7em;*/} + +/*New style*/#spotlight-promotion .location {line-height: .7em; font-size: .9em;} + + +.category { /*Move me to Pages and use for blog category or something that needs to be tied into another section of the site*/ + /*color: #008194;*/ + font-size: .9em; + font-weight: bold; + /*margin-bottom: -2px;*/ +} +/* Quick Search for style Sections. Copy and paste these into search for easy searching. + +1.0 - Multimedia styles + 1.1 - Styles for event details images + 1.2 - Styles for Images + 1.3 - Base button styles +2.0 - Spotlight Promotional Slider +3.0 - Calendar and date menu styles +4.0 - Bib Item styles + 4.1 - Bib detail page styles +5.0 - Sortable table styles +6.0 - Branches and Hours styles + 6.1 - Branch message styles +7.0 - Merchandising styles + 7.1 - Merch record style + 7.2 - Widget_dc-browse-subjects styles + 7.3 - Book Grid Promo styles +8.0 - tab styles +9.0 - Booklists style + 9.1 - style for booklist summary table +10.0 - Email signup box style +11.0 - Syndetics Plus styles +12.0 - session timeout warning style +13.0 - Record styles + 13.1 - Record button styles + 13.2 - Articles box styles + 13.3 - Article headers + 13.5 - KTR 2014 +14.0 - Search styles +15.0 - Multiple Column List Styles + +X - Closed Captions +XX- style for the feedback container + +*/ + +/*********** 1.0 - Multimedia styles **************/ +.youtube { + background-color: #eeeeee; + margin: 5px 0 0px 0; + padding: 10px 0 8px 0; + text-align: center; +} + +/********* 1.1 - Styles for event details images *********/ +div.image-strip .image-label { + font-weight: bold; + font-size: 80%; +} + +div.image-strip-container { + float: left; + width: 140px; + margin: 5px; +} + +div.image-strip-container img { + float: left +} + +/********* 1.2 - Styles for Images *********/ +.content img { + padding: 5px 5px; + display: block; +} + +.img-cap { + float: right; + padding: 5px; + font-size: 8pt; +} + +/********* 1.3 - Base button styles *********/ +.button, .button:visited { + color: #fff; + display: inline-block; + font-size: 1.2em; + font-weight: normal; + line-height: 31px; + min-height: 33px; + min-width: 73px; + margin: 12px 0; + overflow: visible; + padding: 0px 8px; + text-align: center; + -webkit-appearance: none; + border-radius: 0px; + -moz-border-radius: 0px; + -webkit-border-radius: 0px; + -khtml-border-radius: 0px; + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + vertical-align: middle; + + /* IE specific fixes */ + *line-height: 32px; + *height: 34px; + *width: auto; +} + +.button:last-child { + margin-bottom: 0px; +} + +ul.horizontal-list li .button { + margin: 12px 0; +} + +.button, .button:hover { + color: #fff; + cursor: hand; + cursor: pointer; + font-weight: normal; + text-decoration: none; +} + +.button.large { + padding: 0.6em 2em; + *padding: 0; /* IE Fix for improper box model rendering */ +} + +.cancel, .confirm, .submit { + background: #447c23; + border: 1px solid #3e7120; + *border-width: 0; /* IE Fix for improper box model rendering */ +} + +.cancel:hover, .confirm:hover, .submit:hover { + background: #589e30; +} + +.cancel:active, .confirm:active, .submit:active { + background: #38661d; +} + +.search, .go { + background: #329AA5; + border: 1px solid #2e8b95; + margin-top: 0px; + margin-bottom: 0px; +} + +.search:hover, .go:hover { + background: #38acb8; +} + +.search:active, .go:active { + background: #21656c; +} + +/*********** 2.0 - Spotlights styles **************/ + +.featured-spotlight { + margin-top: 10px; + margin-bottom: 10px; + height: 150px; +} + +.featured-spotlight img { + margin-right: 5px; + float: left; +} + + +/********2.0 - Spotlight Promotional Slider********/ +.spotlight-multi { + display: none; +} + +#spotlight-multi-links { + width: 220px; + height: 211px; + float: left; + background-color: #EEEEEE; + padding: 0 5px; + margin-bottom: 20px; +} + +.spotlight-multi-tab { + width: 208px; + float: left; + line-height: 22px; + background-color: #FFFFFF; + margin: 5px 0; + padding: 10px 0 10px 10px; + position: relative; +} + + +.spotlight-multi-tab-selected a { + color: #000; + display: block; + padding: 0 0 0 10px; + +} + +.spotlight-multi-tab-selected { + width: 218px; + float: left; + line-height: 25px; + margin: 4px 0; + background-color: #113c68; + padding: 10px 0px; + border-bottom: 2px solid #BBBBBB; + border-right: 1px solid #BBBBBB; + position: relative; +} + +.spotlight-multi-tab-selected a { + color: white; + font-weight: bold; + padding: 0 0 0 10px; +} + +.spotlight-multi-tab .spotlight-multi-tab-arrow { + position: relative; + background-color: transparent; + left: -50px; + width: 50px; + top: -18px; + float: left; + height: 45px; + display: none; +} + +.spotlight-multi-tab-selected .spotlight-multi-tab-arrow { + position: absolute; + background-color: transparent; + height: 60px; + left: -50px; + width: 50px; + top: -8px; + background-image: url(/images/multi-spotlight-arrowhead.gif); + background-repeat: no-repeat; + background-position: right; +} +.spotlight-multi-selected { + display: block; +} + +.spotlight-multi-selected .image { + float: left; + width: 470px; + padding-left:10px; +} + +.spotlight-multi-selected .text { + float: left; + width: 380px; + color: #525252; +} + +.spotlight-multi-selected .text h4 { + margin-bottom: 15px; + padding-top: 0px; +} + +.spotlight-multi-selected .text div { + color: #525252; + padding-bottom: 7px; +} + +/************* 3.0 - Calendar and date menu styles *******************/ +#calendar .widget-content { + height: 300px; +} + +#calendar img { + cursor: pointer; +} + +#calendar-popup { + display: none; + position: absolute; + z-index: 100; + width: 175px; +} + +#calendar-month { + display: none; + position: absolute; + background-color: #efefef; + border: 1px solid #999; + padding: 15px 10px 15px 15px; + width: 125px; + z-index: 100; +} + +#calendar-month input { + width: 60px; + margin-top: 5px; +} + +#calendar-inline { + margin-left: 25px; +} + +#date-selector-bar { + z-index: 10; + font-size: 8pt; +} + +#date-selector-bar h4 { + display: inline; + font-weight: normal; + float: left; + padding: 0; + margin-top: 0; +} + +.search-results-embedded #search-bar { + width: auto; + float: none; +} + +.search-results-embedded #date-selector-bar { + margin-bottom: 1.2em; + position: relative; + width: 100%; +} + +#date-selector-bar .search-tab { + border: 0px; + margin-left: 4px; + margin-right: 4px; +} + +#date-selector-bar .search-tab a { + text-decoration: underline; +} + +#date-selector-bar .search-tab-selected { + border: 1px solid #4C4C4C; + font-weight: bold; + margin: 0 3px 0 3px; + padding: 2px 5px; + position: relative; +} + +#date-selector-bar .search-tab-selected a { + color: #4C4C4C; +} + +#date-selector-bar .search-tab-selected a:hover { + text-decoration: none; +} + +#date-selector-title { + font-size: 1.1em; /*11pt*/ + margin: 10px; +} + +.button-submit-link { + border:none; + color: #1765A9; + padding: 0px; + margin: 0px; + text-align: left; +} + +.button-submit-link:hover { + color: #293D66; + cursor: hand; + cursor: pointer; +} + +#search-360 .button-submit-link { + border: none; + display: block; + width: 17.3em; + margin: 0; + padding: 0; + background: transparent; +} + +#search-360 input.button-submit-link::-moz-focus-inner { + border: none; + display: block; + width: 17.3em; + margin: 0; + padding: 0; + background: transparent; +} + +#search-360 .button-submit-link:hover { + cursor: hand; + cursor: pointer; + text-decoration: underline; +} + +#share-icon { + position: relative; + z-index: 99; +} + +#search-360 { + font-size: 8pt; +} + +/**************** 4.0 - Bib Item styles ***********************/ + +#bib-detail .main-image-container { + text-align: center; + margin-bottom: 20px; + overflow: hidden; +} + +/**************** 4.1 - Bib detail page styles ***********************/ +#branch-holdings { + clear: left; + width: 640px; + margin-left: 235px; +} + +table.item-availability th { + background-color: #efeeed; + color: #525252; + text-align: left; +} + +table.item-availability#serials colgroup col:first-child { + width:50%; + } + +table.item-availability tr.even { + background-color: #EEE; +} + +table.item-availability th.centertext, table.item-availability td.centertext { + text-align:center; +} + +.in-library { + font-weight: bold; +} + +.branchname-secondary a { + display: none; +} + +.stack-request-button { + background: #EEEEEE; + color: #0A8523; + font-weight: bold; +} + +#bib-detail .edition { + margin-bottom: 20px; + font-size: 14px; +} + +/***************** 5.0 - Sortable table styles ******************/ +table.item-availability th.sortableHeader { + background-image: url(/images/table-sort_unsorted.gif); + background-repeat: no-repeat; + background-position: center left; + cursor: pointer; +} + +table.item-availability th.headerSortUp { + background-image: url(/images/table-sort_arrow-up.gif); + background-repeat: no-repeat; + background-position: center left; + cursor: pointer; +} + +table.item-availability th.headerSortDown { + background-image: url(/images/table-sort_arrow-down.gif); + background-repeat: no-repeat; + background-position: center left; + cursor: pointer; +} + +/***************** 6.0 - Branches and Hours styles ******************/ +#search-branches { + overflow: hidden; +} + +#search-branches label.hint { + color: #6e6e6e; + position: absolute; + top: 7px; + left: 95px; +} + +.branches-a-z #search-branches label.hint { + color: #6e6e6e; + position: absolute; + top: 8px; + left: 125px; +} + +#search-branches div#location-terms-container { + position: relative; + float: left; + display: block; +} + +#search-branches #locationTerms { + width: 400px; + padding: 6px; + float: left; +} + +/***************** this is for lh-toronto-neighbourhoods-test.jsp ******************/ +.locationTerms { + width: 275px; + padding: 6px; + float: left; +} + +#search-branches .search-type { + padding-left: 40px; + padding-top: 5px; +} + +#map_canvas { + height: 500px; +} + +#branches-and-hours #branch-locator #map_canvas { + margin: 0px; + width: 460px; + height: 500px; +} + +#branches-and-hours .record-result .text { + color: #666666; + line-height: 1.3; +} + + +.tabContent #branch-locator #map_canvas { + margin: 0px; + width: 430px; + height: 300px; +} + +.bookmobiles #branch-locator #map_canvas { + margin: 0px; + width: 700px !important; +} + +.branch-icons {margin: 5px 0} + +.branch-icons img { + /*margin-top: 2px;*/ +} + +#branch-detail .main-image-container { + text-align: center; + margin-bottom: 20px; +} + +#branch-detail .main-image-container img { + width: 150px; +} + +#branch-detail h4 { + line-height: 1.6em; +} + +#map-loading { + position: relative; + top: 120px; + left: 200px; +} + +#map-branch-img-container img { + margin:13px 15px 0 0; + display:block; +} +/******************** 6.1 - Branch message styles **********************/ +.branch-message,.branch-message-compact { + border: 1px solid #F8A961; + background-color: #fdfdd4; + padding: 0.6em; + margin: 0 0 .5em 0; + line-height: 1.1; +} + +#branches-and-hours .hours .branch-message-compact,#branches-and-hours .hours .branch-message + { + margin: 0; + width: 350px; +} + +.all-branches { + border: 1px solid black; + margin: 0.2em 1.2em; + padding: 0.2em; + background-color: #F8A961; +} + +#branch-message-all-branches, #homepage .branch-message { + padding: 15px 12px 15px 12px; + border: 2px solid #FBA229; + background-color: #FDFED5; + margin-bottom: 20px; +} + +#branch-message-all-branches h2, #homepage .branch-message h2{ + padding: 0px 0px 0px 0px; + border: 0px solid red; + margin: 15px 0px 0px 0px; +} + +#branch-message-all-branches p, #homepage .branch-message p{ + /*padding: 10px 0px 0px 0px; --> Not needed, I believe the standard

will do just fine... + border: 0px solid red; + margin: 0px 0px 0px 0px;*/ +} + +#homepage #branch-message-all-branches, #homepage .branch-message { + margin-right: 20px; +} + +#branches-and-hours #branch-message-all-branches { + /*width: 600px; + margin-bottom: 15px;*/ +} + +#branch-detail #branch-message-all-branches { + width: 620px; +} + +#branch-detail #branch-message { + border: 1px solid #293D66; + padding: 10px; + background-color: #EEEEEE; + margin-bottom: 15px; +} + +.branch-message-heat-alert { + background-color: #6E050B; + text-align: center; + padding: 3px 0 2px 0; + margin: 15px 0 -15px 0; +} + +.branch-message-heat-alert p { + color: #fff; + font-family: arial; +} + +.branch-message-heat-alert p a { + color:#fff; + text-decoration: none; + font-weight: bold; + font-family: arial; +} + +.branch-message-heat-alert p a:hover { + color: #fff; + text-decoration: underline; + font-family: arial; +} + +.map-bubble-max-height{font-size:9pt;} + + +/******************** 7.0 - Merchandising styles **********************/ +.merch-list-title-link { + float: right; + text-transform: none; + text-decoration: underline; +} + +.merch-record-vertical { + padding-top: 15px; + padding-bottom: 10px; +} + +.merch-record-horizontal { + border-bottom: 1px solid #E2E2E2; + overflow: hidden; + padding: 20px 0px; /* 15px 0px; */ +} + +.merch-record-horizontal .date { + margin-top: 10px; +} + +.merch-record-horizontal .location { + margin-bottom: 10px; +} + +.merch-record-horizontal .author { + margin: 0; + line-height: 1.2em; +} + +.merch-record-horizontal .description,.merch-record-horizontal .text { + margin-top: .75em; + overflow: auto; +} + +.last, .merch-record-horizontal + .merch-record-horizontal:last-child { + border: 0px !important; +} + +.merch-record-vertical .image-container { + width: 190px; + text-align: center; +} + + + +.merch-record-horizontal .image-container { + padding: 0 1em; + text-align: center; + overflow: hidden; + float: left; + width: 100px; +} + +.merch-record-horizontal .image-container img{ + max-width:100px; +} + +.merch-record-horizontal .image-container .homepage-images { + width: 100%; + height: auto; +} + +.merch-record-horizontal .image-container-no-background { + width: 81px; + height: 100px; + text-align: center; + margin-right: 20px; + overflow: hidden; + float: left; +} + +.merch-record-horizontal .info { + float: left; +} + +.merch-record-horizontal .holdLink { + text-align: left; +} + +.merch-record-vertical .title { + padding-top: 0.8em; + padding-bottom: 0.4em; + font-weight: normal; +} + +.merch-record-horizontal .title { + font-weight: bold; +} + +.merch-record-horizontal .record-details .title{ + font-weight: bold; + font-size: 1.2em; + overflow: hidden; + padding-bottom: 10px; +} + + +#upcoming-programming .merch-record-horizontal .title { + padding-top:10px; +} + +.checkbox { + margin: 3px; + margin-left: 0px; +} + +div.record-note { + font-size: 80%; + margin: .5em 1em 0 1em; +} + +/*********** 7.1 - Merch record style ********/ +.merch-record { + padding: 15px 10px; + font-size: 12px; +} + +.merch-title { + font-weight: bold; + line-height: 18px; +} + +/*********** 7.2 - Styles Specific to Ibby - widget_dc-browse-subjects.jspf ********/ + +#browseSubject { + margin: 15px 0; + } +#browseSubject .browseTitle { + padding: 9px 12px 7px 12px; background-color: #E4ECF9; + } +#browseSubject .browseTitle h3 { + color: #525252; padding: 0; margin: 0; font-size: 1.25em; + } + +#browseSubject .browseList { + border: 1px solid #E4ECF9; + -moz-border-radius-bottomright: 7px; border-bottom-right-radius: 7px; + -moz-border-radius-bottomleft: 7px; border-bottom-left-radius: 7px; + } + +#browseSubject .browseList ul { + list-style-type: none; + margin: .2em 0 .5em 0; + padding: 0; + } + +#browseSubject .browseList li { + margin: 0px 12px; + padding: 4px 0; + border-bottom: 1px solid #EFEEED; + line-height: 1.8em; + } + +#browseSubject .browseList .more { + font-weight: bold; + } + +/***** 7.3 - record_grid-book-promo stlyes *********/ + +.ibby-record-container .ibby-thumb { + height: 180px; + width: 135px; + background-color: #f3f3f3; + border: 1px solid #f3f3f3; + overflow: hidden; + margin: 1px 5px 1px 5px; +} + +.ibby-meta { + max-width: 140px; + max-height: 100px; + margin: 0 0 0 10px; +} + +.ibby-meta p { + font-size: 0.9em; +} + +#ibby-book-grid, #ibby-book-grid .ibby-record-container, .ibby-record-grid { + background: white; +} + +.ibby-record-grid { + margin: 0 0 0 0; + padding: 0 0 0 15px; +} + +.ibby-record-container { + margin: 10px 0 0 0; + width: 135px; + display: block; + float: left; + height: 275px +} + +.ibby-cover-img-container img { + width: 115px; + margin: 5px 0 0 10px; +} + +/******** 7.4 eBooks Banner ***********/ + +.ebooks-banner-img { + height: 150px; + width: 197px; + background: url('/images/downloads-ebooks-campaign-banner.jpg')0 0; + background-size: 192px auto; +} + +/********* 8.0 - tab styles ************/ + +#widget-tab-container .widget-content h3 { + /* + display: block; + font-size: 1em; + margin: 10px 0; + */ + + border-top: 1px solid #CCCCCC; + margin-top: 15px; + padding: 10px 0 0; +} + +#widget-tab-container .widget-content h3:first-child { + border:none; + } + +#widget-tab-container #tab4 .widget-content table { + /*margin: 10px 0;*/ +} + +#widget-tab-container .widget-content ul { + padding: 0 0 0 30px; + margin: 8px 0 3px; +} + +#widget-tab-container .widget-content ul li { + /*padding-bottom: 5px !important;*/ +} + +#widget-tab-container .widget-content ul ul { + margin-top: 5px; + padding: 0 0 0 30px; +} + +ul.tab-bar li { + float: left; + display: block; + background-color: #dedfe1; + margin:0 5px 0 0; + padding: 0; +} + +ul.tab-bar li.active { + background: #eee; + border-top: 2px solid #00b6bc; + border-right: 2px solid #00b6bc; + border-left: 2px solid #00b6bc; + outline: none; + margin-top: -2px; + position: relative; + top: 2px; +} + +.tab-bar { + clear:left; + margin: 10px 0 0; + overflow:hidden; + padding: 0; + border-bottom: 2px solid #00b6bc; + width: 100%; +} + +.tab-bar a:link,.tab-bar a:visited,.tab-bar a:hover,.tab-bar a:active { + display: inline-block; + font-weight:normal; + padding: 8px; +} + +.tab-bar a:hover {background-color: #eee} + +.tab-bar img { + margin: 0px; + display: none; +} + +.tabContent { + margin: 0px; + clear: left; +} + +.tabContent h2 { + display: none; + /*margin: 0; + background-color: #00B6BC; + color: #FFF; + font-size: 1.0em; + font-weight: bold; + padding: 0 !important; + height: 2px; + clear: left;*/ +} + +/********* 9.0 - Booklists style *********/ + +.booklist-vertical img.canadian-icon { + padding-left: 5px; +} + +img.canadian-icon { + padding-left: 5px; +} + +.booklist-vertical .text { + margin-right: 0px; + margin-left: 100px; +} +.alternate-formats { + margin-top: 10px; +} +.booklist-vertical .alternate-formats li { + padding-bottom: 0; +} +.bookcover { + width:150px; + margin-left: 0 0 5px 5px; + float:left; + display:inline; +} +/********* 9.1 - style for booklist summary table, such as used for Book Club Sets *********/ +table.booklist-summary { + border-collapse: collapse; +} + +table.booklist-summary th { + border: 1px solid #EEE; + background-color: #EEE; +} + +table.booklist-summary th#titles { + width: 70%; +} + +table.booklist-summary th#branches { + width: 30%; +} + +table.booklist-summary td { + padding: 0.5em; + border: 1px solid #EEE; +} + +table.booklist-summary .title { + font-weight: bold; + font-size: 115%; +} + +.publication-date { + font-weight: normal; + font-size: smaller; +} + +table.booklist-summary .image-container { + float: right; + margin: 0 0 1em 1em; +} + +/******* 10.0 - Email signup box style *************/ + +#email-signup { + background-color: #339933; + text-align: center; + border: 1px solid #339933; + padding: 10px; + /*added border radius*/ + border-radius: 7px; + -moz-border-radius: 7px; + -webkit-border-radius: 7px; + -khtml-border-radius: 7px; +} + +#email-signup a { + color: white; + font-weight: bold; +} + +#email-signup a:hover { + text-decoration: underline; + color: white; +} + +#email-signup h4 { + padding: 0px; + margin: 0px; + border-bottom-width: 0px; + border-top-width: 0px; + background-color: #339933; +} + +/******* 11.0 - Syndetics Plus styles *************/ +#syndetics_show_link { + +} + +#syndetics_content { + background-color: #EEE; + padding: 0.8em; + margin: 0.8em; +} + +.syn_title { + font-weight: bold; + margin-top: 0.8em; +} + +.syn_body { + border: 1px dotted #CCC; + background-color: white; + padding: 0.8em; +} + +#syn_summary .syn_body { + border: none; + background-color: white; + padding: 0; +} + +.syn_terms { + display: none; +} + +/* FORMS */ + +/**************** 12.0 - session timeout warning style for floating message area for session timeout warning **************/ +#message-area { + position: fixed; + top: 0px; + left: 0px; + border: 2px solid black; + height: auto; + width: 880px; + margin-left: 60px; + z-index: 201; + display: none; + background-color: #fdfdd4; + padding: 20px 10px 10px 50px; +} + +#progress-area{ + display:block; + clear:both; + width:34%; + text-align:center; +} + +/**************** 13.0 - Record styles **************/ + +#record-book-detail h1 span { + font-weight: normal; +} + +#record-book-detail h1 span.title_edition_results { + font-style: italic; +} + +#alpha-index { + padding-bottom: 1em; + padding-top: 0.8em; + font-weight: bold; + font-size: 1.3em; + clear: left; +} + +#alpha-index a { + padding-right: 0.45em; +} + +.record-result { + border-top: 1px solid #DDD; + padding: 20px 0; +} + +.id { + display: none; +} + +.record-result .description { + line-height: 1.5em; +} + +.record-result .image-container-branch .image { + width: 100px; +} + +.record-result .title { + font-size: 1.3em; + font-weight: bold; + padding-bottom: 0.3em; + display:block; +} + +.record-result .title span.branch-phone-number { + font-weight: normal +} + +.record-result .title a { + line-height: 1.3em; +} + +.record-result .title a:hover { + color: #01316b; + text-decoration: underline; + line-height: 1.3em; +} + +.record-result .title_edition_results { + font-style: italic; +} + +.record-result .label { + font-size: 1.0em; + font-style: italic; + font-weight: bold; + color: rgb(102, 102, 102); +} + +.record-result .format-year { + font-size: 0.9em; +} + +.record-result .holdable .button { + margin-bottom: 0; +} + +.bib-info { + margin-bottom: 0.5em; +} + +.bib-holds-copies{ + display:inline; + vertical-align:middle; +} + +.record-result .nohold-message, .record-detail .nohold-message { + color: #999999; + display: inline-block; + font-size: 0.8em; +} + +.record-result .nohold-message{ + padding: 20px 0 0 5px; +} + +.nohold-message a { + text-decoration: underline; +} + +.nohold-message a:hover { + text-decoration: none; +} + +.record-detail form { + display: inline; +} + +#branch-info { + font-size: 0.9em; /*9pt*/ + padding-bottom: 20px; +} + +#branch-info .image { + height: 50px; + width: auto; + float: left; +} + +#branch-info .image-container { + float: left; + width: 75px; + height: 75px; + padding-top: 25px; + /*padding-left:10px;*/ + padding-right: 20px; + overflow: hidden; +} + +#branch-info .top .title { + font-size: 1.1em; /*11pt*/ + font-weight: bold; + color: #153B68; + padding-bottom: 10px; +} + +#branch-info .top { + margin-left: 75px; + width: 180px; + /* width: 160px; */ + padding-bottom: 20px; + padding-top: 25px; + padding-right: 10px; + /* padding-right: 0px; */ +} + +#branch-info .text { + margin-left: 10px; + padding-bottom: 0px; + padding-right: 0px; + padding-top: 0px; + vertical-align: top; +} + +#branch-info .bottom { + width: 100%; +} + +#branch-info .days { + font-size: 0.9em; + font-weight: normal; + width: 75px; + height: 100%; + float: left; +} + +#branch-info .hours { + font-size: 0.9em; + font-weight: normal; + height: 100%; + padding-left: 10px; + text-align: left; +} + +.record-result .counts .holds,.record-result .counts .copies { + font-size: 0.9em; + color: #666666; + padding: 0 0.5em 0 0; +} + +.record-result .text-bold { + font-size: 0.9em; /*9pt*/ + font-weight: bold; + color: rgb(102, 102, 102); + padding-top: 5px; + padding-bottom: 5px; +} + +.record-result .bottom .left .url_online { + font-weight: bold; +} + +.record-result .bottom .right { + font-size: 0.9em; /*9pt*/ + font-weight: normal; + color: rgb(102, 102, 102); + width: 50%; + height: 100%; + margin: 0.5em 0 0.5em 0; +} + +.record-result .bottom .right .format_icons { + width: 75px; +} + +.record-detail .title { + font-weight: bold; + margin-bottom: 0.5em; +} + +.record-detail address p { + font-weight: bold; + font-style: normal; +} + +.record-detail .label { + font-weight: bold; + width: 150px; +} + +#related-subjects,#summary-record { + margin: 1em 0; +} + +#related-subjects ul { + margin-top: 0; +} + +#related-subjects li { + margin-bottom: 0; + padding-bottom: 0; +} + +#summary-record a:link,#full-record-more a:link,#summary-record a:visited,#full-record a:visited + { + color: #1765A9; + text-decoration: underline; +} + +#full-record td,#full-record th { + text-align: left; + padding: 0.5em 0 .5em 0; + vertical-align: top; +} + +#full-record th { + padding-right: 0.5em; + white-space: nowrap; +} + +#full-record table, #full-record th, #full-record td{ + border:none; + background:none; + } + +#summary-record a:hover,#full-record a:hover { + color: #293D66; +} + +#magazine-keyword-search .record a { + font-weight: normal; +} + +.record-shaded { + background-color: #EEE; +} + +.record-unshaded { + background-color: #FFF; +} + +.tabContent #full-record label { + font-weight: bold; + width: 100px; +} + +#branches-and-hours .record-result { + padding: 12px 0; + border: none; + zoom: 1; + overflow: hidden; +} + +#branches-and-hours.branches-a-z .record-result { + /*border: 1px solid #EEE; + padding: 5px;*/ +} + +#branches-and-hours .record-result .detail-button { + padding: 2px 5px; + border: 1px solid #BBD5D6; + font-weight: normal; + position: relative; + display: block; + color: #fff; + background-color: #1765A9; + border-color: #4a6973; + background-image: url(/images/pagination_arrow-next.gif); + background-position: 95% center; + background-repeat: no-repeat; + padding-right: 12px; +} + +#branches-and-hours .hours table td,#branches-and-hours .hours table th + {/*background-color:#fff;*/} + +#branches-and-hours .hours .today { + background-color: #E6EFF7; +} + +#branches-and-hours #search-branches #branch-filters { + overflow: hidden; + padding-left: 118px; /*142px */ + float: left; +} + +#branch-filters { + /*margin-top: 8px; + overflow: hidden;*/ +} + +#branch-filters a { + color: #1765A9; + font-size: 1.0em; + display: block; + margin-left: 15px; + margin-right: 0; + margin-top: 3px; + float: left; +} + +#branch-filters a img { + padding: 0; + margin: 0; +} + +.refinement-container #branch-filters { + margin: 0 0 8px; +} + +.refinement-container #branch-filters a { + margin-left: 5px; + margin-top: 8px; + float: none; +} + + +/*********************** 13.1 - Record button styles *****************/ +.hold{ + background: #447c23; + border: 1px solid #3e7120; + *border-width: 0; /* IE Fix for improper box model rendering */ +} + +.hold:hover{ + background: #589e30; +} + +.hold:active{ + background: #38661d; /* 2e5516 */ +} + +.reference-only { + border: 1px solid #999; + padding: 0.4em 0.6em; +} + +.access-online, .no-hold{ + background: #cc3333; /*be5927 */ /* Old browsers */ + border: 1px solid #aa2a2a; /*cc3333 */ + *border-width: 0; /* IE fix for improper box model rendering */ +} + +.access-online:visited, .no-hold:visited{ + *background: #cc3333; +} + +.access-online:hover, .no-hold:hover { + background:#e83939; +} + +.access-online:active, .no-hold:active { + background-color:#9B2424; +} + + +/*********************** 13.2 - Article Box Styles ************/ + +.article-thumbnail { + display: inline-block; + position: relative; + height: 160px; + width: 220px; + margin-bottom: 3px; +} + +.article-thumbnail h4 { + padding: 0 0 0 0; + margin: 0.33em 0 0 0; +} + +.article-thumbnail p { + padding: 0; + margin: 0; +} + +.overlay { + background: #293869; /* fallback for IE*/ + filter: alpha(opacity=95); + background: #293869;; + opacity: 0.95; + position: absolute; + bottom: 0; + text-align: left; + height: 28%; +} + +.overlay, .overlay:hover { + width: 210px; + padding: 0 0px 15px 10px; + height: 28%; +} + +.article-thumbnail:hover { + cursor: pointer; +} + +.article-thumbnail:hover .overlay, .overlay:hover { + background: #0C5EA7; /* fallback for IE #0c4ca7 */ + filter: alpha(opacity=95); + background: #0C5EA7; + opacity: 0.95; + cursor: pointer; +} + + +.article-thumbnail:active .overlay, .overlay:active { + background: #294869; /* fallback for IE*/ + filter: alpha(opacity=95); + background: #294869; /*rgba(41, 56, 105, 1)*/ + opacity: 0.95; + cursor: pointer; +} + +.overlay h4, .overlay p { + color: #ffffff; + font-family: arial, helvetica, clean, sans-serif; + width: 100%; +} + + +.article-image { + background: url("/images/articles-background.jpg"); + background-size: 220px auto; +} + +.art-image { + background: url("/images/arts-background.jpg") -17px -3px; + background-size: 240px auto; +} + +.business-image { + background: url("/images/business-background.jpg"); + background-size: 240px auto; +} + +.canada-image { + background: url("/images/canada-background.jpg") -21px 148px; + background-size: 240px auto; +} + +.current-events-image { + background: url("/images/current-events-background.jpg"); + background-size: 240px auto; +} + +.diy-image { + background: url("/images/diy-background.jpg"); + background-size: 240px auto; +} + +.encyclopedia-image { + background: url("/images/encyclopedias-background.jpg") -43px 0px; + background-size: 240px auto; +} + + +.health-image { + background: url("/images/health-background.jpg"); + background-size: 240px auto; +} + +.literature-image { + background: url("/images/literature-background.jpg"); + background-size: 240px auto; +} + +.practice-test-image { + background: url("/images/practice-test-background.jpg") -5px -16px; + background-size: 240px auto; +} + +.hub-brain-logo { + background: url("/images/brain-logo-hub.jpg") 35px 22px; + background-size: 170px auto; + background-repeat: no-repeat; +} + +/*********************** 13.3 - Article Headers *****************/ + +#article-databases #result-list .record-result:first-child { + border-top: none; +} + +.database-header { + border-top: 1px #d25357 dotted; + border-bottom: 1px #d25357 dotted; + padding: 0 0 0 2px; +} + +#database-title { + margin-top: 55px; +} + +.database-header h1, .database-header h4 { + padding: 0 0 0 0; +} + +.database-header h4 { + color: #5d4B5b; + font-size: 15px; + margin-top: 45px; +} + +.database-header h1 { + font-size: 35px; + color: #d2004e; + font-weight: bold; +} + +.header-background { + height: 142px; + width: 220px; +} + +/*********************** 13.4 - Innovation Hub Particular Styles *****************/ + +.innovation-hub-border-top { + border-top: 1px #0d8398 dotted; +} + +.innovation-hub-border-bottom { + border-bottom: 1px #0d8398 dotted; +} + +.header-background { + height: 142px; + width: 220px; +} + +.innovation-hub-image { + margin-top: 36px; + width: 220px; +} + +.ebooks-emagazines-banner{ + background:url('/content/books-video-music/downloads-ebooks/images/ebooks-emagazines-bg.jpg') no-repeat 520px 25px; + border-top: 1px #d25357 dotted; + border-bottom: 1px #d25357 dotted; + padding: 50px 0 50px 2px; +} + + +/*********************** 13.5 - KTR 2014 *****************/ + +.ktr-header { + border-top: 1px #ba4229 dotted; + border-bottom: 1px #ba4229 dotted; + padding: 0 0 0 2px; +} + +#ktr-title { + margin-top: 55px; +} + +.ktr-header h1, .ktr-header h4 { + padding: 0 0 0 0; +} + +.ktr-header h4 { + color: #5d4B5b; + font-size: 15px; + margin-top: 45px; +} + +.ktr-header h1 { + font-size: 35px; + color: #ba4229; + font-weight: bold; +} + +.header-background { + height: 142px; + width: 220px; +} + +.ktr-image { + background: url("/content/programs-and-classes/ktr/images/2014/ktr-banner.jpg"); + background-size: 220px auto; +} + +blockquote { + border-top: 1px dotted #ba4229; + border-bottom: 1px dotted #ba4229; + margin: 60px -20px 60px 0; + padding: 50px 0 30px; + position:relative; + zoom:1; +} + +blockquote p { + color: #ba4229; + font-family: arial; + font-size: 1.34em; + font-style:italic; + font-weight: bold; + line-height:1.25em; + margin: 0 auto; + padding: 5px 0; + position:relative; + text-align:center; + width: 80%; +} + +blockquote .footer { + font-size:0.8em; + margin-top:10px; + position:relative; + text-align:center; +} + + +blockquote .quote-open-ktr{ + background: url("/content/programs-and-classes/ktr/images/2014/quote-open-large.png") no-repeat scroll 0 0 transparent; + display: block; + height: 66px; + left: 8px; + position: absolute; + top: -25px; + width: 91px; +} + +blockquote .quote-close-ktr{ + background: url("/content/programs-and-classes/ktr/images/2014/quote-close-large.png") no-repeat scroll 0 0 transparent; + bottom: -44px; + display: block; + height: 66px; + position: absolute; + right: 10px; + width: 91px; +} + +.aside blockquote{ + font-size: 0.9em; + padding: 35px 0 25px 0; + margin-right:0; +} + + +.aside blockquote .quote-open{ + background: url("../content/about-the-library/strategic-plan/images/quote-open-small.png") no-repeat scroll 0 0 transparent; + display: block; + height: 45px; + left: 3px; + position: absolute; + top: -20px; + width: 62px; +} + +.aside blockquote .quote-close{ + background: url("../content/about-the-library/strategic-plan/images/quote-close-small.png") no-repeat scroll 0 0 transparent; + bottom: -26px; + display: block; + height: 45px; + position: absolute; + right: 5px; + width: 62px; +} + +header{ + background-size:150px auto; + border-top:1px dotted #0D8398; + border-bottom:1px dotted #0D8398; + display:block; + margin-bottom:20px; +} + +header b{ + color: #525252; + display: block; + font-family: Arial,Verdana,sans-serif; + font-size: 1.25em; + font-size: 1rem; + font-weight: bold; + line-height: 1.2em; + margin-top: 0; + margin-bottom: 0.4em; + padding-left: 3px; +} + +header h1{ + color: #0B8497; + font-size: 35px; + font-weight: bold; + height:110px; + margin:0; + padding: 40px 220px 0 0; +} + +.digital-innovation-hub header h1 { + background: url("/images/brain-logo-hub.jpg")no-repeat 520px bottom; + background-size:150px auto; +} + +.digital-innovation-hub .widget h3{ + border-bottom: 1px solid #0c8399!important; + border-top: 4px solid #0c8399!important; + margin: 0; + padding: 5px 5px 5px 7px; +} + +.digital-innovation-hub ul.children-have-border-bottom li { + border-bottom:1px solid #e2e2e2; + overflow:hidden; + padding:20px 0; +} + +.digital-innovation-hub .no-bullet li { + overflow:hidden; + margin:10px 0 0 0px; +} + +.digital-innovation-hub .border-top{ + border-top: 1px solid #e2e2e2; +} + +.digital-innovation-hub .border-bottom{ + border-bottom: 1px dotted #0D8398; +} + +.digital-innovation-hub h3{ + color:#444; + margin-bottom:10px; +} + + +/*********************** 14.0 - Search styles *****************/ + +/*#search #search-results img { width:100% }*/ + +#share-embed { /*font-weight: bold;*/ + position: absolute; + padding-left: 10px; + padding-bottom: 10px; + display: none; + width: 370px; + background-color: #FFF; + border: 3px solid #666; +} + +#share-link { /*font-weight: bold;*/ + position: absolute; + padding-left: 10px; + padding-bottom: 10px; + display: none; + width: 370px; + background-color: #FFF; + border: 3px solid #666; +} + +#share-rss { + position: absolute; + padding-left: 10px; + padding-bottom: 10px; + display: none; + width: 370px; + background-color: #FFF; + border: 3px solid #666; + z-index: 500; +} + +#share-rss textarea { + width: 350px; + height: 50px; +} + +#share-embed textarea { + width: 350px; + height: 50px; +} + +#share-link textarea { + width: 350px; + height: 50px; +} + +.share-close-button { + float: right; + background-color: #666; + color: #FFF; + font-weight: bold; +} + +.page { + display: block; + padding-right: 0.2em; + float: right; +} + +.search-bar-label { + font-size:1.1em; + } +ul.search-bar-option { + margin-right:0px; + display:inline; +} +.search-box { + /*position: relative; + z-index: 10;*/ + float: left; + font-size: 1.3em; + padding-right: 10px; + +} + +.search-box-links { + float: left; + margin-right: 60px; /*65px;*/ /*CHANGE: padding decreased to 60px */ + padding-top:5px; +} + +.search-box-links a { + /*margin-left: 4px;*/ /*CHANGE: margin left not needed + line-height: 16pt;*/ /*CHANGE: Not needed */ +} + +.search-share { + /*8pt + float: right;*/ +} + +.search-share a{ + font-size: 0.9em; + padding-bottom:3px; +} + +.search-share img { + /*vertical-align: middle; + margin-bottom: 3px;*/ +} + +.search-share a:hover { + /*text-decoration: none;*/ +} + +.search-box #search-terms { + margin-right: 5px; + /*width: 450px;*/ + padding: 8px 0 8px 8px; + vertical-align: middle; + width: 435px; + border: 1px solid #AAAAAA; + background-color: #f2f2f2; + font-size: 1.4em; +} + +.search-box #search-terms :hover { + border: 1px solid #686868; +} + +.search-box #search-terms :focus { + background-color: #f9f9f9; + border: 1px solid #686868; +} + +.search-terms-container { /*border: 3px solid rgb(221, 221, 221);*/ + display: inline; +} + + +.search-box #submit-button, .search-box #submit-button-bottom { + background-color: #329aa5; + border-color: #A3DEE1 #2B7076 #2B7076 #A3DEE1; + border-style: solid; + border-width: 2px; /*1px*/ + color: #FFFFFF; + cursor:hand; + cursor:pointer; + position: relative; + width: 5.6em; + height: 2.85em; /*1.5em*/ + vertical-align: middle; + font-size: 1em; +} + +#program-search .search-box #submit-button {width: auto} + +.search-box #submit-button :active { + border-color: #2B7076 #A3DEE1 #A3DEE1 #2B7076; +} + +#search-context-crumb,#advanced-search-options { + padding-top: 3px; + vertical-align: middle; + width: 530px; /*CHANGE: Decreased to 530px from 560px. This decrease allows the "Search inside form" to align next to the search button */ + font-size: 9pt; +} + +#search-context-crumb label span { + font-weight: bold; +} + +#search-bar-bottom { + float: right; + width: 700px; + border-top: 1px solid #DDD; + padding-top: 10px; + padding-bottom: 0px; + margin-right: 20px; +} + +.search-share #rss-link { + /*display: block; + margin: 0; + padding: 0;*/ +} + +#branches-and-hours #search-bar { + width: 460px; + padding-top: 0px; + margin-right: 0px; +} + +#branches-and-hours #search-bar-bottom { + width: 460px; + border-top: 1px solid #DDD; + padding-top: 10px; + margin-right: 0px; +} + +.search-bar .date-filter-sort .sort { + /*margin-top: 1em;*/ +} + +.search-results-embedded #search-bar .date-filter-sort .sort {margin-top: 0} + +.sort{margin-top:5px} + +.sort .sort-selected { + border: 1px solid #4C4C4C; + font-weight: bold; + padding: 3px 5px; + display:block; +} + +/*.sort h4 {display:inline} --> Not needed, trumped by .search-bar h3*/ + +.sort-selected a:link,.sort-selected a:visited,.sort-selected a:hover,.sort-selected a:active{color: #4C4C4C} + +.sort-option a:link, .sort-option a:visited, .sort-option a:hover, .sort-option a:active {font-weight:normal} + +#search #search-bar-top { + width:700px; + float:left; + margin-left:10px; + margin-right:10px; +} + +#search-bar-top #sort-view-container { + display: inline; + float: left; + width:450px; +} + +#search #searchForm-searchBar {margin-bottom: 0} + +#searchBarForm {margin: 5px 0 20px 0} + +#search #search-bar {margin-bottom:20px} + +#programs-and-classes #search-bar-top #sort-view-container { + display: inline; + float: left; + width:230px; +} + +.search-bar .pagination { + display: block; + float: right; + font-size: 8pt; /*9pt*/ + margin-top: 3px; + overflow: hidden; +} + +.pagination .horizontal-list li { + border: none; + padding: 0 1px; +} + +.search-bar .link { + padding: 2px 5px; + background-color: #DFF2F2; + border: 1px solid #BBD5D6; + color: #225394; + font-weight: normal; + position: relative; + display: block; +} + +.search-bar .pagination .current { + color: #666666; + font-weight: bold; + padding: 3px 6px; + position: relative; + float: left; + display: inline-block; +} + +.search-bar .pagination .separator { + float: left; + display: inline; +} + +.search-bar .rpp-option a { + padding-left: 3px; + padding-right: 3px; + padding-top: 2px; + padding-bottom: 2px; + text-decoration: underline; +} + +.search-bar .rpp-option-selected { + height: 20px; + background-color: #003399; + border: 1px solid #333399; + padding: 1px; + padding-left: 3px; + padding-right: 3px; + margin-left: 2px; + margin-right: 2px; + position: relative; +} + +.rpp-option-selected a { + color: #FFF; + font-weight: bold; +} + +#branches-and-hours .search-within .button-submit-link { + background-color: #329aa5; + background-image: url(/images/button-background.jpg); + background-position: center center; + background-repeat: repeat-x; + border-color: #A3DEE1 #2B7076 #2B7076 #A3DEE1; + border-style: solid; + border-width: 1px; + font-weight: normal; + padding: 0.45em 0.9em; /*6px 10px; padding:1px 2px 1px 2px;*/ + color: #FFFFFF; + text-align: center; + margin-left: 5px; + float: left; +} + +.search-title { + margin-right: 20px; + border-bottom: 1px solid #EEE; + margin-bottom: 8px; +} + +.search-title h1 strong { + font-weight: bold; +} + +.search-filters { + position: relative; + height: 32px; +} + +.search-filters img.checkbox { + margin: 0; + vertical-align: -1px; +} + +.search-filters ._jsEnabled { + position: absolute; + right: 0; +} + +.search-title h1 span { + font-weight: bold; +} + +.search-suggestions { + font-size: 1.3em; + margin-top: 1em; + margin-bottom: 0.5em; + color: #DD0000; +} + +.search-suggestions-term { + text-decoration: underline; + font-weight: bold; +} + +.search-no-results { + font-size: 1.5em; /*120%;*/ + margin-bottom:1em; + line-height:1.75em; +} + +.search-no-results-term { + font-weight: bold; + display:inline-block; + display:inline; /*IE 6/7 Fix */ +} + +.search-no-results-text { + font-size: 1.1em; /*110%;*/ +} + +.search-no-results-text ul li:hover { + background: none; +} + +.magazine-search { + position: relative; + float: left; + padding: 10px 0px 10px 10px; + border-top: 2px solid #60BFC5; + background-color: #EEE; + width: 460px; + margin-bottom: 1em; +} + +.magazine-search #hidden-fields { + display: none; +} + +.magazine-search label.hint { + color: #6e6e6e; + position: absolute; + top: 14px; + left: 128px; +} + +.magazine-search #options { + float: left; + margin-right: 20px; +} + +.magazine-search #input { + margin-top: 10px; +} + +.magazine-search #periodicalTitle,.magazine-search #magazine-search-text + { + width: 400px; +} + +.magazine-search .checkbox { + margin: 0px; +} + +.magazine-search #print { + display: none; +} + +.magazine-search .title { + font-size: 1.2em; /*12pt*/ + font-weight: bold; +} + + +/***** Search function and REUSED AS Top grey box**/ + +.search-within { + background-color: #EEEEEE; + margin-bottom: 1em; + /*margin-top:10px;*/ + padding: 1em; + overflow:hidden; + zoom: 1; +} + +#search-within-small #searchWithinTerms { + width: 60%; +} + +#search-within label { + size: 3em; +} + +.search-within .button-submit-link { + background-color: #329aa5; + background-image: url(/images/button-background.jpg); + background-position: center center; + background-repeat: repeat-x; + border-color: #A3DEE1 #2B7076 #2B7076 #A3DEE1; + border-style: solid; + border-width: 1px; + font-weight: normal; + padding: 1px 2px 1px 2px; + color: #FFFFFF; + margin-left: 5px; + text-align:center; +} + +.search-within #location-terms-container a { + background-color: #329aa5; + background-image: url(/images/button-background.jpg); + background-position: center center; + background-repeat: repeat-x; + border-color: #A3DEE1 #2B7076 #2B7076 #A3DEE1; + border-style: solid; + border-width: 1px; + font-weight: normal; + /*padding:1px 2px 1px 2px;*/ + color: #FFFFFF; + margin: 0 0 0 5px; + padding: 7px 10px; + font-size: 1em; + display: inline-block; + vertical-align: top; +} + +.search-within #location-terms-container strong { + float: left; + margin-top: 7px; + margin-right: 8px; +} + +.search-within .button-submit-link:active { + border-color: #2B7076 #A3DEE1 #A3DEE1 #2B7076; +} + +/*Affiliate and Buy Now Styles */ + +#affiliate-area .buy-text{ + font-weight:bold; + color: #225922 !important; + } + +#affiliate-area .pitch-text{ + background-color:#F7F6F5; + border: 2px solid #ECECEC; + margin-top:0.8em; + margin-bottom:0px; + padding:10px; + padding-top:0.8em; + float:left; + color: #525252; + font-size: 1.1em; + cursor:pointer; + cursor:hand; + } + +#affiliate-area .toggle-link{ + height: 13px; + float:right; + color:#1765A9; + } + +/*#affiliate-area .toggle-link.closed {background-position:0px -10px} +#affiliate-area .toggle-link.open {background-position:0px 2px}*/ + +.affiliate-details{ + border-left: 2px solid #ECECEC; + border-right: 2px solid #ECECEC; + border-bottom: 2px solid #ECECEC; + margin-top:0px; + margin-bottom:8px; + padding:10px; + padding-top:0.8em; + float:left; + font-size: 1.0em; + color: #525252; + } + +.affiliate-details .disclaimer { + width: 320px; + float:right; + margin-bottom:10px; + } + +.affiliate-details .disclaimer a{ + display:block; + margin-top:5px; + } + +.affiliate-list{ + float:left; + margin-right:15px; + margin-bottom:10px; + } + +.affiliate-list a{ + font-size:1.1em; + } + +.merchant-text{ + text-align:center; +} + +/* List Links Specific*/ +.link-lists { + background-color: #EEEEEE; + margin-bottom: 0em; + margin-top: 1em; + /*margin-top:10px;*/ + padding: 0 1em 1em 1em; + overflow:hidden; + zoom: 1; + } + +.search-within h5 { + padding-bottom: 0.3em; + } + +.search-within ul { + font-size: .95em; + list-style-type: none; + padding: 0 1em 0.5em 0; + margin: 0em 0 0 0; + width: 186px; + float: left; + zoom:1; /*Is not a hack - gives IE6/7 layout */ +} + +.search-within li { + padding: .4em 0 0 0; + margin: 0; +} + +/******* X - Closed Captions *************/ +#sponsorship {margin-left: 0.4em;margin-right: 0.4em;} +.content { font-weight: normal; /*line-height: auto;*/ width: 460px;} + +/********* XX - style for the feedback container, not a part of the production website +#beta-feedback {padding: 0; margin: 0; background-color: #E6EFF7;} +#beta-feedback-container {background-color: #E6EFF7;text-align: center; padding: 10px; font-size: 1.1em; letter-spacing: 0.03em; margin: 0 auto;} +#beta-feedback-container #beta-title { font-size: 175%; font-weight: bold; padding: 0.1em 0 0.3em;} +#beta-feedback-container #beta-body { font-size: 1em; letter-spacing: 0.06em; padding-bottom: 2px;} + ************/ + +#beta-feedback-container { + background-color: #E6EFF7; + margin: 0 auto; + padding: 20px 20px 23px 20px; + text-align: center; +} + +#beta-title { + font-size: 24px; + font-weight: bold; + padding: 0px 0 12px 0; + line-height: 21.45px; +} + +#beta-body { + font-size: 12px; + padding-bottom: 2px; +} + +#beta-body a { + color: #1765A9; + font-weight: bold; +} + +#beta-body a:active { + text-decoration: none; +} + +#beta-body a:hover { + text-decoration: underline; +} + +#beta-body a:visited { + text-decoration: none; +} + +/**** Multi Column Table Style ****/ + +.two-column-list { + list-style: none; + padding: 0; + margin: 5px 0 0 10px; + line-height: 1.4em; +} + +.two-column-list li { + padding: 5px 0; + margin: 0; + width: 46%; + float: left; +} +/* STYLE FOR SEARCH PAGES */ +.ibistro-container { + border: 0px solid red; + width: 960px; + margin-left: auto; + margin-right: auto; +} + +.tplSearchHeader { + width: 960px; + margin: 0px 0px 15px 0px; + padding: 0px 0px 15px 0px; + font-size: 12pt; +} + +.tplSearchHeader thead tr th { + background-color: transparent; + width: 950px; + border: none; + border-width: 0px; + text-align: left; + padding: 10px 13px 20px 13px; + margin: 0px 13px 20px 13px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 2.2em; + font-weight: bold; +} + +.tplSearchHeader thead tr td { + width: 1px; /*only ie6 needs this*/ +} + +.tplSearchHeader tbody tr th { + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 10pt /**/; + font-weight: normal; + background-color: #fefff3 /**/; + padding: 5px 13px; + border: 1px solid #e5e5e5; +} + +.tplSearchHeader tbody tr td { + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 10pt /**/; + font-weight: normal; + padding: 5px; + border: 0px solid green; +} + +.tplSearchHeader tbody tr td.spacer { + padding: 0px; + border: none; + width: 100%; +} + +.tplSearchHeader tbody tr td.hintBox { + padding: 10px; + border: 1px solid #ccc; + background-color: #FAFAFA; + width: 100%; +} + +.tpldividerseparator { + padding: 8px 0px 8px 0px; + margin: 8px 0px 8px 0px; +} + +table.tpldividerseparator td.separator { + width: 792px; + background: #fff + url("http://www.torontopubliclibrary.ca/images/ibistro/dotted_line.gif") + repeat-x top left; + width: 775px; /*only ie6 needs this*/ +} + +/* jquery form validation */ +.error { + font-size: 12px; + color: #FF0000; + display: inline; +} + +label.error { + padding-left: 10px; +} +/*KTR styles*/ + +/*Type Spacing*/ +#keep-toronto-reading #keep-toronto-reading #presenter-promo .date {margin-top: 0; } +#main-image, .section-image-container {float: left; margin-right: 10px; margin-top:10px; } +#keep-toronto-reading #ktr-foundation-promo,#ktr-twitters +.ktr-sponsors { margin-bottom: 20px; } +#keep-toronto-reading h2.events { border-top: 4px solid #005dab; border-bottom: 1px solid #005dab; margin: 0; padding: 5px 5px 5px 7px;} +#keep-toronto-reading h2.blog { border-top: 4px solid #e8c31c; border-bottom: 1px solid #e8c31c; margin-bottom: 0.8em; padding: 5px 5px 5px 7px;} + +/*Links*/ +#keep-toronto-reading h2.events a { text-transform: none; font-size: 0.9em; text-decoration: underline; float: right;} +#keep-toronto-reading h2.events a:hover { text-decoration: none;} +#keep-toronto-reading #ktr-events-navbar a { border: 1px solid #000; padding: 3px;} + +#keep-toronto-reading #ktr-datefilter { margin: 1em 0 1em 0; padding: 4em 0 .4em 0; border: 1px solid #BBD5D6; background-color: #DFF2F2; text-align: center;} +#keep-toronto-reading #ktr-nav-current { background-color: #1765A9; color: #FFF;} + +/*Header - is Seperate header necessary?*/ +#multicolour-bar-top { background-image: url(/images/bg-rainbow.gif); height: 4px; margin-bottom: 15px; } +#ktr-header-links { position: relative; top: -1.23em; margin-left: 700px; } +#keep-toronto-reading #ktr-events-navbar,#keep-toronto-reading .ktr-booklist .item,#appel-rental-promo p { margin-top: 0.8em; margin-bottom: 0.8em; } +#header-divider {background-color: #153b68; height: 18px; } + +/* Content Areas */ +#keep-toronto-reading .onebook-section,#keep-toronto-reading .ktr-section,.content-section {border-top: 1px solid #1765A9; margin-top: 0.8em; padding-top: 0.8em; margin-bottom: 0.8em;} +#keep-toronto-reading .ktr-section-nofloat { border-top: 1px solid #1765A9; margin-top: 0.8em; padding-top: 0.8em; margin-bottom: 0.8em;} +#keep-toronto-reading .widget-one-book { background-color: #e3f1d9; padding-left: 10px; padding-right: 7px; margin-bottom: 10px; padding-bottom: 5px;} +#keep-toronto-reading .dotted { padding-bottom: 0.8em;} + +.widget-content-round-all-orange, .round-all-orange { + background-color: #FBEAC3; + padding-left: 15px; + padding-right: 15px; + padding-bottom: 10px; + text-align: left; + padding-top:5px; + + border-radius: 7px; + -moz-border-radius: 7px; + -webkit-border-radius: 7px; + -khtml-border-radius: 7px; +} + +.widget-content-round-all-grey, .round-all-grey { + background-color: #EEEEEE; + padding-left: 15px; + padding-right: 15px; + padding-bottom: 10px; + text-align: left; + padding-top:5px; + + border-radius: 7px; + -moz-border-radius: 7px; + -webkit-border-radius: 7px; + -khtml-border-radius: 7px; +} + + +/*Multimedia*/ +#ktr-banner { background-image: url(/content/programs-and-classes/ktr/images/ktr-banner-subway.jpg); height: 110px; background-repeat: no-repeat; margin-top: 5px; margin-bottom: 5px; } +#ktr-banner-cowboy { background-image: url(/content/programs-and-classes/ktr/images/ktr-banner-cowboy.jpg); height: 110px; background-repeat: no-repeat; margin-top: 5px; margin-bottom: 5px; } +#ktr-banner-geisha { background-image: url(/content/programs-and-classes/ktr/images/ktr-banner-geisha.jpg); height: 110px; background-repeat: no-repeat; margin-top: 5px; margin-bottom: 5px; } +#ktr-banner-owl { background-image: url(/content/programs-and-classes/ktr/images/ktr-banner-owl.jpg); height: 110px; background-repeat: no-repeat; margin-top: 5px; margin-bottom: 5px; } +#ktr-banner-pilot { background-image: url(/content/programs-and-classes/ktr/images/ktr-banner-pilot.jpg); height: 110px; background-repeat: no-repeat; margin-top: 5px; margin-bottom: 5px; } +#multicolour-bar-bottom { background-image: url(/images/bg-rainbow.gif); height: 4px; margin-bottom: 10px; width: 940px;} + +#keep-toronto-reading .search-bar { margin-bottom: 0.5em; margin-top: 0.5em; overflow:hidden;} + +#keep-toronto-reading #onebook-cover { float: right; margin-left: 1.2em; margin-top: 1em;} +#keep-toronto-reading .ktr-booklist .booklist-image { float: right; margin-left: 1.5em;} +.ktr-sponsors img { padding-right: 5px;} +#onebook-cover-left { float: left; margin-right: 1.2em; margin-top: 1em;} + +#keep-toronto-reading .widget-one-book .img-container { margin-top: 10px; margin-left: 4px; margin-right: 8px; float: left;} +#keep-toronto-reading #ktr-virtual-map-promo { margin-top: 5px; display: block; min-height: 110px;} + +#keep-toronto-reading #ktr-youtube { background-color: #fbeac3 !important; text-align: center; margin-bottom: 15px; padding-left: -2px !important;} +#keep-toronto-reading #ktr-youtube .youtube { background-color: #fbeac3;} +#ktr-youtube a { color: black; display: block; padding: 7px 0;} + +/* Lists */ +#keep-toronto-reading ol { margin-left: 15; list-style-position: inside;} +#keep-toronto-reading ul { margin-left: 0; padding: 0;} + + + + +/*FOOTER - GLOBAL FOOTER SHOULD ALSO BE USED ON THIS PAGE*/ +#footer-container-ktr { background-color: #D2ECE9; margin-bottom: 50px; margin-top: 25px;} +#footer-ktr { text-align: center; padding-top: 10px; padding-bottom: 10px; width: 960px; margin: 0 auto;} +#footer-ktr a { font-size: 1.1em; font-weight: 700; padding: 0 2em;} + +/* KEEP ME CONSISTENT Page tabs should always be in the same area throughout site*/ +#keep-toronto-reading .pagination { float: none; text-align: right;} + +/** CHECK IF USED STILL **/ +/*#keep-toronto-reading.events #search-results.widget { border-top: 1px solid #153b68; margin-bottom: 5px;} +#keep-toronto-reading .ktr-booklist .item .title { font-size: 110%;} +#keep-toronto-reading #ktr-raffle-promo { min-height: 125px;} +#keep-toronto-reading #ktr-virtual-map-promo p,#keep-toronto-reading #ktr-raffle-promo p { padding-left: 85px;} +#keep-toronto-reading #ktr-social-media-promo { padding-bottom: 1em;} +#keep-toronto-reading #ktr-social-media-promo a { padding-left: 1em;} +#keep-toronto-reading #empty-message-heading { margin-top: 0.4em;} +#keep-toronto-reading #latest-blogs { margin-bottom: 1em;} +#keep-toronto-reading #presenter-promo h4 { border-top-color: #75b943; border-bottom-color: #75b943;} +#keep-toronto-reading #presenter-promo .widget-content { background-color: #E3F1D9;} +#keep-toronto-reading #presenter-promo .image-container { height: auto;}*//**END CHECK IF USED STILL **/ + + + +#email-signup-onebook { + background-color: #f5bb3d; + text-align: center; + border: 1px solid #f5bb3d; + padding: 10px; + /*added border radius*/ + border-radius: 7px; + -moz-border-radius: 7px; + -webkit-border-radius: 7px; + -khtml-border-radius: 7px; +} + +#email-signup-onebook a { + color: black; + font-weight: bold; +} + +#email-signup-onebook a:hover { + text-decoration: underline; + color: black; +} + +#email-signup-onebook h3 { + padding: 0px; + margin: 0px; + border-bottom-width: 0px; + border-top-width: 0px; + background-color: #f5bb3d; +} + + +/*********************** Megamenu styles ******************/ +.header-bottom #books-link .megamenu a, .header-bottom #programs-link .megamenu a, .header-bottom #branches-link .megamenu a, .header-bottom #using-link .megamenu a {width:auto; padding:5px;} + +.megamenu { + background-color:#FFF; border:1px solid #293D66; left:55px; + display:none; float:right; position:absolute; z-index:5000; overflow: hidden; + padding-right:0; + margin-top: 0px; + border-top: 4px solid #0051B1; + font-size:0.9em; + /*CSS3 details*/-moz-border-radius-bottomright: 7px; -moz-border-radius-bottomleft: 7px; -webkit-border-bottom-right-radius: 7px; -webkit-border-bottom-left-radius: 7px; + -moz-box-shadow: 3px 3px 5px #747373; -webkit-box-shadow: 3px 3px 5px #747373; box-shadow: 3px 3px 5px #747373;} + +#books-link .megamenu, #programs-link .megamenu, #using-link .megamenu { width: 648px;} +#branches-link .megamenu { width: 202px;} + +/*Column structure*/ +.megamenu-column { + float:left; + width: 200px; + border-right:1px solid #E5E5E5; + padding:20px 11px 10px 11px;} + +#books-link .megamenu-column.last, #programs-link .megamenu-column.last, #using-link .megamenu-column.last, #branches-link .megamenu-column.last { + background-color:#F7F6F5; + width: 180px; + min-height: 100%; + /*CSS3 details*/-moz-border-radius-bottomright: 7px; -webkit-border-bottom-right-radius: 7px;} + +#branches-link .megamenu-column.last {/*This is a fix for the bottom left corner*/ + -moz-border-radius-bottomleft: 7px; -webkit-border-bottom-left-radius: 7px; -moz-border-radius-bottomright: 7px; -webkit-border-bottom-right-radius: 7px;} + +/*Top Navigation Item*/ +.header-bottom .top-nav-hovered { + background-color:#0051B1; + z-index:9999; + position:relative; + color:#FFF; + text-decoration: none; + /*CSS3 details*/-moz-box-shadow: 3px 3px 5px #090909; -webkit-box-shadow: 3px 3px 5px #090909; box-shadow: 3px 3px 5px #090909; + -moz-border-radius-topright: 7px; -moz-border-radius-topleft: 7px; -webkit-border-top-right-radius: 7px; -webkit-border-top-left-radius: 7px;} + +/*Link Unordered List Styles*/ +.megamenu ul { + list-style-type:none; + margin:0; + display:block; + overflow:hidden; + padding:0;} + +.header-bottom .megamenu li { + margin:-0.45em 0 0 0; + padding:0; + width:200px;} + +.megamenu .megamenu-column.last ul li { + padding: 1px 0 2px 0; + border-bottom: 1px solid #E5E5E5; + width:180px;} + +/*Main Link Styles*/ +.megamenu-level-0 a:link, .megamenu-level-0 a:visited { /*Primary Links*/ + color: #0051B1; + display: block; + font-size: .95em; + font-weight: bold; + text-decoration: none; + /*CSS3 Detail*/text-shadow: 0.1em 0.1em #FEFEFE;} + +/*Megamenu Links */ +.header-bottom .megamenu li.megamenu-level-0 { /*Extra space for Primary Links*/ + margin-bottom:8px;} + +.megamenu-level-1 a:link, .megamenu-level-1 a:hover, .megamenu-level-1 a:visited { /*Secondary Links*/ + color:#6C7379; + font-weight:normal; + font-size: .9em; + margin-top: .2em; + line-height: 1.3em;} + +.megamenu .megamenu-level-1 ul { /*Extra space for Secondary Links*/ + margin: 0 0 2.7em -1.1em; + text-shadow: none;} + +.megamenu-level-2 { /*Unused Tertiary Links*/ float:none;} + +/*Links in the 3rd Minor Column*/ +.megamenu .megamenu-column.last .megamenu-level-0 a:link, .megamenu .megamenu-column.last .megamenu-level-0 a:visited { /*Primary Links*/ + color: #0051B1; + display: block; + font-size: .9em; + font-weight: bold; + text-decoration: none; + text-shadow: 0.1em 0.1em #FEFEFE; + padding: 0;} + +.megamenu .megamenu-column.last .megamenu-level-1 a:link, .megamenu .megamenu-column.last .megamenu-level-1 a:visited { /*Secondary Links*/ + color: #6C7379; + font-weight:normal; + line-height: .8em; + border: none;} + +.megamenu .megamenu-column.last .megamenu-level-1 { border: none;} + +/*Hover States for All Links*/ +.megamenu .megamenu-level-0 a:hover, .megamenu .megamenu-column.last .megamenu-level-0 a:hover { text-decoration: underline; color: #293d66;} + + +/*X in the-corner = for accessibility*/ +.megamenu .megamenu-close-link { + color:#FFF; font-size:1.3em;line-height: .3em; + margin:-23px -11px 0 170px; + position:absolute; + top:20px; + height: 11px; + background-color: #0051B1; + float:right; + -moz-border-radius-bottomleft: 7px;-webkit-border-bottom-left-radius: 7px; + } + +.megamenu a:hover.megamenu-close-link {text-decoration: none; color: #EEF} + + + + + + diff --git a/examples/htdocs/tpl_files/tpl.js b/examples/htdocs/tpl_files/tpl.js new file mode 100644 index 0000000..e8a069d --- /dev/null +++ b/examples/htdocs/tpl_files/tpl.js @@ -0,0 +1,508 @@ + + + + + + + + + + +if("undefined"==typeof YAHOO||!YAHOO)var YAHOO={};YAHOO.namespace=function(){var a=arguments,d=null,f,c,e;for(f=0;f "),a.isObject(e[c])?h.push(0m)break;h=e.indexOf("}",m);if(m+1>=h)break;s=p=e.substring(m+1,h);r=null;n=s.indexOf(" ");-1f.ie&&(e=d=2,l=c.compatMode,h=t(c.documentElement,"borderLeftWidth"),c=t(c.documentElement,"borderTopWidth"),6===f.ie&&"BackCompat"!==l&&(e=d=0),"BackCompat"==l&&("medium"!==h&& +(d=parseInt(h,10)),"medium"!==c&&(e=parseInt(c,10))),g[0]-=d,g[1]-=e);if(k||b)g[0]+=b,g[1]+=k;g[0]=m(g[0]);g[1]=m(g[1])}return g}:function(b){var k,c,d,e=!1,p=b;if(a.Dom._canPosition(b)){e=[b.offsetLeft,b.offsetTop];k=a.Dom.getDocumentScrollLeft(b.ownerDocument);c=a.Dom.getDocumentScrollTop(b.ownerDocument);for(d=g||519=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom};YAHOO.util.Region.prototype.getArea=function(){return(this.bottom-this.top)*(this.right-this.left)};YAHOO.util.Region.prototype.intersect=function(a){var d=Math.max(this.top,a.top),f=Math.min(this.right,a.right),c=Math.min(this.bottom,a.bottom);a=Math.max(this.left,a.left);return c>=d&&f>=a?new YAHOO.util.Region(d,f,c,a):null}; +YAHOO.util.Region.prototype.union=function(a){var d=Math.min(this.top,a.top),f=Math.max(this.right,a.right),c=Math.max(this.bottom,a.bottom);a=Math.min(this.left,a.left);return new YAHOO.util.Region(d,f,c,a)};YAHOO.util.Region.prototype.toString=function(){return"Region {top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+", height: "+this.height+", width: "+this.width+"}"}; +YAHOO.util.Region.getRegion=function(a){var d=YAHOO.util.Dom.getXY(a);return new YAHOO.util.Region(d[1],d[0]+a.offsetWidth,d[1]+a.offsetHeight,d[0])};YAHOO.util.Point=function(a,d){YAHOO.lang.isArray(a)&&(d=a[1],a=a[0]);YAHOO.util.Point.superclass.constructor.call(this,d,a,d,a)};YAHOO.extend(YAHOO.util.Point,YAHOO.util.Region); +(function(){var a=YAHOO.util,d=/^width|height$/,f=/^(\d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz|%){1}?/i,c={get:function(c,d){var e="",e=c.currentStyle[d];return e="opacity"===d?a.Dom.getStyle(c,"opacity"):!e||e.indexOf&&-1e&&(f=e-(a[n]-e)),a.style[c]="auto")):(!a.style[s]&&!a.style[c]&&(a.style[c]=e),f=a.style[s]);return f+"px"},getBorderWidth:function(a,c){var d=null;a.currentStyle.hasLayout||(a.style.zoom=1);switch(c){case "borderTopWidth":d=a.clientTop;break;case "borderBottomWidth":d=a.offsetHeight-a.clientHeight-a.clientTop;break;case "borderLeftWidth":d=a.clientLeft;break;case "borderRightWidth":d=a.offsetWidth-a.clientWidth-a.clientLeft}return d+"px"},getPixel:function(a, +c){var d=null,e=a.currentStyle.right;a.style.right=a.currentStyle[c];d=a.style.pixelRight;a.style.right=e;return d+"px"},getMargin:function(c,d){return"auto"==c.currentStyle[d]?"0px":a.Dom.IE.ComputedStyle.getPixel(c,d)},getVisibility:function(a,c){for(var d;(d=a.currentStyle)&&"inherit"==d[c];)a=a.parentNode;return d?d[c]:"visible"},getColor:function(c,d){return a.Dom.Color.toRGB(c.currentStyle[d])||"transparent"},getBorderColor:function(c,d){var e=c.currentStyle;return a.Dom.Color.toRGB(a.Dom.Color.toHex(e[d]|| +e.color))}},e={};e.top=e.right=e.bottom=e.left=e.width=e.height=c.getOffset;e.color=c.getColor;e.borderTopWidth=e.borderRightWidth=e.borderBottomWidth=e.borderLeftWidth=c.getBorderWidth;e.marginTop=e.marginRight=e.marginBottom=e.marginLeft=c.getMargin;e.visibility=c.getVisibility;e.borderColor=e.borderTopColor=e.borderRightColor=e.borderBottomColor=e.borderLeftColor=c.getBorderColor;a.Dom.IE_COMPUTED=e;a.Dom.IE_ComputedStyle=c})(); +(function(){var a=parseInt,d=RegExp,f=YAHOO.util;f.Dom.Color={KEYWORDS:{black:"000",silver:"c0c0c0",gray:"808080",white:"fff",maroon:"800000",red:"f00",purple:"800080",fuchsia:"f0f",green:"008000",lime:"0f0",olive:"808000",yellow:"ff0",navy:"000080",blue:"00f",teal:"008080",aqua:"0ff"},re_RGB:/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i,re_hex:/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i,re_hex3:/([0-9A-F])/gi,toRGB:function(c){f.Dom.Color.re_RGB.test(c)||(c=f.Dom.Color.toHex(c));f.Dom.Color.re_hex.exec(c)&& +(c="rgb("+[a(d.$1,16),a(d.$2,16),a(d.$3,16)].join(", ")+")");return c},toHex:function(a){a=f.Dom.Color.KEYWORDS[a]||a;if(f.Dom.Color.re_RGB.exec(a)){a=1===d.$2.length?"0"+d.$2:Number(d.$2);var e=1===d.$3.length?"0"+d.$3:Number(d.$3);a=[(1===d.$1.length?"0"+d.$1:Number(d.$1)).toString(16),a.toString(16),e.toString(16)].join("")}6>a.length&&(a=a.replace(f.Dom.Color.re_hex3,"$1$1"));"transparent"!==a&&0>a.indexOf("#")&&(a="#"+a);return a.toLowerCase()}}})(); +YAHOO.register("dom",YAHOO.util.Dom,{version:"2.7.0",build:"1799"});YAHOO.util.CustomEvent=function(a,d,f,c){this.type=a;this.scope=d||window;this.silent=f;this.signature=c||YAHOO.util.CustomEvent.LIST;this.subscribers=[];"_YUICEOnSubscribe"!==a&&(this.subscribeEvent=new YAHOO.util.CustomEvent("_YUICEOnSubscribe",this,!0));this.lastError=null};YAHOO.util.CustomEvent.LIST=0;YAHOO.util.CustomEvent.FLAT=1; +YAHOO.util.CustomEvent.prototype={subscribe:function(a,d,f){if(!a)throw Error("Invalid callback for subscriber to '"+this.type+"'");this.subscribeEvent&&this.subscribeEvent.fire(a,d,f);this.subscribers.push(new YAHOO.util.Subscriber(a,d,f))},unsubscribe:function(a,d){if(!a)return this.unsubscribeAll();for(var f=!1,c=0,e=this.subscribers.length;cthis.webkit&& +("click"==c||"dblclick"==c)},removeListener:function(a,c,h,b){var k,n,l;if("string"==typeof a)a=this.getEl(a);else if(this._isValidCollection(a)){b=!0;for(k=a.length-1;-1a.webkit?a._dri=setInterval(function(){var d=document.readyState;if("loaded"==d||"complete"==d)clearInterval(a._dri),a._dri=null,a._ready()},a.POLL_INTERVAL):a._simpleAdd(document,"DOMContentLoaded",a._ready);a._simpleAdd(window,"load",a._load);a._simpleAdd(window,"unload",a._unload);a._tryPreloadAttach()}());YAHOO.util.EventProvider=function(){}; +YAHOO.util.EventProvider.prototype={__yui_events:null,__yui_subscribers:null,subscribe:function(a,d,f,c){this.__yui_events=this.__yui_events||{};var e=this.__yui_events[a];e?e.subscribe(d,f,c):(e=this.__yui_subscribers=this.__yui_subscribers||{},e[a]||(e[a]=[]),e[a].push({fn:d,obj:f,overrideContext:c}))},unsubscribe:function(a,d,f){var c=this.__yui_events=this.__yui_events||{};if(a){if(c=c[a])return c.unsubscribe(d,f)}else{a=!0;for(var e in c)YAHOO.lang.hasOwnProperty(c,e)&&(a=a&&c[e].unsubscribe(d, +f));return a}return!1},unsubscribeAll:function(a){return this.unsubscribe(a)},createEvent:function(a,d){this.__yui_events=this.__yui_events||{};var f=d||{},c=this.__yui_events;if(!c[a]){var e=new YAHOO.util.CustomEvent(a,f.scope||this,f.silent,YAHOO.util.CustomEvent.FLAT);c[a]=e;f.onSubscribeCallback&&e.subscribeEvent.subscribe(f.onSubscribeCallback);this.__yui_subscribers=this.__yui_subscribers||{};if(f=this.__yui_subscribers[a])for(var l=0;ld)for(;0>d;)d+=12,f-=1;else if(11YAHOO.env.ua.webkit)if(0> +d)for(;-128>d;d-=-128)b.setDate(b.getDate()+-128);else for(;96f?!0:!1},between:function(b,d,f){return this.after(b,d)&&this.before(b,f)?!0:!1},getJan1:function(b){return this.getDate(b,0,1)},getDayOffset:function(b,d){var f=this.getJan1(d);return Math.ceil((b.getTime()- +f.getTime())/this.ONE_DAY_MS)},getWeekNumber:function(b,d,f){d=d||0;f=f||this.WEEK_ONE_JAN_DATE;b=this.clearTime(b);var g;g=b.getDay()===d?b:this.getFirstDayOfWeek(b,d);var h=g.getFullYear();g.getTime();g=new Date(g.getTime()+6*this.ONE_DAY_MS);h!==g.getFullYear()&&g.getDate()>=f?d=1:(f=this.clearTime(this.getDate(h,0,f)),d=this.getFirstDayOfWeek(f,d),d=Math.round((b.getTime()-d.getTime())/this.ONE_DAY_MS),d=(d-d%7)/7+1);return d},getFirstDayOfWeek:function(b,d){var f=(b.getDay()-(d||0)+7)%7;return this.subtract(b, +this.DAY,f)},isYearOverlapWeek:function(b){var d=!1;this.add(b,this.DAY,6).getFullYear()!=b.getFullYear()&&(d=!0);return d},isMonthOverlapWeek:function(b){var d=!1;this.add(b,this.DAY,6).getMonth()!=b.getMonth()&&(d=!0);return d},findMonthStart:function(b){return this.getDate(b.getFullYear(),b.getMonth(),1)},findMonthEnd:function(b){b=this.findMonthStart(b);b=this.add(b,this.MONTH,1);return this.subtract(b,this.DAY,1)},clearTime:function(b){b.setHours(12,0,0,0);return b},getDate:function(b,d,f){var g= +null;YAHOO.lang.isUndefined(f)&&(f=1);100<=b?g=new Date(b,d,f):(g=new Date,g.setFullYear(b),g.setMonth(d),g.setDate(f),g.setHours(0,0,0,0));return g}}; +(function(){function b(a,c,b){this.init.apply(this,arguments)}var d=YAHOO.util.Dom,f=YAHOO.util.Event,g=YAHOO.lang,h=YAHOO.widget.DateMath;b.IMG_ROOT=null;b.DATE="D";b.MONTH_DAY="MD";b.WEEKDAY="WD";b.RANGE="R";b.MONTH="M";b.DISPLAY_DAYS=42;b.STOP_RENDER="S";b.SHORT="short";b.LONG="long";b.MEDIUM="medium";b.ONE_CHAR="1char";b._DEFAULT_CONFIG={PAGEDATE:{key:"pagedate",value:null},SELECTED:{key:"selected",value:null},TITLE:{key:"title",value:""},CLOSE:{key:"close",value:!1},IFRAME:{key:"iframe",value:YAHOO.env.ua.ie&& +6>=YAHOO.env.ua.ie?!0:!1},MINDATE:{key:"mindate",value:null},MAXDATE:{key:"maxdate",value:null},MULTI_SELECT:{key:"multi_select",value:!1},START_WEEKDAY:{key:"start_weekday",value:0},SHOW_WEEKDAYS:{key:"show_weekdays",value:!0},SHOW_WEEK_HEADER:{key:"show_week_header",value:!1},SHOW_WEEK_FOOTER:{key:"show_week_footer",value:!1},HIDE_BLANK_WEEKS:{key:"hide_blank_weeks",value:!1},NAV_ARROW_LEFT:{key:"nav_arrow_left",value:null},NAV_ARROW_RIGHT:{key:"nav_arrow_right",value:null},MONTHS_SHORT:{key:"months_short", +value:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ")},MONTHS_LONG:{key:"months_long",value:"January February March April May June July August September October November December".split(" ")},WEEKDAYS_1CHAR:{key:"weekdays_1char",value:"SMTWTFS".split("")},WEEKDAYS_SHORT:{key:"weekdays_short",value:"Su Mo Tu We Th Fr Sa".split(" ")},WEEKDAYS_MEDIUM:{key:"weekdays_medium",value:"Sun Mon Tue Wed Thu Fri Sat".split(" ")},WEEKDAYS_LONG:{key:"weekdays_long",value:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" ")}, +LOCALE_MONTHS:{key:"locale_months",value:"long"},LOCALE_WEEKDAYS:{key:"locale_weekdays",value:"short"},DATE_DELIMITER:{key:"date_delimiter",value:","},DATE_FIELD_DELIMITER:{key:"date_field_delimiter",value:"/"},DATE_RANGE_DELIMITER:{key:"date_range_delimiter",value:"-"},MY_MONTH_POSITION:{key:"my_month_position",value:1},MY_YEAR_POSITION:{key:"my_year_position",value:2},MD_MONTH_POSITION:{key:"md_month_position",value:1},MD_DAY_POSITION:{key:"md_day_position",value:2},MDY_MONTH_POSITION:{key:"mdy_month_position", +value:1},MDY_DAY_POSITION:{key:"mdy_day_position",value:2},MDY_YEAR_POSITION:{key:"mdy_year_position",value:3},MY_LABEL_MONTH_POSITION:{key:"my_label_month_position",value:1},MY_LABEL_YEAR_POSITION:{key:"my_label_year_position",value:2},MY_LABEL_MONTH_SUFFIX:{key:"my_label_month_suffix",value:" "},MY_LABEL_YEAR_SUFFIX:{key:"my_label_year_suffix",value:""},NAV:{key:"navigator",value:null},STRINGS:{key:"strings",value:{previousMonth:"Previous Month",nextMonth:"Next Month",close:"Close"},supercedes:["close", +"title"]}};var e=b._DEFAULT_CONFIG;b._EVENT_TYPES={BEFORE_SELECT:"beforeSelect",SELECT:"select",BEFORE_DESELECT:"beforeDeselect",DESELECT:"deselect",CHANGE_PAGE:"changePage",BEFORE_RENDER:"beforeRender",RENDER:"render",BEFORE_DESTROY:"beforeDestroy",DESTROY:"destroy",RESET:"reset",CLEAR:"clear",BEFORE_HIDE:"beforeHide",HIDE:"hide",BEFORE_SHOW:"beforeShow",SHOW:"show",BEFORE_HIDE_NAV:"beforeHideNav",HIDE_NAV:"hideNav",BEFORE_SHOW_NAV:"beforeShowNav",SHOW_NAV:"showNav",BEFORE_RENDER_NAV:"beforeRenderNav", +RENDER_NAV:"renderNav"};b._STYLES={CSS_ROW_HEADER:"calrowhead",CSS_ROW_FOOTER:"calrowfoot",CSS_CELL:"calcell",CSS_CELL_SELECTOR:"selector",CSS_CELL_SELECTED:"selected",CSS_CELL_SELECTABLE:"selectable",CSS_CELL_RESTRICTED:"restricted",CSS_CELL_TODAY:"today",CSS_CELL_OOM:"oom",CSS_CELL_OOB:"previous",CSS_HEADER:"calheader",CSS_HEADER_TEXT:"calhead",CSS_BODY:"calbody",CSS_WEEKDAY_CELL:"calweekdaycell",CSS_WEEKDAY_ROW:"calweekdayrow",CSS_FOOTER:"calfoot",CSS_CALENDAR:"yui-calendar",CSS_SINGLE:"single", +CSS_CONTAINER:"yui-calcontainer",CSS_NAV_LEFT:"calnavleft",CSS_NAV_RIGHT:"calnavright",CSS_NAV:"calnav",CSS_CLOSE:"calclose",CSS_CELL_TOP:"calcelltop",CSS_CELL_LEFT:"calcellleft",CSS_CELL_RIGHT:"calcellright",CSS_CELL_BOTTOM:"calcellbottom",CSS_CELL_HOVER:"calcellhover",CSS_CELL_HIGHLIGHT1:"highlight1",CSS_CELL_HIGHLIGHT2:"highlight2",CSS_CELL_HIGHLIGHT3:"highlight3",CSS_CELL_HIGHLIGHT4:"highlight4"};b.prototype={Config:null,parent:null,index:-1,cells:null,cellDates:null,id:null,containerId:null, +oDomContainer:null,today:null,renderStack:null,_renderStack:null,oNavigator:null,_selectedDates:null,domEventMap:null,_parseArgs:function(a){var c={id:null,container:null,config:null};if(a&&a.length&&0=YAHOO.env.ua.ie&&d.addClass(this.iframe, +"fixedsize"),this.oDomContainer.insertBefore(this.iframe,this.oDomContainer.firstChild)}else this.iframe&&(this.iframe.parentNode&&this.iframe.parentNode.removeChild(this.iframe),this.iframe=null)},configTitle:function(a,c,b){(a=c[0])?this.createTitleBar(a):this.cfg.getProperty(e.CLOSE.key)?this.createTitleBar(" "):this.removeTitleBar()},configClose:function(a,c,b){a=c[0];c=this.cfg.getProperty(e.TITLE.key);a?(c||this.createTitleBar(" "),this.createCloseButton()):(this.removeCloseButton(), +c||this.removeTitleBar())},initEvents:function(){var a=b._EVENT_TYPES,c=YAHOO.util.CustomEvent;this.beforeSelectEvent=new c(a.BEFORE_SELECT);this.selectEvent=new c(a.SELECT);this.beforeDeselectEvent=new c(a.BEFORE_DESELECT);this.deselectEvent=new c(a.DESELECT);this.changePageEvent=new c(a.CHANGE_PAGE);this.beforeRenderEvent=new c(a.BEFORE_RENDER);this.renderEvent=new c(a.RENDER);this.beforeDestroyEvent=new c(a.BEFORE_DESTROY);this.destroyEvent=new c(a.DESTROY);this.resetEvent=new c(a.RESET);this.clearEvent= +new c(a.CLEAR);this.beforeShowEvent=new c(a.BEFORE_SHOW);this.showEvent=new c(a.SHOW);this.beforeHideEvent=new c(a.BEFORE_HIDE);this.hideEvent=new c(a.HIDE);this.beforeShowNavEvent=new c(a.BEFORE_SHOW_NAV);this.showNavEvent=new c(a.SHOW_NAV);this.beforeHideNavEvent=new c(a.BEFORE_HIDE_NAV);this.hideNavEvent=new c(a.HIDE_NAV);this.beforeRenderNavEvent=new c(a.BEFORE_RENDER_NAV);this.renderNavEvent=new c(a.RENDER_NAV);this.beforeSelectEvent.subscribe(this.onBeforeSelect,this,!0);this.selectEvent.subscribe(this.onSelect, +this,!0);this.beforeDeselectEvent.subscribe(this.onBeforeDeselect,this,!0);this.deselectEvent.subscribe(this.onDeselect,this,!0);this.changePageEvent.subscribe(this.onChangePage,this,!0);this.renderEvent.subscribe(this.onRender,this,!0);this.resetEvent.subscribe(this.onReset,this,!0);this.clearEvent.subscribe(this.onClear,this,!0)},doPreviousMonthNav:function(a,c){f.preventDefault(a);setTimeout(function(){c.previousMonth();var a=d.getElementsByClassName(c.Style.CSS_NAV_LEFT,"a",c.oDomContainer);if(a&& +a[0])try{a[0].focus()}catch(b){}},0)},doNextMonthNav:function(a,c){f.preventDefault(a);setTimeout(function(){c.nextMonth();var a=d.getElementsByClassName(c.Style.CSS_NAV_RIGHT,"a",c.oDomContainer);if(a&&a[0])try{a[0].focus()}catch(b){}},0)},doSelectCell:function(a,c){var b,e,k;k=f.getTarget(a);b=k.tagName.toLowerCase();for(e=!1;"td"!=b&&!d.hasClass(k,c.Style.CSS_CELL_SELECTABLE);)if(!e&&("a"==b&&d.hasClass(k,c.Style.CSS_CELL_SELECTOR))&&(e=!0),k=k.parentNode,b=k.tagName.toLowerCase(),k==this.oDomContainer|| +"html"==b)return;e&&f.preventDefault(a);b=k;if(d.hasClass(b,c.Style.CSS_CELL_SELECTABLE)&&(k=c.getIndexFromId(b.id),-1'+m+"";this.oDomContainer.appendChild(c);return c},removeCloseButton:function(){var a=d.getElementsByClassName("link-close","a",this.oDomContainer)[0]||null;a&&(f.purgeElement(a),this.oDomContainer.removeChild(a))},renderHeader:function(a){var c= +7,d=this.cfg,l=d.getProperty(e.PAGEDATE.key),k=d.getProperty(e.STRINGS.key),f=k&&k.previousMonth?k.previousMonth:"",k=k&&k.nextMonth?k.nextMonth:"",g;d.getProperty(e.SHOW_WEEK_HEADER.key)&&(c+=1);d.getProperty(e.SHOW_WEEK_FOOTER.key)&&(c+=1);a[a.length]="

";a[a.length]="";a[a.length]='\n";d.getProperty(e.SHOW_WEEKDAYS.key)&&(a=this.buildWeekdays(a));a[a.length]="";return a},buildWeekdays:function(a){a[a.length]='';this.cfg.getProperty(e.SHOW_WEEK_HEADER.key)&& +(a[a.length]="");for(var c=0;c'+this.Locale.LOCALE_WEEKDAYS[c]+"";this.cfg.getProperty(e.SHOW_WEEK_FOOTER.key)&&(a[a.length]="");a[a.length]="";return a},renderBody:function(a,c){var m=this.cfg.getProperty(e.START_WEEKDAY.key);this.preMonthDays=a.getDay();0this.preMonthDays&&(this.preMonthDays+=7);this.monthDays=h.findMonthEnd(a).getDate();this.postMonthDays= +b.DISPLAY_DAYS-this.preMonthDays-this.monthDays;a=h.subtract(a,h.DAY,this.preMonthDays);var l,k,f,g,r=this.today;l=this.cfg;var v=r.getFullYear(),H=r.getMonth(),r=r.getDate(),C=l.getProperty(e.PAGEDATE.key),E=l.getProperty(e.HIDE_BLANK_WEEKS.key),I=l.getProperty(e.SHOW_WEEK_FOOTER.key),J=l.getProperty(e.SHOW_WEEK_HEADER.key),z=l.getProperty(e.MINDATE.key),A=l.getProperty(e.MAXDATE.key);z&&(z=h.clearTime(z));A&&(A=h.clearTime(A));c[c.length]='';var w=0,F=document.createElement("div"),s=document.createElement("td");F.appendChild(s);for(var x=this.parent||this,D=0;6>D&&!(l=h.getWeekNumber(a,m),k="w"+l,0!==D&&!0===E&&a.getMonth()!=C.getMonth());D++){c[c.length]='';J&&(c=this.renderRowHeader(l,c));for(k=0;7>k;k++){f=[];this.clearElement(s);s.className=this.Style.CSS_CELL;s.id=this.id+"_cell"+w;a.getDate()==r&&(a.getMonth()==H&&a.getFullYear()==v)&&(f[f.length]=x.renderCellStyleToday);var B=[a.getFullYear(),a.getMonth()+ +1,a.getDate()];this.cellDates[this.cellDates.length]=B;if(a.getMonth()!=C.getMonth())f[f.length]=x.renderCellNotThisMonth;else{d.addClass(s,"wd"+a.getDay());d.addClass(s,"d"+a.getDate());for(var y=0;y=t.getTime()&&a.getTime()<=p.getTime()&&(g=n[2],a.getTime()==p.getTime()&&this.renderStack.splice(y,1));break;case b.WEEKDAY:p=n[1][0];a.getDay()+1==p&&(g=n[2]);break;case b.MONTH:p=n[1][0],a.getMonth()+1==p&&(g=n[2])}g&&(f[f.length]=g)}}-1 +A.getTime()?f[f.length]=x.renderOutOfBoundsDate:(f[f.length]=x.styleCellDefault,f[f.length]=x.renderCellDefault);for(g=0;g=w&&d.addClass(s,this.Style.CSS_CELL_TOP);0===w%7&&d.addClass(s,this.Style.CSS_CELL_LEFT);0===(w+1)%7&&d.addClass(s,this.Style.CSS_CELL_RIGHT);f=this.postMonthDays;if(E&&7<=f){g=Math.floor(f/7);for(B=0;B=this.preMonthDays+f+this.monthDays-7&&d.addClass(s,this.Style.CSS_CELL_BOTTOM); +c[c.length]=F.innerHTML;w++}I&&(c=this.renderRowFooter(l,c));c[c.length]=""}c[c.length]="";return c},renderFooter:function(a){return a},render:function(){this.beforeRenderEvent.fire();var a=h.findMonthStart(this.cfg.getProperty(e.PAGEDATE.key));this.resetRenderers();this.cellDates.length=0;f.purgeElement(this.oDomContainer,!0);var c=[];c[c.length]='
';a[a.length]='
';c=!1;this.parent?(0===this.index&&(g=!0),this.index==this.parent.cfg.getProperty("pages")- +1&&(c=!0)):c=g=!0;if(g){g=this._buildMonthLabel(h.subtract(l,h.MONTH,1));var r=d.getProperty(e.NAV_ARROW_LEFT.key);null===r&&null!==b.IMG_ROOT&&(r=b.IMG_ROOT+"us/tr/callt.gif");a[a.length]=''+f+" ("+g+")"}f=this.buildMonthLabel();if((this.parent||this).cfg.getProperty("navigator"))f=''+f+"";a[a.length]=f;c&&(g=this._buildMonthLabel(h.add(l,h.MONTH, +1)),l=d.getProperty(e.NAV_ARROW_RIGHT.key),null===l&&null!==b.IMG_ROOT&&(l=b.IMG_ROOT+"us/tr/calrt.gif"),a[a.length]=''+k+" ("+g+")");a[a.length]="
\n
  
';c=this.renderHeader(c);c=this.renderBody(a, +c);c=this.renderFooter(c);c[c.length]="
";this.oDomContainer.innerHTML=c.join("\n");this.applyListeners();this.cells=this.oDomContainer.getElementsByTagName("td");this.cfg.refireEvent(e.TITLE.key);this.cfg.refireEvent(e.CLOSE.key);this.cfg.refireEvent(e.IFRAME.key);this.renderEvent.fire()},applyListeners:function(){var a=this.oDomContainer,c=this.parent||this,b=d.getElementsByClassName(this.Style.CSS_NAV_LEFT,"a",a),a=d.getElementsByClassName(this.Style.CSS_NAV_RIGHT,"a",a);b&&0";return c},renderRowFooter:function(a,c){c[c.length]=''+a+"";return c},renderCellDefault:function(a,c){c.innerHTML=''+this.buildDayLabel(a)+""},styleCellDefault:function(a,c){d.addClass(c,this.Style.CSS_CELL_SELECTABLE)},renderCellStyleHighlight1:function(a,c){d.addClass(c,this.Style.CSS_CELL_HIGHLIGHT1)},renderCellStyleHighlight2:function(a,c){d.addClass(c,this.Style.CSS_CELL_HIGHLIGHT2)},renderCellStyleHighlight3:function(a,c){d.addClass(c,this.Style.CSS_CELL_HIGHLIGHT3)},renderCellStyleHighlight4:function(a,c){d.addClass(c,this.Style.CSS_CELL_HIGHLIGHT4)},renderCellStyleToday:function(a, +c){d.addClass(c,this.Style.CSS_CELL_TODAY)},renderCellStyleSelected:function(a,c){d.addClass(c,this.Style.CSS_CELL_SELECTED)},renderCellNotThisMonth:function(a,c){d.addClass(c,this.Style.CSS_CELL_OOM);c.innerHTML=a.getDate();return b.STOP_RENDER},renderBodyCellRestricted:function(a,c){d.addClass(c,this.Style.CSS_CELL);d.addClass(c,this.Style.CSS_CELL_RESTRICTED);c.innerHTML=a.getDate();return b.STOP_RENDER},addMonths:function(a){var c=e.PAGEDATE.key;this.cfg.setProperty(c,h.add(this.cfg.getProperty(c), +h.MONTH,a));this.resetRenderers();this.changePageEvent.fire()},subtractMonths:function(a){var c=e.PAGEDATE.key;this.cfg.setProperty(c,h.subtract(this.cfg.getProperty(c),h.MONTH,a));this.resetRenderers();this.changePageEvent.fire()},addYears:function(a){var c=e.PAGEDATE.key;this.cfg.setProperty(c,h.add(this.cfg.getProperty(c),h.YEAR,a));this.resetRenderers();this.changePageEvent.fire()},subtractYears:function(a){var c=e.PAGEDATE.key;this.cfg.setProperty(c,h.subtract(this.cfg.getProperty(c),h.YEAR, +a));this.resetRenderers();this.changePageEvent.fire()},nextMonth:function(){this.addMonths(1)},previousMonth:function(){this.subtractMonths(1)},nextYear:function(){this.addYears(1)},previousYear:function(){this.subtractYears(1)},reset:function(){this.cfg.resetProperty(e.SELECTED.key);this.cfg.resetProperty(e.PAGEDATE.key);this.resetEvent.fire()},clear:function(){this.cfg.setProperty(e.SELECTED.key,[]);this.cfg.setProperty(e.PAGEDATE.key,new Date(this.today.getTime()));this.clearEvent.fire()},select:function(a){a= +this._toFieldArray(a);for(var c=[],b=[],d=e.SELECTED.key,f=0;fb.getTime()},_parsePageDate:function(a){if(a)if(a instanceof Date)a=h.findMonthStart(a);else{var c;c=a.split(this.cfg.getProperty(e.DATE_FIELD_DELIMITER.key));a=parseInt(c[this.cfg.getProperty(e.MY_MONTH_POSITION.key)-1],10)-1;c=parseInt(c[this.cfg.getProperty(e.MY_YEAR_POSITION.key)-1],10);a=h.getDate(c,a,1)}else a=h.getDate(this.today.getFullYear(),this.today.getMonth(),1);return a},onBeforeSelect:function(){!1===this.cfg.getProperty(e.MULTI_SELECT.key)&& +(this.parent?(this.parent.callChildFunction("clearAllBodyCellStyles",this.Style.CSS_CELL_SELECTED),this.parent.deselectAll()):(this.clearAllBodyCellStyles(this.Style.CSS_CELL_SELECTED),this.deselectAll()))},onSelect:function(a){},onBeforeDeselect:function(){},onDeselect:function(a){},onChangePage:function(){this.render()},onRender:function(){},onReset:function(){this.render()},onClear:function(){this.render()},validate:function(){return!0},_parseDate:function(a){a=a.split(this.Locale.DATE_FIELD_DELIMITER); +2==a.length?(a=[a[this.Locale.MD_MONTH_POSITION-1],a[this.Locale.MD_DAY_POSITION-1]],a.type=b.MONTH_DAY):(a=[a[this.Locale.MDY_YEAR_POSITION-1],a[this.Locale.MDY_MONTH_POSITION-1],a[this.Locale.MDY_DAY_POSITION-1]],a.type=b.DATE);for(var c=0;cYAHOO.env.ua.webkit&&(0>b||11=b||"BackCompat"==this._doc.compatMode)},show:function(){var b=YAHOO.widget.CalendarNavigator.CLASSES;this.cal.beforeShowNavEvent.fire()&& +(this.__rendered||this.render(),this.clearErrors(),this._updateMonthUI(),this._updateYearUI(),this._show(this.navEl,!0),this.setInitialFocus(),this.showMask(),YAHOO.util.Dom.addClass(this.cal.oDomContainer,b.NAV_VISIBLE),this.cal.showNavEvent.fire())},hide:function(){var b=YAHOO.widget.CalendarNavigator.CLASSES;this.cal.beforeHideNavEvent.fire()&&(this._show(this.navEl,!1),this.hideMask(),YAHOO.util.Dom.removeClass(this.cal.oDomContainer,b.NAV_VISIBLE),this.cal.hideNavEvent.fire())},showMask:function(){this._show(this.maskEl, +!0);this.__isIEQuirks&&this._syncMask()},hideMask:function(){this._show(this.maskEl,!1)},getMonth:function(){return this._month},getYear:function(){return this._year},setMonth:function(b){0<=b&&12>b&&(this._month=b);this._updateMonthUI()},setYear:function(b){var d=YAHOO.widget.CalendarNavigator.YR_PATTERN;YAHOO.lang.isNumber(b)&&d.test(b+"")&&(this._year=b);this._updateYearUI()},render:function(){this.cal.beforeRenderNavEvent.fire();this.__rendered||(this.createNav(),this.createMask(),this.applyListeners(), +this.__rendered=!0);this.cal.renderNavEvent.fire()},createNav:function(){var b=YAHOO.widget.CalendarNavigator,d=this._doc,f=d.createElement("div");f.className=b.CLASSES.NAV;var g=this.renderNavContents([]);f.innerHTML=g.join("");this.cal.oDomContainer.appendChild(f);this.navEl=f;this.yearEl=d.getElementById(this.id+b.YEAR_SUFFIX);this.monthEl=d.getElementById(this.id+b.MONTH_SUFFIX);this.errorEl=d.getElementById(this.id+b.ERROR_SUFFIX);this.submitEl=d.getElementById(this.id+b.SUBMIT_SUFFIX);this.cancelEl= +d.getElementById(this.id+b.CANCEL_SUFFIX);YAHOO.env.ua.gecko&&(this.yearEl&&"text"==this.yearEl.type)&&this.yearEl.setAttribute("autocomplete","off");this._setFirstLastElements()},createMask:function(){var b=YAHOO.widget.CalendarNavigator.CLASSES,d=this._doc.createElement("div");d.className=b.MASK;this.cal.oDomContainer.appendChild(d);this.maskEl=d},_syncMask:function(){var b=this.cal.oDomContainer;b&&this.maskEl&&(b=YAHOO.util.Dom.getRegion(b),YAHOO.util.Dom.setStyle(this.maskEl,"width",b.right- +b.left+"px"),YAHOO.util.Dom.setStyle(this.maskEl,"height",b.bottom-b.top+"px"))},renderNavContents:function(b){var d=YAHOO.widget.CalendarNavigator,f=d.CLASSES;b[b.length]='
';this.renderMonth(b);b[b.length]="
";b[b.length]='
';this.renderYear(b);b[b.length]="
";b[b.length]='
';this.renderButtons(b);b[b.length]="
";b[b.length]='
';return b},renderMonth:function(b){var d= +YAHOO.widget.CalendarNavigator,f=d.CLASSES,d=this.id+d.MONTH_SUFFIX,g=this.__getCfg("monthFormat");if((g=this.cal.cfg.getProperty(g==YAHOO.widget.Calendar.SHORT?"MONTHS_SHORT":"MONTHS_LONG"))&&0';b[b.length]=this.__getCfg("month",!0);b[b.length]="";b[b.length]='"}return b}, +renderYear:function(b){var d=YAHOO.widget.CalendarNavigator,f=d.CLASSES,g=this.id+d.YEAR_SUFFIX,d=d.YR_MAX_DIGITS;b[b.length]='";b[b.length]='';return b},renderButtons:function(b){var d=YAHOO.widget.CalendarNavigator.CLASSES;b[b.length]='';b[b.length]='";b[b.length]="";b[b.length]='';b[b.length]='";b[b.length]="";return b},applyListeners:function(){var b=YAHOO.util.Event;b.on(this.submitEl,"click",this.submit,this,!0);b.on(this.cancelEl,"click",this.cancel,this,!0);b.on(this.yearEl,"blur",function(){this.validate()&&this.setYear(this._getYearFromUI())}, +this,!0);b.on(this.monthEl,"change",function(){this.setMonth(this._getMonthFromUI())},this,!0);if(this.__isIEQuirks)YAHOO.util.Event.on(this.cal.oDomContainer,"resize",this._syncMask,this,!0);this.applyKeyListeners()},purgeListeners:function(){var b=YAHOO.util.Event;b.removeListener(this.submitEl,"click",this.submit);b.removeListener(this.cancelEl,"click",this.cancel);b.removeListener(this.yearEl,"blur");b.removeListener(this.monthEl,"change");this.__isIEQuirks&&b.removeListener(this.cal.oDomContainer, +"resize",this._syncMask);this.purgeKeyListeners()},applyKeyListeners:function(){var b=YAHOO.util.Event,d=YAHOO.env.ua,f=d.ie||d.webkit?"keydown":"keypress",d=d.ie||d.opera||d.webkit?"keydown":"keypress";b.on(this.yearEl,"keypress",this._handleEnterKey,this,!0);b.on(this.yearEl,f,this._handleDirectionKeys,this,!0);b.on(this.lastCtrl,d,this._handleTabKey,this,!0);b.on(this.firstCtrl,d,this._handleShiftTabKey,this,!0)},purgeKeyListeners:function(){var b=YAHOO.util.Event,d=YAHOO.env.ua,f=d.ie||d.webkit? +"keydown":"keypress",d=d.ie||d.opera||d.webkit?"keydown":"keypress";b.removeListener(this.yearEl,"keypress",this._handleEnterKey);b.removeListener(this.yearEl,f,this._handleDirectionKeys);b.removeListener(this.lastCtrl,d,this._handleTabKey);b.removeListener(this.firstCtrl,d,this._handleShiftTabKey)},submit:function(){if(this.validate()){this.hide();this.setMonth(this._getMonthFromUI());this.setYear(this._getYearFromUI());var b=this.cal,d=YAHOO.widget.CalendarNavigator.UPDATE_DELAY;if(0YAHOO.env.ua.webkit&&(this.firstCtrl=this.monthEl,this.lastCtrl=this.yearEl),YAHOO.env.ua.gecko&&(this.lastCtrl=this.firstCtrl=this.yearEl))},_handleEnterKey:function(b){var d=YAHOO.util.KeyListener.KEY;YAHOO.util.Event.getCharCode(b)==d.ENTER&&(YAHOO.util.Event.preventDefault(b),this.submit())},_handleDirectionKeys:function(b){var d=YAHOO.util.Event,f=YAHOO.util.KeyListener.KEY,g=YAHOO.widget.CalendarNavigator,h=this.yearEl.value? +parseInt(this.yearEl.value,10):null;if(isFinite(h)){var e=!1;switch(d.getCharCode(b)){case f.UP:this.yearEl.value=h+g.YR_MINOR_INC;e=!0;break;case f.DOWN:this.yearEl.value=Math.max(h-g.YR_MINOR_INC,0);e=!0;break;case f.PAGE_UP:this.yearEl.value=h+g.YR_MAJOR_INC;e=!0;break;case f.PAGE_DOWN:this.yearEl.value=Math.max(h-g.YR_MAJOR_INC,0),e=!0}if(e){d.preventDefault(b);try{this.yearEl.select()}catch(a){}}}},_handleTabKey:function(b){var d=YAHOO.util.Event,f=YAHOO.util.KeyListener.KEY;if(d.getCharCode(b)== +f.TAB&&!b.shiftKey)try{d.preventDefault(b),this.firstCtrl.focus()}catch(g){}},_handleShiftTabKey:function(b){var d=YAHOO.util.Event,f=YAHOO.util.KeyListener.KEY;if(b.shiftKey&&d.getCharCode(b)==f.TAB)try{d.preventDefault(b),this.lastCtrl.focus()}catch(g){}},__getCfg:function(b,d){var f=YAHOO.widget.CalendarNavigator._DEFAULT_CFG,g=this.cal.cfg.getProperty("navigator");return d?!0!==g&&g.strings&&g.strings[b]?g.strings[b]:f.strings[b]:!0!==g&&g[b]?g[b]:f[b]},__isMac:-1!=navigator.userAgent.toLowerCase().indexOf("macintosh")}; +YAHOO.register("calendar",YAHOO.widget.Calendar,{version:"2.7.0",build:"1799"}); + +YAHOO.util.Attribute=function(e,b){b&&(this.owner=b,this.configure(e,!0))}; +YAHOO.util.Attribute.prototype={name:void 0,value:null,owner:null,readOnly:!1,writeOnce:!1,_initialConfig:null,_written:!1,method:null,setter:null,getter:null,validator:null,getValue:function(){var e=this.value;this.getter&&(e=this.getter.call(this.owner,this.name));return e},setValue:function(e,b){var c,a=this.owner,d=this.name,g={type:d,prevValue:this.getValue(),newValue:e};if(this.readOnly||this.writeOnce&&this._written||this.validator&&!this.validator.call(a,e)||!b&&(c=a.fireBeforeChangeEvent(g), +!1===c))return!1;this.setter&&(e=this.setter.call(a,e,this.name));this.method&&this.method.call(a,e,this.name);this.value=e;this._written=!0;g.type=d;b||this.owner.fireChangeEvent(g);return!0},configure:function(e,b){e=e||{};b&&(this._written=!1);this._initialConfig=this._initialConfig||{};for(var c in e)e.hasOwnProperty(c)&&(this[c]=e[c],b&&(this._initialConfig[c]=e[c]))},resetValue:function(){return this.setValue(this._initialConfig.value)},resetConfig:function(){this.configure(this._initialConfig, +!0)},refresh:function(e){this.setValue(this.value,e)}}; +(function(){var e=YAHOO.util.Lang;YAHOO.util.AttributeProvider=function(){};YAHOO.util.AttributeProvider.prototype={_configs:null,get:function(b){this._configs=this._configs||{};var c=this._configs[b];return!c||!this._configs.hasOwnProperty(b)?null:c.getValue()},set:function(b,c,a){this._configs=this._configs||{};b=this._configs[b];return!b?!1:b.setValue(c,a)},getAttributeKeys:function(){this._configs=this._configs;var b=[],c;for(c in this._configs)e.hasOwnProperty(this._configs,c)&&!e.isUndefined(this._configs[c])&& +(b[b.length]=c);return b},setAttributes:function(b,c){for(var a in b)e.hasOwnProperty(b,a)&&this.set(a,b[a],c)},resetValue:function(b,c){this._configs=this._configs||{};return this._configs[b]?(this.set(b,this._configs[b]._initialConfig.value,c),!0):!1},refresh:function(b,c){var a=this._configs=this._configs||{};b=(e.isString(b)?[b]:b)||this.getAttributeKeys();for(var d=0,g=b.length;d=e&&this.stop();return!0};this.start=function(){null===a&&(a=setInterval(this.run,this.delay))};this.stop=function(c){if(c)this.unRegister(c);else{clearInterval(a); +c=0;for(var f=d.length;c=l&&(h=l-(g+1)),e.currentFrame+=h)}b._onTween.fire()}else YAHOO.util.AnimMgr.stop(b, +a)}}};YAHOO.util.Bezier=new function(){this.getPosition=function(a,d){for(var e=a.length,c=[],f=0;f(a/=c/2)?e/2*a*a+d:-e/2*(--a*(a-2)-1)+d},easeInStrong:function(a,d,e,c){return e*(a/=c)*a*a*a+d},easeOutStrong:function(a,d,e,c){return-e*((a=a/c-1)*a*a*a-1)+d},easeBothStrong:function(a,d,e,c){return 1>(a/=c/2)?e/2*a*a*a*a+d:-e/2*((a-=2)*a*a*a-2)+d},elasticIn:function(a,d,e,c,f,b){if(0==a)return d;if(1== +(a/=c))return d+e;b||(b=0.3*c);!f||fa?-0.5*f*Math.pow(2,10*(a-=1))*Math.sin((a*c-m)*2*Math.PI/b)+d:0.5*f*Math.pow(2,-10*(a-=1))*Math.sin((a*c-m)*2*Math.PI/b)+e+d},backIn:function(a,d,e,c,f){"undefined"==typeof f&&(f=1.70158);return e*(a/=c)*a*((f+1)*a-f)+d},backOut:function(a,d,e,c,f){"undefined"==typeof f&&(f=1.70158);return e*((a=a/c-1)*a*((f+1)*a+f)+1)+d},backBoth:function(a,d,e,c,f){"undefined"==typeof f&&(f=1.70158);return 1>(a/=c/2)?e/2*a*a*(((f*=1.525)+1)*a-f)+d:e/2*((a-=2)*a* +(((f*=1.525)+1)*a+f)+2)+d},bounceIn:function(a,d,e,c){return e-YAHOO.util.Easing.bounceOut(c-a,0,e,c)+d},bounceOut:function(a,d,e,c){return(a/=c)<1/2.75?e*7.5625*a*a+d:a<2/2.75?e*(7.5625*(a-=1.5/2.75)*a+0.75)+d:a<2.5/2.75?e*(7.5625*(a-=2.25/2.75)*a+0.9375)+d:e*(7.5625*(a-=2.625/2.75)*a+0.984375)+d},bounceBoth:function(a,d,e,c){return a0){q+=p(o,"marginTop")+p(o,"marginBottom");}else{q=r(o,"height")+p(o,"marginTop")+p(o,"marginBottom")+p(o,"borderTopWidth")+p(o,"borderBottomWidth")+p(o,"paddingTop")+p(o,"paddingBottom");}break;case"width":q=o.offsetWidth;if(q>0){q+=p(o,"marginLeft")+p(o,"marginRight");}else{q=r(o,"width")+p(o,"marginLeft")+p(o,"marginRight")+p(o,"borderLeftWidth")+p(o,"borderRightWidth")+p(o,"paddingLeft")+p(o,"paddingRight");}break;default:if(m=="int"){q=p(o,n);}else{if(m=="float"){q=r(o,n);}else{q=a.getStyle(o,n);}}break;}return q;}function L(p){var o=this,q,n=0,m=false;if(o._itemsTable.numItems===0){return 0;}if(typeof p=="undefined"){if(o._itemsTable.size>0){return o._itemsTable.size;}}if(k.isUndefined(o._itemsTable.items[0])){return 0;}q=a.get(o._itemsTable.items[0].id);if(typeof p=="undefined"){m=o.get("isVertical");}else{m=p=="height";}if(m){n=Z(q,"height");}else{n=Z(q,"width");}if(typeof p=="undefined"){o._itemsTable.size=n;}return n;}function D(n){var m=this.get("numVisible");return Math.floor(n/m)*m;}function f(o){var n=0,m=0;n=L.call(this);m=n*o;if(this.get("isVertical")){m-=o;}return m;}function d(m,n){n.scrollPageBackward();Y.preventDefault(m);}function g(m,n){n.scrollPageForward();Y.preventDefault(m);}function i(r,n){var v=this,w=v.CLASSES,m,t=v._firstItem,o=v.get("isCircular"),s=v.get("numItems"),u=v.get("numVisible"),q=n,p=t+u-1;if(q>=0&&qp){r=D.call(v,r);v.scrollTo(r);}}function h(){var o=false,r=this,n=r.CLASSES,q,m,p;if(!r._hasRendered){return;}m=r.get("navigation");p=r._firstItem+r.get("numVisible");if(m.prev){if(r.get("numItems")===0||r._firstItem===0){if(r.get("numItems")===0||!r.get("isCircular")){Y.removeListener(m.prev,"click",d);a.addClass(m.prev,n.FIRST_NAV_DISABLED);for(q=0;q=r.get("numItems")){if(!r.get("isCircular")){Y.removeListener(m.next,"click",g);a.addClass(m.next,n.DISABLED);for(q=0;qp.CONFIG.MAX_PAGER_BUTTONS){p._updatePagerMenu();}else{p._updatePagerButtons();}}function A(n){var m=this;if(!k.isObject(n)){return;}switch(n.ev){case O:m._syncUiForItemAdd(n);break;case j:m._syncUiForItemRemove(n);break;case K:m._syncUiForLazyLoading(n);break;}m.fireEvent(J);}function E(p,n){var r=this,q=r.get("currentPage"),o,m=r.get("numVisible");o=parseInt(r._firstItem/m,10);if(o!=q){r.setAttributeConfig("currentPage",{value:o});r.fireEvent(c,o);}if(r.get("selectOnScroll")){if(r.get("selectedItem")!=r._selectedItem){r.set("selectedItem",r._selectedItem);}}clearTimeout(r._autoPlayTimer);delete r._autoPlayTimer;if(r.isAutoPlayOn()){r.startAutoPlay();}r.fireEvent(F,{first:r._firstItem,last:n},r);}Q.getById=function(m){return P[m]?P[m].object:false;};YAHOO.extend(Q,YAHOO.util.Element,{_animObj:null,_carouselEl:null,_clipEl:null,_firstItem:0,_hasFocus:false,_hasRendered:false,_isAnimationInProgress:false,_isAutoPlayInProgress:false,_itemsTable:null,_navBtns:null,_navEl:null,_nextEnabled:true,_pages:null,_prevEnabled:true,_recomputeSize:true,CLASSES:{BUTTON:"yui-carousel-button",CAROUSEL:"yui-carousel",CAROUSEL_EL:"yui-carousel-element",CONTAINER:"yui-carousel-container",CONTENT:"yui-carousel-content",DISABLED:"yui-carousel-button-disabled",FIRST_NAV:" yui-carousel-first-button",FIRST_NAV_DISABLED:"yui-carousel-first-button-disabled",FIRST_PAGE:"yui-carousel-nav-first-page",FOCUSSED_BUTTON:"yui-carousel-button-focus",HORIZONTAL:"yui-carousel-horizontal",ITEM_LOADING:"yui-carousel-item-loading",MIN_WIDTH:"yui-carousel-min-width",NAVIGATION:"yui-carousel-nav",NEXT_NAV:" yui-carousel-next-button",NEXT_PAGE:"yui-carousel-next",NAV_CONTAINER:"yui-carousel-buttons",PAGE_FOCUS:"yui-carousel-nav-page-focus",PREV_PAGE:"yui-carousel-prev",SELECTED_ITEM:"yui-carousel-item-selected",SELECTED_NAV:"yui-carousel-nav-page-selected",VERTICAL:"yui-carousel-vertical",VERTICAL_CONTAINER:"yui-carousel-vertical-container",VISIBLE:"yui-carousel-visible"},CONFIG:{FIRST_VISIBLE:0,HORZ_MIN_WIDTH:180,MAX_PAGER_BUTTONS:5,VERT_MIN_WIDTH:99,NUM_VISIBLE:3},STRINGS:{ITEM_LOADING_CONTENT:"Loading",NEXT_BUTTON_TEXT:"Next Page",PAGER_PREFIX_TEXT:"Go to page ",PREVIOUS_BUTTON_TEXT:"Previous Page"},addItem:function(r,n){var s=this,p,q,m,o=s.get("numItems"); +if(!r){return false;}if(k.isString(r)||r.nodeName){q=r.nodeName?r.innerHTML:r;}else{if(k.isObject(r)){q=r.content;}else{return false;}}p=r.className||"";m=r.id?r.id:a.generateId();if(k.isUndefined(n)){s._itemsTable.items.push({item:q,className:p,id:m});}else{if(n<0||n>=o){return false;}s._itemsTable.items.splice(n,0,{item:q,className:p,id:m});}s._itemsTable.numItems++;if(o0){if(!m.removeItem(0)){}if(m._itemsTable.numItems===0){m.set("numItems",0);break;}o--;}m.fireEvent(b);},focus:function(){var v=this,q,r,s,p,u,w,n,o,m;if(!v._hasRendered){return;}if(v.isAnimating()){return;}m=v.get("selectedItem");w=v.get("numVisible");n=v.get("selectOnScroll");o=(m>=0)?v.getItem(m):null;q=v.get("firstVisible");u=q+w-1;s=(mu);r=(o&&o.id)?a.get(o.id):null;p=v._itemsTable;if(!n&&s){r=(p&&p.items&&p.items[q])?a.get(p.items[q].id):null;}if(r){try{r.focus();}catch(t){}}v.fireEvent(T);},hide:function(){var m=this;if(m.fireEvent(X)!==false){m.removeClass(m.CLASSES.VISIBLE);m.fireEvent(W);}},init:function(o,n){var p=this,m=o,q=false;if(!o){return;}p._hasRendered=false;p._navBtns={prev:[],next:[]};p._pages={el:null,num:0,cur:0};p._itemsTable={loading:{},numItems:0,items:[],size:0};if(k.isString(o)){o=a.get(o);}else{if(!o.nodeName){return;}}Q.superclass.init.call(p,o,n);if(o){if(!o.id){o.setAttribute("id",a.generateId());}q=p._parseCarousel(o);if(!q){p._createCarousel(m);}}else{o=p._createCarousel(m);}m=o.id;p.initEvents();if(q){p._parseCarouselItems();}if(!n||typeof n.isVertical=="undefined"){p.set("isVertical",false);}p._parseCarouselNavigation(o);p._navEl=p._setupCarouselNavigation();P[m]={object:p};p._loadItems();},initAttributes:function(m){var n=this;m=m||{};Q.superclass.initAttributes.call(n,m);n.setAttributeConfig("carouselEl",{validator:k.isString,value:m.carouselEl||"OL"});n.setAttributeConfig("carouselItemEl",{validator:k.isString,value:m.carouselItemEl||"LI"});n.setAttributeConfig("currentPage",{readOnly:true,value:0});n.setAttributeConfig("firstVisible",{method:n._setFirstVisible,validator:n._validateFirstVisible,value:m.firstVisible||n.CONFIG.FIRST_VISIBLE});n.setAttributeConfig("selectOnScroll",{validator:k.isBoolean,value:m.selectOnScroll||true});n.setAttributeConfig("numVisible",{method:n._setNumVisible,validator:n._validateNumVisible,value:m.numVisible||n.CONFIG.NUM_VISIBLE});n.setAttributeConfig("numItems",{method:n._setNumItems,validator:n._validateNumItems,value:n._itemsTable.numItems});n.setAttributeConfig("scrollIncrement",{validator:n._validateScrollIncrement,value:m.scrollIncrement||1});n.setAttributeConfig("selectedItem",{method:n._setSelectedItem,validator:k.isNumber,value:-1});n.setAttributeConfig("revealAmount",{method:n._setRevealAmount,validator:n._validateRevealAmount,value:m.revealAmount||0});n.setAttributeConfig("isCircular",{validator:k.isBoolean,value:m.isCircular||false});n.setAttributeConfig("isVertical",{method:n._setOrientation,validator:k.isBoolean,value:m.isVertical||false});n.setAttributeConfig("navigation",{method:n._setNavigation,validator:n._validateNavigation,value:m.navigation||{prev:null,next:null,page:null}});n.setAttributeConfig("animation",{validator:n._validateAnimation,value:m.animation||{speed:0,effect:null}});n.setAttributeConfig("autoPlay",{validator:k.isNumber,value:m.autoPlay||0});n.setAttributeConfig("autoPlayInterval",{validator:k.isNumber,value:m.autoPlayInterval||0});},initEvents:function(){var o=this,n=o.CLASSES,m;o.on("keydown",o._keyboardEventHandler);o.on(F,h);o.on(O,A);o.on(j,A);o.on(C,function(){if(o._hasFocus){o.focus();}});o.on(K,A);o.on(b,function(p){o.scrollTo(0);h.call(o);N.call(o);});o.on(c,N,o);o.on(G,function(p){o.set("selectedItem",o.get("firstVisible"));h.call(o,p);N.call(o,p);o._setClipContainerSize();});o.on("selectedItemChange",function(p){i.call(o,p.newValue,p.prevValue);if(p.newValue>=0){o._updateTabIndex(o.getElementForItem(p.newValue));}o.fireEvent(C,p.newValue);});o.on(J,function(p){h.call(o,p);N.call(o,p);});o.on("firstVisibleChange",function(p){if(!o.get("selectOnScroll")){if(p.newValue>=0){o._updateTabIndex(o.getElementForItem(p.newValue));}}});o.on("click",function(p){if(o.isAutoPlayOn()){o.stopAutoPlay();}o._itemClickHandler(p);o._pagerClickHandler(p);});Y.onFocus(o.get("element"),function(p,r){var q=Y.getTarget(p);if(q&&q.nodeName.toUpperCase()=="A"&&a.getAncestorByClassName(q,n.NAVIGATION)){if(m){a.removeClass(m,n.PAGE_FOCUS);}m=q.parentNode;a.addClass(m,n.PAGE_FOCUS);}else{if(m){a.removeClass(m,n.PAGE_FOCUS);}}r._hasFocus=true;r._updateNavButtons(Y.getTarget(p),true);},o);Y.onBlur(o.get("element"),function(p,q){q._hasFocus=false;q._updateNavButtons(Y.getTarget(p),false);},o);},isAnimating:function(){return this._isAnimationInProgress;},isAutoPlayOn:function(){return this._isAutoPlayInProgress;},getElementForItem:function(m){var n=this;if(m<0||m>=n.get("numItems")){return null;}if(n._itemsTable.numItems>m){if(!k.isUndefined(n._itemsTable.items[m])){return a.get(n._itemsTable.items[m].id);}}return null;},getElementForItems:function(){var o=this,n=[],m;for(m=0;m=n.get("numItems")){return null;}if(n._itemsTable.numItems>m){if(!k.isUndefined(n._itemsTable.items[m])){return n._itemsTable.items[m];}}return null;},getItems:function(m){return this._itemsTable.items;},getItemPositionById:function(q){var o=this,m=0,p=o._itemsTable.numItems;while(m=m){return false;}o=p._itemsTable.items.splice(n,1);if(o&&o.length==1){p._itemsTable.numItems--;p.set("numItems",m-1);p.fireEvent(j,{item:o[0],pos:n,ev:j});return true;}return false;},render:function(n){var o=this,m=o.CLASSES;o.addClass(m.CAROUSEL);if(!o._clipEl){o._clipEl=o._createCarouselClip();o._clipEl.appendChild(o._carouselEl);}if(n){o.appendChild(o._clipEl);o.appendTo(n);}else{if(!a.inDocument(o.get("element"))){return false;}o.appendChild(o._clipEl);}if(o.get("isVertical")){o.addClass(m.VERTICAL);}else{o.addClass(m.HORIZONTAL);}if(o.get("numItems")<1){return false;}o._refreshUi();return true;},scrollBackward:function(){var m=this;m.scrollTo(m._firstItem-m.get("scrollIncrement"));},scrollForward:function(){var m=this;m.scrollTo(m._firstItem+m.get("scrollIncrement"));},scrollPageBackward:function(){var n=this,m=n._firstItem-n.get("numVisible");if(n.get("selectOnScroll")){n._selectedItem=n._getSelectedItem(m);}else{m=n._getValidIndex(m);}n.scrollTo(m);},scrollPageForward:function(){var n=this,m=n._firstItem+n.get("numVisible");if(n.get("selectOnScroll")){n._selectedItem=n._getSelectedItem(m);}else{m=n._getValidIndex(m);}n.scrollTo(m);},scrollTo:function(AB,n){var AA=this,m,r,p,z,x,w,u,v,q,t,o,s,y;if(k.isUndefined(AB)||AB==AA._firstItem||AA.isAnimating()){return;}r=AA.get("animation");p=AA.get("isCircular");w=AA._firstItem;u=AA.get("numItems");v=AA.get("numVisible");t=AA.get("currentPage");y=function(){if(AA.isAutoPlayOn()){AA.stopAutoPlay();}};if(AB<0){if(p){AB=u+AB;}else{y.call(AA);return;}}else{if(u>0&&AB>u-1){if(AA.get("isCircular")){AB=u-AB;}else{y.call(AA);return;}}}x=(AA._firstItem>AB)?"backward":"forward";s=w+v;s=(s>u-1)?u-1:s;o=AA.fireEvent(e,{dir:x,first:w,last:s});if(o===false){return;}AA.fireEvent(I,{page:t});z=w-AB;AA._firstItem=AB;AA.set("firstVisible",AB);AA._loadItems();s=AB+v;s=(s>u-1)?u-1:s;q=f.call(AA,z);m=r.speed>0;if(m){AA._animateAndSetCarouselOffset(q,AB,s,n);}else{AA._setCarouselOffset(q);E.call(AA,AB,s);}},selectPreviousItem:function(){var o=this,n=0,m=o.get("selectedItem");if(m==this._firstItem){n=m-o.get("numVisible");o._selectedItem=o._getSelectedItem(m-1);o.scrollTo(n);}else{n=o.get("selectedItem")-o.get("scrollIncrement");o.set("selectedItem",o._getSelectedItem(n));}},selectNextItem:function(){var n=this,m=0;m=n.get("selectedItem")+n.get("scrollIncrement");n.set("selectedItem",n._getSelectedItem(m));},show:function(){var n=this,m=n.CLASSES;if(n.fireEvent(U)!==false){n.addClass(m.VISIBLE);n.fireEvent(R);}},startAutoPlay:function(){var m=this,n;if(k.isUndefined(m._autoPlayTimer)){n=m.get("autoPlayInterval");if(n<=0){return;}m._isAutoPlayInProgress=true;m.fireEvent(V);m._autoPlayTimer=setTimeout(function(){m._autoScroll();},n);}},stopAutoPlay:function(){var m=this;if(!k.isUndefined(m._autoPlayTimer)){clearTimeout(m._autoPlayTimer);delete m._autoPlayTimer;m._isAutoPlayInProgress=false;m.fireEvent(l);}},toString:function(){return M+(this.get?" (#"+this.get("id")+")":"");},_animateAndSetCarouselOffset:function(r,p,n){var q=this,o=q.get("animation"),m=null;if(q.get("isVertical")){m=new YAHOO.util.Motion(q._carouselEl,{points:{by:[0,r]}},o.speed,o.effect);}else{m=new YAHOO.util.Motion(q._carouselEl,{points:{by:[r,0]}},o.speed,o.effect);}q._isAnimationInProgress=true;m.onComplete.subscribe(q._animationCompleteHandler,{scope:q,item:p,last:n});m.animate();},_animationCompleteHandler:function(m,n,q){q.scope._isAnimationInProgress=false;E.call(q.scope,q.item,q.last);},_autoScroll:function(){var n=this,o=n._firstItem,m;if(o>=n.get("numItems")-1){if(n.get("isCircular")){m=0;}else{n.stopAutoPlay();}}else{m=o+n.get("numVisible");}n._selectedItem=n._getSelectedItem(m);n.scrollTo.call(n,m);},_createCarousel:function(n){var p=this,m=p.CLASSES,o=a.get(n);if(!o){o=S("DIV",{className:m.CAROUSEL,id:n});}if(!p._carouselEl){p._carouselEl=S(p.get("carouselEl"),{className:m.CAROUSEL_EL});}return o;},_createCarouselClip:function(){return S("DIV",{className:this.CLASSES.CONTENT});},_createCarouselItem:function(m){return S(this.get("carouselItemEl"),{className:m.className,content:m.content,id:m.id});},_getValidIndex:function(o){var q=this,m=q.get("isCircular"),p=q.get("numItems"),n=p-1;if(o<0){o=m?p+o:0;}else{if(o>n){o=m?o-p:n;}}return o;},_getSelectedItem:function(q){var p=this,m=p.get("isCircular"),o=p.get("numItems"),n=o-1;if(q<0){if(m){q=o+q;}else{q=p.get("selectedItem");}}else{if(q>n){if(m){q=q-o;}else{q=p.get("selectedItem");}}}return q;},_itemClickHandler:function(p){var r=this,m=r.get("element"),n,o,q=YAHOO.util.Event.getTarget(p);while(q&&q!=m&&q.id!=r._carouselEl){n=q.nodeName;if(n.toUpperCase()==r.get("carouselItemEl")){break;}q=q.parentNode;}if((o=r.getItemPositionById(q.id))>=0){r.set("selectedItem",r._getSelectedItem(o));r.focus();}},_keyboardEventHandler:function(o){var p=this,n=Y.getCharCode(o),m=false;if(p.isAnimating()){return;}switch(n){case 37:case 38:p.selectPreviousItem();m=true;break;case 39:case 40:p.selectNextItem();m=true;break;case 33:p.scrollPageBackward();m=true;break;case 34:p.scrollPageForward();m=true;break;}if(m){if(p.isAutoPlayOn()){p.stopAutoPlay();}Y.preventDefault(o);}},_loadItems:function(){var q=this,r=q.get("firstVisible"),n=0,m=q.get("numItems"),o=q.get("numVisible"),p=q.get("revealAmount");n=r+o-1+(p?1:0);n=n>m-1?m-1:n;if(!q.getItem(r)||!q.getItem(n)){q.fireEvent(K,{ev:K,first:r,last:n,num:n-r});}},_pagerClickHandler:function(n){var p=this,r,o=Y.getTarget(n),q;function m(t){var s=p.get("carouselItemEl");if(t.nodeName.toUpperCase()==s.toUpperCase()){t=a.getChildrenBy(t,function(u){return u.href||u.value;});if(t&&t[0]){return t[0];}}else{if(t.href||t.value){return t;}}return null;}if(o){o=m(o);if(!o){return;}q=o.href||o.value;if(k.isString(q)&&q){r=q.lastIndexOf("#");if(r!=-1){q=p.getItemPositionById(q.substring(r+1));p._selectedItem=q;p.scrollTo(q);if(!o.value){p.focus();}Y.preventDefault(n);}}}},_parseCarousel:function(o){var r=this,s,m,n,q,p; +m=r.CLASSES;n=r.get("carouselEl");q=false;for(s=o.firstChild;s;s=s.nextSibling){if(s.nodeType==1){p=s.nodeName;if(p.toUpperCase()==n){r._carouselEl=s;a.addClass(r._carouselEl,r.CLASSES.CAROUSEL_EL);q=true;}}}return q;},_parseCarouselItems:function(){var q=this,r,m,n,p,o=q._carouselEl;m=q.get("carouselItemEl");for(r=o.firstChild;r;r=r.nextSibling){if(r.nodeType==1){p=r.nodeName;if(p.toUpperCase()==m){if(r.id){n=r.id;}else{n=a.generateId();r.setAttribute("id",n);}q.addItem(r);}}}},_parseCarouselNavigation:function(s){var t=this,r,u=t.CLASSES,n,q,p,m,o=false;m=a.getElementsByClassName(u.PREV_PAGE,"*",s);if(m.length>0){for(q in m){if(m.hasOwnProperty(q)){n=m[q];if(n.nodeName=="INPUT"||n.nodeName=="BUTTON"){t._navBtns.prev.push(n);}else{p=n.getElementsByTagName("INPUT");if(k.isArray(p)&&p.length>0){t._navBtns.prev.push(p[0]);}else{p=n.getElementsByTagName("BUTTON");if(k.isArray(p)&&p.length>0){t._navBtns.prev.push(p[0]);}}}}}r={prev:m};}m=a.getElementsByClassName(u.NEXT_PAGE,"*",s);if(m.length>0){for(q in m){if(m.hasOwnProperty(q)){n=m[q];if(n.nodeName=="INPUT"||n.nodeName=="BUTTON"){t._navBtns.next.push(n);}else{p=n.getElementsByTagName("INPUT");if(k.isArray(p)&&p.length>0){t._navBtns.next.push(p[0]);}else{p=n.getElementsByTagName("BUTTON");if(k.isArray(p)&&p.length>0){t._navBtns.next.push(p[0]);}}}}}if(r){r.next=m;}else{r={next:m};}}if(r){t.set("navigation",r);o=true;}return o;},_refreshUi:function(){var m=this;m._hasRendered=true;m.fireEvent(G);},_setCarouselOffset:function(o){var m=this,n;n=m.get("isVertical")?"top":"left";o+=o!==0?Z(m._carouselEl,n):0;a.setStyle(m._carouselEl,n,o+"px");},_setupCarouselNavigation:function(){var r=this,p,n,m,t,q,s,o;m=r.CLASSES;q=a.getElementsByClassName(m.NAVIGATION,"DIV",r.get("element"));if(q.length===0){q=S("DIV",{className:m.NAVIGATION});r.insertBefore(q,a.getFirstChild(r.get("element")));}else{q=q[0];}r._pages.el=S("UL");q.appendChild(r._pages.el);t=r.get("navigation");if(k.isString(t.prev)||k.isArray(t.prev)){if(k.isString(t.prev)){t.prev=[t.prev];}for(p in t.prev){if(t.prev.hasOwnProperty(p)){r._navBtns.prev.push(a.get(t.prev[p]));}}}else{o=S("SPAN",{className:m.BUTTON+m.FIRST_NAV});a.setStyle(o,"visibility","visible");p=a.generateId();o.innerHTML='";q.appendChild(o);p=a.get(p);r._navBtns.prev=[p];n={prev:[o]};}if(k.isString(t.next)||k.isArray(t.next)){if(k.isString(t.next)){t.next=[t.next];}for(p in t.next){if(t.next.hasOwnProperty(p)){r._navBtns.next.push(a.get(t.next[p]));}}}else{s=S("SPAN",{className:m.BUTTON+m.NEXT_NAV});a.setStyle(s,"visibility","visible");p=a.generateId();s.innerHTML='";q.appendChild(s);p=a.get(p);r._navBtns.next=[p];if(n){n.next=[s];}else{n={next:[s]};}}if(n){r.set("navigation",n);}return q;},_setClipContainerSize:function(n,p){var u=this,q,m,r,s,t,v,o;r=u.get("isVertical");t=u.get("revealAmount");o=r?"height":"width";q=r?"top":"left";n=n||u._clipEl;if(!n){return;}p=p||u.get("numVisible");s=L.call(u,o);v=s*p;u._recomputeSize=(v===0);if(u._recomputeSize){u._hasRendered=false;return;}if(t>0){t=s*(t/100)*2;v+=t;m=parseFloat(a.getStyle(u._carouselEl,q));m=k.isNumber(m)?m:0;a.setStyle(u._carouselEl,q,m+(t/2)+"px");}if(r){v+=Z(u._carouselEl,"marginTop")+Z(u._carouselEl,"marginBottom")+Z(u._carouselEl,"paddingTop")+Z(u._carouselEl,"paddingBottom")+Z(u._carouselEl,"borderTopWidth")+Z(u._carouselEl,"borderBottomWidth");a.setStyle(n,o,(v-(p-1))+"px");}else{v+=Z(u._carouselEl,"marginLeft")+Z(u._carouselEl,"marginRight")+Z(u._carouselEl,"paddingLeft")+Z(u._carouselEl,"paddingRight")+Z(u._carouselEl,"borderLeftWidth")+Z(u._carouselEl,"borderRightWidth");a.setStyle(n,o,v+"px");}u._setContainerSize(n);},_setContainerSize:function(q,m){var r=this,o=r.CONFIG,n=r.CLASSES,s,p;s=r.get("isVertical");q=q||r._clipEl;m=m||(s?"height":"width");p=parseFloat(a.getStyle(q,m),10);p=k.isNumber(p)?p:0;if(s){p+=Z(r._carouselEl,"marginTop")+Z(r._carouselEl,"marginBottom")+Z(r._carouselEl,"paddingTop")+Z(r._carouselEl,"paddingBottom")+Z(r._carouselEl,"borderTopWidth")+Z(r._carouselEl,"borderBottomWidth")+Z(r._navEl,"height");}else{p+=Z(q,"marginLeft")+Z(q,"marginRight")+Z(q,"paddingLeft")+Z(q,"paddingRight")+Z(q,"borderLeftWidth")+Z(q,"borderRightWidth");}if(!s){if(p=0&&no){n.removeItem(m-1);m--;}}return o;},_setOrientation:function(o){var n=this,m=n.CLASSES;if(o){n.replaceClass(m.HORIZONTAL,m.VERTICAL);}else{n.replaceClass(m.VERTICAL,m.HORIZONTAL);}n._itemsTable.size=0;return o;},_setRevealAmount:function(n){var m=this;if(n>=0&&n<=100){n=parseInt(n,10);n=k.isNumber(n)?n:0;m._setClipContainerSize();}else{n=m.get("revealAmount");}return n;},_setSelectedItem:function(m){this._selectedItem=m;},_syncUiForItemAdd:function(p){var t=this,r=t._carouselEl,m,u,o=t._itemsTable,n,q,s;q=k.isUndefined(p.pos)?o.numItems-1:p.pos;if(!k.isUndefined(o.items[q])){u=o.items[q];if(u&&!k.isUndefined(u.id)){n=a.get(u.id);}}if(!n){m=t._createCarouselItem({className:u.className,content:u.item,id:u.id});if(k.isUndefined(p.pos)){if(!k.isUndefined(o.loading[q])){n=o.loading[q];}if(n){r.replaceChild(m,n);delete o.loading[q];}else{r.appendChild(m);}}else{if(!k.isUndefined(o.items[p.pos+1])){s=a.get(o.items[p.pos+1].id); +}if(s){r.insertBefore(m,s);}else{}}}else{if(k.isUndefined(p.pos)){if(!a.isAncestor(t._carouselEl,n)){r.appendChild(n);}}else{if(!a.isAncestor(r,n)){if(!k.isUndefined(o.items[p.pos+1])){r.insertBefore(n,a.get(o.items[p.pos+1].id));}}}}if(!t._hasRendered){t._refreshUi();}if(t.get("selectedItem")<0){t.set("selectedItem",t.get("firstVisible"));}},_syncUiForItemRemove:function(r){var q=this,m=q._carouselEl,o,p,n,s;n=q.get("numItems");p=r.item;s=r.pos;if(p&&(o=a.get(p.id))){if(o&&a.isAncestor(m,o)){Y.purgeElement(o,true);m.removeChild(o);}if(q.get("selectedItem")==s){s=s>=n?n-1:s;q.set("selectedItem",s);}}else{}},_syncUiForLazyLoading:function(s){var r=this,n=r._carouselEl,q,o,m=r._itemsTable,p;for(o=s.first;o<=s.last;o++){q=r._createCarouselItem({className:r.CLASSES.ITEM_LOADING,content:r.STRINGS.ITEM_LOADING_CONTENT,id:a.generateId()});if(q){if(!k.isUndefined(m.items[s.last+1])){p=a.get(m.items[s.last+1].id);if(p){n.insertBefore(q,p);}else{}}else{n.appendChild(q);}}m.loading[o]=q;}},_updateNavButtons:function(q,n){var o,m=this.CLASSES,r,p=q.parentNode;if(!p){return;}r=p.parentNode;if(q.nodeName.toUpperCase()=="BUTTON"&&a.hasClass(p,m.BUTTON)){if(n){if(r){o=a.getChildren(r);if(o){a.removeClass(o,m.FOCUSSED_BUTTON);}}a.addClass(p,m.FOCUSSED_BUTTON);}else{a.removeClass(p,m.FOCUSSED_BUTTON);}}},_updatePagerButtons:function(){var v=this,t=v.CLASSES,u=v._pages.cur,m,s,q,w,o=v.get("numVisible"),r=v._pages.num,p=v._pages.el;if(r===0||!p){return;}a.setStyle(p,"visibility","hidden");while(p.firstChild){p.removeChild(p.firstChild);}for(q=0;q'+v.STRINGS.PAGER_PREFIX_TEXT+" "+(q+1)+"";m.innerHTML=s;p.appendChild(m);}a.setStyle(p,"visibility","visible");},_updatePagerMenu:function(){var u=this,t=u._pages.cur,o,r,v,p=u.get("numVisible"),s=u._pages.num,q=u._pages.el,m;if(s===0){return;}m=document.createElement("SELECT");if(!m){return;}a.setStyle(q,"visibility","hidden");while(q.firstChild){q.removeChild(q.firstChild);}for(r=0;r=0&&o=0);},_validateNumVisible:function(m){var n=false;if(k.isNumber(m)){n=m>0&&m<=this.get("numItems");}return n;},_validateRevealAmount:function(m){var n=false;if(k.isNumber(m)){n=m>=0&&m<100;}return n;},_validateScrollIncrement:function(m){var n=false;if(k.isNumber(m)){n=(m>0&&ma.length))for(var d=0,c=a.length;darr.length))for(var a=numargs-1;0<=a;a--)"string"==typeof arr[a]?b.preloadImages.imageQueue.unshift(arr[a]):"object"==typeof arr[a]&&0$1';jQuery(this).html(jQuery(this).html().replace(RegExp("("+a+'(?![\\w\\s?&.\\/;#~%"=-]*>))',"ig"),c))})};jQuery.fn.autolink=function(){return this.each(function(){jQuery(this).html(jQuery(this).html().replace(/((http|https|ftp):\/\/[\w?=&.\/-;#~%-]+(?![\w\s?&.\/;#~%"=-]*>))/g,'$1 '))})}; +jQuery.fn.mailto=function(){return this.each(function(){jQuery(this).html(jQuery(this).html().replace(/(([a-z0-9*._+]){1,}\@(([a-z0-9]+[-]?){1,}[a-z0-9]+\.){1,}([a-z]{2,4}|museum)(?![\w\s?&.\/;#~%"=-]*>))/g,'$1'))})}; + +jQuery(document).ready(function(){var b="url(/content/images/Strip1.jpg) no-repeat;url(/content/images/Strip2.jpg) no-repeat;url(/content/images/Strip3.jpg) no-repeat;url(/content/images/Strip4.jpg) no-repeat;url(/content/images/strip5.jpg) no-repeat;url(/content/images/Strip6.jpg) no-repeat".split(";"),a=b.length,a=Math.round(Math.random()*(a-1));jQuery("#banner").css("background",b[a])}); + +jQuery(document).ready(function(){jQuery("label.hint").labelOver("#searchTerms");jQuery("label.hint").labelOver("pub-year");jQuery("label.hint").labelOver("#search-terms");jQuery("label.hint").labelOver("location-terms")}); + +(function(c){function l(){c.fn.ajaxSubmit.debug&&(window.console&&window.console.log)&&window.console.log("[jquery.form] "+Array.prototype.join.call(arguments,""))}c.fn.ajaxSubmit=function(a){function g(){function d(){if(!q++){n.detachEvent?n.detachEvent("onload",d):n.removeEventListener("load",d,!1);var a=!0;try{if(r)throw"timeout";var e,f;f=n.contentWindow?n.contentWindow.document:n.contentDocument?n.contentDocument:n.document;if((null==f.body||""==f.body.innerHTML)&&!s){s=1;q--;setTimeout(d,100); +return}m.responseText=f.body?f.body.innerHTML:null;m.responseXML=f.XMLDocument?f.XMLDocument:f;m.getResponseHeader=function(a){return{"content-type":b.dataType}[a]};if("json"==b.dataType||"script"==b.dataType){var h=f.getElementsByTagName("textarea")[0];m.responseText=h?h.value:m.responseText}else"xml"==b.dataType&&(!m.responseXML&&null!=m.responseText)&&(m.responseXML=g(m.responseText));e=c.httpData(m,b.dataType)}catch(k){a=!1,c.handleError(b,m,"error",k)}a&&(b.success(e,"success"),l&&c.event.trigger("ajaxSuccess", +[m,b]));l&&c.event.trigger("ajaxComplete",[m,b]);l&&!--c.active&&c.event.trigger("ajaxStop");b.complete&&b.complete(m,a?"success":"error");setTimeout(function(){p.remove();m.responseXML=null},100)}}function g(a,b){window.ActiveXObject?(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a)):b=(new DOMParser).parseFromString(a,"text/xml");return b&&b.documentElement&&"parsererror"!=b.documentElement.tagName?b:null}var e=h[0];if(c(":input[name=submit]",e).length)alert('Error: Form elements must not be named "submit".'); +else{var b=c.extend({},c.ajaxSettings,a),f=jQuery.extend(!0,{},c.extend(!0,{},c.ajaxSettings),b),k="jqFormIO"+(new Date).getTime(),p=c('