<%@ OutputCache Duration="60" VaryByParam="*" %>
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="Poll.ascx.cs" Inherits="XpShop.WebUI.Modules.Poll" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<script language=javascript>
	function pophtml(pollID){
		if(pollID==0)
		window.open('PollList.aspx', '_new', 'resizable=yes,scrollbars=yes,width=500,height=400');
		else
		window.open('PollView.aspx?type=view&pollID=' + pollID, '_new', 'resizable=yes,scrollbars=yes,width=500,height=400');
	}
</script>
<div class='lframe'>
	<table width="95%" cellspacing="0" cellpadding="0">
		<tr>
			<td class="tl"></td>
			<td class="tm">
				<span class=tt><%=GetResourceString("Poll"))%></span>
			</td>
			<td class="tr"></td>
		</tr>
	</table>
	<table width="95%" cellspacing="0" cellpadding="0">
		<tr>
			<td class="ml"></td>
			<td class="mm">
				<%=GetPoll()%>
			</td>
			<td class="mr"></td>
		</tr>
	</table>
	<table width="95%" cellspacing="0" cellpadding="0" >
		<tr>
			<td class="bl"></td>
			<td class="bm">&nbsp;</td>
			<td class="br"></td>
		</tr>
	</table>
</div>