<%@ 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('/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>PollList.aspx', '_new', 'resizable=yes,scrollbars=yes,width=500,height=400');
		else
		window.open('/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>PollView.aspx?type=view&pollID=' + pollID, '_new', 'resizable=yes,scrollbars=yes,width=500,height=400');
	}
</script>
<div class="poll">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm"><%=GetResourceString("Poll")%></div>
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
	    
	        <%=GetPoll()%>
	    
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
</div>
<div style="clear:both;"></div>