<ad:set name="scrollvisible" value="$isiif(visible,"6")$" />
<ad:set name="scrollwidth" value="$isiif(width,"120")$" />
<ad:set name="scrollheight" value="$isiif(height,"90")$" />
<div id="scroll_$random("1000","9999")$" class="scroll" name="$scrollvisible$">
	<ul>
		<ad:foreach collection="$common("system=scroll")$" var="it" index="i">
		<li><a href="$it["url"]$"><img src="$sitepath$$it["pic"]$" width="$scrollwidth$" height="$scrollheight$" /></a></li>
		</ad:foreach>
	</ul>
</div>