(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:16px;margin:5px;padding:10px;width:95%;max-width:140px;-webkit-font-smoothing:antialiased}#ALAheader{text-shadow:none !important;padding-bottom:10px;padding-left:40px;height:80px;}#ALAheader img{position:absolute;top:-1px;left:0px;width:44px !important;height:62px !important;}#ALAheader #wordmark{font-size:12px;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;height:42px;}#ALAform label{color:white;text-shadow:0 1px 1px #222;font-size:21px;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:16px;font-style:italic;font-weight:bold;height:24px;margin:6px 0;padding:2px;width:60%}#alawidget input#alasubmit{position:absolute;top:6px;right:7px;line-height:18px;}#recent{border-top:1px solid #d9d9d9;font-size:14px;padding-top:10px;height:40px}#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:230px;overflow-y:scroll;max-height:200px;}#alawidget #qmark{width:20px !important;height: 20px !important;}</style>');
	$('#alawidget').append('<div id="ALAheader"><img src="http://www.publicinsightnetwork.org/librarius/images/ribbon-small.png" width="44" height="62"><span id="wordmark">Librari<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><input type="text" name="shortResponse" id="ALAtextfield" value="I&#39;m"></label><input type="image" src="http://www.publicinsightnetwork.org/librarius/images/greenarrow.png" alt="Submit" class="submitbutton" id="alasubmit" height="30" width="30"></form></div><div id="ALAinfo"><img src="http://www.publicinsightnetwork.org/librarius/images/qmark.png" width="20" height="20" id="qmark"><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></div>');
	$().jquery;
});
