<%if {pagewordad.length}>0%>
<!--adtext-->
<div id="ad_text" class="ad_text">
	<table cellspacing="1" cellpadding="0" summary="Text Ad">
	<tbody>
		<tr>
		<%set (int){adindex}=0%>
		<%loop (string) pageword pagewordad%>
			<%if {adindex}<4%>
				<td>{pageword}</td>
				<%set {adindex}={adindex}+1%>
			<%else%>
				</tr><tr>
				<td>{pageword}</td>
				<%set {adindex}=1%>
			<%/if%>								
		<%/loop%>
		<%if {pagewordad.length}%4>0%>
			<%csharp%>
				for (int j = 0; j < (4 - pagewordad.Length % 4); j++)
				{
			<%/csharp%>
				<td>&nbsp;</td>
			<%csharp%>
				}
			<%/csharp%>
		<%/if%>
		</tr>
	</tbody>
	</table>
</div>
<!--adtext-->
<%/if%>