<ad:set name="scrollvisible" value="$isiif(visible,"6")$" />
<ad:set name="scrollwidth" value="$isiif(width,"120")$" />
<ad:set name="scrollheight" value="$isiif(height,"90")$" />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td class="title"><span>$isiif(name,"滚动图片")$</span></td>
	</tr>
	<tr>
		<td valign="top" class="indexbox">
			<div id="scroll_$random("1000","9999")$" class="scroll" name="$scrollvisible$">
				<ul>
					<ad:foreach collection="$common("scroll","$isiif(id,"0")$")$" var="it" index="i">
					<li><a href="$it["url"]$"><img src="$sitepath$$it["pic"]$" alt="$it["name"]$" title="$it["name"]$" width="$scrollwidth$" height="$scrollheight$" /><span$iif(comparenocase(text,"true"),""," style=""display:none""")$>$left(it["name"],20)$</span></a></li>
					</ad:foreach>
				</ul>
			</div>
		</td>
	</tr>
</table>