<ad:set name="word" value="$dataview("c_word","url='$request("id")$'")$" />

<ad:set name="system" value="$word[0]["system"]$" />
<ad:if test="$comparenocase(system,"word")$">
	<ad:set name="main_content" value="<div class=""subcontent"">$word[0]["content"]$</div>" />
<ad:else />
	<ad:set name="main_content" value="$include("_$word[0]["system"]$","","nav|pagetitle|keywords|description")$" />
</ad:if>

<ad:set name="pagetitle" value="$isiif(pagetitle,word[0]["title"])$" />
<ad:set name="keywords" value="$isiif(keywords,word[0]["keywords"])$" />
<ad:set name="description" value="$isiif(description,word[0]["description"])$" />

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td valign="top" class="nav"><span>$wordnav("")$ $isiif(nav)$</span></td>
	</tr>
</table>
<br />
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td width="200" valign="top">
		<ad:if test="$comparenocase(word(wordlayer(1),"ishide"),"0")$"><ad:else />
		<table width="180" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="submenutitle"><span>$word(wordlayer(1),"name")$</span></td>
			</tr>
			<tr>
				<td class="submenu">
					$wordmenu("id=$wordlayer(1)$|layer=2")$
				</td>
			</tr>
		</table>
		<br />
		</ad:if>
		</td>
		<td valign="top" class="content">
		$main_content$
		</td>
	</tr>
</table>