<ad:set name="bannerwidth" value="$isiif(width,"740")$" />
<ad:set name="bannerheight" value="$isiif(height,"80")$" />
<ad:set name="bannerid" value="$isiif(id,"0")$" />
<ad:set name="bannertop" value="$isiif(top,"3")$" />
<div id="banner_$random("1000","9999")$" class="banner" style="width:$bannerwidth$px; height:$bannerheight$px; visibility:hidden;">
	<div class="loading"><span></span></div>
	<ul class="pic">
		<ad:foreach collection="$common("system=banner|category=$bannerid$|top=$bannertop$")$" var="it" index="i">
		<li><a href="$it["url"]$"><img src="$sitepath$$it["pic"]$" alt="$it["name"]$" title="$it["name"]$" width="$bannerwidth$" height="$bannerheight$"></a></li>
		</ad:foreach>
	</ul>
</div>