function playJs(nRadio,nArticle,width,bColor,tColor,lColor,aColor)
{
	variable();
	var line=1;
	var wTable = width - 40;
	if (nRadio>=1) 
	{
		
		
		var out;
		out  = '<div style="height:45px;width:'+ width +'px;background-color:#ffffff;">'
			 +	'<a style="text-decoration:none" href="http://play.cz/">'
		 	 + 		'<img  style="float:left;border:0px;" src="play-cz-logo.png" />'
		   	 + 		'<div style="float:left;color:#f26200;padding-top:14px;font-size:20px;font-width:bold;">&nbsp;PLAY.CZ</div>'	
	 	 	 +  '</a>'
	 	 	 +  '</div>';
	 
	     out +='<table style="border-collapse:collapse;width:'+ width +'px;text-align:left;font-size:12px;" >';
		 for (var idx=0;idx<nRadio;idx++) 
		 {	
			 out += '<tr style="background-color:#' + bColor + ';" >';
			 out += '<td style="border-bottom:1px solid #FFFFFF;color:#'+ lColor + ';background-color:#' + bColor + ';" >' + line + '. </td>';
			 out += '<td style="border-bottom:1px solid #FFFFFF;color:#'+ lColor + ';width:'+ wTable + 'px;" ><a style="text-decoration:none;color:#'+ lColor+ ';" href="" onmouseover="this.style.color=\'#'+ aColor +'\'" onmouseout="this.style.color=\'#'+ lColor +'\'"  onclick="window.open(\'http://www.play.cz/listen/listen.php?' + radio_link[idx] +'\', \'v2player\', \'width=670,height=640,status=0,scrollbars=0,resizable=0\');" >' + radio_name[idx] + '</div></td>';
			 out += '<td style="border-bottom:1px solid #FFFFFF;color:#'+ tColor + ';text-align:right;" >' + radio_listener[idx] + '</td>';
			 out += '</tr>';
             line ++;
		 }
		 out += '</table>';
	}
	
	if (nArticle==1) 
	{
		var nNews = 3;
		 out +='<table style="background-color: #' + bColor + ';width: '+ width +'px;font-size:11px;text-align:left;font-family:arial;" >';
		 for (var idy=0;idy<nNews;idy++) 
		 {
	 	 	out += '<tr >';
		 	out += '<td style="border-bottom:1px solid #FFFFFF;"><a style="text-decoration:none;color:#'+ lColor+ ';" href="http://www.play.cz/'+ news_link[idy]  +'" onmouseover="this.style.color=\'#'+ aColor +'\'" onmouseout="this.style.color=\'#'+ lColor +'\'"  >'+ news_header[idy]+ ' </a></td>';
		 	out += '</tr>';
		 }
	} 
	document.getElementById('play-cz-top-radio').innerHTML=out;
}
