<%@ Page CodeBehind="Referrals.aspx.cs" Language="c#" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.MediaGalleries.Referrals" MasterPageFile="~/ControlPanel/Masters/MediaGalleries.master" %>

<asp:Content ContentPlaceHolderId="DescriptionRegion" runat="server"><asp:literal id="PageTitle" runat="server" /></asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
    <CP:ControlPanelSelectedNavigation SelectedNavItem="Posts" runat="server" id="SelectedNavigation1" />
    <script type="text/javascript" src="../charts/swfobject.js"></script>
	<div class="CommonDescription">
		<cp:resourcelabel runat="server" resourcename="CP_MediaGalleries_Referrals_SubTitle"></cp:resourcelabel>
	</div>
    <h3><cp:resourcelabel runat="server" resourcename="CP_MediaGalleries_Referrals_Chart"/></h3>
    <div id="linechart">
        <strong>Unable to display the chart</strong>
    </div>

    <script type="text/javascript">
        // <![CDATA[		
        var so = new SWFObject("../charts/amline.swf", "amline", "100%", "200", "8", "#FFFFFF");
        so.addVariable("path", "../charts/");
        so.addVariable("settings_file", escape("../charts/settings_MediaGallery_ViewsByDay.xml"));
        so.addVariable("data_file", escape("../charts/charts.ashx?report=ViewsByDay&sid=<%= Request.QueryString["sectionid"] %>&pid=<%= Request.QueryString["postid"] %>"));
        so.addVariable("preloader_color", "#999999");
        so.write("linechart");
        // ]]>
    </script>
</asp:Content>