/*
 *  Possibly Holiday images:
 *     1.  March 17th    St. Patrick's Day          ( start on march 2nd )
 *     3.  July 4th      Independence day
 *     4.  October 31st  Halloween
 *     5.  November xxth Thanksgiving
 *     6.  December 25th Christmas
 *
 *  15 days before the holiday, start showing then images.
 *  Need a way to stop them after x number of seconds
 *
 */

var flagShow         = false;
var strHolidayPrompt = "";

function StartEffects()
{
   return true;

   var datToday = new Date();
   var numMonth = datToday.getMonth();
   var numDay   = datToday.getDate ();

   var strImages = new Array(3);

   //
   //  February:  St. Valentine's Day
   //
   if ( numMonth == 1 && numDay <= 14 )
      {
      flagShow         = true;
      strHolidayPrompt = "Happy St. Valentine's Day!!";

      strImages [0]    = "images/holidays/valentines0.gif";
      strImages [1]    = "images/holidays/valentines1.gif";
      strImages [2]    = "images/holidays/valentines2.gif";
      }

   //
   //  March:  St. Patrick's Day
   //
   if ( numMonth == 2 && numDay <= 17 )
      {
      flagShow         = true;
      strHolidayPrompt = "Erin Go Bragh!  Happy St. Patrick's Day!!";

      strImages [0]    = "images/holidays/stpatricks0.gif";
      strImages [1]    = "images/holidays/stpatricks1.gif";
      strImages [2]    = "images/holidays/stpatricks2.gif";
      }

   //
   //  July:  4th of July
   //
   if ( numMonth == 6 && numDay <= 4 )
      {
      flagShow         = true;
      strHolidayPrompt = "God Bless America!  Happy 4th of July!!";

      strImages [0]    = "images/holidays/july4th0.gif";
      strImages [1]    = "images/holidays/july4th1.gif";
      strImages [2]    = "images/holidays/july4th2.gif";
      }

   //
   //  October:  Halloween
   //
   if ( numMonth == 9 && numDay >= 15 )
      {
      flagShow         = true;
      strHolidayPrompt = "OOOOOOOHHHH!  Happy Halloween!!";

      strImages [0]    = "images/holidays/ghost0.gif";
      strImages [1]    = "images/holidays/ghost1.gif";
      strImages [2]    = "images/holidays/ghost2.gif";
      }

   //
   //  November:  Thanksgiving
   //
   if ( numMonth == 10 && numDay >= 15 )
      {
      flagShow         = true;
      strHolidayPrompt = "Happy Thanksgiving!!";

      strImages [0]    = "images/holidays/thanksgiving0.gif";
      strImages [1]    = "images/holidays/thanksgiving1.gif";
      strImages [2]    = "images/holidays/thanksgiving2.gif";
      }

   //
   //  December:  Christmas
   //
   if ( numMonth == 11 && numDay <= 25 )
      {
      flagShow         = true;
      strHolidayPrompt = "HO! HO! HO! Merry Christmas!!";

      strImages [0]    = "images/holidays/christmas0.gif";
      strImages [1]    = "images/holidays/christmas1.gif";
      strImages [2]    = "images/holidays/christmas2.gif";
      }

   if ( flagShow == true && navigator.appName.indexOf ( "Netscape" ) == -1 )
      {
      numMaxDisplayTime        = 25;
      divHoliday.style.display = "block"
      msgHoliday.innerHTML     = strHolidayPrompt;

      time_object              = new timestamp_class ( 0, 0, 0, 0 );

      time_object       = new timestamp_class ( 0, 0, 0, 0 );

      time_object.StartTiming();

      JSFX.AddImage( strImages [0] );
      JSFX.AddImage( strImages [1] );
      JSFX.AddImage( strImages [2] );
      }
}
