document.writeln("<style type=\"text/css\">")
document.writeln(".emstyle0 { margin-top: 0; margin-bottom: 0 ;}")
document.writeln(".emstyle1 { margin-top: 0; margin-bottom: 5 ;}")
document.writeln("</style>")
if(items.length ==0){document.writeln("Channel not published");}else{
if( itemcount > items.length-1){itemcount=items.length-1;}
document.writeln("<TABLE cellSpacing=5 cellPadding=0 width=\"100%\" align=center border=0>");
document.writeln("<TR>");
document.writeln("<TD>");
document.writeln("");
document.writeln("<TABLE cellSpacing=0 cellPadding=3 width=\"100%\" align=center bgColor=#ffffff border=0>");
document.writeln("<TBODY>");
document.writeln("");
document.writeln("<TR>");
document.writeln("<TD vAlign=top width=\"100%\" bgColor=#ffffff>");
document.writeln("<font face=\"Verdana\" size=\"2\">");
document.writeln("");
for (var i=0; i < itemcount; i++){
item=items[i];
document.writeln("<p class=\"emstyle0\">");
document.writeln("<A href=\""+item.link+"\">"+item.title+"</A>");
document.writeln("<p class=\"emstyle1\">"+item.description+"&nbsp;");
document.writeln("");
}
document.writeln("");
document.writeln("</font>");
document.writeln("");
document.writeln("</TD>");
document.writeln("</TR>");
document.writeln("");
document.writeln("</TBODY>");
document.writeln("</TABLE>");
document.writeln("</TD>");
document.writeln("</TR>");
document.writeln("</TABLE>");
}