for( i=1; i<=nmwc_items; i++ ) {

   image = '';
   headline = '';
   teaser='';
   text='';

   url = 'http://www.newsmax.de/'+item[i]["url"];

   if( nmwc_image && (item[i]["image"]!='') ) {
      imgsrc = 'http://www.newsmax.de/'+item[i]["image"];
      image = '<a href="'+url+'" target="_blank"><img src="'+imgsrc+'" width="75" align="left" style="margin-right:10px;margin-bottom:5px;border:1px solid #CCCCCC;"></a>';
   }

   headline = '<span style="'+nmwc_headline+'"><a href="'+url+'" target="_blank">'+item[i]["headline"]+'</a></span><br>';

   if(item[i]["teaser"]!='')
   if(nmwc_teaser) teaser = '<span style="'+nmwc_teaser+'">'+item[i]["teaser"]+'</span><br>'; else teaser = item[i]["teaser"]+'<br>';

   if(nmwc_text) text = '<span style="'+nmwc_text+'">'+item[i]["text"]+' <a href="'+url+'" target="_blank"><b>lesen &raquo;</b></a></span>'; else text = item[i]["text"]+'<a href="'+url+'" target="_blank"><b>lesen &raquo;</b></a>';

   html = image+headline+teaser+text;
   
   if( nmwc_image && (item[i]["image"]!='') ) html+='<div style="clear:both"></div>';
   if(i<nmwc_items) html+='<hr SIZE=1 style="color:'+nmwc_sep+';margin-top:10px;margin-bottom:10px;">';
   
   if(nmwc_id!='') html+='<img src="http://www.newsmax.de/webcontent/counter.php?id='+nmwc_id+'" height="1" width="1">';
   
   document.write(html);

}