you can save the true/false in ViewData
ex:
if (model.IsItem==true)
ViewData["IsItem"]="show"
In the document.ready check this data and apply a css class to div.
ex:
if ('<% =ViewData["IsItem"] %>'=='show')
$('#divId').addclass('show');
and define the show css class,such as:
.show
{
display:block;
}