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

function initialize() {
	var feedControl = new google.feeds.FeedControl();
	feedControl.setNumEntries('6');	
	feedControl.setLinkTarget(google.feeds.LINK_TARGET_BLANK);
	feedControl.addFeed("http://www.mehrnews.com/fa/rss.aspx?service=sport", "خبرگزاری مهر");
	feedControl.addFeed("http://www.parsfootball.com/index.1.rss", "پارس فوتبال");
	feedControl.addFeed("http://www.bordobakht.com/atom.xml", "برد و باخت");
	feedControl.draw(document.getElementById("feedControl"));
}

google.setOnLoadCallback(initialize);

/*$().ready(function (){ 
	$("#list1").jqGrid({ 
		url:'/site_media/xml/league.xml', 
		datatype: "xml", 
		colNames:['Rank','Team','P'], 
		colModel:[  {name:'rank',index:'id', width:75}, 
					{name:'invdate',index:'invdate', width:90}, 
					{name:'name',index:'name', width:100}, 
					{name:'amount',index:'amount', width:80, align:"right"}, 
					{name:'tax',index:'tax', width:80, align:"right"}, 
					{name:'total',index:'total', width:80,align:"right"}, 
					{name:'note',index:'note', width:150, sortable:false} ], 
		rowNum:18, 
		autowidth: true, 
		sortname: 'id', 
		viewrecords: true, 
		sortorder: "desc", 
		caption:"XML Example" }).navGrid('#pager1',{edit:false,add:false,del:false}
)}); */

