<%@ Control Language="C#" %>
<%@ Import Namespace="CommunityServer" %>
<%@ Import Namespace="CommunityServer.Components" %>

<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CSD" Namespace="CommunityServer.Discussions.Controls" Assembly="CommunityServer.Discussions" %>
<span id="RateButton" style="cursor:hand"><CSD:ForumImageButton runat="server" id="RatingButton" /></span>
<div id="RateMenu" style="position:absolute;display:none;visibility:hidden;" onMouseOver="ReleaseTimer(this)" onMouseOut="DynamicHide(this, event)" class="CommonPopupArea">
	<table cellpadding="0" cellspacing="0" border="0">
    <tr>
      <td colspan="2" class="CommonFormFieldDescription">
        <b><CS:ResourceLabel runat="server" ResourceName="PostRating_Rate" /></b>
      </td>
    </tr>
    <tr>
        <td class="CommonFormField">
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star0.gif" %>' alt='<%=ResourceManager.GetString("PostRating_Zero")%>'>
        </td>
        <td class="CommonFormField">
          <asp:linkbutton id="RateZero" runat="server" />
        </td>
    </tr>

    <tr>
        <td class="CommonFormField">
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star1.gif" %>' alt='<%=ResourceManager.GetString("PostRating_One")%>'>
        </td>
        <td class="CommonFormField">
          <asp:linkbutton id="RateOne" runat="server" />
        </td>
    </tr>

    <tr>
        <td class="CommonFormField">
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star2.gif" %>' alt='<%=ResourceManager.GetString("PostRating_Two")%>'>
        </td>
        <td class="CommonFormField">
          <asp:linkbutton id="RateTwo" runat="server" />
        </td>
    </tr>

    <tr>
        <td class="CommonFormField">
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star3.gif" %>' alt='<%=ResourceManager.GetString("PostRating_Three")%>'>
        </td>
        <td class="CommonFormField">
          <asp:linkbutton id="RateThree" runat="server" />
        </td>
    </tr>

    <tr>
        <td class="CommonFormField">
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star4.gif" %>' alt='<%=ResourceManager.GetString("PostRating_Four")%>'>
        </td>
        <td class="CommonFormField">
          <asp:linkbutton id="RateFour" runat="server" />
        </td>
    </tr>

    <tr>
        <td class="CommonFormField">
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star5.gif" %>' alt='<%=ResourceManager.GetString("PostRating_Five")%>'>
        </td>
        <td class="CommonFormField">
          <asp:linkbutton id="RateFive" runat="server" />
        </td>
    </tr>
</table>
</div>