  var screenHeight; var screenWidth; var bckgrnd; var pageName; var imageExtension; var bdcPresidentName = 'Theresa'; var bdcPresidentEmail = 'bdc@email.sjsu.edu'; var bdcMailAddress = '<br><br><br><br><br><img src="images/sjsubdcqrcode_m.png" alt="sjsubdc"><br><br>'  + 'SJSU Ballroom Dance Club<br>'  + 'Student Involvement, Box # 10<br>'  + 'One Washington Square, Clark Hall 140<br>'  + 'San Jose, CA. 95192 - 0038<br>'; var bdcPhoneNumber = '(408) 924-SPIN';    var beginningLesson = 'Beginning Lesson: 7:30 - 8:15 pm'; var intermediateLesson = 'Intermediate Lesson: 8:30 - 9:15 pm'; var openDancingUntil = 'Open Dancing after the lessons until 10:00 pm '; var bdcMembershipDropin = 'Fall 2009: $15 Semester Membership or $3 drop-in each session';    var sjsubdcMainTitle = 'sjsubdctitle1024x768.gif';      var backgroundNames = new Array(  'background200.png',   'background320.png',   'background480.png',   'background576.png',   'background600.png',   'background720.png',   'background768.png',   'background864.png',   'background960.png',   'background1024.png',   'background1050.png',   'background1080.png',   'background1200.png',   'background1536.png',   'background1600.png',   'background2048.png'   );   imageExtension = 'gif'; var buttonsMenuMain = new Array(  'home',  'schedule',  'calendar',  'info',  'events',  'map',  'parking',  'pictures',   'constitution',  'links',  'competitions',  'supplies',  'faq',  'feedback'  );         function getPageName() {  var pageLocation = new String(window.location);  var pathLocation = pageLocation.split('/');  var tempPageName = pathLocation[pathLocation.length-1].split('.');  return tempPageName[0]; }   function getRootName() {      var pageLocation = new String(window.location);  var pathLocation = pageLocation.split('/');  var i = 0;  var tempRoot = pathLocation[2] + '/';    for(i = 3; i < pathLocation.length; i++)  {  tempRoot += pathLocation[i] + '/';      if(pathLocation[i] == 'sjsubdc')  i = pathLocation.length + 2;    }    return tempRoot; }  pageName = getPageName();  if (pageName == '')  pageName = 'index';                     screenHeight = 768;  screenWidth = 1024;      if(screenHeight = screen.height == 200)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[0]; }   if(screenHeight = screen.height == 320)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[1]; }  if(screenHeight = screen.height == 480)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[2]; }  if(screenHeight = screen.height == 576)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[3]; }  if(screenHeight = screen.height == 600)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[4]; }  if(screenHeight = screen.height == 720)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[5]; }  if(screenHeight = screen.height == 768)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[6]; }  if(screenHeight = screen.height == 864)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[7]; }  if(screenHeight = screen.height == 960)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[8]; }  if(screenHeight = screen.height == 1024)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[9]; }  if(screenHeight = screen.height == 1050)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[10]; }  if(screenHeight = screen.height == 1080)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[11]; }  if(screenHeight = screen.height == 1200)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[12]; }  if(screenHeight = screen.height == 1536)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[13]; }  if(screenHeight = screen.height == 1600)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[14]; }  if(screenHeight = screen.height == 2048)  {  screenHeight = screen.height;  screenWidth = screen.width;  bckgrnd = backgroundNames[15]; }             mydate=new Date(); year=mydate.getFullYear();  if (year < 1000) year+=1900;  day=mydate.getDay(); month=mydate.getMonth(); daym=mydate.getDate();  if (daym<10) daym="0"+daym;  dayarray=new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"); montharray=new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");                    function show_clk(){  	if (!document.layers&&!document.all&&!document.getElementById) 		return; 	now=new Date(); 	hours=now.getHours(); 	minutes=now.getMinutes(); 	seconds=now.getSeconds(); 	am_pm="PM";  	if (hours<12) 		am_pm="AM"; 	if (hours>12) 		hours=hours-12; 	if (hours==0) 		hours=12; 	if (minutes<=9) 		minutes="0"+minutes; 	if (seconds<=9) 		seconds="0"+seconds;  	the_clock = hours+":"+minutes+":" +seconds+" "+am_pm;  	if (document.layers){ 		document.layers.sjsubdclc.document.write(the_clock); 		document.layers.sjsubdclc.document.close();  	} 	else if (document.all) 		sjsubdclc.innerHTML=the_clock; 	else if (document.getElementById) 		document.getElementById("sjsubdclc").innerHTML=the_clock; 	setTimeout("show_clk()",1000); }                      document.write('<style type="text/css">'); document.write('body'); document.write('{'); document.write(' font-family:Arial;');  document.write(' color:#ffff00;'); document.write(' background-color:#27274E;'); document.write(' word-spacing:normal;'); document.write(' letter-spacing:normal;'); document.write(' text-decoration:none;'); document.write(' scrollbar-face-color:#3366cc;'); document.write(' scrollbar-shadow-color:#3366cc;'); document.write(' scrollbar-highlight-color:#3366cc;'); document.write(' scrollbar-darkshadow-color:#3366cc;'); document.write(' scrollbar-track-color:#000033;'); document.write(' scrollbar-arrow-color:#ccffff;');  if(pageName == 'YahooPage') {  bckgrnd = backgroundNames[15];  }   document.write(' background-image:url("images/' + bckgrnd + '");' );  if(pageName == 'YahooPage') {  } else  document.write(' background-attachment:fixed;'); document.write(' margin:0px;padding:0px;'); document.write(' padding-left:0px;'); document.write(' padding-right:0px;'); document.write(' padding-top:0px;'); document.write(' padding-bottom:0px;'); document.write(' margin-left:0px;');  document.write(' margin-right:0px;'); document.write(' margin-top:30px;'); document.write(' margin-bottom:0px;'); document.write('}');  document.write('a'); document.write('{'); document.write(' Color:#CCFF99;'); document.write(' text-decoration:none;'); document.write('}');  document.write('a:visited'); document.write('{'); document.write(' Color:#CCFF99;'); document.write(' text-decoration:none;'); document.write('}');  document.write('a:hover'); document.write('{'); document.write(' Color:#99ffcc;'); document.write(' text-decoration:underline;'); document.write(' cursor:pointer;'); document.write(' cursor:hand;'); document.write('}');  document.write('</style>');                 var months = new Array  ("Jan"  ,"Feb"  ,"Mar"  ,"Apr"  ,"May"  ,"Jun"  ,"Jul"  ,"Aug"  ,"Sep"  ,"Oct"  ,"Nov"  ,"Dec"  );    var show_weeks = 26; var titlefontsize = 5; var daysfontsize = 3; var fcolor = "#FFFF00"; var fface = "Arial Narrow"; var fsize = 2; var oddmonthcolor = "#0033CC"; var evenmonthcolor = "#3366FF"; var celltitlecolor = "#003399"; var dayandyearcolor = "#0000FF"; var weekendcolor = "#003366"; var todaycolor = "#6666FF"; var arrowup = "images/month_up.gif"; var arrowdn = "images/month_dn.gif"; var numberofannouncements = 4; var calendarTitle= "SJSU Ballroom Dance Club Calendar";            var events = new Array (  0,0,0000, "bdcfallschedule","","","", 9,4,2009, "<a href='schedule.htm'><b>Cha Cha</b>","7:30 - 9:15 p.m.</a>","<a href='map.htm'>SPX89</a>","TBA", 9,11,2009, "<a href='schedule.htm'><b>Hustle</b>","7:30 - 9:15 p.m.</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 9,18,2009, "<a href='schedule.htm'><b>Rumba</b>","7:30 - 9:15 p.m.</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 9,25,2009, "<a href='schedule.htm'><b>Tango</b>","7:30 - 9:15 p.m.</a>","<a href='map.htm'>SPX89</a>","Robin Horn",  10,9,2009, "<a href='schedule.htm'><b>EC Swing</b>","7:30 - 9:15 p.m.</a>", "<a href='map.htm'>SPX89</a>","Robin Horn", 10,16,2009, "<a href='schedule.htm'><b>Bolero</b>","<b>7:30 - 9:00 PM</b></a>","<a href='map.htm'>Sport Club<BR>(Event Center)</a>","Robin Horn", 10,30,2009, "<a href='schedule.htm'><b>Waltz</b>","7:30 - 9:15 p.m.</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 11,6,2009, "<a href='schedule.htm'><b>Salsa</b>","7:30 - 9:15 p.m.</a>","<a href='map.htm'>SPX89</a>","TBA", 11,20,2009, "No lesson","No lesson","<b>Open Practice</b>","<b>Open Practice</b>", 11,21,2009, "<a href='competition.htm'><b>13th SJSU<br>Ballroom Classic</b></a>","9:00 a.m. - 10:00 p.m.","<a href='map.htm'>Barrett Ballroom</a>","<a href='competition.htm'><img border='0' src='images/smiling.gif' width='48' height='48'><br><b>Amateur ballroom competition</b><br>American style events<br>International style events,<br>Fun events<br>Open Dancing<br>and more!<br>This event will be held on Saturday</a>",        0,0,0000, "bdcfallschedule","","","",       0,0,2004, "bdcspringschedule","","","",  1,30,2009, "<a href='schedule.htm'><b>EC Swing</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Kim Clark", 2,6,2009, "<a href='schedule.htm'><b>Tango</b>","<b>7:30 - 9:00 PM</b></a>","<a href='map.htm'>Sport Club<BR>(Event Center)</a>","Robin Horn", 2,13,2009, "<a href='schedule.htm'><b>Cha Cha</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 2,20,2009, "No lesson","<b>Club Night Out</b>","Dance Boulevard<BR>(formerly San Jose DanceSport)","Dance Boulevard Info:<BR><a href='http://www.sjdancesport.com/' target='_blank'>http://www.sjdancesport.com/</a><BR>$10 admission for<BR>the class and party.<BR>$8 with student I.D. and<BR>BDC Members.<BR>(Must show BDC Membership Card)", 2,27,2009, "No meeting","-------------","No meeting","-------------", 3,6,2009, "<a href='schedule.htm'><b>WC Swing</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 3,13,2009, "<a href='schedule.htm'><b>Samba</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Lindsay Morris", 3,20,2009, "<a href='schedule.htm'><b>Waltz</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 3,27,2009, "Spring Break","-------------","Spring Break","-------------", 4,3,2009, "<a href='schedule.htm'><b>Salsa</b>","<b>7:30 - 9:00 PM</b></a>","<a href='map.htm'>Sport Club<BR>(Event Center)</a>","Robin Horn", 4,10,2009, "<a href='schedule.htm'><b>Foxtrot</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 4,17,2009, "<a href='schedule.htm'><b>Hustle</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 4,18,2009, "<a href='events.htm'><b>Spring Swingathon</b>","5:00-10:30 PM</a>","<a href='map.htm'>Barrett Ballroom<BR>(SJSU Student Union)</a>","Sat. April 18<BR><b>Spring Swingathon</b><BR>Dance workshops<BR>Fun events<BR>and open dancing<BR>with the Vinnie Rodriguez Quintet!", 4,24,2009, "<a href='schedule.htm'><b>Rumba</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 5,1,2009, "<a href='schedule.htm'><b>Two Step</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 5,8,2009, "<a href='schedule.htm'><b>Salsa</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Robin Horn",   0,0,2004, "bdcspringschedule","","","",     0,0,2004, "bdcsummerschedule","","","",      6,19,2009, "<a href='schedule.htm'><b>Tango</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 6,26,2009, "<a href='schedule.htm'><b>Tango</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 7,10,2009, "<a href='schedule.htm'><b>Tango</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Robin Horn", 7,31,2009, "<a href='schedule.htm'><b>Salsa</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Ricki Anaya", 8,7,2009, "<a href='schedule.htm'><b>Salsa</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Ricki Anaya", 8,14,2009, "<a href='schedule.htm'><b>Salsa</b>","7:30 - 9:15 PM</a>","<a href='map.htm'>SPX89</a>","Ricki Anaya",  0,0,2004, "bdcsummerschedule","","","",   0,0,0 , "" ,"","","",        8,24,2009, "Fall Semester" ,"begins" ,"","", 9,7,2009, "Labor" ,"day" ,"","", 9,12,2007, "Student" ,"Organization" ,"Faire","", 9,29,2007, "Student" ,"Organization" ,"Leadership<br>Conference","", 12,8,2009, "Fall Semester" ,"ends" ,"","", 12,10,2009, "Final Exams" ,"" ,"","", 12,11,2009, "Final Exams" ,"" ,"","", 12,14,2009, "Final Exams" ,"" ,"","", 12,15,2009, "Final Exams" ,"" ,"","", 12,16,2009, "Final Exams" ,"" ,"","",   1,22,2009, "Spring Semester" ,"begins" ,"","", 3,23,2009, "Spring" ,"Break" ,"","", 3,24,2009, "Spring" ,"Break" ,"","", 3,25,2009, "Spring" ,"Break" ,"","", 3,26,2009, "Spring" ,"Break" ,"","", 3,27,2009, "Spring" ,"Break" ,"","", 5,13,2009, "Spring Semester" ,"ends" ,"","", 5,15,2009, "Final Exams" ,"" ,"","", 5,18,2009, "Final Exams" ,"" ,"","", 5,19,2009, "Final Exams" ,"" ,"","", 5,20,2009, "Final Exams" ,"" ,"","", 5,21,2009, "Final Exams" ,"" ,"","",    0,0,2004, "competitions","","","",    1,19,2008, "<a href='http://www.usabda-norcal.org/calendar/frolic08.html' target='_blank'>USA Dance NorCal" ,"Winter Frolic","in Palo Alto</a>","",      3,15,2008, "<a href='http://www.usabda-norcal.org/springfling/' target='_blank'>USA Dance " ,"NorCal" ,"Spring Fling in Oakland</a>","",               2,7,2009, "<a href='http://www.usabda-norcal.org/regionals/' target='_blank'>USA Dance Southwest" ,"Regional DanceSport" ,"Championships<br>in San Jose</a>","",  2,21,2009, "<a href='http://www.ocf.berkeley.edu/~ucbd/classic/' target='_blank'>UC Berkeley" ,"Ballroom" ,"Classic</a>","",  3,7,2009, "<a href='http://recadmin.ucsd.edu/sports/teams/dancesport/' target='_blank'>UC San Diego" ,"Dance by the" ,"Shores</a>","",   4,4,2009, "<a href='http://www.cpdancesport.org/comp/' target='_blank'>Cal Poly" ,"Mustang Ball","in San Luis Obispo</a>","",  4,25,2009, "<a href='http://cardinalclassic.sbdt.org/' target='_blank'>Stanford" ,"Cardinal Classic" ,"</a>","",  5,9,2009, "<a href='http://ballroom.caltech.edu/comp/' target='_blank'>Caltech" ,"DanceSport Competition" ,"in Pasadena</a>","",    10,16,2009, "<a href='http://www.autumndanceclassic.com/' target='_blank'>Autumn Dance" ,"Classic" ,"in San Francisco</a>","", 10,17,2009, "<a href='http://www.autumndanceclassic.com/' target='_blank'>Autumn Dance" ,"Classic" ,"in San Francisco</a>","", 10,18,2009, "<a href='http://www.autumndanceclassic.com/' target='_blank'>Autumn Dance" ,"Classic" ,"in San Francisco</a>","",  11,14,2009, "<a href='http://www.usadance-norcal.org/cal-state/default.asp' target='_blank'>USA Dance California State" ,"DanceSport" ,"Classic in Oakland</a>","",  11,21,2009, "<big><a href='competition.htm'><b>13<sup>th</sup> Ballroom" ,"Classic","at SJSU</b></a></big>","",  12,27,2009, "<a href='http://www.holidayball.com/' target='_blank'>Holliday Ball" ,"& Dance Camp" ," in San Francisco</a>","", 12,28,2009, "<a href='http://www.holidayball.com/' target='_blank'>Holliday Ball" ,"& Dance Camp" ," in San Francisco</a>","", 12,29,2009, "<a href='http://www.holidayball.com/' target='_blank'>Holliday Ball" ,"& Dance Camp" ," in San Francisco</a>","", 12,30,2009, "<a href='http://www.holidayball.com/' target='_blank'>Holliday Ball" ,"& Dance Camp" ," in San Francisco</a>","",  1,29,2010, "<a href='http://www.citylightsball.com/' target='_blank'>City Lights " ,"Ball" ,"in San Jose</a>","", 1,30,2010, "<a href='http://www.citylightsball.com/' target='_blank'>City Lights " ,"Ball" ,"in San Jose</a>","", 1,31,2010, "<a href='http://www.citylightsball.com/' target='_blank'>City Lights " ,"Ball" ,"in San Jose</a>","",   3,25,2010, "<a href='http://www.sfopen.com/' target='_blank'>San Francisco Open" ,"DanceSport" ,"Championships</a>","", 3,26,2010, "<a href='http://www.sfopen.com/' target='_blank'>San Francisco Open" ,"DanceSport" ,"Championships</a>","", 3,27,2010, "<a href='http://www.sfopen.com/' target='_blank'>San Francisco Open" ,"DanceSport" ,"Championships</a>","", 3,28,2010, "<a href='http://www.sfopen.com/' target='_blank'>San Francisco Open" ,"DanceSport" ,"Championships</a>","",  7,30,2010, "<a href='http://www.internationalgrandball.com/' target='_blank'>International" ,"Grand Ball" ,"Championships ","in San Francisco</a>", 7,31,2010, "<a href='http://www.internationalgrandball.com/' target='_blank'>International" ,"Grand Ball" ,"Championships ","in San Francisco</a>", 8,1,2010, "<a href='http://www.internationalgrandball.com/' target='_blank'>International" ,"Grand Ball" ,"Championships ","in San Francisco</a>",   0,0,0, "competitions","","",""  );            	 var photos = new Array(    			"0.jpeg", "101", "76",  			"1.jpeg", "101", "76",  			"2.jpeg", "101", "76",  			"3.jpeg", "101", "76",  			"4.jpeg", "101", "76",  			"5.jpeg", "101", "76",  			"6.jpeg", "101", "76",  			"7.jpeg", "101", "76",  			"8.jpeg", "101", "76",  			"9.jpeg", "101", "76",  			"10.jpeg", "101", "76",  			"11.jpeg", "101", "76",  			"12.jpeg", "101", "76",  			"13.jpeg", "101", "76"   			 );  var nextPhoto = 3; var picturesPath = 'sjsubdc_pictures/';           var writecompetitions = 1; var writepastcompetitions = 1;            var welcomePageMessage = '<a href="schedule.htm"> See the fall 2009 schedule</a><br><img src="images/smiling.gif" alt="sjsubdc">';   var welcomePageSecondMessage ='<a href="competition.htm"><br><br><img style="width: 423px; height: 57px;" alt="Ballroom Classic" title="Annual Ballroom Classic" src="images/classic_banner.gif"><br><big>The final schedule and heat list are now posted</big></a>';                           var writefallschedule = true; var falltentativeschedule = true; var falllastupdated = 'Sunday, August 30, 2009<br><br>'   ;          var writespringschedule = false; var springtentativeschedule = false; var springlastupdated = 'Thursday, February 12, 2009<br><br>'  + 'We have open dancing after the lessons until 10:00 p.m. Except Feb. 6 and April 3<br>'   + '<big>Our meetings on Feb. 6 and Apr. 3 are in the Sport Club (Event Center) from 7:30 - 9:00 pm</big><br>'   + bdcMembershipDropin + '<br><br>'  + '<a href="documents/sjsubdc_schedule.pdf" target="_blank">'  + '<u>Click here to download and print the schedule</u></a>';     var writesummerschedule = false; var summertentativeschedule = false; var summerlastupdated = 'Thursday, June 11, 2009<br><br>'  + '<div style="text-align: center;">Summer 2009 Dance Series<br><br>'    + 'Please keep in mind that if miss a day you may be lost in the following lesson.<br>' + 'We will be focusing on steps as well as technique for the following lessons:<br><br>'  + 'Fridays in <a href="map.htm">SPX89</a><br>' + '<a href="calendar.htm#62009">Tango -&nbsp; June 19, 26 & July 10.</a><br>' + '<a href="calendar.htm#72009">Salsa -&nbsp; July 31, Aug. 7, and 14.</a><br><br>'  + '<big><big>Cost: &nbsp;$20 Both series or<br>$15 Per series or <br>$7 Drop-in<br><br></big></big>'  + 'Open dancing after the lessons.<br><br>';            var competitionsDisclaimer = '';   var linksDisclaimer = '';  var suppliesDisclaimer = '';              var displayCompetitionMenu = true; var compButtonsImageExtension = 'gif'; var disbledButton = 'disabled'; var buttonsCompMenu = new Array(  'reset',  'next',  'back',  'submit',  'BDC_Main',  'Competition_Main',  'Competition_Info',  'Competition_Schedule',  'Barrett_Ballroom',   'Parking_Map',  'Registration',  'Team_Registration',  'Contact_Us'   );       var competitionPage = 'competition'; var barrettBallroomPage = 'classicBallroom'; var contactusPage = 'classicContactUs'; var infoPage = 'classicInfo'; var parkingPage = 'classicParking'; var schedulePage = 'classicSchedule'; var registrationPage = 'classicReg'; var registrationAdultsPage = 'classicAdultsReg'; var registrationTeamsPage = 'classicRegFT'; var registrationKidsPage = 'classicKidsReg'; var revisePage = 'classicRev'; var thankxPage = 'classicThx'; var submitPage = 'classicSub'; var contactusThankxPage = 'classicContactUsThx';   var heatlistpage = 'classicHeatList';    var competitorFee = new Array( '$25 (Non-Student) + $15 late fee','$20 (Student) + $15 late fee'); var kidsFee = '$20';   var kidsMessage = 'yrs old.';    var preteenstandard = 'Standard Waltz/Quickstep'; var preteenlatin = 'Latin Cha Cha/Samba/Rumba/Jive'; var juniorstandard = 'Standard Waltz/Tango/Foxtrot/Quickstep'; var juniorlatin = 'Latin Cha Cha/Samba/Rumba/Jive';    function isCompetitionPage() {       if(pageName.toLowerCase() == competitionPage.toLowerCase() ||   pageName.toLowerCase() == barrettBallroomPage.toLowerCase() ||   pageName.toLowerCase() == contactusPage.toLowerCase() ||   pageName.toLowerCase() == infoPage.toLowerCase() ||   pageName.toLowerCase() == parkingPage.toLowerCase() ||  pageName.toLowerCase() == schedulePage.toLowerCase() ||   pageName.toLowerCase() == registrationPage.toLowerCase() ||  pageName.toLowerCase() == registrationAdultsPage.toLowerCase() ||  pageName.toLowerCase() == registrationKidsPage.toLowerCase() ||  pageName.toLowerCase() == registrationTeamsPage.toLowerCase() ||   pageName.toLowerCase() == revisePage.toLowerCase() ||  pageName.toLowerCase() == contactusThankxPage.toLowerCase() ||  pageName.toLowerCase() == thankxPage.toLowerCase() ||  pageName.toLowerCase() == heatlistpage.toLowerCase()      )  return true;      return false;   }    var subjectSubForm = 'New Registration -13th SJSU Ballroom Classic'; var subjectSubKidsForm = 'New youth Registration -13th SJSU Ballroom Classic';                       