<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4923.2500" name=GENERATOR>
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 3.0cm 70.85pt 3.0cm; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EstiloCorreo17 {
        COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=ES vLink=purple link=blue bgColor=#ffffff>
<DIV><SPAN class=164133318-24032003><FONT face=Arial color=#0000ff size=2>Well, 
the best way to handle this is to have a small web server that takes over 
between 2 and 7.</FONT></SPAN></DIV>
<DIV><SPAN class=164133318-24032003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=164133318-24032003><FONT face=Arial color=#0000ff size=2>This 
is the only way to gaurenty the user gets what you want them to 
get.</FONT></SPAN></DIV>
<DIV><SPAN class=164133318-24032003></SPAN><FONT face=Tahoma><FONT size=2><SPAN 
class=164133318-24032003><FONT face=Arial 
color=#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN 
class=164133318-24032003>After all, client side JS uses the clients machine 
time, so you can't control that, it (most likely) will be in a different time 
zone, and it may be *wrong*!</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN 
class=164133318-24032003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN 
class=164133318-24032003>You can use ASP/PHP because your server is down from 2 
to 7, then ASP/PHP needs a server to operate.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN 
class=164133318-24032003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN 
class=164133318-24032003>So, second server givng a single page that tells the 
user waht you want to tell them.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN 
class=164133318-24032003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN 
class=164133318-24032003>Walter</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN 
class=164133318-24032003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN 
class=164133318-24032003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN 
class=164133318-24032003>&nbsp;</SPAN>-----Original Message-----<BR><B>From:</B> 
javascript-bounces@LaTech.edu [mailto:javascript-bounces@LaTech.edu]<B>On Behalf 
Of </B>McCoy, Thomas<BR><B>Sent:</B> Monday, March 24, 2003 12:07 
PM<BR><B>To:</B> '[JavaScript List]'<BR><B>Subject:</B> RE: [Javascript] Time 
&amp; day-based redirects?<BR><BR></DIV></FONT></FONT>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV><SPAN class=978120318-24032003><FONT face=Arial color=#0000ff 
  size=2>Apparently my logic is "down" Monday mornings, too :)&nbsp;&nbsp; Sorry 
  guys &amp; gals!</FONT></SPAN></DIV>
  <DIV><SPAN class=978120318-24032003></SPAN><FONT face=Arial 
  size=2></FONT>&nbsp;</DIV>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> Chris Tifer 
    [mailto:christ@saeweb.com]<BR><B>Sent:</B> Monday, March 24, 2003 10:04 
    AM<BR><B>To:</B> [JavaScript List]<BR><B>Subject:</B> Re: [Javascript] Time 
    &amp; day-based redirects?<BR><BR></FONT></DIV>
    <DIV><FONT face=Arial size=2>And also the fact that if the page truly cannot 
    be found, I don't believe </FONT></DIV>
    <DIV><FONT face=Arial size=2>you're going to have much luck sending 
    something to the client since, well, </FONT></DIV>
    <DIV><FONT face=Arial size=2>the server's down.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Chris Tifer</FONT></DIV>
    <DIV><FONT face=Arial size=2><A 
    href="http://emailajoke.com">http://emailajoke.com</A></FONT></DIV>
    <DIV>&nbsp;</DIV>
    <BLOCKQUOTE 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
      <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
      <DIV 
      style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
      <A title=jaime@alazan.com href="mailto:jaime@alazan.com">Jaime Iniesta</A> 
      </DIV>
      <DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu 
      href="mailto:javascript@LaTech.edu">'[JavaScript List]'</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, March 24, 2003 12:56 
      PM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Javascript] Time &amp; 
      day-based redirects?</DIV>
      <DIV><BR></DIV>
      <DIV class=Section1>
      <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
      style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">That should be 
      better done with a server-side script language like ASP or PHP, because 
      with Javascript you will be checking the time on the client side, and 
      because when your server is at </SPAN></FONT><FONT face=Arial color=navy 
      size=2><SPAN lang=EN-GB 
      style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">2AM - 
      7AM</SPAN></FONT><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
      style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">, visitors from 
      all over the world will be on different times...</SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
      style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
      <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
      style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Jaime</SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
      style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><A 
      href="mailto:jaime@alazan.com">jaime@alazan.com</A></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
      style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
      <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face=Tahoma 
      size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Mensaje 
      original-----<BR><B><SPAN style="FONT-WEIGHT: bold">De:</SPAN></B> <A 
      href="mailto:javascript-bounces@LaTech.edu">javascript-bounces@LaTech.edu</A> 
      [mailto:javascript-bounces@LaTech.edu] <B><SPAN 
      style="FONT-WEIGHT: bold">En nombre de </SPAN></B>McCoy, 
      Thomas<BR><B><SPAN style="FONT-WEIGHT: bold">Enviado el:</SPAN></B> lunes, 
      24 de marzo de 2003 18:47<BR><B><SPAN 
      style="FONT-WEIGHT: bold">Para:</SPAN></B> 
      'javascript@LaTech.edu'<BR><B><SPAN 
      style="FONT-WEIGHT: bold">Asunto:</SPAN></B> [Javascript] Time &amp; 
      day-based redirects?</SPAN></FONT></P>
      <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT 
      face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
      <DIV>
      <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face=Arial 
      size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Every Monday 
      morning between 2AM and 7AM our server goes down (for backup 
      reasons).&nbsp; Does anyone know of&nbsp;a JS script (or another language 
      if necessary)&nbsp;that would redirect based upon day and time?&nbsp; This 
      way&nbsp;the temperamental&nbsp;user would see a "we'll be back at 7AM" 
      screen, instead of "page cannot be displayed" and then they freak out and 
      start dissecting their PC :)</SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT 
      face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
      <DIV>
      <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face=Arial 
      size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks in advance 
      for your help!</SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT 
      face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
      <DIV>
      <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT 
      face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
      <DIV>
      <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face=Arial 
      size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sincerely,<BR>Thomas 
      McCoy</SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT 
      face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV></DIV>
      <P>
      <HR>

      <P></P>_______________________________________________<BR>Javascript 
      mailing 
      list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>