<!-- Begin Cloaking Device
/* Daylight Savings Time 2nd Sunday in March and 1st Sunday in November */
/* search for " var Bulletin_content " */

var fc=-1
var line1=""
var line2=""
var line3=""
var line4=""

var newpic="<img class=expando src=./art/new02.gif height=16>&nbsp;";
var updpic="<img class=expando src=./art/animatedupdated.gif height=12>&nbsp;";
var hotpic="<img class=expando src=./art/hot.gif height=14>&nbsp;";
var soonpic="<img class=expando src=./art/Coming_Soon_marquee_animated.gif width=100>&nbsp;";
var nowpic="<img class=expando src=./art/nowshowingmarquee.gif height=100>&nbsp;";
var oopspic="<img class=expando src=./art/1950sTestPattern.jpg height=60>&nbsp;";
var FirstWednesday=""
var NextEvent=""
//
<!-- Get current date -->
todaysTime = new Date();
todaysHour = 0
todaysMinute = 0
todaysSecond = 0
todaysYear = todaysTime.getFullYear()
todaysMonth = todaysTime.getMonth()
todaysDate = todaysTime.getDate()
todaysWeekday = todaysTime.getDay()

// todaysMonth = 6 // for testing
// todaysDate = 1
// todaysWeekday = 3

//
if (todaysDate < 8) {
 if (todaysWeekday =3 ) {
  FirstWednesday="<center><span style=background-color:violet>&nbsp;&nbsp;&nbsp;Remember: The 1<sup><font size=3>st</font></sup> Wed. of the month is Shirt Night,&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;Birthday Celebrations, and &rsquo;Split-the-Pot&rsquo; at our weekly dance.&nbsp;</span></center>";
 }
}
//
//------  Next Event bulletin -------------
NextEvent=""
if (todaysYear == 2011) {
 if (todaysMonth+1 == 5) { // MAY
  expiration=new Date("May 11, 2011")
  if (todaysTime.getTime()<=expiration.getTime() ) {
   NextEvent+="<center><span style=background-color:lightyellow>&nbsp;-- May 11<sup><font size=3>th</font></sup> is the Mike Reel and Kay Ford Spotlight Dance&nbsp;</span></center>";
  }
  expiration=new Date("May 19, 2011")
  if (todaysTime.getTime()<=expiration.getTime() ) {
   NextEvent+="<center><span style=background-color:lightyellow>&nbsp;-- May 18<sup><font size=3>th</font></sup> is the Jack and Jill Contest&nbsp;</span></center>";
  }
 }
 if (todaysMonth+1 == 6) { // JUNE
  expiration=new Date("June 9, 2011")
  if (todaysTime.getTime()<=expiration.getTime() ) {
   NextEvent+="<center><br><span style=background-color:lightyellow>&nbsp;-- June 8<sup><font size=3>th</font></sup> is the Member Appreciation Dance&nbsp;</span></center>";
  }
  expiration=new Date("June 16, 2011")
  if (todaysTime.getTime()<=expiration.getTime() ) {
   NextEvent+="<center><br><span style=background-color:lightgreen>&nbsp;-- June 15<sup><font size=3>th</font></sup> (POSTPONED) Tim Acosta & Jordan Sims Spotlight Dance&nbsp;</span></center>";
  }
 }
 if (todaysMonth+1 == 7) { // JULY
  expiration=new Date("July 14, 2011")
  if (todaysTime.getTime()<=expiration.getTime() ) {
   NextEvent+="<center><br><span style=background-color:lightyellow><FONT color=red>&nbsp;July 13<sup><font size=3>th</font></sup>--  50's and 60's Bash&nbsp;&nbsp;<br>&nbsp;&nbsp;( There will be a 50's and 60's costume contest )</FONT>&nbsp;</span></center>";
  }
 }
 if (todaysMonth+1 == 12) { // DECEMBER
  expiration=new Date("December 25, 2011")
  if (todaysTime.getTime()<=expiration.getTime() ) {
   NextEvent+="<center><br><img class=expando src='./art/xmasbow.gif' height=90></center>";
  }
 }

}
NextEvent=""
NextEvent+="<table title='&nbsp;A place to listen to and watch Music and Dance videos.&nbsp;'>";
NextEvent+="<tr><td align=center valign=middle>";
NextEvent+="<font size=2 color=#660066>New Video</font><br>"; 
NextEvent+="<a href=videotheater.htm title=videos><IMG border=1 src='appsart/videotheater.gif'></a>";
NextEvent+="</td><td>&nbsp;<b><font color=navy>";
NextEvent+="Click the Video Theater button--<br>&nbsp;&nbsp;A place to listen to and watch Music and Dance videos.&nbsp;";
NextEvent+="<br><br>&nbsp;&nbsp;See the Dana Patterson-Sims,Melissa Napier,David Carter &nbsp;spotlight dance Feb. 15<sup>th</sup>, 2012";
NextEvent+="</font></td></tr></table>";

FirstWednesday+=NextEvent

//
//------  BOTL countdown bulletin -------------
var BOTL_event=""

BopOnTheLakeDate = new Date("September 15, 2011")
EventName = "Bop on the Lake";

EventYear = BopOnTheLakeDate.getFullYear()
EventMonth = BopOnTheLakeDate.getMonth()
EventDate = BopOnTheLakeDate.getDate()
EventHour = 0
EventMinute = 0
EventSecond = 0
<!-- Adjusts for Leap Year Info -->
if ((EventYear / 4) == (Math.round(EventYear / 4))) {
 countLeap = 29
}
else {
 countLeap = 28
}
<!-- Calculate the days in the month -->
if (EventMonth == 2) {
   countMonth = countLeap}
else {
 if (EventMonth == 4) {
  countMonth = 30}
 else {
  if (EventMonth == 6) {
   countMonth = 30}
  else {
   if (EventMonth == 9) {
    countMonth = 30}
   else {
    if (EventMonth == 11) {
     countMonth = 30}
    else {
     countMonth = 31}
    }
   }
  }
 }
<!-- Doing the subtractions -->
if (EventMinute > todaysMinute) {
   ThisMinute = EventMinute - todaysMinute
   calcHour = 0}
else {
   ThisMinute = EventMinute + 60 - todaysMinute
   calcHour = -1}
if (EventHour > todaysHour) {
   ThisHour = EventHour - todaysHour + calcHour
   calcDate = 0}
else {
   ThisHour = EventHour + 24 - todaysHour  + calcHour
   calcDate = -1}
if (EventDate > todaysDate) {
   ThisDate = EventDate - todaysDate + calcDate
   calcMonth = 0}
else {
   ThisDate = EventDate + countMonth - todaysDate  + calcDate
   calcMonth = -1}
if (EventMonth < todaysMonth) {
    calcMonth = calcMonth +12}
ThisMonth = EventMonth - todaysMonth + calcMonth
<!-- Making sure it all adds up correctly -->
if (ThisMinute == 60) {
   ThisMinute = 0
   ThisHour = ThisHour + 1}
if (ThisHour == 24) {
   ThisHour = 0
   ThisDate = ThisDate + 1}
if (ThisDate == countMonth) {
   ThisDate = 0
   ThisMonth = ThisMonth + 1}
<!-- Figuring out the weeks -->
ThisWeek = Math.floor(ThisDate / 7)
finalDate = (ThisDate - (ThisWeek * 7))
<!-- Building the strings -->
writeNow = "Todays date:&nbsp;" + (todaysMonth + 1) + "/" + todaysDate + "/" + todaysYear + ""
writeEvent = EventName +" begins:&nbsp;" + (EventMonth + 1) + "/" + EventDate + "/" + EventYear + ""
MonthTxt = ""
if (ThisMonth>>0) {
MonthTxt = ThisMonth + " month" + (ThisMonth == 1 ? "" : "s") + ", "
}
WeekTxt = ""
if (ThisWeek>>0) {
WeekTxt = ThisWeek + " week" + (ThisWeek == 1 ? "" : "s")
if (finalDate>>0) {
WeekTxt = WeekTxt  + ", " 
}
}
DayTxt = ""
if (finalDate>>0) {
DayTxt = finalDate + " day" + (finalDate == 1 ? "" : "s") 
}
EventTxt = EventName +"!"
if (ThisMonth + ThisWeek + finalDate >> 0) {
EventTxt = " until " + EventName +"."
}
BOTL_event = "It&rsquo;s " + MonthTxt + WeekTxt + DayTxt  + EventTxt
BOTL_event = "<span style='background-color:yellow'>&nbsp;" + MonthTxt + WeekTxt + DayTxt  + EventTxt+"&nbsp;</span>"

if (ThisMonth << 7 ) {
 BOTL_event=""
}
if (ThisMonth >> 9 ) {
 BOTL_event=""
}
//------  end of BOTL countdown bulletin -------------
//
var Bulletin_content=new Array()
var item=-1
//
// First Bulletin
var First_Bulletin = ""
item++
Bulletin_content[item]='<center>'
First_Bulletin="<table border=4 background=art/Green.gif width=100% height=270>"
First_Bulletin+="<tr><td valign=middle ><center>"
if (todaysMonth +1 == 1) { // New Years day
 if (todaysDate == 1) {
 First_Bulletin+="<IMG src=./art/happynewyearclock.gif height=150>"
}
}
BOTL_event=""
// BOTL_event="<span style='background-color:yellow'>&nbsp;&nbsp;&nbsp;Our Annual Big Party is now known as--&nbsp;&nbsp;&nbsp;</span><br>&nbsp;<IMG class=expando height=40 src=art/transparentBopInTheRock-purple.gif>&nbsp;"

First_Bulletin+="<img src=./art/cinemamarquee.gif><img src=./art/animatedWebDR.gif height=30>"
First_Bulletin+="<br><font size=2><b>Bulletins will change about every 5 seconds</font>"
First_Bulletin+=FirstWednesday+"<center>"+BOTL_event+"</center></td></tr></table>"
Bulletin_content[item] = First_Bulletin
Bulletin_content[item]+='</center>'

expiration=new Date("May 18, 2011")
if ( todaysTime.getTime()<=expiration.getTime() ) Bulletin_content[item]+='<h3><SCRIPT type="text/javascript" src="HowLongUntilJackJillContest.js"></SCRIPT>'

//
//------  What's New ------------- 
 expiration=new Date("October 31, 2011")
if (todaysTime.getTime()<=expiration.getTime() ) {
item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
 line1 +="<table cellspacing=0 cellpadding=4 background=art/Fuschia.gif width=98% height=100%>"
 line1 +="<tr><td valign=top ><center><br><br><IMG class=expando height=30 border=0 src=art/whatsnew.gif></td></tr>"
 line2 +="<tr><td valign=top >&nbsp;</td></tr>"
 line2 +="<tr><td valign=top ><center><h3><B><u>Halloween Costume Snapshots</u></td></tr>"
 line3 +="<tr><td valign=bottom><center><b><br>Click this<br><IMG border=1 height=44px src=appsart/coolpix.gif><br>&nbsp;from the &larr; far left buttons, then enjoy&nbsp;</td></tr>"
 line4 +="<tr><td valign=top ><img src=art/spacer8.gif width=1 height=200 ></td></tr>"; 
 line4 +="</table>"
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
//
if (todaysMonth +1 == 1) { // JANUARY
if (todaysDate <= 0) {
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
if (todaysMonth +1 == 2) { // FEBRUARY
if (todaysDate <= 0) {
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
if (todaysMonth +1 == 3) { // MARCH
if (todaysDate <= 0) {
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
if (todaysMonth +1 == 4) { // APRIL
if (todaysDate <= 0) {
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
if (todaysMonth +1 == 5) { // MAY
if (todaysDate <= 0) {
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
if (todaysMonth +1 == 6) { // JUNE
if (todaysDate <= 0) {
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
if (todaysMonth +1 == 7) { // JULY
if (todaysDate <= 0) {
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
if (todaysMonth +1 == 8) { // AUGUST
if (todaysDate <= 0) {
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
if (todaysMonth +1 == 9) { // SEPTEMBER
if (todaysDate <= 0) {
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
if (todaysMonth +1 == 10) { // OCTOBER
if (todaysDate <= 19) {
item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line2 +="<table border=0 height=250><tr><td>&nbsp;<br><b><em>&nbsp;&nbsp;"
line2 +="<center><SPAN style='color:red; background-color:yellow'>&nbsp;Wednesday, <em>October 19<sup>th</sup></em><b>&nbsp;<br>&nbsp;is Election Night&nbsp;</span></b>"
line2 +="</center><td><IMG border=0 height=50 src=art/vote-yel.gif></td>"
line2 +="</tr><tr><td>"
line2 +="<b>Choose your leaders for 2012"
line2 +="</td></tr></table>"


line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
if (todaysMonth +1 == 11) { // NOVEMBER
if (todaysDate <= 0) {
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
if (todaysMonth +1 == 12) { // DECEMBER
if (todaysDate <= 0) {
// item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1  ="<table  valign=middle cellspacing=2 cellpadding=2 background=art/Fuschia.gif width=98% height=100%><tr><td>"

line4 +="</td></tr></table>" 
Bulletin_content[item]+=line1+line2+line3+line4;
Bulletin_content[item]+='</center>'
}
}
//
//------ Misc bulletins ---------
//
//------ BAD WEATHER POLICY, SHOW BETWEEN November and APRIL
if (todaysMonth+1 < 4  || todaysMonth+1 > 10 )  { 
item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1 ="<table background=art/Fuschia.gif width=98% height=100%><tr>"
line1+="<td valign=middle ><img class=expando src=art/weatherduck.gif height=160></td>"
line2 ="<td valign=middle ><b><center>REMEMBER . . .</center>"
line2+="<center><font size=2>IF THE SCHOOLS ARE CLOSED FOR BAD WEATHER . . </font></center>"
line3 ="<center>. . . WE ARE TOO ! ! !<br><br>( Look at the Arkansas flag on the right )</b><br><br><br>"+BOTL_event+"</center></td>"
line4 ="</tr><tr><td valign=middle ><img src=art/spacer8.gif width=1 height=100></td></tr></table></center>";

Bulletin_content[item]+=line1+""+line2+""+line3+""+line4;
Bulletin_content[item]+='</center>'
}
//
/* bypass  
//------ Volunteer Help Wanted
//
item++ ; line1="" ; line2="" ; line3="" ; line4="" ;
Bulletin_content[item]='<center>'
line1="<table border=0 cellspacing=4 cellpadding=4 bgcolor=lavender width=98%><tr>"
line2="<td align=center><IMG class=expando SRC=art/volunteer.gif border=0 height=100></td>"
line3="<td align=center valign=top>"
line4="<font color=blue size=3 ><b>The backbone of our club<br>is its unsung heroes - - the LRBC Volunteers<br>~ ~ ~<br>At our dances, we need you for set-up and clean-up.<br>~ ~ ~<br>And, at Bop on the Lake,<br>we need you for Hospitality Servers,<br> selling Split the Pot tickets, etc.<br>~ ~ ~<br>Please contact us. . .</b></font></td></tr></table>"
Bulletin_content[item]+=line1+""+line2+""+line3+""+line4+BOTL_event;
Bulletin_content[item]+='</center>'
//
*/
// Last Bulletin
var Last_Bulletin = ""
item++
Bulletin_content[item]='<center>';
Last_Bulletin="<table border = 4 background=art/Green.gif width=99% height=100%>";
Last_Bulletin+="<tr><td valign=middle ><b>"+FirstWednesday+"<center>"+BOTL_event;
Last_Bulletin+="<center><h3><font size=4><b>Remember... Every dance is Ladies Choice!</font></h3>";
//Last_Bulletin+="<IMG class=expando src=./art/happynewyearclock.gif height=150>";
Last_Bulletin+="&nbsp;<img class=expando src=art/3MinuteStranger.gif height=60></center>";
Last_Bulletin+="<img src=art/spacer8.gif width=1 height=150></td></tr></table></center>";
Bulletin_content[item] = Last_Bulletin
Bulletin_content[item]+='</center>'
//

//  End -->

