<%@ Page Language="C#" MasterPageFile="~/MasterPages/Main_MasterPage.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Home" Title="Murray Sabrin For U.S. Senate | Hope for New Jersey" %>
<%@ Register Src="~/Controls/YouTubeVideoPlayer.ascx" TagPrefix="ms" TagName="YouTubeVideoPlayer" %>
<%@ Register Src="~/Controls/UpcomingEvents.ascx" TagPrefix="ms" TagName="UpcomingEvents" %>
<%@ Register Src="~/Controls/Poll.ascx" TagPrefix="ms" TagName="Poll" %>
<%@ Register Src="~/Controls/PledgeBox.ascx" TagPrefix="ms" TagName="PledgeBox" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

<script src="js/DonationMeter.js" language="javascript" type="text/javascript"></script>


    <asp:Table ID="tblMainLayout" runat="server" Width="858" HorizontalAlign="Left"> 
        <asp:TableRow>
            <asp:TableCell Width="368" VerticalAlign="Top">
                <!-- Left column -->                
                
                <asp:Table ID="tblDonate" runat="server" Width="368" Height="305" 
                    style="background-image: url(Images/home/donate_box_bground_large.gif); background-repeat: no-repeat">                
                    <asp:TableRow>
                        <asp:TableCell style="padding-top:100px; font-size: 14px">
                        
                            On 2/29 join us for the<br />
                            <b>Scholar of Freedom</b> money bomb.<br />
                            Our goal is to raise $1.5 Million in support of<br />
                             Dr. Murray Sabrin's campaign to legalize freedom.
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell style="padding-top: 27px" >
                            <div id="divDonationMeter" style="position: relative; width: 233px; height: 33px;" ></div>
                           
                                                     
                            <script language="javascript" type="text/javascript">
                            <!--
                                var dm = new DonationMeter("divDonationMeter",<%=CurrentDonations() %>, <%=DonationTarget() %>);
                                dm.Render();
                                setInterval("dm.Update();",100);
                            -->
                            </script>
                        </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                        <asp:TableCell style="padding-top: 17px">
                            <asp:HyperLink ID="btnDonation" runat="server" ImageUrl="~/Images/home/BUTTON_donate.gif" NavigateUrl="/contribution.asp" />
                        </asp:TableCell>
                    </asp:TableRow>                
                </asp:Table>
                <br />

<%-- 
                <asp:Table ID="Table5" runat="server" Width="368" Height="142" style="background-image: url(Images/home/PledgeBackground.gif); background-repeat: no-repeat">                
                    <asp:TableRow>
                        <asp:TableCell style="padding-top:0" >
                        <asp:UpdatePanel ID="pnlScholar" runat="server" ChildrenAsTriggers="true">
                            <ContentTemplate>
                                <ms:PledgeBox ID="msPledgeBox" runat="server" />
                            </ContentTemplate>                        
                        </asp:UpdatePanel>
                        </asp:TableCell>
                    </asp:TableRow>                
                </asp:Table>
                <br />
--%>

                <asp:Table ID="tblSpeeches" runat="server" Width="368" Height="331" style="background-image: url(Images/home/SpeechesBackground.gif); background-repeat:no-repeat" >                
                    <asp:TableRow>
                        <asp:TableCell style="padding: 10px;" VerticalAlign="Top" HorizontalAlign="Left">
                            <asp:Panel Width="100%" ID="pnlTickler" runat="server" Height="275" ScrollBars="Auto">
                            <asp:Image runat="server" ID="imgMurray" ImageUrl="~/Images/home/Murray.jpg" style="float: left; margin: 5px"  />
                            <asp:Label ID="lblTicklerText" runat="server" style="font-family: Verdana; font-size: 12px">
                               <%=Utility.SiteSettings["TicklerText"] %> 
                            </asp:Label>  
                            </asp:Panel>                              
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell HorizontalAlign="Right">
                            <asp:HyperLink ID="idSabrinSolution" runat="server" ImageUrl="~/Images/home/BUTTON_SabrinSolution.gif"  NavigateUrl="~/sabrinsolution.asp" />
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
                
                <br />

                <asp:Table ID="Table4" runat="server" Width="368" Height="250" style="background-image: url(Images/home/PollsBackground.gif); background-repeat:no-repeat" >                
                    <asp:TableRow>
                        <asp:TableCell style="padding: 10px;" VerticalAlign="Top" HorizontalAlign="Left">

                            <%-- <ms:NetPoll runat="server" ID="msNetPoll" />--%>
                            <asp:UpdatePanel ID="upnlPoll" runat="server" ChildrenAsTriggers="true">
                                <ContentTemplate>
                                <ms:Poll runat="server" ID="msPoll" />
                                
                                </ContentTemplate>
                            </asp:UpdatePanel>

                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
                
                
                
                <!-- end left column -->
            </asp:TableCell>        
            <asp:TableCell Width="27">&nbsp;</asp:TableCell>
            <asp:TableCell Width="467" VerticalAlign="Top">
                <!-- right column -->
                
                <asp:Table ID="Table1" CellPadding="0" CellSpacing="0" runat="server" Width="467" Height="33" style="background-image: url(Images/home/Graphic_ActionBar.gif); background-repeat: no-repeat">
                
                    <asp:TableRow>
                        <asp:TableCell style="padding-top: 4px;" HorizontalAlign="Center" VerticalAlign="Top">
                            <asp:HyperLink ID="hlJoinSabrin" runat="server" NavigateUrl="~/volunteer.asp" Text="JOIN SABRIN" CssClass="HomeActionBarLink" />
                         </asp:TableCell>
                         <asp:TableCell VerticalAlign="Top">
                            <asp:Image ID="imgSep1" runat="server" ImageUrl="~/Images/home/GRAPHIC_actionBar_sep.gif" />
                         </asp:TableCell>
                        <asp:TableCell style="padding-top: 4px;" HorizontalAlign="Center" VerticalAlign="Top">                         
                            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/voteRegistration.asp" Text="REGISTER TO VOTE" CssClass="HomeActionBarLink" />
                         </asp:TableCell>
                         <asp:TableCell VerticalAlign="Top">
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/home/GRAPHIC_actionBar_sep.gif" />
                         </asp:TableCell>
                        <asp:TableCell style="padding-top: 4px;" HorizontalAlign="Center" VerticalAlign="Top">
                            <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/getInvolved.asp" Text="GET INVOLVED" CssClass="HomeActionBarLink" />
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
            
                <asp:Table runat="server" ID="tblSabrinTV" Width="466" Height="398" style="background-image: url(Images/home/SabrinTVBackground.gif); background-repeat: no-repeat">
                    <asp:TableRow>
                        <asp:TableCell>
                            <asp:UpdatePanel ID="pnlVideoPlayer" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
                            <ContentTemplate>
                                <ms:YouTubeVideoPlayer runat="server" ID="msVidPlayer" />
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
<br />
                <asp:Table runat="server" ID="Table2" Width="466" Height="200" style="color: black;background-image: url(Images/home/UpcomingEventsBackground.gif); background-repeat: no-repeat">
                    <asp:TableRow>
                        <asp:TableCell HorizontalAlign="Left" VerticalAlign="Top" >
                            <asp:Panel ID="Panel1" runat="server" style="margin-left:10px; margin-top: 25px;" Width="440" Height="185" ScrollBars="Auto">
                                <ms:UpcomingEvents runat="server" ID="UpcomingEvents" />
                            </asp:Panel>
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
            
<br />
                <asp:Table runat="server" ID="Table3" Width="466" Height="230" style="color: black;background-image: url(Images/home/ExploreBground.gif); background-repeat: no-repeat">
                    <asp:TableRow>
                        <asp:TableCell HorizontalAlign="Left" VerticalAlign="Top" >
                            <asp:Panel ID="Panel2" runat="server" style="margin-left:10px; margin-top: 35px;" Width="445" Height="120">

                        <asp:Panel ID="pnlExploreLinks" runat="server" Width="435" Height="220" ScrollBars="Auto">
                            <asp:Table ID="tblExplore" runat="server" Width="95%">
                                <asp:TableRow>
                                    <asp:TableCell HorizontalAlign="Center">
                                        <asp:HyperLink runat="server" Target="_blank" ID="img1" NavigateUrl="http://murraysabrin.meetup.com/" ImageUrl="~/Images/home/GRAPHIC_meetup.gif" />
                                    </asp:TableCell>
                                    <asp:TableCell HorizontalAlign="Center">
                                        <asp:HyperLink runat="server" Target="_blank" ID="Image2" NavigateUrl="http://www.youtube.com/murraysabrin" ImageUrl="~/Images/home/GRAPHIC_youtube.gif" />
                                    </asp:TableCell>
                                    <asp:TableCell HorizontalAlign="Center">
                                        <asp:HyperLink runat="server" Target="_blank" ID="Image3" NavigateUrl="http://www.myspace.com/murraysabrin" ImageUrl="~/Images/home/GRAPHIC_myspace.gif" />
                                    </asp:TableCell>
                                </asp:TableRow>    
                                <asp:TableRow>
                                    <asp:TableCell HorizontalAlign="Center">
                                        <asp:HyperLink runat="server" Target="_blank" ID="HyperLink3" NavigateUrl="http://murraysabrin.meetup.com/" Text="Meetup.com" />
                                    </asp:TableCell>
                                    <asp:TableCell HorizontalAlign="Center">
                                        <asp:HyperLink runat="server" Target="_blank" ID="HyperLink4" NavigateUrl="http://www.youtube.com/murraysabrin" Text="YouTube.com" />
                                    </asp:TableCell>
                                    <asp:TableCell HorizontalAlign="Center">
                                        <asp:HyperLink runat="server" Target="_blank" ID="HyperLink5" NavigateUrl="http://www.myspace.com/murraysabrin" Text="MySpace.com" />
                                    </asp:TableCell>
                                </asp:TableRow>          
                                
                                
                                <asp:TableRow>
                                    <asp:TableCell HorizontalAlign="Center">
                                        <script type="text/javascript">
                                        digg_url = 'http://www.murraysabrin.com';
                                        </script>                                    
                                        <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>                                   
                                   </asp:TableCell>                                
                                    <asp:TableCell HorizontalAlign="Center">
                                        <script>reddit_url='http://www.murraysabrin.com'</script>
                                        <script>reddit_title='Murray Sabrin For U.S. Senate | Hope for New Jersey'</script>
                                        <script type="text/javascript" src="http://reddit.com/button.js?t=3"></script>     
                                                                       </asp:TableCell>
                                    <asp:TableCell HorizontalAlign="Center">
                                        <asp:HyperLink runat="server" Target="_blank" ID="HyperLink6" NavigateUrl="http://www.facebook.com/p/Murray_Sabrin/1004017043" ImageUrl="~/Images/home/GRAPHIC_facebook.gif" />
                                    </asp:TableCell>
                                </asp:TableRow>
                                <asp:TableRow>
                                    <asp:TableCell HorizontalAlign="Center">
                                        <asp:HyperLink ID="hlDigg" runat="server" Target="_blank" NavigateUrl="http://digg.com/2008_us_elections/INFO_We_need_to_support_all_Ron_Paul_politicians" Text="Digg.com" />
                                    </asp:TableCell>                                                                
                                    <asp:TableCell HorizontalAlign="Center">
                                        <asp:HyperLink ID="hlReddit" runat="server" NavigateUrl="http://reddit.com/login?dest=%2Fsubmit%3Furl%3Dhttp%253A%252F%252Fwww.murraysabrin.com%26title%3DMurray%2BSabrin%2BFor%2BU.S.%2BSenate%2B%257C%2BHope%2Bfor%2BNew%2BJersey" Text="Reddit.com" Target="_blank" />   
                                    </asp:TableCell>
                                    <asp:TableCell HorizontalAlign="Center">
                                        <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="http://www.facebook.com/p/Murray_Sabrin/1004017043" Text="Facebook.com" Target="_blank" />   
                                    </asp:TableCell>
                                    
                                </asp:TableRow>
                                              
                            </asp:Table>
</asp:Panel>
                            </asp:Panel>
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
            
                <!-- end right column -->
            </asp:TableCell>        
        </asp:TableRow>
    </asp:Table>

</asp:Content>

