function xcollapse(id){var ccommid=document.getElementById(id);if(ccommid!==null){if(ccommid.style.display=='block'){ccommid.style.display='none';}else{ccommid.style.display='block';}}};var quotcoll_requrl,quotcoll_nextquote,quotcoll_loading,quotcoll_errortext,quotcoll_auto_refresh_max;var quotcoll_auto_refresh_count=0;function quotescollection_init(requrl,nextquote,loading,errortext,auto_refresh_max){quotcoll_requrl=requrl;quotcoll_nextquote=nextquote;quotcoll_loading=loading;quotcoll_errortext=errortext;quotcoll_auto_refresh_max=auto_refresh_max;}function quotescollection_timer(instance,current,show_author,show_source,filter_tags,char_limit,auto_refresh,random_refresh){var time_interval=auto_refresh*1000;if((quotcoll_auto_refresh_max==0)||(quotcoll_auto_refresh_count<quotcoll_auto_refresh_max)){setTimeout("quotescollection_refresh("+instance+", "+current+", "+show_author+", "+show_source+", '"+filter_tags+"', "+char_limit+", "+auto_refresh+", "+random_refresh+")",time_interval);quotcoll_auto_refresh_count+=1;}}function quotescollection_refresh(instance,current,show_author,show_source,filter_tags,char_limit,auto_refresh,random_refresh){jQuery("#quotescollection_nextquote-"+instance).html(quotcoll_loading);jQuery.ajax({type:"POST",url:quotcoll_requrl,data:"refresh="+instance+"&current="+current+"&show_author="+show_author+"&show_source="+show_source+"&char_limit="+char_limit+"&tags="+filter_tags+"&auto_refresh="+auto_refresh+"&random_refresh="+random_refresh,success:function(response){jQuery("#quotescollection_randomquote-"+instance).hide();jQuery("#quotescollection_randomquote-"+instance).html(response);jQuery("#quotescollection_randomquote-"+instance).fadeIn("slow");},error:function(xhr,textStatus,errorThrown){if(auto_refresh==0)jQuery("#quotescollection_nextquote-"+instance).html('<a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh('+instance+', '+exclude+', '+show_author+', '+show_source+', \''+filter_tags+'\', '+char_limit+')\">'+quotcoll_nextquote+'</a>');}});};ST_JSON=new function(){this.encode=function(){var self=arguments.length?arguments[0]:this,result,tmp;if(self===null){result="null"}else{if(self!==undefined&&(tmp=$[typeof self](self))){switch(tmp){case Array:result=[];for(var i=0,j=0,k=self.length;j<k;j++){if(self[j]!==undefined&&(tmp=ST_JSON.encode(self[j]))){result[i++]=tmp}}result="[".concat(result.join(","),"]");break;case Boolean:result=String(self);break;case Date:result='"'.concat(self.getFullYear(),"-",d(self.getMonth()+1),"-",d(self.getDate()),"T",d(self.getHours()),":",d(self.getMinutes()),":",d(self.getSeconds()),'"');break;case Function:break;case Number:result=isFinite(self)?String(self):"null";break;case String:result='"'.concat(self.replace(rs,s).replace(ru,u),'"');break;default:var i=0,key;result=[];for(key in self){if(self[key]!==undefined&&(tmp=ST_JSON.encode(self[key]))){result[i++]='"'.concat(key.replace(rs,s).replace(ru,u),'":',tmp)}}result="{".concat(result.join(","),"}");break}}}return result};var c={"\b":"b","\t":"t","\n":"n","\f":"f","\r":"r",'"':'"',"\\":"\\","/":"/"},d=function(n){return n<10?"0".concat(n):n},e=function(c,f,e){e=eval;delete eval;if(typeof eval==="undefined"){eval=e}f=eval(""+c);eval=e;return f},i=function(e,p,l){return 1*e.substr(p,l)},p=["","000","00","0",""],rc=null,rd=/^[0-9]{4}\-[0-9]{2}\-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$/,rs=/(\x5c|\x2F|\x22|[\x0c-\x0d]|[\x08-\x0a])/g,rt=/^([0-9]+|[0-9]+[,\.][0-9]{1,3})$/,ru=/([\x00-\x07]|\x0b|[\x0e-\x1f])/g,s=function(i,d){return"\\".concat(c[d])},u=function(i,d){var n=d.charCodeAt(0).toString(16);return"\\u".concat(p[n.length],n)},v=function(k,v){return $[typeof result](result)!==Function&&(v.hasOwnProperty?v.hasOwnProperty(k):v.constructor.prototype[k]!==v[k])},$={"boolean":function(){return Boolean},"function":function(){return Function},number:function(){return Number},object:function(o){return o instanceof o.constructor?o.constructor:null},string:function(){return String},"undefined":function(){return null}},$$=function(m){function $(c,t){t=c[m];delete c[m];try{e(c)}catch(z){c[m]=t;return 1}}return $(Array)&&$(Object)};try{rc=new RegExp('^("(\\\\.|[^"\\\\\\n\\r])*?"|[,:{}\\[\\]0-9.\\-+Eaeflnr-u \\n\\r\\t])+?$')}catch(z){rc=/^(true|false|null|\[.*\]|\{.*\}|".*"|\d+|\d+\.\d+)$/}};try{if(!SHARETHIS){if(!SHARETHIS_TOOLBAR){var SHARETHIS_TOOLBAR=false}var SHARETHIS=null;function parseQueryString(b){var d={};if(b==undefined){b=location.search?location.search:""}if(b.charAt(0)=="?"){b=b.substring(1)}var f=b.indexOf("?");if(f){b=b.substring(f+1)}f=b.indexOf("#");if(f){b=b.substring(f+1)}b=b.replace("+"," ");var g=b.split(/[&;]/g);for(var f=0;f<g.length;f++){var c=g[f].split("=");var a=decodeURIComponent(c[0]);var e=decodeURIComponent(c[1]);if(!d[a]){d[a]=[]}d[a].push((c.length==1)?"":e)}return d}var stVisibleInterval=null;var readyTestInterval=null;var st_showing=false;var stautoclose=true;function SHARETHIS_merge(){var e={};for(var d=0,a=arguments.length;d<a;d++){var b=arguments[d];if(SHARETHIS_typeof(b)!="object"){continue}for(var c in b){var g=b[c],f=e[c];e[c]=(f&&SHARETHIS_typeof(g)=="object"&&SHARETHIS_typeof(f)=="object")?SHARETHIS_merge(f,g):SHARETHIS_unlink(g)}}return e}function SHARETHIS_unlink(c){var a;switch(SHARETHIS_typeof(c)){case"object":a={};for(var e in c){a[e]=SHARETHIS_unlink(c[e])}break;case"hash":a=SHARETHIS_unlink(c.getClean());break;case"array":a=[];for(var d=0,b=c.length;d<b;d++){a[d]=SHARETHIS_unlink(c[d])}break;default:return c}return a}function SHARETHIS_typeof(a){if(SHARETHIS_isArray(a)){return"array"}else{return typeof a}}function SHARETHIS_isArray(c){var b=c!=null&&typeof c=="object"&&"splice"in c&&"join"in c;return b}function Shareable(b,a){this.idx=-1;this.frameUrl="";this.element=null;this.trigger=null;this.page="";this.properties={type:"",title:encodeURIComponent(document.title),summary:"",content:"",url:document.URL,icon:"",category:"",updated:document.lastModified,published:"",author:""};this.options={button:true,onmouseover:true,buttonText:"ShareThis",popup:false,offsetLeft:0,offsetTop:0,embeds:false,autoclose:false};this.initialize=function(d,c){this.options=SHARETHIS_merge(this.options,c);this.properties=SHARETHIS_merge(this.properties,d);if(c.target){var e=this;c.target.onclick=function(){e.share()};if(c.mouseover){c.target.onmouseover=function(){e.share()}}}};this.initialize(b,a);this.share=function(){frames.stframe.location=this.frameUrl+"#getObject/"+SHARETHIS.guid+"/"+this.idx};this.attachButton=function(c){this.element=c;c.setAttribute("st_page","home");if(this.options.onmouseover){c.onmouseover=this.popup}else{c.onclick=this.popup}};this.attachChicklet=function(f,c){switch(f){case"facebook":c.setAttribute("st_dest","facebook.com");var e=c.childNodes;for(var d=0;d<e.length;d++){var h=e[d];try{h.setAttribute("st_dest","facebook.com")}catch(g){}}c.onclick=this.chicklet;break;case"digg":c.setAttribute("st_dest","digg.com");var e=c.childNodes;for(var d=0;d<e.length;d++){var h=e[d];try{h.setAttribute("st_dest","digg.com")}catch(g){}}c.onclick=this.chicklet;break;case"yahoo_buzz":c.setAttribute("st_dest","buzz.yahoo.com");var e=c.childNodes;for(var d=0;d<e.length;d++){var h=e[d];try{h.setAttribute("st_dest","buzz.yahoo.com")}catch(g){}}c.onclick=this.chicklet;break;case"email":c.setAttribute("st_page","send");var e=c.childNodes;for(var d=0;d<e.length;d++){var h=e[d];try{h.setAttribute("st_page","send")}catch(g){}}c.onclick=this.popup;break;case"twitter":c.setAttribute("st_dest","twitter.com");var e=c.childNodes;for(var d=0;d<e.length;d++){var h=e[d];try{h.setAttribute("st_dest","twitter.com")}catch(g){}}c.onclick=this.chicklet;break;case"myspace":c.setAttribute("st_dest","myspace.com");var e=c.childNodes;for(var d=0;d<e.length;d++){var h=e[d];try{h.setAttribute("st_dest","myspace.com")}catch(g){}}c.onclick=this.chicklet;break;case"aim":c.setAttribute("st_dest","aim.com");var e=c.childNodes;for(var d=0;d<e.length;d++){var h=e[d];try{h.setAttribute("st_dest","aim.com")}catch(g){}}c.onclick=this.chicklet;break;case"mixx":c.setAttribute("st_dest","mixx.com");var e=c.childNodes;for(var d=0;d<e.length;d++){var h=e[d];try{h.setAttribute("st_dest","mixx.com")}catch(g){}}c.onclick=this.chicklet;break}}}function ShareThis(options){if(typeof(options)=="undefined"){options={}}this.version=2.03;this.tmpSendData="";this.sendArray=[];this.sendInit=[];this.sendNum=0;this.guid=null;this.popExists=false;this.popup_win=null;this.newwinfrag="";this.page=null;this.shareables=[];this.readyList=[];this.postUrl="";this.frameUrl="";this.counter=0;this.wrapper=null;this.ready=false;this.popupCalled=false;this.referrer_sts="";this.shr_flag="";this.publisherID=(typeof(stLight)!=="undefined")?stLight.publisher:null;this.bodyLoaded=false;if(options&&typeof(options.publisher)!=="undefined"){this.publisherID=options.publisher[0]}this.publisherID=(typeof(stLight)!=="undefined")?stLight.publisher:this.publisherID;this.sessionID_time=(new Date()).getTime().toString();this.sessionID_rand=Number(Math.random().toPrecision(5).toString().substr(2)).toString();this.sessionID=this.sessionID_time+"."+this.sessionID_rand;this.sessionID=(typeof(stLight)!=="undefined")?stLight.sessionID:this.sessionID;options.sessionID=this.sessionID;this.fpc=(typeof(stLight)!=="undefined")?stLight.fpc:_stFpc();_stGetD();options.fpc=this.fpc;options.pUrl=encodeURIComponent(document.location.href);this.widgetCalled=false;this.lastUrl="blank";this.logFlag=true;this.closebutton=null;this.widgetExists=false;this.oldScroll=0;this.fp=null;this.currentId=null;this.toolbar=false;this.st_clicked=false;this.st_clicked_o=null;this.curr_offsetTop=0;this.curr_offsetLeft=0;this.frameReady=false;this.delayShow=false;this.numIframe=0;this.frameLoaded=false;this.curr_id=null;this.current_element=null;this.opt_arr=[];this.mousetimer=null;this.autoPosition=true;this.openDuration=0;this.stopClosing=false;this.inTime=0;this.outTime=0;this.buttonCount=0;this.buttonClicked=false;this.meta={publisher:"",hostname:location.host,location:location.pathname};this.positionWidget=function(){var id=SHARETHIS.curr_id;var shareel=SHARETHIS.current_element;if(shareel==null){shareel=document.getElementById(id)}var curleft=curtop=0;if(shareel.offsetParent){curleft=shareel.offsetLeft;curtop=shareel.offsetTop;while(shareel=shareel.offsetParent){curleft+=shareel.offsetLeft;curtop+=shareel.offsetTop}}shareel=SHARETHIS.current_element;if(shareel==null){shareel=document.getElementById(id)}var eltop=0;var elleft=0;var topVal=0;var leftVal=0;var elemH=0;var elemW=0;eltop=curtop+shareel.offsetHeight+5;elleft=curleft+5;topVal=(eltop+SHARETHIS.curr_offsetTop);topVal=eval(topVal);elemH=topVal;topVal+="px";leftVal=(elleft+SHARETHIS.curr_offsetLeft);leftVal=eval(leftVal);elemW=leftVal;leftVal+="px";SHARETHIS.wrapper.style.top=topVal;SHARETHIS.wrapper.style.left=leftVal;if(SHARETHIS.autoPosition==true){SHARETHIS.oldScroll=document.body.scrollTop;var pginfo=this.pageSize();var effectiveH=pginfo.height+pginfo.scrY;var effectiveW=pginfo.width+pginfo.scrX;var widgetH=180;var widgetW=355;var needH=widgetH+elemH;var needW=widgetW+elemW;var diffH=needH-effectiveH;var diffW=needW-effectiveW;var newH=elemH-diffH;var newW=elemW-diffW;function getHW(elem){var retH=0;var retW=0;while(elem!=null){retH+=elem.offsetTop;retW+=elem.offsetLeft;elem=elem.offsetParent}return{height:retH,width:retW}}var buttonPos=getHW(shareel);var leftA,rightA,topA,bottomA=false;if(diffH>0){bottomA=false;topA=true;if((buttonPos.height-widgetH)>0){newH=buttonPos.height-widgetH}SHARETHIS.wrapper.style.top=newH+"px"}if(diffW>0){leftA=false;rightA=true;if((buttonPos.width-widgetW)>0){newW=buttonPos.width-widgetW}SHARETHIS.wrapper.style.left=newW+"px"}}SHARETHIS.wrapper.style.visibility="visible";SHARETHIS.mainstframe.style.visibility="visible"},this.hideWidget=function(){if(SHARETHIS.wrapper.style.visibility!=="hidden"){SHARETHIS.wrapper.style.visibility="hidden"}if(SHARETHIS.mainstframe.style.visibility!=="hidden"){SHARETHIS.mainstframe.style.visibility="hidden"}},this.pageSize=function(){var pScroll=[0,0,0,0];var scX=0;var scY=0;var winX=0;var winY=0;if(typeof(window.pageYOffset)=="number"){scX=window.pageXOffset;scY=window.pageYOffset}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){scX=document.body.scrollLeft;scY=document.body.scrollTop}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){scX=document.documentElement.scrollLeft;scY=document.documentElement.scrollTop}}}if(window.innerWidth){winX=window.innerWidth;winY=window.innerHeight}else{if(document.documentElement.offsetWidth){winX=document.documentElement.offsetWidth;winY=document.documentElement.offsetHeight}}pScroll={scrX:scX,scrY:scY,width:winX,height:winY};return pScroll};this.addEntry=function(properties,options){if(_thisScript===null){var tmpScr=getShareThisScript();SHARETHIS.options=parseQueryString(tmpScr.src);this.frameUrl="http://wd.sharethis.com/share4x/index.bbbff42b4cdd82d97d6776ce7eedd9cd.html";this.postUrl=(("https:"==document.location.protocol)?"http://wd.":"http://wd.")+"sharethis.com/api/setCache_ws.php";if(SHARETHIS.options.button){SHARETHIS.options.button=SHARETHIS.getBool(SHARETHIS.options.button.toString())}if(SHARETHIS.options.popup){SHARETHIS.options.popup=SHARETHIS.getBool(SHARETHIS.options.popup.toString())}if(SHARETHIS.options.embeds){SHARETHIS.options.embeds=SHARETHIS.getBool(SHARETHIS.options.embeds.toString())}var init="#init";SHARETHIS.newwinfrag="#popup";for(var o in SHARETHIS.options){if(SHARETHIS_tstOptions(o)==true){init=init+"/"+o+"="+encodeURIComponent(options[o]);this.newwinfrag=this.newwinfrag+"/"+o+"="+encodeURIComponent(options[o])}}SHARETHIS.initstr=init;SHARETHIS.mainstframe.src=SHARETHIS.frameUrl+SHARETHIS.initstr}var o=new Shareable(properties,SHARETHIS_merge(SHARETHIS.options,options));if(typeof(o.properties.url)==="object"){try{o.properties.url=o.properties.url.href}catch(err){}}for(var prop in o.properties){try{o.properties[prop]=o.properties[prop].toString()}catch(err){}}var xInt="";var xInt2="";var sendDataInt="";var sendPopupDataInt="";if(this.meta.publisher=="5afea983-e449-4a75-a464-3c9a7f6c6e37"||this.meta.publisher=="e1e0ea5a-a326-4731-b1d1-f21623043511"||this.meta.publisher=="ccd2a158-6cce-4bbc-afa8-1d2dc62fe84c"||this.meta.publisher=="1e542d6f-546f-4d85-a790-bbaf333155b7"||this.meta.publisher=="89879177-51bf-4cf0-91c9-6326d062d5e6"||this.meta.publisher=="44b6b8a4-c8df-4bd0-8d8d-e6ad27ec63f4"){o.options.onmouseover=false}if(SHARETHIS.options.onmouseover){if(SHARETHIS.options.onmouseover=="true"){o.options.onmouseover=true}else{if(SHARETHIS.options.onmouseover=="false"){o.options.onmouseover=false}}}if(o.options.popup){o.options.onmouseover=false;SHARETHIS.popupExists=true}else{if(SHARETHIS_TOOLBAR!==true){SHARETHIS.widgetExists=true}}o.idx=this.shareables.push(o)-1;var id="sharethis_"+o.idx;var oidx=o.idx;if(o.properties.url!==this.lastUrl){this.lastUrl=o.properties.url}else{SHARETHIS.logFlag=false}o.chicklet=function(e){if(!e){var e=window.event}if(e.target){o.trigger=e.target}else{if(e.srcElement){o.trigger=e.srcElement}}var dest=o.trigger.getAttribute("st_dest");var loggerUrl=(("https:"==document.location.protocol)?"http://l.":"http://l.")+"sharethis.com/log?event=click&source=chicklet&publisher="+encodeURIComponent(SHARETHIS.options.publisher)+"&hostname="+encodeURIComponent(SHARETHIS.meta.hostname)+"&location="+encodeURIComponent(SHARETHIS.meta.location)+"&destinations="+dest+"&ts"+(new Date()).getTime()+"&title="+encodeURIComponent(o.properties.title)+"&url="+encodeURIComponent(o.properties.url)+"&sessionID="+SHARETHIS.options.sessionID+"&fpc="+SHARETHIS.options.fpc;var logger=new Image(1,1);logger.src=loggerUrl;logger.onload=function(){return};var url=(("https:"==document.location.protocol)?"http://wd.":"http://wd.")+"sharethis.com/button/redirect.php";url+="?d="+dest;url+="&pk="+SHARETHIS.options.publisher;url+="&s="+SHARETHIS.options.sessionID;url+="&p="+encodeURIComponent(ST_JSON.encode(o.properties));window.open(url,"stpopup","width=970,height=700,location=1,toolbar=1,scrollbars=1,menubar=1,resizable=1")};o.popup=function(e){stCancelClose();o.options.autoclose=true;SHARETHIS.postEntries(o);if(SHARETHIS_TOOLBAR===true){if(st_showing===false){SHARETHIS.log("widget",o,"toolbar")}st_showing=true;clearInterval(stVisibleInterval);SHARETHIS.hideEmbeds();var added="#popup/title="+encodeURIComponent(encodeURIComponent(o.properties.title))+"/url="+encodeURIComponent(encodeURIComponent(o.properties.url))+"/publisher="+o.options.publisher+"/fpc="+o.options.fpc+"/sessionID="+o.options.sessionID+"/toolbar=true";var pgval="";if(SHARETHIS.page!=null){pgval="/page="+SHARETHIS.page}SHARETHIS.mainstframe.src=SHARETHIS.frameUrl+added+pgval;SHARETHIS.wrapper.style.visibility="visible";SHARETHIS.mainstframe.style.visibility="visible"}else{if((SHARETHIS.ready===true&&SHARETHIS.frameReady===true)||(SHARETHIS.popupExists===true&&SHARETHIS.ready==true&&SHARETHIS.widgetExists===false)||(SHARETHIS.popupExists===true&&SHARETHIS.ready==true&&SHARETHIS.frameReady===true)){clearInterval(stVisibleInterval);if((typeof(e)!="undefined"&&typeof(e)!="unknown"&&e)||(typeof(event)!="undefined"&&typeof(event)!="unknown"&&event)){if(typeof(e)!="undefined"&&typeof(e)!="unknown"&&e){o.trigger=e.target}else{if(typeof(event)!="undefined"&&typeof(event)!="unknown"&&event){o.trigger=event.srcElement}}if(o.trigger!==null&&o.trigger){id=o.trigger.id;SHARETHIS.current_element=o.trigger;o.page=o.trigger.getAttribute("st_page");if(st_showing===false){if(o.page=="home"){SHARETHIS.log("widget",o,"button")}else{SHARETHIS.log("widget",o,"chicklet")}}}else{o.page="home";if(st_showing===false){SHARETHIS.log("widget",o,"button")}}}else{if(o.element!=null){id=o.element.id;SHARETHIS.current_element=o.element}o.page="home";if(st_showing===false){SHARETHIS.log("widget",o,"button")}}var pageFrag="/page="+o.page;SHARETHIS.curr_offsetTop=Number(o.options.offsetTop);SHARETHIS.curr_offsetLeft=Number(o.options.offsetLeft);if(SHARETHIS.curr_offsetTop>0||SHARETHIS.curr_offsetTop>0){SHARETHIS.autoPosition=false}SHARETHIS.curr_id=id;if(o.options.onclick){var res=o.options.onclick.apply(document,[o]);if(res==false){return false}}var added="#popup/title="+encodeURIComponent(encodeURIComponent(o.properties.title))+"/url="+encodeURIComponent(encodeURIComponent(o.properties.url))+"/publisher="+o.options.publisher+"/fpc="+o.options.fpc+"/sessionID="+o.options.sessionID+"/toolbar=true";if(o.options.popup){var newwinurl=SHARETHIS.frameUrl+SHARETHIS.newwinfrag+added;window.open(newwinurl,"newstframe","status=1,toolbar=0,width=345,height=450")}else{if(st_showing==false){if(o.options.embeds==false){SHARETHIS.hideEmbeds()}stautoclose=o.options.autoclose;if(o.options.onmouseover==false){stautoclose=false}if(SHARETHIS.sendNum<SHARETHIS.sendArray.length){var temparr=[];SHARETHIS.sendArray.splice(0,0,"#show/guid_index=0"+pageFrag);if(SHARETHIS.delayShow===true){sendDataInt=setTimeout(SHARETHIS.sendData,1000)}else{sendDataInt=setTimeout(SHARETHIS.sendData,20)}}else{window.frames.stframe.location.replace(SHARETHIS.frameUrl+"#show/guid_index=0"+pageFrag);if(SHARETHIS.delayShow===true){sendDataInt=setTimeout(SHARETHIS.sendData,1000)}else{sendDataInt=setTimeout(SHARETHIS.sendData,20)}}SHARETHIS.positionWidget();st_showing=true}else{if(o.options.onmouseover==false||o.options.onmouseover=="false"){stcloseWidget()}}}}else{SHARETHIS.st_clicked=true;SHARETHIS.delayShow=true;SHARETHIS.st_clicked_o=o}}};var style=o.options.style?o.options.style:(SHARETHIS.options.style?SHARETHIS.options.style:"default");switch(style){case"vertical":var ovr=document.createElement("div");ovr.className="stoverlay";o.button=ovr;var img=document.createElement("img");img.setAttribute("src",(("https:"==document.location.protocol)?"http://w.":"http://w.")+"sharethis.com/images/vbutton.gif");if(o.options.onmouseover==false||o.options.onmouseover=="false"){ovr.onclick=o.popup}if(o.options.onmouseover==true||o.options.onmouseover=="true"){ovr.onclick=function(){stCancelClose()};ovr.onmouseover=function(){stCancelClose();SHARETHIS.mousetimer=setTimeout(o.popup,150)};ovr.onmouseout=function(){clearInterval(SHARETHIS.mousetimer);stClose()}}try{if(o.options.button==true&&SHARETHIS.bodyLoaded==false){document.write('<div class="stbutton vertical" id="'+id+'"></div>')}}catch(err){}var x=document.getElementById(id);if(x){if(o.options.button){x.appendChild(ovr);x.appendChild(img)}}break;case"horizontal":case"vertical":var ovr=document.createElement("div");ovr.className="stoverlay";o.button=ovr;var img=document.createElement("img");img.setAttribute("src",(("https:"==document.location.protocol)?"http://w.":"http://w.")+"sharethis.com/images/hbutton.gif");if(o.options.onmouseover==false||o.options.onmouseover=="false"){ovr.onclick=o.popup}if(o.options.onmouseover==true||o.options.onmouseover=="true"){ovr.onclick=function(){stCancelClose()};ovr.onmouseover=function(){stCancelClose();SHARETHIS.mousetimer=setTimeout(o.popup,150)};ovr.onmouseout=function(){clearInterval(SHARETHIS.mousetimer);stClose()}}try{if(o.options.button==true&&SHARETHIS.bodyLoaded==false){document.write('<div class="stbutton horizontal" id="'+id+'"></div>')}}catch(err){}var x=document.getElementById(id);if(x){if(o.options.button){x.appendChild(ovr);x.appendChild(img)}}break;default:var a=document.createElement("a");a.className="stbutton stico_"+(o.options.style?o.options.style:(SHARETHIS.options.style?SHARETHIS.options.style:"default"));a.title="ShareThis via email, AIM, social bookmarking and networking sites, etc.";a.href="javascript:void(0)";a.setAttribute("st_page","home");if(o.options.onmouseover==false||o.options.onmouseover=="false"){a.onclick=o.popup}if(o.options.onmouseover==true||o.options.onmouseover=="true"){a.onclick=function(){stCancelClose()};a.onmouseover=function(){stCancelClose();SHARETHIS.mousetimer=setTimeout(o.popup,150)};a.onmouseout=function(){clearInterval(SHARETHIS.mousetimer);stClose()}}var t=document.createElement("span");t.className="stbuttontext";t.setAttribute("st_page","home");t.appendChild(document.createTextNode(o.options.buttonText));a.appendChild(t);o.button=a;try{if(o.options.button==true&&SHARETHIS.bodyLoaded==false){if(document.readyState!="complete"&&document.readyState!="loaded"&&document.readyState!="interactive"){document.write('<span id="'+id+'"></span>')}else{if(document.readyState!="complete"&&(/MSIE/gi.test(navigator.userAgent))){document.write('<span id="'+id+'"></span>')}}}}catch(err){}var x=document.getElementById(id);if(x){if(o.options.button){x.appendChild(a)}}}if(SHARETHIS.logFlag){SHARETHIS.buttonCount++}return o},this.postEntries=function(o){SHARETHIS.sendNum=0;var urls="";var propertylist=[];var tmp_prop={};urls=urls+o.properties.url;for(p in o.properties){if(SHARETHIS_tstOptions(p)==true){tmp_prop[p]=null;tmp_prop[p]=o.properties[p]}}propertylist.push(tmp_prop);var tmp="/pageTitle="+encodeURIComponent(encodeURIComponent(document.title))+"/pageURL="+encodeURIComponent(encodeURIComponent(document.URL))+"/pageHost="+encodeURIComponent(encodeURIComponent(document.location.host))+"/pagePath="+encodeURIComponent(encodeURIComponent(document.location.pathname));SHARETHIS.sendArray.push("#data"+tmp);var jsonstr=ST_JSON.encode(propertylist);var tmp=encodeURIComponent(jsonstr);var b=tmp.length;var a=1700;var c=parseInt(b/a);c=c+1;var d=b%a;var sendArr=[];var tmpSend="";for(var i=0;i<c;i++){sendArr.push(tmp.substring(i*a,(i*a)+a))}for(var i=0;i<sendArr.length;i++){tmpSend="#data/jsonData="+encodeURIComponent(sendArr[i]);SHARETHIS.sendArray.push(tmpSend)}SHARETHIS.sendArray.push("#data/jsonData=done")},this.sendData=function(){xInt=setInterval(SHARETHIS.sendJSON,50)},this.sendJSON=function(){if(SHARETHIS.sendNum<SHARETHIS.sendArray.length){window.frames.stframe.location.replace(SHARETHIS.frameUrl+SHARETHIS.sendArray[SHARETHIS.sendNum])}else{clearInterval(xInt)}SHARETHIS.sendNum++},this.defer=function(f){if(this.ready){f.apply(document,[SHARETHIS])}else{this.readyList.push(function(){return f.apply(this,[SHARETHIS])})}},this.onReady=function(){SHARETHIS.ready=true;for(var i=0;i<SHARETHIS.readyList.length;++i){SHARETHIS.readyList[i].apply(document,[SHARETHIS])}},this.load=function(t,opts){var e=document.createElement(t);for(var i in opts){e.setAttribute(i,opts[i])}try{document.getElementsByTagName("head")[0].appendChild(e)}catch(err){document.body.appendChild(e)}},this.hideEmbeds=function(){var embeds=document.getElementsByTagName("embed");for(var i=0;i<embeds.length;i++){embeds[i].style.visibility="hidden"}},this.showEmbeds=function(){var embeds=document.getElementsByTagName("embed");for(var i=0;i<embeds.length;i++){embeds[i].style.visibility="visible"}},this.log=function(event,obj,source){if(event=="pview"&&typeof(stLight)!="undefined"){return true}var lurl=(("https:"==document.location.protocol)?"http://l.":"http://l.")+"sharethis.com/log?event=";if(event=="pview"){lurl=(("https:"==document.location.protocol)?"http://l.":"http://l.")+"sharethis.com/pview?event="}var additional=dbrInfo();if(additional==false){additional=""}lurl+=event;if(source!=null){lurl+="&source="+source}lurl+="&publisher="+encodeURIComponent(SHARETHIS.meta.publisher)+"&hostname="+encodeURIComponent(SHARETHIS.meta.hostname)+"&location="+encodeURIComponent(SHARETHIS.meta.location)+"&url="+encodeURIComponent(document.location.href)+"&sessionID="+SHARETHIS.sessionID+"&fpc="+SHARETHIS.fpc+"&ts"+(new Date()).getTime()+"."+SHARETHIS.counter+++"&r_sessionID=&hash_flag=&shr=&count="+SHARETHIS.buttonCount+additional;var logger2=new Image(1,1);logger2.src=lurl;logger2.onload=function(){return}},this.getBool=function(variable){var vtype;var toReturn;if(variable!=null){switch(typeof(variable)){case"boolean":vtype="boolean";return variable;break;case"number":vtype="number";if(variable==0){toReturn=false}else{toReturn=true}break;case"string":vtype="string";if(variable=="true"||variable=="1"){toReturn=true}else{if(variable=="false"||variable=="0"){toReturn=false}else{if(variable.length>0){toReturn=true}else{if(variable.length==0){toReturn=false}}}}break}return toReturn}},this.onStFrameLoad=function(){if(SHARETHIS.frameLoaded===false){SHARETHIS.widgetCalled=true;SHARETHIS.frameLoaded=true;if(SHARETHIS.st_clicked==true){setTimeout("SHARETHIS.st_clicked_o.popup()",1000)}}};this.readyTest=function(){if(SHARETHIS.frameReady===true&&SHARETHIS.ready===true){clearInterval(SHARETHIS.readyTestInterval);SHARETHIS.onStFrameLoad()}};this.sendEvent=function(name,value){var tmpSend="#widget/"+name+"="+value;try{window.frames.stframe.location.replace(SHARETHIS.frameUrl+tmpSend)}catch(err){}};this.initialize=function(options){if(typeof(options.publisher)=="undefined"&&typeof(stLight)!=="undefined"){options.publisher=(typeof(stLight)!=="undefined")?stLight.publisher:null}for(o in options){options[o]=options[o].toString()}if(_thisScript==null){var _slist=document.getElementsByTagName("script");var _thisScript3=_slist[_slist.length-1];var ST_script_src=_thisScript3.src}else{var ST_script_src=_thisScript.src}this.frameUrl="http://wd.sharethis.com/share4x/index.bbbff42b4cdd82d97d6776ce7eedd9cd.html";this.postUrl=(("https:"==document.location.protocol)?"http://wd.":"http://wd.")+"sharethis.com/api/setCache_ws.php";this.options=options||{};if(this.options.button){this.options.button=this.getBool(this.options.button.toString())}if(this.options.popup){this.options.popup=this.getBool(this.options.popup.toString())}if(this.options.embeds){this.options.embeds=this.getBool(this.options.embeds.toString())}if(this.options.publisher){this.meta.publisher=this.options.publisher}var tmp_css=(("https:"==document.location.protocol)?"https://wd.sharethis.com/button/css/sharethis.f64144dea0ac99f7bcfb31fc2aa1fe37.css":"http://w.sharethis.com/button/css/sharethis.f64144dea0ac99f7bcfb31fc2aa1fe37.css");try{if(this.options.css){tmp_css=this.options.css.toString()}}catch(err){}var css=tmp_css;this.load("link",{href:(this.options.css?this.options.css:css),rel:"stylesheet",type:"text/css"});try{this.mainstframe=document.createElement('<iframe name="stframe" allowTransparency="true" style="body{background:transparent;}" ></iframe>');this.mainstframe.onreadystatechange=function(){if(SHARETHIS.mainstframe.readyState==="complete"){SHARETHIS.frameReady=true}}}catch(err){this.mainstframe=document.createElement("iframe");this.mainstframe.allowTransparency="true";this.mainstframe.setAttribute("allowTransparency","true");this.mainstframe.onload=function(){SHARETHIS.frameReady=true}}this.mainstframe.id="stframe";this.mainstframe.className="stframe";this.mainstframe.name="stframe";this.mainstframe.frameBorder="0";this.mainstframe.scrolling="no";this.mainstframe.width="345px";this.mainstframe.height="450px";this.mainstframe.style.top="0px";this.mainstframe.style.left="0px";try{this.fp=document.createElement('<iframe name="stpostframe" style="visibility:hidden"></iframe>')}catch(err){this.fp=document.createElement("iframe");this.fp.style.visibility="hidden"}this.fp.name="stpostframe";this.fp.width="0px";this.fp.height="0px";this.fp.src="";var init="#init";this.newwinfrag="#popup";for(var o in options){if(SHARETHIS_tstOptions(o)==true){init=init+"/"+o+"="+encodeURIComponent(options[o]);this.newwinfrag=this.newwinfrag+"/"+o+"="+encodeURIComponent(options[o])}}if(typeof(stLight)!=="undefined"){init=init+"/stLight=true";this.newwinfrag=this.newwinfrag+"/stLight=true"}this.initstr=init;this.sendInit.push(this.initstr);this.mainstframe.src=this.frameUrl+this.sendInit[0];this.wrapper=document.createElement("div");this.wrapper.id="stwrapper";this.wrapper.className="stwrapper";this.wrapper.style.visibility="hidden";this.wrapper.style.top="-999px";this.wrapper.style.left="-999px";this.closewrapper=document.createElement("div");this.closewrapper.className="stclose";this.closewrapper.onclick=stcloseWidget;this.wrapper.appendChild(this.closewrapper);this.wrapper.appendChild(this.mainstframe);this.defer(function(){SHARETHIS.bodyLoaded=true;SHARETHIS.log("pview",null,null);if(SHARETHIS_TOOLBAR===true){document.body.appendChild(SHARETHIS.fp);SHARETHIS_TOOLBAR_DIV.appendChild(SHARETHIS.wrapper)}if(SHARETHIS.popupExists===true&&SHARETHIS.popupCalled===false){document.body.appendChild(SHARETHIS.fp);SHARETHIS.popupCalled=true}if(SHARETHIS.widgetCalled===false&&SHARETHIS.widgetExists===true){document.body.appendChild(SHARETHIS.wrapper);setTimeout(function(){try{window.frames.stframe.location.replace(SHARETHIS.mainstframe.src)}catch(err){}},100);SHARETHIS.readyTestInterval=setInterval(SHARETHIS.readyTest,250)}try{var stfrm=document.getElementById("stframe");stfrm.onmouseover=function(){stCancelClose();SHARETHIS.inTime=(new Date()).getTime()};stfrm.onmouseout=function(){SHARETHIS.outTime=(new Date()).getTime();SHARETHIS.openDuration=(SHARETHIS.outTime-SHARETHIS.inTime)/1000;stClose()};try{if(document.body.attachEvent){document.body.attachEvent("onclick",function(){if(SHARETHIS.buttonClicked==false){SHARETHIS.stopClosing=false;SHARETHIS.openDuration=0;stClose(100)}})}else{document.body.setAttribute("onclick","if(SHARETHIS.buttonClicked==false){SHARETHIS.stopClosing=false;SHARETHIS.openDuration=0;stClose(100);}")}}catch(err){document.body.onclick=function(){if(SHARETHIS.buttonClicked==false){SHARETHIS.stopClosing=false;SHARETHIS.openDuration=0;stClose(100)}}}}catch(err){}});if(typeof(window.addEventListener)!="undefined"){window.addEventListener("load",this.onReady,false)}else{if(typeof(document.addEventListener)!="undefined"){document.addEventListener("load",this.onReady,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",this.onReady)}}}setTimeout(function(){for(var s in SHARETHIS.shareables){if(SHARETHIS.shareables[s].options!=undefined){switch(SHARETHIS.shareables[s].options.style){case"vertical":var ifr;try{ifr=document.createElement('<iframe allowTransparency="true"></iframe>')}catch(err){ifr=document.createElement("iframe");ifr.allowTransparency="true";ifr.setAttribute("allowTransparency","true")}ifr.className="stcounter";ifr.frameBorder="0";ifr.scrolling="no";ifr.width="57px";ifr.height="39px";ifr.src=(("https:"==document.location.protocol)?"http://wd.":"http://wd.")+"sharethis.com/button/vcounter.php?url="+encodeURIComponent(SHARETHIS.shareables[s].properties.url);SHARETHIS.shareables[s].button.parentNode.appendChild(ifr);break;case"horizontal":var ifr;try{ifr=document.createElement('<iframe allowTransparency="true"></iframe>')}catch(err){ifr=document.createElement("iframe");ifr.allowTransparency="true";ifr.setAttribute("allowTransparency","true")}ifr.className="stcounter";ifr.frameBorder="0";ifr.scrolling="no";ifr.width="37px";ifr.height="18px";ifr.src=(("https:"==document.location.protocol)?"https://wd.":"http://wd.")+"sharethis.com/button/hcounter.php?url="+encodeURIComponent(SHARETHIS.shareables[s].properties.url);SHARETHIS.shareables[s].button.parentNode.appendChild(ifr);break}}}},1000)};this.initialize(options)}var closetimeout;function stClose(a){if(!a){a=1000}if(stautoclose==true&&SHARETHIS_TOOLBAR==false){if(SHARETHIS.openDuration<2&&SHARETHIS.stopClosing==false){closetimeout=setTimeout("stcloseWidget()",a)}else{SHARETHIS.stopClosing=true}}}function stCancelClose(){clearTimeout(closetimeout);SHARETHIS.buttonClicked=true;setTimeout(function(){SHARETHIS.buttonClicked=false},100)}function stcloseWidget(){if(typeof(SHARETHIS.grayOut)!=="undefined"){SHARETHIS.grayOut(false)}st_showing=false;SHARETHIS.wrapper.style.visibility="hidden";SHARETHIS.mainstframe.style.visibility="hidden";SHARETHIS.wrapper.style.top="-999px";SHARETHIS.wrapper.style.left="-999px";SHARETHIS.showEmbeds();SHARETHIS.sendEvent("screen","home");SHARETHIS.sendArray=[]}function SHARETHIS_tstOptions(a){var d=["type","title","summary","content","url","icon","category","updated","published","author","button","onmouseover","buttonText","popup","offsetLeft","offsetTop","embeds","autoclose","publisher","tabs","services","charset","headerbg","inactivebg","inactivefg","linkfg","style","send_services","exclusive_services","post_services","headerfg","headerType","headerTitle","sessionID","tracking","fpc","ads","pUrl","hash_flag","publisher","doneScreen"];var c=false;for(var b=0;b<d.length;b++){if(a===d[b]){c=true}}return c}function SHARETHIS_TEST(){SHARETHIS.mainstframe.src=SHARETHIS.frameUrl+"#test"}function _stFpc(){if(!document.domain||document.domain.search(/\.gov/)>0){return false}var g=_stGetFpc("__unam");if(g==false){var c=Math.round(Math.random()*2147483647);c=c.toString(16);var h=(new Date()).getTime();h=h.toString(16);var e="";var a=(typeof(_stDomain)=="undefined")?_stGetD():_stDomain;a=a.split(/\./)[1];if(!a){return false}e=_stdHash(a)+"-"+h+"-"+c+"-1";g=e;_stSetFpc(g)}else{var b=g;var f=b.split(/\-/);if(f.length==4){var d=Number(f[3]);d++;b=f[0]+"-"+f[1]+"-"+f[2]+"-"+d;g=b;_stSetFpc(g)}}return g}function _stSetFpc(g){var a="__unam";var c=new Date;var i=c.getFullYear();var f=c.getMonth()+9;var h=c.getDate();var d=a+"="+escape(g);if(i){var b=new Date(i,f,h);d+="; expires="+b.toGMTString()}var e=(typeof(_stDomain)=="undefined")?_stGetD():_stDomain;d+="; domain="+escape(e)+";path=/";document.cookie=d}function _stGetD(){var b=document.domain.split(/\./);var a="";if(b.length>1){a="."+b[b.length-2]+"."+b[b.length-1]}return a}function _stGetFpc(b){var a=document.cookie.match("(^|;) ?"+b+"=([^;]*)(;|$)");if(a){return(unescape(a[2]))}else{return false}}function _stdHash(a){var e=0,d=0;for(var c=a.length-1;c>=0;c--){var b=parseInt(a.charCodeAt(c));e=((e<<8)&268435455)+b+(b<<12);if((d=e&161119850)!=0){e=(e^(d>>20))}}return e.toString(16)}var _thisScript=null;function getShareThisScript(){var d=document.getElementsByTagName("script");var c=null;for(var b=0;b<d.length;b++){var a=d[b].src;if(a.search(/.*sharethis.*\/button/)>=0){c=d[b]}else{if(a.search(/.*sharethis.*\/widget\/\?/)>=0||a.search(/.*sharethis.*\/widget\/index/)>=0||a.search(/.*sharethis.*\/widget\/\?&/)>=0){c=d[b]}}}return c}function dbrInfo(){var a=document.referrer;if(a&&a.length>0){var c=/(http:\/\/)(.*?)\/.*/i;var b=/(^.*\?)(.*)/ig;var g="";var f=a.replace(c,"$2");var d=new RegExp(f,"gi");if(d.test(document.domain)==true){return false}if(f.length>0){g+="&refDomain="+f}else{return false}var e=a.replace(b,"$2");if(e.length>0){g+="&refQuery="+encodeURIComponent(e)}return g}else{return false}}_thisScript=getShareThisScript();if(_thisScript){SHARETHIS=new ShareThis(parseQueryString(_thisScript.src))}else{SHARETHIS=new ShareThis()}}var _slist=document.getElementsByTagName("script");var _thisScript2=_slist[_slist.length-1];if(_thisScript2&&_thisScript2.parentNode.tagName!="HEAD"&&typeof(_sttoolbar)=="undefined"){var obj=SHARETHIS.addEntry()}}catch(err){};;var woopraTracker=false;function WoopraScript(_src,_hook,_async){this.src=_src;this.hook=_hook;this.async=_async;var pntr=false;this.init=function(){pntr=this;}this.load=function(){var script=document.createElement('script');script.type='text/javascript';script.src=pntr.src;script.async=pntr.async;if(pntr.hook){script.onload=function(){setTimeout(function(){pntr.hook.apply();},400);}script.onreadystatechange=function(){if(this.readyState=='complete'||this.readyState=='loaded'){setTimeout(pntr.hook,400);}}}(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(script);}this.init();}function WoopraKeyValue(_k,_v){this.k=_k;this.v=_v;}function WoopraEvent(_name){var entries=new Array();var visitor=new Array();this.name=_name;this.mod=0;this.addProperty=function(key,value){entries[entries.length]=new WoopraKeyValue(key,value);}this.addVisitorProperty=function(key,value){visitor[visitor.length]=new WoopraKeyValue(key,value);}this.fire=function(){var t=woopraTracker;var buffer='';this.addProperty('name',this.name);for(var i=0;i<entries.length;i++){buffer+='&'+encodeURIComponent('ce_'+entries[i].k)+'='+encodeURIComponent(entries[i].v);}for(var i=0;i<visitor.length;i++){buffer+='&'+encodeURIComponent('cv_'+visitor[i].k)+'='+encodeURIComponent(visitor[i].v);}buffer+='&'+'mod'+'='+this.mod;buffer+='&'+'alias'+'='+t.site();buffer+='&'+''+'cookie'+'='+t.readcookie('wooTracker');buffer+='&'+''+'meta'+'='+encodeURIComponent(t.meta());buffer+='&'+''+'screen'+'='+encodeURIComponent(t.screeninfo());buffer+='&'+''+'language'+'='+encodeURIComponent(t.langinfo());if(buffer!=''){var _mod=((document.location.protocol=="https:")?'/woopras/ce.jsp?':'/ce/');var _url=t.getEngine()+_mod+'ra='+t.randomstring()+buffer;t.request(_url);}}}function WoopraTracker(){var pntr=false;var chat=false;var wx_static=false;var wx_engine=false;var alias=false;var visitor_data=false;var idle_timeout=4*60*1000;var vs=0;var queue=new Array();var pageLoaded=0;this.initialize=function(){pntr=this;visitor_data=new Array();var _c=false;_c=pntr.readcookie('wooTracker');if(!_c){_c=pntr.randomstring();pntr.createcookie('wooTracker',_c,10*1000);}if(document.location.protocol=="https:"){wx_engine="https://sec1.woopra.com";wx_static="https://static.woopra.com";}else{wx_engine='http://'+pntr.site()+'.woopra-ns.com';wx_static="http://static.woopra.com";}if(document.addEventListener){document.addEventListener("mousedown",pntr.clicked,false);document.addEventListener("mousemove",pntr.moved,false);document.addEventListener("keydown",pntr.typed,false);}else{document.attachEvent("onmousedown",pntr.clicked);document.attachEvent("onmousemove",pntr.moved);document.attachEvent("onkeydown",pntr.typed);}}this.onPageLoad=function(){pageLoaded=1;var i=0;for(i=0;i<queue.length;i++){queue[i].load();}}this.site=function(){if(alias){return alias;}return pntr.trimSite(location.hostname);}this.trimSite=function(s){return((s.indexOf('www.')<0)?s:s.substring(4));}this.addVisitorProperty=function(key,value){var cursor=visitor_data.length;visitor_data[cursor]=new WoopraKeyValue(key,value);}this.getStatic=function(){return wx_static;}this.getEngine=function(){return wx_engine;}this.setEngine=function(e){wx_engine=e;}this.setDomain=function(site){alias=pntr.trimSite(site);if(document.location.protocol=="http:"){wx_engine='http://'+alias+'.woopra-ns.com';}var _c=pntr.readcookie('wooTracker');if(!_c){_c=pntr.randomstring();}pntr.createcookie('wooTracker',_c,10*1000);}this.sleep=function(millis){var date=new Date();var curDate=new Date();while(curDate-date<millis){curDate=new Date();}}this.randomstring=function(){var chars="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var s='';for(var i=0;i<32;i++){var rnum=Math.floor(Math.random()*chars.length);s+=chars.substring(rnum,rnum+1);}return s;}this.langinfo=function(){return(navigator.browserLanguage||navigator.language||"");}this.screeninfo=function(){return screen.width+'x'+screen.height;}this.readcookie=function(k){var c=""+document.cookie;var ind=c.indexOf(k);if(ind==-1||k==""){return"";}var ind1=c.indexOf(';',ind);if(ind1==-1){ind1=c.length;}return unescape(c.substring(ind+k.length+1,ind1));}this.createcookie=function(k,v,days){var exp='';if(days>0){var expires=new Date();expires.setDate(expires.getDate()+days);exp=expires.toGMTString();}cookieval=k+'='+v+'; '+'expires='+exp+';'+'path=/'+';domain=.'+pntr.site();document.cookie=cookieval;}this.request=function(url,hook){var script=new WoopraScript(url,hook,true);if(pageLoaded==0){queue[queue.length]=script;}else{script.load();}}this.verify=function(){}this.rescue=function(){}this.meta=function(){var meta='';if(pntr.readcookie('wooMeta')){meta=pntr.readcookie('wooMeta');}return meta;}this.track=function(_page,_title,_arr){var date=new Date();var arr=new Array();arr[arr.length]=new WoopraKeyValue('cookie',pntr.readcookie('wooTracker'));arr[arr.length]=new WoopraKeyValue('meta',pntr.meta());arr[arr.length]=new WoopraKeyValue('alias',pntr.site());arr[arr.length]=new WoopraKeyValue('language',pntr.langinfo());if(_page){arr[arr.length]=new WoopraKeyValue('page',_page);}else{arr[arr.length]=new WoopraKeyValue('page',window.location.pathname);}if(_title){arr[arr.length]=new WoopraKeyValue('pagetitle',_title);}else{arr[arr.length]=new WoopraKeyValue('pagetitle',document.title);}arr[arr.length]=new WoopraKeyValue('referer',document.referrer);arr[arr.length]=new WoopraKeyValue('screen',pntr.screeninfo());arr[arr.length]=new WoopraKeyValue('localtime',date.getHours()+':'+date.getMinutes());if(_arr){for(var ite in _arr){arr[arr.length]=new WoopraKeyValue('ce_'+ite,_arr[ite]);}}var c=0;for(c=0;c<visitor_data.length;c++){arr[arr.length]=new WoopraKeyValue('cv_'+visitor_data[c].k,visitor_data[c].v);}c=0;var url='';for(c=0;c<arr.length;c++){url+="&"+encodeURIComponent(arr[c].k)+"="+encodeURIComponent(arr[c].v);}var _mod=((document.location.protocol=="https:")?'/woopras/visit.jsp?':'/visit/');pntr.request(wx_engine+_mod+'ra='+pntr.randomstring()+url);}this.pingServer=function(){var _mod=((document.location.protocol=="https:")?'/woopras/ping.jsp?':'/ping/');var _url=wx_engine+_mod;_url+='cookie='+pntr.readcookie('wooTracker');_url+='&alias='+pntr.site();_url+='&idle='+parseInt(idle/1000);if(vs==2){_url+='&vs=w';vs=0;}else{if(idle==0){_url+='&vs=r';}else{_url+='&vs=i';}}_url+='&ra='+pntr.randomstring();pntr.request(_url);}this.typed=function(e){vs=2;}this.clicked=function(e){pntr.moved();var cElem=(e.srcElement)?e.srcElement:e.target;if(cElem.tagName=="A"){var link=cElem;var _download=link.pathname.match(/(?:doc|eps|jpg|png|svg|xls|ppt|pdf|xls|zip|txt|vsd|vxd|js|css|rar|exe|wma|mov|avi|wmv|mp3)($|\&)/);var ev=false;if(_download&&(link.href.toString().indexOf('woopra-ns.com')<0)){ev=new WoopraEvent('download');ev.addProperty('url',link.href);ev.fire();pntr.sleep(100);}if(!_download&&link.hostname!=location.host&&link.hostname.indexOf('javascript')==-1&&link.hostname!=''){ev=new WoopraEvent('exit');ev.addProperty('url',link.href);ev.fire();pntr.sleep(400);}}}var last_activity=new Date();var idle=0;this.moved=function(){last_activity=new Date();idle=0;}this.setIdleTimeout=function(t){idle_timeout=t;}this.ping=function(){if(idle>idle_timeout){return;}pntr.pingServer();var now=new Date();if(now-last_activity>10000){idle=now-last_activity;}}this.loadScript=function(src,hook){pntr.request(src,hook);}}function WoopraTransaction(orderID,affiliation,total,tax,shipping,city,state,country){var pntr=false;var ev=new WoopraEvent('ecommerce');ev.addProperty('orderid',orderID);ev.addProperty('affiliation',affiliation);ev.addProperty('total',total);ev.addProperty('tax',tax);ev.addProperty('shipping',shipping);ev.addProperty('city',city);ev.addProperty('state',state);ev.addProperty('country',country);var items=new Array();this.init=function(){pntr=this;}this.addItem=function(item){items[items.length]=item;}this.toXML=function(){var xml='';var i=0;for(i=0;i<items.length;i++){var m=items[i];xml+='<r c="'+encodeURIComponent(m.code)+'" n="'+encodeURIComponent(m.name)+'" a="'+encodeURIComponent(m.category)+'" p="'+m.unitPrice+'" q="'+m.quantity+'"/>';}return xml;}this.track=function(){ev.mod=3;ev.addProperty('items',pntr.toXML());ev.fire();}this.init();}function WoopraItem(code,name,category,unitPrice,quantity){this.code=code;this.name=name;this.category=category;this.unitPrice=unitPrice;this.quantity=quantity;}woopraTracker=new WoopraTracker();woopraTracker.initialize();if(typeof(window.addEventListener)!="undefined"){window.addEventListener("load",woopraTracker.onPageLoad,false);}else{if(typeof(document.addEventListener)!="undefined"){document.addEventListener("load",woopraTracker.onPageLoad,false);}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",woopraTracker.onPageLoad);}}};function st_go(a){var i,u=document.location.protocol+'//stats.wordpress.com/g.gif?host='+escape(document.location.host)+'&rand='+Math.random();for(i in a){u=u+'&'+i+'='+escape(a[i]);}u=u+'&ref='+escape(document.referrer);document.open();document.write("<img id=\"wpstats\" src=\""+u+"\" alt=\"\" />");document.close();}function wpcomAddEvent(el,ev,fn){var isIE=window.attachEvent?true:false;if(isIE)el.attachEvent('on'+ev,fn);else if(el.addEventListener)el.addEventListener(ev,fn,false);}function linkmousedown(event){var isIE=window.attachEvent?true:false;event=event?event:(window.event?window.event:"");var m=isIE?window.event.srcElement:event.currentTarget;m.modo=true;}function linkmouseout(event){var isIE=window.attachEvent?true:false;event=event?event:(window.event?window.event:"");var m=isIE?window.event.srcElement:event.currentTarget;m.modo=false;}function linkmouseup(event){var isIE=window.attachEvent?true:false;event=event?event:(window.event?window.event:"");var m=isIE?window.event.srcElement:event.currentTarget;if(m.modo)linktracker_record(event);}function linkclick(event){var isIE=window.attachEvent?true:false;event=event?event:(window.event?window.event:"");linktracker_record(event);}function linktracker_init(b,p){_blog=b;_post=p;if(typeof document.location.host!='undefined')var localserver=document.location.host;elsevar localserver=document.location.toString().replace(/^[^\/]*\/+([^\/]*)(\/.*)?/,'$1');var els=document.getElementsByTagName('a');for(var i=0;i<els.length;i++){var href=els[i].href;if(href.match(eval('/^(http(s)?:\\/\\/)?'+localserver+'/')))continue;wpcomAddEvent(els[i],'mousedown',linkmousedown);wpcomAddEvent(els[i],'mouseout',linkmouseout);wpcomAddEvent(els[i],'mouseup',linkmouseup);}}function linktracker_record(event){var isIE=window.attachEvent?true:false;event=event?event:(window.event?window.event:"");var b=isIE?window.event.srcElement:event.currentTarget;while(b.nodeName!="A"){if(typeof b.parentNode=='undefined')return;b=b.parentNode;}var bh=b.href;var pr=document.location.protocol||'http:';var b=(typeof _blog!='undefined')?_blog:0;var p=(typeof _post!='undefined')?_post:0;var i=new Image(1,1);i.src=pr+'//stats.wordpress.com/c.gif?s=2&b='+b+'&p='+p+'&u='+escape(bh);i.onLoad=function(){cmcVoid();}}function cmcVoid(){return;}