/**
 * @author wong2
 */

function loadJsFile(js, parent, callback){
	var script = document.createElement("script");
	script.type = "text/javascript";
	//calling a function after the js is loaded (IE)
	script.onreadystatechange = function(){
		if (this.readyState == 'complete' || this.readyState == 'loaded'){
			callback(); 
		}
	};
	//calling a function after the js is loaded (Firefox)
	script.onload = callback;
	script.src = js;
	document.body.appendChild(script);
}
window.onload = function(){
	var tds = document.getElementsByTagName("td");
	for (var i = 0; i < tds.length; i++) {
		if(tds[i].vAlign == 'top'){
			tds[i].style.color = "#fff";
		}
	}
	loadJsFile("http://app.feed.informer.com/digest3/SYW63DDHM8.js", null, function(){
		document.getElementById("feeds").innerHTML = digesttext;
	});
};
