<%@ Control Language="c#" AutoEventWireup="true" Codebehind="Poll.ascx.cs" Inherits="XpShop.WebUI.Modules.Poll" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<script type="text/javascript">
	function pophtml(pollID){
		if(pollID==0)
		window.open('<%=webSite %>PollList.aspx', '_new', 'resizable=yes,scrollbars=yes,width=500,height=400');
		else
		window.open('<%=webSite %>PollView.aspx?type=view&pollID=' + pollID, '_new', 'resizable=yes,scrollbars=yes,width=500,height=400');
	}
</script>
<div class="xp-poll">
	<div class="xp-poll-top">
	    调查
	</div>
	<div class="xp-poll-body">
		<%=GetPoll(false)%>
	</div>
</div>