(function(window, document, version, callback) {
    var j, d;
    var loaded = false;
    if (!(j = window.jQuery) || version > j.fn.jquery || callback(j, loaded)) {
        var script = document.createElement("script");
        script.type = "text/javascript";
        script.src = "http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js";
        script.onload = script.onreadystatechange = function() {
            if (!loaded && (!(d = this.readyState) || d == "loaded" || d == "complete")) {
                callback((j = window.jQuery).noConflict(1), loaded = true);
                j(script).remove();
            }
        };
        document.documentElement.childNodes[0].appendChild(script)
    }
})(window, document, "1.5", function($, jquery_loaded) {
	$('#alawidget').prepend('<style type="text/css">#alawidget{position:relative;background:#f3f3f3;border:1px solid #e0e0e0;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;color:#333;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:21px;margin:5px;padding:10px 10px 0;width:300px;max-width:300px;-webkit-font-smoothing:antialiased}#ALAheader{ text-shadow:none !important;padding-bottom:10px;padding-left:105px;height:80px;}#ALAheader img{position:absolute;top:-1px;left:26px;}#ALAheader #wordmark{font-size:15px;font-weight:bold;line-height:16px;}#ALAheader #wordmark span#us{color:#448607;}#ALAheader #question{display:block;padding-top:5px}#ALAform{background:#bbb;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;background-image:-webkit-gradient(linear, left bottom, left top, color-stop(0.25,rgb(170,170,170)), color-stop(0.50,rgb(180,180,180)), color-stop(0.75,rgb(190,190,190)));background-image:-moz-linear-gradient( center bottom, rgb(170,170,170) 25%, rgb(180,180,180) 50%, rgb(190,190,190) 75%);clear:left;margin-bottom:10px;position:relative}#ALAform label{color:white;text-shadow:0 1px 1px #222;font-size:24px;margin-left:10px;width:10%}#alawidget input#ALAtextfield{border:1px solid rgba(154,154,154,0.9);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;color:#507012;font-size:18px;font-style:italic;font-weight:bold;height:28px;margin:6px 0;padding:2px;width:64%}#alawidget input#alasubmit{position:absolute;top:3px;right:7px;line-height:18px}#recent{border-top:1px solid #d9d9d9;font-size:14px;padding-top:10px;height:50px}#name,#city{color:#222;font-weight:bold}#state{background-color:#dcc;float:left;margin-right:10px;height:50px;width:50px}#what {font-style:italic}#ALAinfo{font-size:14px;line-height:24px;position:relative !important;}#ALAinfo img{margin-right:10px;margin-bottom: -3px;}#ALAasking{display:none;z-index:999;position:absolute;top: 24px; left:0;background-color:#666;background: rgba(0,0,0,0.67);padding:6px;-webkit-border-radius: 6px;-moz-border-radius: 6px;border-radius: 6px;}#ALAinfo:hover #ALAasking{display:block;}#ALAaskinginner{font-size:12px;background-color:white;padding:5px 10px;-webkit-border-radius: 6px;-moz-border-radius: 6px;border-radius: 6px;max-width:280px;overflow-y:scroll;max-height:200px;} #alarotator ul{ font-size: 13px; list-style: none !important; padding: 0 5px;}#alarotator ul li{margin:0; list-style: none !important;}</style>');
	$('#alawidget').append('<div id="ALAheader"><img src="http://www.publicinsightnetwork.org/librarius/images/ribbon-small.png" width="66" height="93"><span id="wordmark"><span id="firstletter">L</span>ibrari<span id="us">US</span></span><span id="question">How are you using the library today?</span><div style="clear:both;"></div></div><div id="ALAform"><form method="post" action="http://www.publicinsightnetwork.org/librarius/" target="_top"><label>I&#39;m <input type="text" name="shortResponse" id="ALAtextfield" value=""></label><input type="image" src="http://www.publicinsightnetwork.org/librarius/images/greenarrow.png" alt="Submit" class="submitbutton" id="alasubmit"></form></div><div id="ALAinfo"><img src="http://www.publicinsightnetwork.org/librarius/images/qmark.png" width="20" height="20"><a href="http://www.publicinsightnetwork.org/librarius/" target="_blank">Who is asking?</a><div id="ALAasking"><div id="ALAaskinginner"><p><a href="http://publicinsightnetwork.org/librarius/" target="_blank"><strong>LibrariUS</strong></a> is a co-production of American Public Media&#39;s <a href="http://www.publicinsightnetwork.org/" target="_blank">Public Insight Network</a> (PIN), the <a href="http://ala.org" target="_blank">American Library Association</a> (ALA) and its division, the <a href="http://ala.org/pla" target="_blank">Public Library Assocation</a> (PLA). The purpose of this project is to explore the information and other needs of communities through the lens of local libraries.</p><p>PIN is a nonprofit network of more than 100,000 people around the country who share their insights, knowledge and experiences with trusted journalists in hopes of making news coverage more relevant, transparent and trustworthy. It was founded eight years ago by <a href="http://www.americanpublicmedia.org" target="_blank">American Public Media</a>, the second largest producer and distributor of public radio programming and the largest owner of public radio stations in the nation.</p><p>ALA is the oldest and largest library association in the world, with more than 61,000 members. The nonprofit organization promotes libraries and information services, and librarianship internationally, to ensure that everyone has access to information.</p><p>PLA is a division of the ALA. PLA&#39;s core purpose is to strengthen public libraries and their contribution to the communities they serve. Its mission is to enhance the development and effectiveness of public library staff and public library services.</p></div></div><hr style="border: none; border-top:1px solid #ccc;border-bottom:1px solid #fff;margin: 6px 0;"></div><div id="alarotator"><ul><li><b>Betty</b> in <b>Deerfield Beach, Fla.</b> says library services have been her lifeline after losing her job two years ago. "Living alone and without income is not easy. The library has become a very important place for me."</li><li style="display:none;"><b>Susan</b> from <b>Highlands Ranch, Colo.</b> says, "I&#39;m looking for a book that my son needs for elementary school since the school didn&#39;t have enough copies. And yes! The library had the book he needed."</li><li style="display:none;"><b>Jayashree</b> in <b>Minneapolis, Minn.</b> says, "I came to the U.S. as an international student and felt quite home sick for the first few months. I had not made friends and was quite miserable when I discovered the public library system. Having free and fast access to books was a life saver."</li><li style="display:none;"><b>Chris</b> in <b>Salt Lake City, Utah</b> says, "The downtown public library is the first place I bring new visitors to the city. It&#39;s gorgeous. It&#39;s really a community hub, so I come here all the time on weekends just to wander around, see what&#39;s going on, hunker down with homework, or paw through books and CDs."</li><li style="display:none"><b>Steven</b> in <b>San Diego, Calif.</b> says, "I found several amazing books on graphic design, fashion design, and making books by hand &mdash; so I checked those out. I&#39;m trying to teach myself these activities.</li><li style="display:none"><b>Casey</b> in <b>Federal Way, Wash.</b> says, "Like many families today our budget is tight and we mostly just have room for the essentials. So if it were not for the local library we wouldn&#39;t be able to let our children explore and find their own taste in literature. We wouldn&#39;t be able to make researching for that school assignment a fun expedition or get a movie for family movie night."</li></ul></div>');
	function doRotate(){
		setInterval(function(){
			$('div#alarotator ul li').filter(':visible').fadeOut(500,function(){
				if($(this).next('div#alarotator ul li').size()){
					$(this).next().fadeIn(500);
				}
				else{
					$('div#alarotator ul li').eq(0).fadeIn(500);
				}
			});
		},10000);
	};
	doRotate();
	$().jquery;
});
