// Choose welcome picture

function choosepic()
{

  todaydate = new Date();

  if ((todaydate.getMonth()== 11) && (todaydate.getDate() == 23)) // Ebop's birthday
  {
    welcomearr = new Array("welcome4.gif","welxs1.gif","welxs3.gif");
  }
  else if ((todaydate.getMonth() == 11) && (todaydate.getDate() < 26)) // Christmas
  {
    welcomearr = new Array("welxs0.gif","welxs1.gif","welxs2.gif","welxs3.gif");
  }
  else if ((todaydate.getMonth() == 11) && (todaydate.getDate() == 27)) // Ruby's memorial
  {
    welcomearr = new Array("welcome2.gif");
  }
 else if ((todaydate.getMonth() == 11) && (todaydate.getDate() == 30)) // Nsana's memorial
  {
    welcomearr = new Array("welcome5.gif");
  }
  else if (((todaydate.getMonth() == 11) && (todaydate.getDate() == 31)) || ((todaydate.getMonth() == 0) && (todaydate.getDate() == 1))) // New Year
  {
    welcomearr = new Array("welny0.gif");
  }
  else if ((todaydate.getMonth() == 6) && (todaydate.getDate() == 18)) // Cirrus's birthday
  {
    welcomearr = new Array("welcome1.gif");
  }
  else if ((todaydate.getMonth() == 0) && (todaydate.getDate() == 15)) // Bengi's birthday
  {
    welcomearr = new Array("welcome6.gif");
  }
  else if (((todaydate.getDay() == 1) && (todaydate.getMonth() == 4)) && ((todaydate.getDate() == 25) || (todaydate.getDate() == 26) || (todaydate.getDate() == 27) || (todaydate.getDate() == 28) || (todaydate.getDate() == 29) || (todaydate.getDate() == 30) || (todaydate.getDate() == 31))) //memorial day
  {
    welcomearr = new Array("welcome5.gif","welcome2.gif"); 
  }
  else
  {
    welcomearr = new Array("welcome0.gif","welcome1.gif","welcome2.gif","welcome3.gif","welcome4.gif","welcome6.gif");
  }

  welchoose = Math.floor(Math.random() * welcomearr.length);


  document.WelcomePic.src = "images/"+welcomearr[welchoose];
}

