/*
font resizer
*/
function resizeText(multiplier) {
var c = document.getElementById("content"); /* apply to #content only */
if (c.style.fontSize == "") {
c.style.fontSize = "1.0em";
}
c.style.fontSize = parseFloat(c.style.fontSize) + (multiplier * 0.2) + "em";
}
/*
pullquote function by Roger Johansson, http://www.456bereastreet.com/
*/
var pullquote = {
init : function() {
/* Check that the browser supports the methods used */
if (!document.getElementById || !document.createElement || !document.appendChild) return false;
var oElement, oPullquote, oPullquoteP, oQuoteContent, i, j;
/* Find all span elements with a class name of pullquote */
var arrElements = document.getElementsByTagName('span');
var oRegExp = new RegExp("(^|\\s)pullquote(\\s|$)");
for (i=0; ia.indexOf("[")&&0>a.indexOf("]")){if(f=/[ph][0-9]+|s[0-9,]+|[0-9]/g,a)for(;null!==(d=f.exec(a));)if(g=d[0].substring(0,1),d=d[0].substring(1),"p"===g)b=parseInt(d,10);else if("h"===g)c.push(parseInt(d,10));else{d=d.split(",");for(g=0;g"+this.rtrim(b[d])+"";b=b.join(". ").replace(/__DOT__/g,".").replace(/<\/span>\./g,".");d=b.substring(b.length-8).charCodeAt(0);-1==="|8221|63|46|41|39|37|34|33|".indexOf(d)&&(b+=".");c.innerHTML=b;c.setAttribute("data-sentences",a);h(this).removeClass(this.classActive);e.addClass(this.classActive);e.addClass(this.classReady);b=!0}b&&this.updateURLHash()}}},paragraphInfo:function(a){var b,c,e,d,f;if(a){if(a=h("span."+this.classInfo),0===
a.length){b=this.paragraphList();a=b.list.length;for(c=0;cΒΆ"+e.innerHTML}}else{b=h("span."+this.classInfo);a=b.length;for(c=0;cg+h&&(e=f,d=b.list[f]))}return{index:e,elm:d}},goAnchor:function(a){if(a){var b=isNaN(a)?this.findKey(a).elm:this.paragraphList().list[a-1]||!1;b&&setTimeout(function(){h(window).scrollTop(h(b).offset().top)},500)}},goHighlight:function(a,b){if(a){var c=a.length,e,d,f,g,i,l,j,m,k;for(e=0;e"+i[j]+"";for(j=0;j\./g,".");h(d).addClass("emReady")}}},getSentences:function(a){var a="string"===typeof a?a:a.innerHTML,b="A,B,C,D,E,F,G,H,I,J,K,L,M,m,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,etc,oz,cf,viz,sc,ca,Ave,St,Calif,Mass,Penn,AK,AL,AR,AS,AZ,CA,CO,CT,DC,DE,FL,FM,GA,GU,HI,IA,ID,IL,IN,KS,KY,LA,MA,MD,ME,MH,MI,MN,MO,MP,MS,MT,NC,ND,NE,NH,NJ,NM,NV,NY,OH,OK,OR,PA,PR,PW,RI,SC,SD,TN,TX,UT,VA,VI,VT,WA,WI,WV,WY,AE,AA,AP,NYC,GB,IRL,IE,UK,GB,FR,0,1,2,3,4,5,6,7,8,9,www".split(","),
c=b.length,e;for(e=0;e