//---------------------------------------------------------------------------------------------------------------------------------------------------------
// Headlines for Home Page 
//   
//   Add, delete, edit the News Box items BETWEEN the START and END marks ONLY.
//   
//   Just add [newsItem[x]  = "valid HTML Statement"] statements to add news items.
//   
//   Use standard HTML between the double-quotes [" "], except subtitute
//     single-quotes [' '] for double-quotes.
//
//   HTML <p><b> and </b></p> tags will be automatically added to each HdLnItem array-item.
//        
//    if (_DateAsStr() > "2009.05.15" && _DateAsStr() < "2009.05.20") {
//      HdLnItem[x] = "Automated Message: Between the 15th and 20th!" 
//      }
//
//    <a class='AlertLink0' href='pages/Registration.html'><br>Click Here</a> 
//
//
//---------------------------------------------------------------------------------------------------------------------------------------------------------
//
    var HdLnItem  = new Array()
    var strEvents = new String()
    var numItems  = 0
    var i         = 0

if (_testing_) {
  HdLnItem[0] = "<b> Testing Mode</b>"
  }
  else {
//
//  - START - Add/Edit Headlines
     
//
    if (_DateAsStr() > "2010.05.01" && _DateAsStr() < "2010.05.30") {
      HdLnItem[1]  = "2010 Rose City Taikai: Saturday, June 5th.<br>See our <a class='AlertLink0' href='pages/Calendar.html'>Calendar Page</a> for details. Non-participant Kenshi are encouraged to attend."
      }
    else if (_DateAsStr() > "2010.05.29" && _DateAsStr() < "2010.06.04") {
      HdLnItem[1]  = "2010 Rose City Taikai: THIS SATURDAY. <br>See our <a class='AlertLink0' href='pages/Calendar.html'>Calendar Page</a> for details. Non-participant Kenshi are encouraged to attend."
      }
    else if (_DateAsStr() == "2010.06.04") {
      HdLnItem[1]  = "2010 Rose City Taikai: TOMORROW!<br>See our <a class='AlertLink0' href='pages/Calendar.html'>Calendar Page</a> for details. Non-participant Kenshi are encouraged to attend."
      }
    else if (_DateAsStr() == "2010.06.05") {
      HdLnItem[1]  = "2010 Rose City Taikai: TODAY!<br>See our <a class='AlertLink0' href='pages/Calendar.html'>Calendar Page</a> for details. Non-participant Kenshi are encouraged to attend."
      }
    else if (_DateAsStr() > "2010.06.05" && _DateAsStr() < "2010.06.14") {
      HdLnItem[1]  = "Congratulations and well done to all our CKK kenshi who particitated in the 2010 Rose City Taikai!"
      }
//
    if (_DateAsStr() > "2010.06.01" && _DateAsStr() < "2010.06.13") {
      HdLnItem[3]  = "Spring Quarter Ends June 16th.<br>Summer Quarter begins June 23rd.<br>Registration for Summer Quarter now open."
      }
    else if (_DateAsStr() > "2010.06.12" && _DateAsStr() < "2010.06.15") {
      HdLnItem[3]  = "Spring Quarter Ends Wednesday.<br>Summer Quarter begins June 23rd.<br>Registration for Summer Quarter now open."
      }
    else if (_DateAsStr() == "2010.06.15") {
      HdLnItem[3]  = "Spring Quarter Ends Tomorrow.<br>Summer Quarter begins June 23rd.<br>Registration for Summer Quarter now open."
      }
    else if (_DateAsStr() == "2010.06.16") {
      HdLnItem[3]  = "Summer Quarter Ends Today.<br>Summer Quarter begins June 23rd.<br>Registration for Summer Quarter now open."
      }
    else if (_DateAsStr() > "2010.06.16" && _DateAsStr() < "2010.06.20") {
      HdLnItem[3]  = "Summer Quarter Begins Next Wednesday.<br>Register Today."
      }
    else if (_DateAsStr() > "2010.06.19" && _DateAsStr() < "2010.06.22") {
      HdLnItem[3]  = "Summer Quarter Begins Wednesday.<br>Register Today."
      }
    else if (_DateAsStr() == "2010.06.22") {
      HdLnItem[3]  = "Summer Quarter Begins Tomorrow.<br>Register Today."
      }
    else if (_DateAsStr() == "2010.06.23") {
      HdLnItem[3]  = "Summer Quarter Begins Today. Registration Closes Soon!"
      }
    else if (_DateAsStr() > "2010.06.23" && _DateAsStr() < "2010.07.04") {
      HdLnItem[3]  = "Summer Quarter Has Begun. Registration Closes Soon!"
      }
    else if (_DateAsStr() > "2010.07.03" && _DateAsStr() < "2010.07.15") {
      HdLnItem[3]  = "Summer Quarter Has Begun. Registration Closes July 16th."
      }
    else if (_DateAsStr() == "2010.07.15") {
      HdLnItem[3]  = "Summer Quarter Has Begun. Registration Closes Tomorrow."
      }
    else if (_DateAsStr() == "2010.07.16") {
      HdLnItem[3]  = "Summer Quarter Has Begun. Registration Closes Today."
      }
    else if (_DateAsStr() > "2010.07.16" && _DateAsStr() < "2010.08.01") {
      HdLnItem[3]  = "Summer Quarter Has Begun. Registration Closed."
      }
//
    if (_DateAsStr() > "2010.06.01" && _DateAsStr() < "2010.07.16") {
      HdLnItem[4]  = "Register on-line, by-phone or in-person before your next class."
      }
//
    if (_DateAsStr() > "2010.06.01" && _DateAsStr() < "2010.07.16") {
      HdLnItem[4]  += "<a class='AlertLink0' href='pages/Registration.html'> Click Here</a> for details on our Registration Page."
      }
//
    if (_DateAsStr() > "2010.03.01" && _DateAsStr() < "2010.04.01") {
      HdLnItem[5]  = "Congratulations and well done to all our CKK kenshi who particitated in the PNKF Shinkyu Shinsa on February 27th."
      }
//
    if (_DateAsStr() > "2010.03.13" && _DateAsStr() < "2010.04.09") {
      HdLnItem[6]  = "Steveston Invitational Taikai: Saturday, May 8th. The CKK Registration and Payment Deadline is April 9th.<br>See our <a class='AlertLink0' href='pages/Calendar.html'>Calendar Page</a> for details."
      }
    else if (_DateAsStr() == "2010.04.09") {
      HdLnItem[6]  = "Steveston Invitational Taikai: Registration Deadline is TODAY!<br>See our <a class='AlertLink0' href='pages/Calendar.html'>Calendar Page</a> for details."
      }
    else if (_DateAsStr() > "2010.04.09" && _DateAsStr() < "2010.05.02") {
      HdLnItem[6]  = "Steveston Invitational Taikai: Saturday, May 8th. See our <a class='AlertLink0' href='pages/Calendar.html'>Calendar Page</a> for details. Non-participant Kenshi are encouraged to attend."
      }
    else if (_DateAsStr() > "2010.05.01" && _DateAsStr() < "2010.05.07") {
      HdLnItem[6]  = "Steveston Invitational Taikai: THIS SATURDAY! See our <a class='AlertLink0' href='pages/Calendar.html'>Calendar Page</a> for details. Non-participant Kenshi are encouraged to attend."
      }
    else if (_DateAsStr() == "2010.05.07") {
      HdLnItem[6]  = "Steveston Invitational Taikai: TOMORROW!<br>See our <a class='AlertLink0' href='pages/Calendar.html'>Calendar Page</a> for details. Non-participant Kenshi are encouraged to attend."
      }
    else if (_DateAsStr() == "2010.05.08") {
      HdLnItem[6]  = "Steveston Invitational Taikai: TODAY!<br>See our <a class='AlertLink0' href='pages/Calendar.html'>Calendar Page</a> for details. Non-participant Kenshi are encouraged to attend."
      }
    else if (_DateAsStr() > "2010.05.08" && _DateAsStr() < "2010.06.01") {
      HdLnItem[6]  = "Congratulations and well done to all our CKK kenshi who particitated in the Steveston Invitational Taikai!"
      }


//  - END - Add/Edit Headlines
  }
//   
// Headlines for Home Page
//---------------------------------------------------------------------------------------------------------------------------------------------------------

