<mef:set title="{title}" container="fullscreen" />

<div id="header">
<a href="/"><mef:theme_image src="image/logo.png" alt="logo" width="293" height="56" border="0" /></a>
</div>

<div id="manual">
<mef:if expr="parent">
<div id="sidebar">
<h1><a href="/manual/4">Allegro Manual</a></h1>
<h2 mef:if="parent.title"><a href="/manual/4/{parent.path}">{parent.title}</a></h2>
<ul>
<mef:loop collection="ref_list" item="r">
<mef:if expr="path = r.path">
	<mef:true><li><strong>{r.name}</strong></li></mef:true>
	<mef:false><li><a href="/manual/4/{r.path}" mef:attributes="style: 'font-weight: bold' if r.weight = 0">{r.name}</a></li></mef:false>
</mef:if>
</mef:loop>
</ul>
</div>
</mef:if>

<div id="contents">
{contents}

<mef:if expr="threads">
<h2>Related Discussions</h2>
<small>The following threads each have code containing this keyword:</small>
<ul style="max-height: 20em; overflow: auto; position: relative;">
	<li mef:loop="threads" id="t">
		<a href="/forums/thread/{t.id}">{t.topic}</a>
		<span style="font-size: 90%; font-weight: bold; vertical-align: baseline; position: relative; bottom: 0.33em;"><mef:loop collection="t.posts" name="p"><a href="/forums/post/{p.val}" style="color: black;">{p.i+1}</a> </mef:loop></span>
	</li>
</ul>
<small><b>Note:</b> You can click on the numbers to jump directly to the posts that reference this page.</small>
</mef:if>

<mef:if expr="projects">
<h2>Related Projects</h2>
<small>The following projects include source code containing this keyword:</small>
<ul style="max-ehgith: 20em; overflow: auto;">
	<li mef:loop="projects" id="p"> 
		<a href="/depot/{p.folder_name}">{p.ProjectTitle}</a>
	</li>
</ul>
</mef:if>


<br style="clear: left;" />

</div>



</div>