Make panel appear after time delay?
<p>I want to change a panel size to look like an auto collapse at a specific time::</p>

<p>This is my code:</p>

<pre><code>&lt;html&gt;
&lt;head runat="server"&gt;
    &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body   onLoad = "StartClock()"  onunload = "KillClock()"&gt;
&lt;script language="JavaScript"&gt; 
 &lt;!--
       var ftext ;
               var clockID = 0;
              var g;
               function UpdateClock() {
                   if (clockID) {
                       clearTimeout(clockID);
                       clockID = 0;
                   }
                   var tDate = new Date();
                   g = ""
                                   + tDate.getHours() + ":"
                                   + tDate.getMinutes() + ":"
                                   + tDate.getSeconds();
                   if (ftext == null) {
                                             ftext = prompt("message time:", "");
                   }
                                   if (g == ftext) {
                                          &lt;%--*here i want the panel to be collapse*--%&gt;
                       g = 0;
                  }

                  if (g == 0)
                  { null }
                  else{
                      clockID = setTimeout("UpdateClock()", 1000);
                  }

               }

               function StartClock() {
                   if (g == 0)
                   { null }
                   else{

                       clockID = setTimeout("UpdateClock()", 500);
                   }
                                  }
               function KillClock() {
                   if (clockID) {
                       clearTimeout(clockID);
                       clockID = 0;
                   }
               }
 //--&gt;
&lt;/script&gt;



    &lt;asp:Panel ID="Panel1" runat="server" Height="96px" Width="195px"&gt;
    &lt;table style="height: 96px; width: 194px"&gt;
    &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;

    &lt;tr&gt;&lt;td&gt;
        &lt;asp:Label ID="Label3" runat="server" Text="Label"&gt;&lt;/asp:Label&gt;
        &lt;/td&gt;&lt;/tr&gt;

    &lt;/table&gt;
    &lt;/asp:Panel&gt;

      &lt;/form&gt;
      &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I have the clock but I want to collapse the panel where I've marked with <code>&lt;%-- *here i want the panel to be collapse* --%&gt;</code>. I want it to be hidden when the page loads then, when the time comes, appear with a collapse, move or fade effect if that's possible.</p>
