
var arrDates1 = new Array("Friday", "Saturday", "Sunday")
var arrDates2 = new Array("Monday", "Tuesday", "Wednesday", "Thursday")
//Chat Special Indexes for first table
//...for "no chat game" use "n/a" or id "67"
 
arr0 = new Array("31")//midnight
arr1 = new Array("1")//1am
arr2 = new Array("60")//2am
arr3 = new Array("60")//3am
arr4 = new Array("33")//4am
arr5 = new Array("33")//5am
arr6 = new Array("34", "34", "61")//6am
arr7 = new Array("34", "34", "61")//7am
arr8 = new Array("35")//8am
arr9 = new Array("39")//9am
arr10 = new Array("6")//10am
arr11 = new Array("7")//11am
arr12 = new Array("37")//noon
arr13 = new Array("38")//1pm
arr14 = new Array("38")//2pm
arr15 = new Array("9")//3pm
arr16 = new Array("39")//4pm
arr17 = new Array("11")//5pm
arr18 = new Array("1")//6pm
arr19 = new Array("13", "14", "62")//7pm 
arr20 = new Array("16", "41", "41")//8pm
arr21 = new Array("18")//9pm
arr22 = new Array("42")//10pm
arr23 = new Array("20")//11pm

//Chat Special Indexes for second table
arr24 = new Array("31")//midnight
arr25 = new Array("1")//1am
arr26 = new Array("60")//2am
arr27 = new Array("60")//3am
arr28 = new Array("33")//4am
arr29 = new Array("33")//5am
arr30 = new Array("61", "61", "34", "34")//6am
arr31 = new Array("61", "61", "34", "34")//7am
arr32 = new Array("35")//8am
arr33 = new Array("39")//9am
arr34 = new Array("6")//10am
arr35 = new Array("7")//11am
arr36 = new Array("37")//noon
arr37 = new Array("38")//1pm
arr38 = new Array("38")//2pm
arr39 = new Array("26")//3pm 
arr40 = new Array("39")//4pm
arr41 = new Array("11")//5pm
arr42 = new Array("1")//6pm
arr43 = new Array("24", "14", "71", "15")//7pm
arr44 = new Array("30", "14", "41", "23")//8pm
arr45 = new Array("18")//9pm
arr46 = new Array("42", "42", "47", "42")//10pm
arr47 = new Array("20", "20", "45", "20")//11pm

var numChatSpecials1 = 24
var numChatSpecials2 = 48

function setCurrentSpecial()
{
	var today=new Date()
	var first = 0
	var second = 0
	switch (today.getDate())
	{
		case 6 : //Saturday
			first = 1
		    break;
		case 7 : //Sunday
			first = 2
		    break;
		case 9 : //Tuesday
			second = 1
		    break;		    
		case 10 :  //Wednesday
			second = 2
		    break;
		case 11 : //Thursday
			second = 3
		    break;		    		    		    
	} 	
	var arr
	var current
	
	document.getElementById('weekend').innerHTML = arrDates1[0] + " &nbsp; - &nbsp; " + arrDates1[arrDates1.length - 1]
	document.getElementById('week').innerHTML = arrDates2[0] + " &nbsp; - &nbsp; " + arrDates2[arrDates2.length - 1]

	
	for(var i=0;i<numChatSpecials1;i++)
	{
		arr = eval("arr"+i)
		if (arr.length>1) 
		{
		
			current = first
			if(arr.length<=first) current = 0
			if(arr[current]=="n/a")
			{ 
				for(var j=0;j<arr.length;j++)
					if(arr[j]!="n/a") 
					{
					current=j;
					break
					}
			}		
		
			document.getElementById(trChatDate + i + "_" + current).style.display="inline";
		}
	}
					
	for(var i=numChatSpecials1;i<numChatSpecials2;i++)
	{
		
		arr = eval("arr"+i)
		if (arr.length>1) 
		{
			current = second
			if(arr.length<=second) current = 0
			if(arr[current]=="n/a") 
			{
				for(var j=0;j<arr.length;j++)
					if(arr[j]!="n/a")
					{
					current=j;
					break
					}
			}		
			document.getElementById(trChatDate + i + "_" + current).style.display="inline";  
		}
	}			
}





var arrUnfolded=new Array()

function init()
{
	for(i=0;i<numChatSpecials2;i++) arrUnfolded[i]=0;
	for(i=numChatSpecials1;i<numChatSpecials2;i++) arrUnfolded[i]=0;
	
	selectBox(0,arrDates1,arr0);
	selectBox(1,arrDates1,arr1);
	selectBox(2,arrDates1,arr2);
	selectBox(3,arrDates1,arr3);
	selectBox(4,arrDates1,arr4);
	selectBox(5,arrDates1,arr5);
	selectBox(6,arrDates1,arr6);
	selectBox(7,arrDates1,arr7);
	selectBox(8,arrDates1,arr8);
	selectBox(9,arrDates1,arr9);
	selectBox(10,arrDates1,arr10);
	selectBox(11,arrDates1,arr11);
	selectBox(12,arrDates1,arr12);
	selectBox(13,arrDates1,arr13);
	selectBox(14,arrDates1,arr14);
	selectBox(15,arrDates1,arr15);
	selectBox(16,arrDates1,arr16);
	selectBox(17,arrDates1,arr17);
	selectBox(18,arrDates1,arr18);
	selectBox(19,arrDates1,arr19);
	selectBox(20,arrDates1,arr20);
	selectBox(21,arrDates1,arr21);
	selectBox(22,arrDates1,arr22);
	selectBox(23,arrDates1,arr23);
	
	selectBox(24,arrDates2,arr24);
	selectBox(25,arrDates2,arr25);
	selectBox(26,arrDates2,arr26);
	selectBox(27,arrDates2,arr27);
	selectBox(28,arrDates2,arr28);
	selectBox(29,arrDates2,arr29);
	selectBox(30,arrDates2,arr30);
	selectBox(31,arrDates2,arr31);
	selectBox(32,arrDates2,arr32);
	selectBox(33,arrDates2,arr33);
	selectBox(34,arrDates2,arr34);
	selectBox(35,arrDates2,arr35);
	selectBox(36,arrDates2,arr36);
	selectBox(37,arrDates2,arr37);
	selectBox(38,arrDates2,arr38);
	selectBox(39,arrDates2,arr39);
	selectBox(40,arrDates2,arr40);
	selectBox(41,arrDates2,arr41);
	selectBox(42,arrDates2,arr42);
	selectBox(43,arrDates2,arr43);
	selectBox(44,arrDates2,arr44);
	selectBox(45,arrDates2,arr45);	
	selectBox(46,arrDates2,arr46);
	selectBox(47,arrDates2,arr47);		
	
	
	setCurrentSpecial()
}



function unfold()
{
	var el = event.srcElement	
	while(isNaN(parseInt(el.id))) el=el.parentElement	
	var idx = el.id
	
	var arr = eval("arr"+idx)
	var uBound = arr.length

	if(arrUnfolded[idx]==0)
	{
	
		for(var i=0;i<uBound;i++) 
			if(arr[i]!="n/a")	document.getElementById(trChatDate+idx+"_"+i).style.display="inline";
		arrUnfolded[idx]=1;
	}
	else
	{
	
		for(var i=0;i<uBound;i++) 
			if(arr[i]!="n/a")  document.getElementById(trChatDate+idx+"_"+i).style.display="none";
		arrUnfolded[idx]=0;
		setCurrentSpecial();	
	}		
}

var trChatDate="chatGame"
var layerName='chatGames'

var linespace="<br><br>"
var noInfo="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"Sorry, no info."+linespace+"Please check soon again."





var arrSpecialsNames=new Array()
var arrSpecials=new Array()

arrSpecialsNames[0] = "Pirate's Wild Card Poker Game"
arrSpecials[0] = ""

arrSpecialsNames[1] = "Speedy Number Race"
arrSpecials[1] = ""

arrSpecialsNames[2] = "16 Men on A Dean Man's Chest"
arrSpecials[2] = ""

arrSpecialsNames[3] = "Yo Ho Ho and A Bottle of Rum"
arrSpecials[3] = ""

arrSpecialsNames[4] = "Make Woody Walk the Plank"
arrSpecials[4] = ""

arrSpecialsNames[5] = "Pirate Ship Race"
arrSpecials[5] = ""

arrSpecialsNames[6] = "Electric Lines Hot Seat"
arrSpecials[6] = "SOLO Bingo before 10 balls are called & you're in the HOT SEAT and win 5 bb's! 	<br>Nabors win 2 bb's.	<br>Solo Bingo after 10 balls are called and win 2 bb's.	<br>Nabors win 2 bb's.	<br>Hot Seat Game is played every other Straight Line Bingo game.	<br>You must be playing in the Main Hall to win bb's.	<br>Good Luck! "

arrSpecialsNames[7] = "Nutty Nabors"
arrSpecials[7] = "Solo Bingo'er wins 2 bb's	<br>The CM will count up and down depending on the number bingo'd to find the Nutty Nabors.	<br>I.E. if 23 is bingo'd on the CM will count up 2 and down 3 to find the Nutty Nabors.	<br>Nutty Nabors win 2 bb's each.	<br>Nutty Nabor is played every 10 minutes.	<br>You must be playing in the Main Hall to win bb's.	<br>Good Luck!"

arrSpecialsNames[8] = "Who Has the Eye Patch?"
arrSpecials[8] = ""

arrSpecialsNames[9] = "Penny Hour Game Double BB's"
arrSpecials[9] = "Game	Bingo on Any number with a one (1) in it and win 2bbs!!	<br>Bingo on any other number and you win 1bb!	<br>Nabors win 1bb!	<br>If winner is out of chat, nabors win 1bb!	<br>You must be playing in the Main Hall to win bb's!	<br>The Penny Hour Game will be played every other game!"

arrSpecialsNames[10] = "Golden Dabloons"
arrSpecials[10] = ""

arrSpecialsNames[11] = "Revenge of the Players - Bang! You Shot Woody!"
arrSpecials[11] = "Solo Bingo on a B for BANG! And you shot Woody and win 3 bb's.	<br>Solo Bingo on any other letter and you missed him and win 1 bb's.	<br>Nabors win 1 bb.	<br>Bang! You shot woody is played every 3rd game in the Main Hall.	<br>If the winner is out of chat their bb's go into the Revenge BB bag.	<br>After the chat game is over the CM will play one more game, the Solo winner of this game and nabors will split the bb's in the Revenge BB Bag.	<br>Good Luck!"

arrSpecialsNames[12] = "Speed Bingo - Speedy Numbers"
arrSpecials[12] = ""

arrSpecialsNames[13] = "Bingolympics Sign Up"
arrSpecials[13] = ""

arrSpecialsNames[14] = "Keno Chat Game"
arrSpecials[14] = "Get your luckiest 10 KENO numbers together, and the NickName you plan to play Keno with and submit them  on our the KENO SIGN UP PAGE.  You must include your Cashmill Nickname and play with that name!  IF you change your name you must let CM Ella or CM Taiya know.  Please submit the following to: http://www.cashmillbingo.com/newshelper/game060531.aspx 	<br>http://www.cashmillbingo.com/newshelper/game060531.aspx 	<br>1.  Your 10 KENO numbers must be between 1 and 75. 	<br>2.  No KENO number may be repeated. 	<br>3.  Numbers must be submitted before 6pm., EST on the night of Keno. 	<br>4.  You must submit a nickname with your numbers and you must play under the nickname that you submit. 	<br>5.  ANY name changes MUST be done for KENO before 6pm., EST on the night of Keno!  If you have a different name than the name you submitted with your numbers at 7pm, you will be asked to change back to your keno name. 	<br>6.  You must be playing bingo in the Main Hall on the K-E-N-O Game for your Keno numbers to be valid. 	<br>7.  If you are not playing in the Main Hall on the Keno game that your keno numbers hit, you will win NO bb's. 	<br>8.  The first 20 numbers called on a KENO Game will be used for KENO.  	<br>9.  Keno games will be played on the K-E-N-O Pattern only. 	<br>Keno Payouts: 	<br>10 out of 10 - 180 bb's 	<br>9 out of 10 - 90 bb's 	<br>8 out of 10 - 45 bb's 	<br>7 out of 10 - 20 bb's 	<br>6 out of 10 - 10 bb's 	<br>5 out of 10 - 4 bb's 	<br>4 out of 10 - 2 bb's 	<br>3 out of 10 - 1 bb" 

arrSpecialsNames[15] = "Count 4 Chat Game"
arrSpecials[15] = ""

arrSpecialsNames[16] = "Bingolympics"
arrSpecials[16] = ""

arrSpecialsNames[17] = "Pirate's Tattoo"
arrSpecials[17] = ""

arrSpecialsNames[18] = "Surprise Game"
arrSpecials[18] = "Every 10 minutes the CM will pick and play a chat game from amongst ALL the chat games played at Cashmill Bingo. 	<br>You never know what game will be played next! 	<br>The Surprise Chat game chosen is totally up to the CM running chat." 

arrSpecialsNames[19] = "Pirate's Treasure Hunt"
arrSpecials[19] = ""

arrSpecialsNames[20] = "Find A Penny"
arrSpecials[20] = "Find A Penny - Pick it Up 	<br>Give it Away for Good Luck!	<br>Solo Bingo on any number with a 1 in it	<br>and win 3 bb's and give Nabors 3 bb's each.	<br>Solo bingo on any other number and	you get 2 bb's and give Nabors 2 bb's each	<br>Find A Penny is played every other game.	<br>You Must be in Main Hall to win bb's.	<br>Good Luck!"

arrSpecialsNames[21] = "15 Men on A Dead Man's Chest"
arrSpecials[21] = ""

arrSpecialsNames[22] = "Pirate Theme Party"
arrSpecials[22] = ""

arrSpecialsNames[23] = "Keno Chat Game & Power Ball Game"
arrSpecials[23] = "ANYone may play the Powerball Jackpot Game but only those players who have played at least 3 Keno games and submitted their Powerball number on time will be eligible for the big bb prize. 	<br>1.  The Powerball Pattern will play ONE TIME on Thursday nights at 8:55pm., EST and have a $50 prize and a $2,500 JP!	<br>2.  You must have played at least 3 Chat Keno games to be eligible for the big bb prize!	<br>3.  The LAST number called, (bingo'd on) is the Powerball Number.  The Powerball Winner will be announced immediately after the Powerball game.	<br>4.  If more than one player has the Powerball number, the bb's will be split.	<br>5.  If no one has the powerball number, the bb's will go up 5 bb's for next week and will continue to go up 5 bb's every Thursday until it is won!	<br>6.  The Powerball number must be submitted before the Keno games start at 7pm on Thursday to be eligible for that night's Powerball game. 	<br>Remember to send your powerball number in by using the following link: http://www.cashmillbingo.com/newshelper/game060531.aspx"

arrSpecialsNames[24] = "Triple Nabors"
arrSpecials[24] = "The Player who SOLO bingo's wins 1 bb and three nabors above and three nabors below will win 1 bb! 	<br>You must be playing in chat in the Main Hall to win bb's. 	<br>Triple Nabors is played every other game. 	<br>If winner is out of chat, nabors still win. 	<br>Good Luck!" 

arrSpecialsNames[25] = "Revenge of the Players       Bang! You Shoot Woody!"
arrSpecials[25] = ""

arrSpecialsNames[26] = "Penny Game Double BB's"
arrSpecials[26] = ""

arrSpecialsNames[27] = "Speedy Penny Hour - 7 BB's"
arrSpecials[27] = ""

arrSpecialsNames[28] = "1 +1 Game"
arrSpecials[28] = "Solo Bingo on any number and you win. 	<br>Take the number bingo'd on - you win the number of bb's of the numbers added up 	<br>For instance - bingo on B11 - 1+1 = 2 bb's or on O 69 - 6 + 9 = 15 bb's 	<br>If a single digit, you win that many bb's - bingo on b 8 = 8 bb's 	<br>If winner is out of chat no 1 + 1 winner then nabors will win 2 bb's each. 	<br>1+1 bingo is played every other game. 	<br>Good Luck!"

arrSpecialsNames[29] = "Surprise"
arrSpecials[29] = ""

arrSpecialsNames[30] = "Choo Choo Races"
arrSpecials[30] = "Look at the number call board and imagine each vertical row of numbers is a track. 	<br>B1-I16-N31-G4 and O61 are the first track. 	<br>The First ChooChoo to get any 3 numbers in it's track will win 5 bb's!  	<br>Submit your O-Row ChooChoo number to the CM NOW if you have not played.	<br>You must keep the same number for the entire hour of races. 	<br>You must be playing in the Main Hall to be in the ChooChoo Boogie. "

arrSpecialsNames[31] = "Aces & 8's"
arrSpecials[31] = "Solo Bingo on any number ending in 1 or 8 and win 5 bb's 	<br>Solo Bingo on I 18 and win 8 bb's. 	<br>Bingo on any other number and win 2 bb's. 	<br>Nabors win 2 bb's.	<br>Aces and 8's is played only in the Main Hall.	<br>Good Luck!	<br>Count 10 & Share is played every other game.	<br>Good Luck!"

arrSpecialsNames[32] = "Bingo"
arrSpecials[32] = "Game	Solo Bingo on:	<br>B - The  Winner & Up nabor gets 2bb's each 	<br>I -  Winner and BOTH nabors get 1 bb each	<br>N - Winner gets 3 bb's and Both Nabors 2 bb's each	<br>G - Winner and BOTH nabors get 1 bb each	<br>O - Winner & Down Nabor get a 2 bb's each	<br>B-I-N-G-O  game is played every other game."

arrSpecialsNames[33] = "Marbles"
arrSpecials[33] = "Nabors of Solo Bingo'er wins 1 bb  and a Marble. 	<br>Every time you are a Nabor you get a Marble.	<br>At the end of the Game the 2 Nabors that won the most Marbles win 6 bb's.	<br>In case of a tie the bb's will be split.	<br>Marbles is played every other game.	<br>You must be playing in the Main Hall to win bb's.	<br>Good Luck!"

arrSpecialsNames[34] = "Sinkers (Sink the CM's)"
arrSpecials[34] = "Remember battle ship? This is like that but instead of sinking ships you sink your cms. 	<br>Solo winner in bingo gets to choose a number they think a cm might be hiding on.	<br>If it's a hit they get 2 bb's if they miss they get 1 bb.	<br>If you sink a CM you get 2 bb's.	<br>If you sink woody and you get 5 bb's.	<br>If you sink CM Wendy everyone playing in that game gets 1 bb.	<br>If winner is afk or ooc nabor up gets to pick a number. 	<br>Sink the CM's is played every other game.	<br>Good Luck <br>The sink the cm's board is available in the newsletter and is printable so players can follow along.	<br>http://www.cashmillbingo.com/newshelper/boardPrint.aspx"

arrSpecialsNames[35] = "Red Neck Races"
arrSpecials[35] = "Find YOUR Redneck! 	<br>IF YOUR NAME STARTS WITH:	<br>A THRU E - B - BUBBA is your Redneck	<br>F THRU J - I - IRNEST is your Redneck	<br>K THRU O - N - NATE JOE BOB is your Redneck	<br>P THRU S - G - GOMER is your Redneck	<br>T THRU Z - O - ORVILLE is your Redneck	<br>First Redneck to grajuate 6th grade (get 6 letters) - wins 2 bb's!	<br>YEEEHAA!	<br>Redneck Race is played Every other EZ JP Game."

arrSpecialsNames[36] = "Doubel Nabors"
arrSpecials[36] = ""

arrSpecialsNames[37] = "Mouse Races"
arrSpecials[37] = "YOUR NAME STARTS WITH: 	<br>A THRU E - O - OSLO 	<br>F THRU J - G - GOOGLE 	<br>K THRU O - N - Nekkid Nigel	<br>P THRU S - I - ITCHY 	<br>T THRU Z - B - Bang 	<br>First mouse to get 6 letters - wins 2BB 	<br>You must be playing in Main Hall to win bb's	<br>Good Luck!"

arrSpecialsNames[38] = "Crazy Nabors"
arrSpecials[38] = "The player who Solo Bingos will win 2 bb's.	<br>The number bingo'd on will determine who the Crazy Nabor is.	<br>The CM will take the first number of the number called and count up that many place to find the Crazy nabor.	<br>If the number is 10, the CM will count up 1 place, if the number is 70 the CM will count up 7 places.	<br>1 thru 9 will be those numbers as they are.	<br>The Crazy Nabor will win 4 bb's!	<br>Crazy Nabor is played every 10 minutes.	<br>Good Luck!"

arrSpecialsNames[39] = "Double Nabors"
arrSpecials[39] = "The Player who SOLO bingo's wins 1 bb and two nabors above and two nabors below will win 1 bb! 	<br>If Solo Winner is out of chat, double nabors in chat still win 1 bb each. 	<br>You must be playing in chat in the Main Hall to win bb's. 	<br>Double Nabors is played every other game. 	<br>Good Luck!"

arrSpecialsNames[40] = "Speed Bingo - Speedy Numbers"
arrSpecials[40] = "Races	Your Name Starts with: 	<br>A thru E - Numbers are 0 and 1 	<br>F thru J - Numbers are 2 and 3 	<br>K thru O - Numbers are 4 and 5 	<br>P thru S - Numbers are 6 and 7 	<br>T thru Z - Numbers are 8 and 9 	<br>Take the last digit of number called.	<br>If bingo is called on one of YOUR numbers,	everyone with that number wins 2 bb's!  	<br>You must be playing in Main Hall to win bb's	<br>Good Luck!"

arrSpecialsNames[41] = "Bingo Cheer"
arrSpecials[41] = 'When the CM says "Bingo Has Been Called" - type "WTG!" to chat as quickly as you can. 	<br>Have it typed in so all you have to do it hit Enter. 	<br>The 1st , 3rd, 5th, & 7th player to type "WTG!" will win 2 bb`s!  	<br>Bingo Cheer will be played randomly to catch you off guard, so STAY ALERT! 	<br>You must be playing in the Main Hall to win Bingo Cheer bb`s!	<br>Good Luck!'

arrSpecialsNames[42] = "Count 10 & Share"
arrSpecials[42] = "When you SOLO Bingo the letter you bingo on is your letter. 	<br>The next game is a Count 10 game - watch the 1st 10 balls out of the next game.  Every time your letter comes out in the 1st 10 balls of the next game you and your nabors each get that amount of bb's.	<br>If winner is out of chat nabors win 2 bb's anyway and game is a re-do!	<br>You must be in Chat & playing in Main Hall to win bbs!	<br>Count 10 & Share is played every other game.	<br>Good Luck!"

arrSpecialsNames[43] = "Redneck Races"
arrSpecials[43] = ""

arrSpecialsNames[44] = "Superstition Game"
arrSpecials[44] = ""

arrSpecialsNames[45] = "Theme Party (continued)"
arrSpecials[45] = "A theme is choosen for the Theme Party.  At the end of Theme Party the CM working will choose 15 players with the best names and those players will each win 10 bb's.  The CM must see you playing bingo during Theme Party. "

arrSpecialsNames[46] = "Share the Candy"
arrSpecials[46] = ""

arrSpecialsNames[47] = "Theme Party"
arrSpecials[47] = "A theme is choosen for the Theme Party.  At the end of Theme Party the CM working will choose 15 players with the best names and those players will each win 10 bb's.  The CM must see you playing bingo during Theme Party."

arrSpecialsNames[48] = "Veteran's Day Capture the Flag"
arrSpecials[48] = ""

arrSpecialsNames[49] = "Veteran's Day - Hot Ball"
arrSpecials[49] = ""

arrSpecialsNames[50] = "Veteran's Day - Streak & Win"
arrSpecials[50] = "Give the CM 2 numbers from 1 to 75 	<br>When both your numbers are called, type >>>>>>>>> and your numbers in chat. 	<br>The first 3 players players to streak will win 2 BBS!	<br>You must be playing in Main Hall to win BB's	<br>Streak & Win is played every 3rd Game.	<br>Good Luck!"

arrSpecialsNames[51] = "Veteran's Day - Shoot the Plane"
arrSpecials[51] = ""

arrSpecialsNames[52] = "Veteran's Day Obstacle Course Race"
arrSpecials[52] = ""

arrSpecialsNames[53] = "Veteran's Day Bingo Shell Shock"
arrSpecials[53] = ""

arrSpecialsNames[54] = "Veteran's Day Raise the Flag"
arrSpecials[54] = ""

arrSpecialsNames[55] = "Veteran's Day Bingo War Buddies"
arrSpecials[55] = ""

arrSpecialsNames[56] = "Veteran's Day Double Veteran Buddies"
arrSpecials[56] = ""

arrSpecialsNames[57] = "Veteran's Day 21 Gun Salute"
arrSpecials[57] = ""

arrSpecialsNames[58] = "Veteran's Day Surprise Game"
arrSpecials[58] = ""

arrSpecialsNames[59] = "Veteran's Day Lucky Number"
arrSpecials[59] = ""

arrSpecialsNames[60] = "B-I-N-G-O"
arrSpecials[60] = ""

arrSpecialsNames[61] = "Streakers & Win"
arrSpecials[61] = ""

arrSpecialsNames[62] = "Count 4 Game"
arrSpecials[62] = ""

arrSpecialsNames[63] = "Thanksgiving - Turkey Poker"
arrSpecials[63] = ""

arrSpecialsNames[64] = "Who Ate the Turkey?"
arrSpecials[64] = ""

arrSpecialsNames[65] = "Thanksgiving - Grab the Drumsticks"
arrSpecials[65] = ""

arrSpecialsNames[66] = "Thanksgiving - Grab the Turkey"
arrSpecials[66] = ""

arrSpecialsNames[67] = "Thanksgiving Turkey Races"
arrSpecials[67] = ""

arrSpecialsNames[68] = "Thanksgiving - Double Helping of Turkey & BB's"
arrSpecials[68] = ""

arrSpecialsNames[69] = "Thanksgiving Turkey Shoot"
arrSpecials[69] = ""

arrSpecialsNames[70] = "Penny Game - Gobble Up the Turkey"
arrSpecials[70] = ""

arrSpecialsNames[71] = "Triple Nabors - Double BB's"
arrSpecials[71] = ""

arrSpecialsNames[72] = "Thanksgiving Surprise"
arrSpecials[72] = ""

arrSpecialsNames[73] = "Thanksgiving Theme Party"
arrSpecials[73] = ""

arrSpecialsNames[74] = "Thanksgiving Collect the Turkeys & Share"
arrSpecials[74] = ""

var imgOpen=new Image()

imgOpen.src = "images/open.gif" 

function selectBox(holderID,arrDates,arrIndexes)
{
   if(arrIndexes.length>1)
   {
		//var table = document.createElement('<TABLE cellspacing="0" cellpadding="0" border="0" width="100%">');
		var table = document.createElement('TABLE');
		table.cellSpacing="0"
		table.cellPadding="0"
		table.border="0"
		table.width="100%"
		table.className="games"
		var tbody = document.createElement('TBODY');
   
		for( i=0 ; i<arrIndexes.length ; i++ )
		{
			
			if(arrIndexes[i]!="n/a")
			{
			    row=document.createElement('TR');
		        //cell=document.createElement('<TD class="chatDate" nowrap>');
		        cell=document.createElement('TD');
		        cell.className="chatDate"
		        cell.noWrap=true
				cell.innerHTML=arrDates[i];
				row.appendChild(cell);
			 
				if( i%2 != 0 ) 
				{
					//cell=document.createElement('<TD class="chatAlt" nowrap>')
					cell=document.createElement('TD')
					cell.className="chatAlt"
					cell.noWrap=true
				}
				else 
				{
					//cell=document.createElement('<TD class="chat" nowrap>');
					cell=document.createElement('TD');
					cell.className="chat"
					cell.noWrap=true
				}	
				cell.innerHTML=arrSpecialsNames[arrIndexes[i]];
				row.appendChild(cell);

				row.className="chatH";
			    row.setAttribute("id",trChatDate + holderID + "_" + i);
			    row.setAttribute("name",arrIndexes[i]);	    
				row.attachEvent("onmouseover",show);
				row.attachEvent("onmouseout",hide);
				row.attachEvent("onmousemove",move);
				
			    tbody.appendChild(row)
			  }  
		}
		table.appendChild(tbody);
   
		//var tableBox = document.createElement('<TABLE cellspacing="0" cellpadding="0" border="0" width="100%">');
		var tableBox = document.createElement('TABLE');
		tableBox.cellSpacing="0"
		tableBox.cellPadding="0"
		tableBox.border="0"
		tableBox.width="100%"
		var tbodyBox = document.createElement('TBODY');
   
		row=document.createElement('TR');
   
		cell=document.createElement('TD');
		cell.appendChild(table);
		row.appendChild(cell);   
   
		//cell=document.createElement('<TD align="center" class="chatImg">');
		cell=document.createElement('TD');
		cell.className='chatImg'
		cell.align='center'
		
		cell.innerHTML='<img onclick="unfold('+holderID+')" height="27" src="images/open.gif" width="17" border="0">';
		row.appendChild(cell);   
   
		tbodyBox.appendChild(row)
		tableBox.appendChild(tbodyBox);
		var holder = document.getElementById(holderID)      
		holder.appendChild(tableBox);
   }
   else
   {	if(arrIndexes[0]!="n/a")
	    {
   			var holder = document.getElementById(holderID);
			holder.setAttribute("name",arrIndexes[0]);	    
			holder.attachEvent("onmouseover",show);
			holder.attachEvent("onmouseout",hide);
			holder.attachEvent("onmousemove",move);
			holder.innerHTML=arrSpecialsNames[arrIndexes[0]];
		}
		else
		{
			var holder = document.getElementById(holderID);
			holder.innerHTML='';
		}
   }
}

function show()
{

	if (document.getElementById(layerName).style.visibility!="visible")
	{
		
		var x = event.x;
		var y = event.y;
		var el = event.srcElement
		while (isNaN(el.name) || (el.name=="")) el = el.parentElement;		
		
		var index = el.name;
		
		if( arrSpecials[index] != '' )	
		{
			if( index!=-1 && arrSpecials[index] != undefined ) 
				document.getElementById(layerName).innerHTML="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+arrSpecials[index];
			else 
				document.getElementById(layerName).innerHTML=noInfo;

			var rY = document.body.scrollTop + y
	
			document.getElementById(layerName).style.left=x+"px";
			document.getElementById(layerName).style.top=rY+"px";
			document.getElementById(layerName).style.visibility="visible";
		}
	}	
}


function move()
{
	var x = event.x;
	var y = event.y;
	var rY = document.body.scrollTop + y
	document.getElementById(layerName).style.left=x+"px";
	document.getElementById(layerName).style.top=rY+"px";
}

function hide()
{
	document.getElementById(layerName).style.visibility="hidden";
}


