##<!-- $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/discussion/chef_threaded_discussionsII-Layout.vm,v 1.4 2005/05/31 20:21:52 zqian.umich.edu Exp $ -->
<script  type="text/javascript" language="JavaScript" src="#scriptLink('discussionscript.js')">
</script>
	<iframe
		name="$validator.escapeJavascript("$panel-toolbar")"
		id="$validator.escapeJavascript("$panel-toolbar")"
		title="$panel-toolbar"
		class="discussionToolBarIframe"
		frameborder="0"
		marginwidth="0"
		marginheight="0"
		scrolling="no"
		align="left"
		src="#contentCourierLink("$panel-toolbar")">
	</iframe>
		#if (!$layout_left_right)
		<table id="discussionLayoutTop-Bottom"  width="100%" border="0" cellspacing="0" cellpadding="0" summary="layout">	
				<tr>
					<td class="discussionListWrapper">
						<iframe
							name="$validator.escapeJavascript("$panel-monitor")"
							id="$validator.escapeJavascript("$panel-monitor")"
							title="$panel-monitor"
							width="100%"
							height="250"
							frameborder="0"
							marginwidth="0"
							marginheight="0"
							scrolling="auto"
							align="left"
							src="#contentLink("$panel-monitor")">
						</iframe>
					</td>
				</tr>
				<tr>
					<td class="discussionItemWrapper">
						<iframe
							name="$validator.escapeJavascript("$panel-control")"
							id="$validator.escapeJavascript("$panel-control")"
							title="$panel-control"
							width="100%"
							frameborder="0"
							marginwidth="0"
							marginheight="0"
							scrolling="auto"
							src="#contentCourierLink("$panel-control")"
							onload="updateMainFrameHeight('$mainFrameId');"
							>
						</iframe>
					</td>
				</tr>
			</table>
		#else
			<table id="discussionLayoutLeft-Right" width="100%" border="0" cellspacing="0" cellpadding="0" summary="layout">
				<tr>
					<td class="discussionListWrapper">
						<iframe
							name="$validator.escapeJavascript("$panel-monitor")"
							id="$validator.escapeJavascript("$panel-monitor")"
							title="$panel-monitor"
							width="100%"
							height="600"
							frameborder="0"
							marginwidth="0"
							marginheight="0"
							scrolling="auto"
							align="left"
							src="#contentLink("$panel-monitor")">
						</iframe>
					</td>
					<td class="discussionItemWrapper">
						<iframe
							name="$validator.escapeJavascript("$panel-control")"
							id="$validator.escapeJavascript("$panel-control")"
							title="$panel-control"
							width="100%"
							frameborder="0"
							marginwidth="0"
							marginheight="0"
							scrolling="auto"
							align="right"
							src="#contentCourierLink("$panel-control")"
							onload="updateMainFrameHeight('$mainFrameId');"
							>
						</iframe>
					</td>
				</tr>
			</table>
		#end

