    google.load("feeds", "1");
 
	function initialize() {
		
		var feed = new google.feeds.Feed("http://feeds.feedburner.com/LivestrongBlog"),
			feed2 = new google.feeds.Feed("http://feeds.delicious.com/v2/rss/laf_livestrong"),
			weekday = new Array("Sun","Mon","Tue","Wed","Thur","Fri","Sat"),
			monthname = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"),
			entry, li, h4, tr, th, td, p, em, br, b, date, month, year, day, time, dateString, content, more, stripped, len;
			
			feed.setNumEntries(3);
			feed2.setNumEntries(7);
		
		feed.load(function(result) {
			if (!result.error) {
				var container = document.getElementById("feed-list");
				len = result.feed.entries.length;
								
				for (var i = 0; i < len; i++) {
					entry = result.feed.entries[i];
					li = document.createElement("li");
					h4 = document.createElement("h4");
					p = document.createElement("p");
					em = document.createElement("em");
					br = document.createElement("br");
					more = document.createElement("a");
					b = document.createElement("strong");
					date = new Date(entry.publishedDate);
					month = monthname[date.getMonth()];
					day = weekday[date.getDay()];
					time = date.getHours()>12?date.getHours()-12+":"+date.getMinutes()+" PM":date.getHours()+":"+date.getMinutes()+" AM";
					dateString = day+", "+month+" "+date.getDate()+", "+date.getFullYear()+" "+time;
					content = entry.content;
					stripped = content.replace(/(<([^>]+)>)/ig,"").substr(0,117)+"...";
					
					more.setAttribute("href", entry.link);
					more.appendChild(document.createTextNode("more >>"));
					b.appendChild(more);
										
					h4.appendChild(document.createTextNode(entry.title));
					em.appendChild(document.createTextNode(dateString));
					p.appendChild(em)
					p.appendChild(br);
					p.appendChild(document.createTextNode(stripped));
					p.appendChild(b);
					li.appendChild(h4);
					li.appendChild(p);
					container.appendChild(li);
				}
				if(navigator.userAgent.toLowerCase().indexOf('msie 6') != -1) {
					var h = container.offsetHeight;
					document.getElementById("home-content-wrapper").style.height = h;
				}
			}
		});
		
		feed2.load(function(result) {
			if (!result.error) {
				var container = document.getElementById("headline-feed");
				len = result.feed.entries.length;
					
				for (var i = (len-1); i > 0; i--) {
					entry = result.feed.entries[i];
					tr = container.insertRow(0);
					if(i==1)
						tr.className="first-row";
					th = document.createElement("th");
					tr.appendChild(th);
					td = tr.insertCell(1)

					p = document.createElement("p");
					more = document.createElement("a");
					b = document.createElement("strong");
					
					date = new Date(entry.publishedDate);
					month = monthname[date.getMonth()];
					year = date.getFullYear().toString();
					dateString = month+" "+date.getDate()+" "+year.substr(2);
										
					th.appendChild(document.createTextNode(dateString));
					
					more.setAttribute("href", entry.link);
					more.setAttribute("target", "_blank");
					more.appendChild(document.createTextNode(entry.title));
					b.appendChild(more);
					
					p.appendChild(b);
					td.appendChild(p);
				}
			}
		});
	}
    google.setOnLoadCallback(initialize);