function tunaSimpleRssList(json) {
	var html='<div style="width:'+width+'px;">';
	for( var i=0; i<json.value.items.length; i++ ) {
		html += '<div style="clear:both; border-bottom-width:1px; border-bottom-style:solid; border-bottom-color:#39abc3; padding-top:4px; padding-bottom:4px;">';
		html += '<a href="' + json.value.items[i].link + '" target="_blank">';
		var thumb = json.value.items[i]["content:encoded"].match(/http\:\/\/[a-z\d]+\.tuna\.be\/p\/\d+\/\d+\/\d+_s\.jpg/);
		if (thumb!=null){
			html += '<img src="'+thumb+'" width="50" style="float:left; margin-right:5px;" border="0">';
		}
		if (json.value.items[i].enclosure){
			html += '<img src="http://tuna.be/pc/img/icon_video.gif" align="absmiddle" border="0">';
		}
		html += json.value.items[i].title + '</a>';
		if (json.value.items[i].description.length>38){
			json.value.items[i].description = json.value.items[i].description.substr(0, 38)+'...';
		}
		html += '<br />' + json.value.items[i].description;
		if (window.isDate!=undefined){
			if (isDate==1){
				var d = json.value.items[i]["dc:date"].substr(0,19).replace("-", ".").replace("-", ".").replace("T", " ");
				html += '<div style="float:right; font-size:80%;">('+d+')</div>';
			}
		}
		html += '<div style="clear:both;"></div>';
		html += '</div>';
		if (i+1>=limit) break;
	}
	html += '<div align="right" style="font-size:80%;">powered by <a href="http://tuna.be/" target="_blank">tuna.be</a></div></div>';
	document.getElementById("tunaSimpleRssList").innerHTML = html;
}

