Javascript calendar issue
<p>What am I missing in my code to make display the calendar in my form. I get error object expected. C#</p>

<p><a href="http://www.martinesexpress-inc.com/PhoneControl/MyOrders.aspx" rel="nofollow">http://www.martinesexpress-inc.com/PhoneControl/MyOrders.aspx</a></p>

<p>


    </p>



<p></p>

<pre><code>&lt;style type="text/css"&gt;
    .style1
    {
        width: 100%;
    }
&lt;/style&gt;
&lt;/head&gt;
</code></pre>

<p>
    
    </p>

<pre><code>&lt;/div&gt;
&lt;table class="style1" style="width:100%; color:black; background-color:orange; outline-color:Green; "&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;b&gt;Enter Start and End Dates&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
&lt;p&gt;
    &amp;nbsp;&lt;/p&gt;
&lt;table class="style1" style="width:100%; color:black; background-color:orange; outline-color:Green; "&gt;
    &lt;tr&gt;
        &lt;td&gt;
            &amp;nbsp;&lt;/td&gt;
        &lt;td&gt;&lt;b&gt;
            Start Date&lt;/b&gt;&lt;/td&gt;
        &lt;td&gt;&lt;b&gt;
            End Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
            &lt;asp:PlaceHolder ID="phGoBack" runat="server"&gt;Go &lt;a class="link" href="Default.aspx"&gt;Back&lt;/a&gt;&lt;/asp:PlaceHolder&gt;
            &lt;/b&gt;&lt;/td&gt;
        &lt;td&gt;
            &amp;nbsp;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;
            &amp;nbsp;&lt;/td&gt;
        &lt;td&gt;

                    &lt;asp:TextBox ID="txtFrom" CssClass="fields" runat="server"&gt;&lt;/asp:TextBox&gt;&amp;nbsp;
                    &lt;img alt src="images/cal.gif" onclick="displayDatePicker("txtFrom");" /&gt;
        &lt;/td&gt;
        &lt;td&gt;
                    &lt;asp:TextBox ID="txtTo" CssClass="fields" runat="server"&gt;&lt;/asp:TextBox&gt;
                    &lt;a href="javascript://"&gt;&lt;img alt src="images/cal.gif" onclick="displayDatePicker('txtTo');"  /&gt;&lt;/a&gt;

        &lt;/td&gt;
        &lt;td&gt;
            &amp;nbsp;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;
            &amp;nbsp;&lt;/td&gt;
        &lt;td&gt;
            &lt;asp:Literal ID="litCountRecords" runat="server"&gt;&lt;/asp:Literal&gt;
        &lt;/td&gt;
        &lt;td&gt;

            &lt;asp:Button ID="btnRun" runat="server" onclick="btnRun_Click" Text="Run" 
                Width="37px" /&gt;
</code></pre>
