// JavaScript Document

google.load("feeds", "1");

function initialize() {

	var feedControl = new google.feeds.FeedControl();
	feedControl.setNumEntries("2");
	feedControl.setLinkTarget("google.feeds.LINK_TARGET_BLANK");
	feedControl.addFeed("http://main.uschess.org/component/option,com_rss/feed,RSS2.0/no_html,1/", "US Chess Federation");
	feedControl.addFeed("http://arizonascorpionchess.com/?feed=rss2", "AZ Scorpions");	
	feedControl.addFeed("http://usclnews.blogspot.com/feeds/posts/default", "US Chess League");
	feedControl.addFeed("http://feeds2.feedburner.com/ArizonaChessForSchools", "AZ Chess For Schools");
	feedControl.addFeed("http://9queens.org/feed/", "9 Queens");
	feedControl.addFeed("http://susanpolgar.blogspot.com/feeds/posts/default", "Susan Polgar");
	/*feedControl.addFeed("http://college.chesspark.com/rss", "Chesspark College");*/
/*	feedControl.addFeed("http://fpawn.blogspot.com/feeds/posts/default", "fpawn");
*/
	/* For tabbed browsing use this */
	feedControl.draw(document.getElementById("feedControl"),
		{drawMode : google.feeds.FeedControl.DRAW_MODE_TABBED}
	);	   		
}
google.setOnLoadCallback(initialize);


function initialize2() {

	var feedControl_SACA = new google.feeds.FeedControl();
	feedControl_SACA.setNumEntries("5");
	feedControl_SACA.setLinkTarget("google.feeds.LINK_TARGET_BLANK");
	feedControl_SACA.addFeed("http://sazchess.blogspot.com/feeds/posts/default", "SACA");

	feedControl_SACA.draw(document.getElementById("feedControl_SACA"),
		{drawMode : google.feeds.FeedControl.DRAW_MODE_LINEAR}
	);
}
google.setOnLoadCallback(initialize2);
