// archivenational .Com - Public Records Search Web 2.0 with ajax google api amd yahoo tabs. V 2010.06.06
function archivenational_cs(url) { var cs = document.createElement('link');   cs.href=url; cs.type='text/css'; cs.rel = 'stylesheet'; 	document.getElementsByTagName('head').item(0).appendChild(cs); }
function archivenational_js(url) { var js = document.createElement('script'); js.src=url;  js.type='text/javascript';                     document.getElementsByTagName('head').item(0).appendChild(js); }
archivenational_cs('http://yui.yahooapis.com/2.5.2/build/fonts/fonts-min.css');
archivenational_cs('http://yui.yahooapis.com/2.5.2/build/tabview/assets/skins/sam/tabview.css');
archivenational_js("http://yui.yahooapis.com/2.5.2/build/yahoo-dom-event/yahoo-dom-event.js");
archivenational_js("http://yui.yahooapis.com/2.5.2/build/element/element-beta-min.js");
archivenational_js('http://yui.yahooapis.com/2.5.2/build/tabview/tabview-min.js');
archivenational_js('http://www.google.com/jsapi?key=ABQIAAAAB8Kdohd2JRKnoKDEThvpABSuI3WOOFpWTJZ-kyvyUOXv4JOtixRlcVMOYCEwnvv6Xx7I6IoX9y4iKQ');
document.getElementsByTagName('body').item(0).className = 'yui-skin-sam';
	google.load("feeds", "1");
    function initialize() {
    var rss = new google.feeds.FeedControl();
        rss.addFeed("http://www.archivenational.com/national/publicrecords.xml", "Public Records");
		rss.setNumEntries(10); rss.draw(document.getElementById("rss1"));
	rss = new google.feeds.FeedControl();
        rss.addFeed("http://www.findanyrecords.com/feed/", "Articles");
        rss.setNumEntries(10); rss.draw(document.getElementById("rss2"));
	rss = new google.feeds.FeedControl();
        rss.addFeed("http://www.washingtonwatch.com/bills/subject/2853.xml", "Political");
		rss.setNumEntries(10); rss.draw(document.getElementById("rss3"));
	rss = new google.feeds.FeedControl();
        rss.addFeed("http://publicrecords.onlinesearches.com/public-records-blog/feed/", "Information");
		rss.setNumEntries(10); rss.draw(document.getElementById("rss4"));
	rss = new google.feeds.FeedControl();
        rss.addFeed("http://www.archives.gov/news/rss.php", "US");
		rss.setNumEntries(10); rss.draw(document.getElementById("rss5"));
	rss = new google.feeds.FeedControl();
        rss.addFeed("http://www.nationalarchives.gov.uk/rss/news.xml", "UK");
		rss.setNumEntries(10); rss.draw(document.getElementById("rss6"));
	rss = new google.feeds.FeedControl();
        rss.addFeed("http://www.publictechnology.net/backend.php", "Europe");
		rss.setNumEntries(10); rss.draw(document.getElementById("rss7"));
    rss = new google.feeds.FeedControl();
        rss.addFeed("http://feeds.feedburner.com/foiablog/", "Legal Research");
		rss.setNumEntries(10); rss.draw(document.getElementById("rss8"));
    rss = new google.feeds.FeedControl();
        rss.addFeed("http://archivenational.blogspot.com/feeds/posts/default", "Live Blog");
		rss.setNumEntries(10); rss.draw(document.getElementById("rss9"));
	}
    google.setOnLoadCallback(initialize);

