/* (c) 2008 AddThis, LLC */

var addthis_conf = {
	ver:120
};
var _atu="undefined",_atd=document.location.protocol + "../www.addthis.com/default.htm",_atr=document.location.protocol + "../s7.addthis.com/default.htm",_euc=encodeURIComponent,_atc={
	ver:152,
	note:"",
	samp:0.05,
	addr:-1
};

if(typeof(addthis_conf)===_atu){
	var addthis_conf={};

}
for(i in addthis_conf){
	_atc[i]=addthis_conf[i];
}
if(typeof(_ate)===_atu){
	(function(){
		var ua=navigator.userAgent.toLowerCase(),d=document,w=window,wa=w.addEventListener,we=w.attachEvent,b={
			saf:/webkit/.test(ua),
			opr:/opera/.test(ua),
			msi:(/msie/.test(ua))&&(!/opera/.test(ua)),
			ie6:/msie 6.0/.test(ua)
			},_7={
			isBound:false,
			isReady:false,
			readyList:[],
			onReady:function(){
				if(!_7.isReady){
					_7.isReady=true;
					var l=_7.readyList;
					for(var fn=0;fn<l.length;fn++){
						l[fn].call(window,[]);
					}
					_7.readyList=[];
				}
			},
		addLoad:function(_a){
			var _b=w.onload;
			if(typeof w.onload!="function"){
				w.onload=_a;
			}else{
				w.onload=function(){
					if(_b){
						_b();
					}
					_a();
				};

		}
	},
	bindReady:function(){
		if(r.isBound){
			return;
		}
		r.isBound=true;
		if(d.addEventListener&&!b.opr){
			d.addEventListener("DOMContentLoaded",r.onReady,false);
		}
		if(b.msi&&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<d.styleSheets.length;i++){
					if(d.styleSheets[i].disabled){
						setTimeout(arguments.callee,0);
						return;
					}
				}
				r.onReady();
			},false);
	}
	if(b.saf){
		var _d;
		(function(){
			if(r.isReady){
				return;
			}
			if(d.readyState!="loaded"&&d.readyState!="complete"){
				setTimeout(arguments.callee,0);
				return;
			}
			if(_d===undefined){
				var _f=d.getElementsByTagName("link");
				for(var i=0;i<_f.length;i++){
					if(_f[i].getAttribute("rel")=="stylesheet"){
						_d++;
					}
				}
				var _11=d.getElementsByTagName("style");
			_d+=_11.length;
		}
		if(d.styleSheets.length!=_d){
			setTimeout(arguments.callee,0);
			return;
		}
		r.onReady();
		})();
	}
	r.addLoad(r.onReady);
},
append:function(fn,_13){
	r.bindReady();
	if(r.isReady){
		fn.call(window,[]);
	}else{
		r.readyList.push(function(){
			return fn.call(window,[]);
		});
	}
}
},r=_7,_14={
	ab:"-",
	bro:b,
	clck:1,
	show:1,
	samp:_atc.samp-Math.random(),
	scnt:1,
	seq:1,
	inst:1,
	wait:500,
	tmo:null,
	cvt:[],
	svt:[],
	sttm:new Date().getTime(),
	max:268435455,
	pix:"tev",
	sid:0,
	sub:typeof(at_sub)!==_atu,
	uid:null,
	swf:document.location.protocol + "//bin.clearspring.com/at/v/1/button1.swf",
	evu:document.location.protocol + "../e1.clearspring.com/at/default.htm",
	off:function(){
		return Math.floor((new Date().getTime()-_14.sttm)/100).toString(16);
	},
	ran:function(){
		return Math.floor(Math.random()*4294967295).toString(36);
	},
	cst:function(c){
		return"CXNID=2000001.521545608054043907"+(c||2)+"NXC";
	},
	img:function(i,c){
		if(typeof(at_sub)===_atu){
			new Image().src=_atr+"live/t00/"+i+".gif?"+_14.ran()+"&"+_14.cst(c);
		}
	},
cuid:function(){
	return(_14.sttm&_14.max).toString(16)+(Math.floor(Math.random()*_14.max)).toString(16);
},
ssid:function(){
	if(_14.sid===0){
		_14.sid=_14.cuid();
	}
	return _14.sid;
},
sev:function(id,_19){
	_14.pix="sev-"+(typeof(id)!=="number"?_euc(id):id);
	_14.svt.push(id+";"+_14.off());
	if(_19===1){
		_14.xmi(true);
	}else{
		_14.sxm(true);
	}
},
cev:function(k,v){
	_14.pix="cev-"+_euc(k);
	_14.cvt.push(_euc(k)+"="+_euc(v)+";"+_14.off());
	_14.sxm(true);
},
sxm:function(b){
	if(_14.tmo!==null){
		clearTimeout(_14.tmo);
	}
	if(b){
		_14.tmo=_14.sto("_ate.xmi(false)",_14.wait);
	}
},
sto:function(c,t){
	return setTimeout(c,t);
},
sta:function(){
	var a=_14;
	return"AT-"+(typeof(addthis_pub)!==_atu?_euc(addthis_pub):"unknown")+"-/"+a.ab+"/"+a.ssid()+"/"+(a.seq++)+(a.uid!==null?"./"+a.uid:"");
},
xmi:function(_20){
	var a=_14;
	if(!a.uid){
		a.dck("X"+a.cuid());
	}
	if(a.cvt.length+a.svt.length>0){
		a.sxm(false);
		if(a.seq===1){
			a.cev("pin",a.inst);
		}
		var url=a.evu+a.pix+"-"+a.ran()+".png@ev="+_14.sta()+"&se="+a.svt.join(",")+"&ce="+a.cvt.join(",");
		a.cvt=[];
		a.svt=[];
		if(_atc.xtr){
			return;
		}
		if(_20){
			var d=document,i=d.ce("iframe");
			i.id="_atf";
			i.src=url;
			_14.opp(i.style);
			d.body.appendChild(i);
			i=d.getElementById("_atf");
		}else{
			new Image().src=url;
		}
	}
},
opp:function(st){
	st.width="1px";
	st.height="1px";
	st.position="absolute";
	st.zIndex=100000;
},
pub:function(){
	return typeof(addthis_pub)!==_atu?_euc(addthis_pub):"";
},
lad:function(x){
	_14.plo.push(x);
},
plo:[],
jlo:function(){
	try{
		if(!_14.pld){
			var d=document,o=d.ce("script");
			o.src=_atr+"static/r04/menu02.js";
			d.gn("head")[0].appendChild(o);
			_14.pld=o;
		}
	}catch(e){}
},
lod:function(arg){
	try{
		var a=_14,f=arg===1;
		if(!f){
			if(a.samp>=0&&!a.sub){
				a.sev("20");
				a.cev("plo",1/_atc.samp);
			}
			a.img(_atc.ver+"lo","2");
		}
		if(a.plo.length>0){
			a.jlo();
		}
		if(_14.samp>=0){
			try{
				var z=d.gn("a");
				if(z){
					for(var y in z){
						y=z[y];
						if(y.toString().indexOf("/bookmark.php")>0&&!y.onmouseover){
							y.onmouseover=function(){
								return addthis_open(this,"","","");
							};

							y.onmouseout=function(){
								addthis_close();
							};

					}
					}
					}
			}catch(e){}
}
if(!_atc.xfl&&(f||a.uid===null)&&a.swf){
	var _2e=function(o,n,v){
		var c=d.createElement("param");
		c.name=n;
		c.value=v;
		o.appendChild(c);
	};

	var o=d.createElement("object");
	a.opp(o.style);
	o.id="atff";
	if(b.msi){
		o.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";
		_2e(o,"movie",a.swf);
	}else{
		o.data=a.swf;
		o.quality="high";
		o.type="application/x-shockwave-flash";
	}
	_2e(o,"wmode","transparent");
	_2e(o,"allowScriptAccess","always");
	d.body.insertBefore(o,d.body.firstChild);
	if(b.msi){
		o.outerHTML+=" ";
	}
}
}catch(e){}
},
unl:function(){
	var a=_14;
	if(a.samp>=0&&!a.sub){
		a.sev("21",1);
		a.cev("pun",1/_atc.samp);
	}
	return true;
},
dck:function(c){
	_14.uid=c;
	var p=_14.pub(),x="usagov,loc_webservices,massgov,govgab1".split(",");
	for(i in x){
		if(p==x[i]){
			return;
		}
	}
	if(!_atc.xck){
	document.cookie="_csuid="+c+"; expires=Wed, 04 Oct 2028 03:19:53 GMT; path=/";
}
},
fcl:null,
asetup:function(x){
	var a=_14;
	try{
		if(x!==null&&x!==_atu){
			a.dck(x);
		}
		if(a.fcl){
			a.fcl();
		}
	}catch(e){}
return x;
},
ao:function(elt,_3c,_3d,_3e){
	_14.lad(["open",elt,_3c,_3d,_3e]);
	_14.jlo();
	return false;
},
ac:function(){},
as:function(s){
	_14.lad(["send",s]);
	_14.jlo();
}
},a=_14;
w._ate=a;
w._adr=r;
d.ce=d.createElement;
d.gn=d.getElementsByTagName;
r.bindReady();
if(wa){
	wa("unload",a.unl,false);
}else{
	if(we){
		we("onunload",a.unl);
	}else{
		w.onunload=a.unl;
	}
}
r.append(a.lod);
if(d.cookie){
	var ck=d.cookie.split(";");
	for(var i=0;i<ck.length;i++){
		var c=ck[i],x=c.indexOf("_csuid=");
		if(x>=0){
			_14.uid=c.substring(x+7);
		}
	}
	}
try{
	var l=d.ce("link");
	l.rel="stylesheet";
	l.type="text/css";

	if(document.location.protocol == 'https:')
	{
		l.href="addthisssl.css";
	}
	else
	{
		l.href=_atr+"static/r04/widget01.css";
	}
	
	l.media="all";
	d.gn("head")[0].appendChild(l);
}catch(e){}
})();
function addthis_to(s){
	return addthis_sendto(s);
}
function addthis_onmouseover(elt,e,_48,_49,_4a,_4b,_4c){
	addthis_pub=_4a;
	addthis_language=_4b;
	addthis_content=_4c||"";
	return addthis_open(elt,"share",_48,_49);
}
function addthis_onmouseout(){
	addthis_close();
}
function addthis_open(elt,_4e,_4f,_50){
	return _ate.ao(elt,_4e,_4f,_50);
}
function addthis_close(){
	_ate.ac();
}
function addthis_sendto(s){
	_ate.as(s);
	return false;
}
}else{
	_ate.inst++;
}
try{
	if(_atc.ver===120){
		function x(v,n){
			return eval("("+v+"=(typeof "+v+" === '"+_atu+"' ? '"+(n||"")+"' : "+v+"))");
		}
		var r="atb"+_ate.cuid();
		document.write("<span id=\""+r+"\"></span>");
		_ate.lad(["span",r,x("addthis_url",""),x("addthis_title","")]);
	}
}catch(e){}

