function AddObjectCell(hrefstr, hrefstr2, F_ID, Name, Name2, SubCategories, Janre, Production, OAverage, OCount, MinOCount, IsTop, IsBest, IsWait)
{
	var s = '';
	s += '<table class="ObjectCell" border="0" cellpadding="0" cellspacing="3" align="center" width="165px">';
	s += '<tr><td align="center">';
	s += '<table border="0" cellpadding="0" cellspacing="0" align="center">';
	s += '<tr><td align="center">';
	s += SetObjBorder('<a href="' + hrefstr + hrefstr2 + F_ID + '"><img src="' + hrefstr + '/images/film/c'+ F_ID +'_1.jpg" width="100px" border="1"></a>');
	s += '</td></tr>';
	s += '</table>';
	s += '<tr><td align="center">';
	s += '<span class="ObjectCellHeader"><a class="Link1" href="' + hrefstr + hrefstr2 + F_ID + '">' + Name + '</a></span><br>';
	if (Name2.length > 0) s += '<span class="ObjectCellSubHeader"><a class="Link2" href="' + hrefstr + hrefstr2 + F_ID + '">' + Name2 + '</a></span><br>';
	if (Janre.length > 0) s += Janre;
	s += '</td></tr>';
	s += '</td></tr>';
	s += '</table><br>';

return s;
}

