
{foreach from=$child item=item}
<li>
{if empty($genrecd)}

{if $item.child != ""}<a href="javascript:void(0);" onclick="var item=$('item{$item.genrecd}');Element.toggle(item);if (Element.visible(item))Element.update(this,'<img src=\'img/minimize.gif\' border=\'0\'>'); else Element.update(this,'<img src=\'img/maximize.gif\' border=\'0\'>');"><img src="img/maximize.gif" border="0"></a>
{else}<img src="img/side_arrow.gif">
{/if}

{/if}
<a href="{$scriptName}?action=general_itemview_itemlist&gnr={$item.genrecd}">{$item.genrenm|escape}</a>
{if $item.child != ""}
<ul>
{include file="sidegenre_tree.html" child=$item.child}
</ul>
{/if}
</li>
{/foreach}
