// schedule.js is used to format scheduled jobs on the schedule page for
// both the Moonlighters and Doug LaSala's website.  It also is used to
// set the last modified date/time on both the home page and schedule page for
// each website.  It also sets the marquee listing the next performance on
// each home page.
//
// This JavaScript contains the following functions:
//   function lastModifiedDate(format)
//   function setMarquee(month,day,time,event,location)
//   function getCurrentDate()
//   function getMonth(month)
//   function writeRow(listType,a)
//   function writeSchedule(listType,nextGig,pf)
//
// Date       Who             Description
// ---------- --------------- --------------------------------------------------
// 12/12/2007 Doug LaSala     Original version.

var months = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var mtend = new Array(31,28,31,30,31,30,31,31,30,31,30,31);
var opt = new Array("Past","Future");

//here are a list of photos that display in the small window via function writeRandomPhoto
var rpic = new Array();
var i = 0;
rpic[i] = "http://lh6.google.com/kwd805/R0hit7RaXyI/AAAAAAAACmY/en5MNM5fSjU/s144/IMG_5698.JPG";i++
rpic[i] = "http://lh5.google.com/kwd805/R0hjErRaYHI/AAAAAAAACpE/h0bvMZrreDg/s144/IMG_5724.JPG";i++
rpic[i] = "http://lh5.google.com/kwd805/R0hjarRaYaI/AAAAAAAACrg/0tdoKt-M5DY/s144/IMG_5748.JPG";i++
rpic[i] = "http://lh3.google.com/kwd805/R0hjpLRaYnI/AAAAAAAACtI/hjMloRYacm4/s144/IMG_5767.JPG";i++
rpic[i] = "http://lh6.google.com/kwd805/R0hkP7RaZOI/AAAAAAAACyE/O_LWKeRc_Io/s144/IMG_5844.JPG";i++
//rpic[i] = "";i++

//
// function lastModifiedDate returns the last modified date.
// if "mmdd" is passed as a parm, only return the date in mm/dd format.
//
function lastModifiedDate(group,format)
{

//currently hardcoding date/time of last modification.
  lastMod = "02/17/12 08:00";

  if (format=="mmdd")
  {
    document.write(lastMod.substr(0,5));
//    document.write(document.lastModified.substr(0,5));
  }
  else
  {
    document.write(lastMod.substr(0,8));
//    document.write(lastMod.substr(0,10) + " at " + lastMod.substr(11,5));
//    document.write(document.lastModified.substr(0,10) + " at " + document.lastModified.substr(11,5));
  }
}

//
// Write the menu data.
//
function writeMenu(menuHref,menuName,menuClass,newWindow)
{

  // If newWindow is specified, set up the target statement to open a new window.
  if (newWindow!="")
  {
    targetWindow = "'target='_new''";
  }
  else
  {
    targetWindow = "";
  }

  if (currentPage2==menuHref)
  {
    document.write("<tr><td align=left class='" + menuClass + "sel" + "'><b><img src='images/arrowsel.bmp' border='0' alt='arrow'>" + menuName + "</b></td></tr>");
  }
  else
  {
    document.write("<tr><td align=left class='" + menuClass + "'><b><A class='" + menuClass + "' HREF='" + menuHref + " " + targetWindow + "'><img src='images/arrow" + ".bmp' border='0' alt='arrow'>" + menuName + "</A></b></td></tr>");
  }
}

//
// Generate the menu in the left frame.
//
function generateMenu(currentPage)
{

currentPage2 = currentPage;

  // LEFT FRAME - START
  document.write("<table border='0' cellpadding='0' cellspacing='0' width='200' class='leftframe'>");

  // Write the Home entry.
  writeMenu("index.htm","Home","menuitem","");

  // Write the Schedule entry.
  writeMenu("schedule.htm","Schedule (updated <SCRIPT language='javascript'>lastModifiedDate('ML','mmdd');</script>)","menuitem","");

  // Write the Band Members entry.
  writeMenu("members.htm","Band Members","menuitem","");

  // Write the Band History entry.
  writeMenu("history.htm","Band History","menuitem","");

  // Write the Band Photos entry.
  writeMenu("photos.htm","Band Photos","menuitem","");

  // Write the Playlist entry.
  writeMenu("playlist.htm","List of Songs/Listen","menuitem","");

  // Write the Contact Us entry.
  writeMenu("contact.htm","Contact Us","menuitem","");

  // Write the Mailing List entry.
//  writeMenu("mailinglist.htm","Join Mailing List","menuitem","");

  // Write the Rehearsal entry.
  writeMenu("rehearsal.htm","Rehearsal Schedule","menuitem","");

// OTHER BANDS
  document.write("<tr><td align=left class='menuitemhdr'><b> OTHER BANDS</b></td></tr>");

  // Write the Doug LaSala entry.
  writeMenu("http://www.douglasala.com","Doug LaSala's Website","menuitem","newWindow");

  // Write the Ben Mauger entry.
//  writeMenu("http://www.douglasala.com/MAUGER/index.htm","Ben Mauger's Vintage Jazz Band CD","menuitem","newWindow");

  // Write the Dixielanders entry.
//  writeMenu("dixielanders/index.htm","The Dixielanders Website","menuitem","newWindow");

  // Write the Warwick HS Marching Band entry.
//  writeMenu("http://www.warwickband.org/","Warwick HS Marching Band","menuitem","newWindow");

  // Write the LCB entry.
//  writeMenu("LCB/LCBSchedule.htm","Lititz Community Band Schedule (2006 schedule)","menuitem","newWindow");

  // Write the BBJB entry.
//  writeMenu("bbjb/index.htm","Bob Troxell's Big Big Jazz Band","menuitem","newWindow");

  // OTHER
  document.write("<tr><td align=left class='menuitemhdr'><b>OTHER LINKS</b></td></tr>");

  // Write the Lititz Springs Park entry.
  writeMenu("http://www.lititzspringspark.org","Lititz Springs Park","menuitem","newWindow");

  // Write the LititzPA.com entry.
  writeMenu("http://www.lititzpa.com","LititzPA.com","menuitem","newWindow");

  // Write the Facebook link
document.write("<tr><td align=left class='menuitem'><b><br><A class='menuitem' HREF='http://www.facebook.com/pages/The-Moonlighters-Big-Band/293311528167' target='_new'><img src='http://i.zdnet.com/blogs/facebook_logo.png' border='0' align='center' width='40' height='40' alt='Facebook'>" + "Visit us on Facebook</A></b></td></tr>");
 document.write("<tr><td><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FThe-Moonlighters-Big-Band%2F293311528167&amp;layout=box_count&amp;show_faces=false&amp;width=150&amp;action=recommend&amp;colorscheme=dark&amp;height=65' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:150px; height:65px;' allowTransparency='true'></iframe></td></tr>");
  // finish the table.
  document.write("</table>");

//writeRandomPhoto();
//writeScores();

}


function writeHtmlHeader()
{
//
// Doug, if you change the widths here, you also must change them in index.htm and function writeHtmlFooter.
//

//document.write("<TABLE class='heading' WIDTH='100%' BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD class='title' width='200' align='center'><a href='index.htm'><img src='images/warwicklogo117x1392.bmp' border='0'></a></TD><TD class='title' align='center' width='900'><B>Moonlighters Big Band</B></TD></TR><TR><TD class='title' colspan=2><HR></TD></TR></TABLE>");

//document.write("<TABLE class='heading' WIDTH='100%' BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD class='title' width='200' align='center'>&nbsp;</TD><TD class='title' align='center' width='900'><B>Moonlighters Big Band</B></TD></TR><TR><TD class='title' colspan=2><HR></TD></TR></TABLE>");

document.write("<TABLE class='heading' WIDTH='100%' BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD class='title' width='200' align='center'>&nbsp;</TD><TD class='title' align='center' width='1100'><img src='images/MoonlightersLogo444x142.jpg' width=444 height=142 border='0'></TD></TR><TR><TD class='title' colspan=2><HR></TD></TR></TABLE>");

}

//
// set the marquee for each home page.
// if "ML" is passed, set the marquee for the Moonlighters website,
// else set the marquee for Doug's website.
//
function setMarquee(month,day,event,location,city,group)
{

  // if processing the Moonlighters website...
  switch(listType2)
  {
    case "ML": document.write("Next Performance: " + event + " at " + location + " on " + month + " " + day + " in " + city); break;
    case "DOUG": document.write("Next Performance: " + event + " with the " + group + " at " + location + " on " + month + " " + day + " in " + city); break;
    case "DIXIELANDERS": document.write("Next Performance: " + event + " at " + location + " on " + month + " " + day + " in " + city); break;
    default: return "invalid"; break;
  }

}

function writeHtmlFooter()
{
//
// Doug, if you change the widths here, you also must change them in index.htm and function writeHtmlHeader.
//
document.write("<TABLE class='heading' WIDTH='100%' BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD class='footer' colspan=2><HR></TD></TR><TR><TD class='footer' width='200' align='center'>&nbsp;</TD><TD class='footer' align='center'><a HREF='http://www.douglasala.com' target='_new' class='footer'>Site design by Doug LaSala</a></td></TR><TR><TD class='footer' colspan=2><HR></TD></TR></TABLE>");

}

function writeHtmlFooterDOUG()
{
//
// Doug, if you change the widths here, you also must change them in index.htm and function writeHtmlHeader.
//
document.write("<TABLE class='heading' WIDTH='100%' BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD class='footer' align='center'>Site design by Doug LaSala</td></TR></TABLE>");

}

//
// Get the current date in yyyymmdd format.  This will be used for date
// comparisons down below as a means to only display future jobs, and
// not display past jobs.
//
function getCurrentDate()
{
d = new Date();
mm = d.getMonth();
mm += 1;
mm = mm.toString();
if (mm.length == 1) { mm = "0" + mm; }
dd = d.getDate();
dd = dd.toString();
if (dd.length == 1) { dd = "0" + dd; }
yyyy = d.getFullYear();
yyyy = yyyy.toString();
currentDate = yyyy + mm + dd;
return currentDate;
}

//
// This function takes the numerical representation of the month and
// returns the month's name.
// 
function getMonth(month)
{
  switch(month)
  {
    case "01": return "January"; break;
    case "02": return "February"; break;
    case "03": return "March"; break;
    case "04": return "April"; break;
    case "05": return "May"; break;
    case "06": return "June"; break;
    case "07": return "July"; break;
    case "08": return "August"; break;
    case "09": return "September"; break;
    case "10": return "October"; break;
    case "11": return "November"; break;
    case "12": return "December"; break;
    default: return "invalid"; break;
  }
}

//
// Pass this function a the year, month, and day, and it will return the day of week.
//
function getDayOfWeek(yyyy,mm,dd)
{

  var tempDate = new Date(yyyy,mm,dd);
  var dayOfWeek = tempDate.getDay();
  switch(dayOfWeek)
  {
    case 0: return "Sunday"; break;
    case 1: return "Monday"; break;
    case 2: return "Tuesday"; break;
    case 3: return "Wednesday"; break;
    case 4: return "Thursday"; break;
    case 5: return "Friday"; break;
    case 6: return "Saturday"; break;
    default: return "invalid"; break;
  }
}

//
// list the current high scores
//
function writeScores()
{

// Initialize the counter of jobs that we've processed.
  jobCounter = 0;
  rowShading = 0;
  pf2 = "";

// Set the row shading.  This will value the variable cellClass.
  setRowShading("scores");

  document.write("<br>");
  document.write("<table border='0' cellpadding='0' cellspacing='0' width='190'><tr><th class='" + cellClass + "' colspan=4>2007 Scores</th></tr>");

  var s = new Array();
  var i = 0;
  s[i] = "95.05#Archbishop Wood#A";i++
  s[i] = "92.10#Burlington City#A";i++
  s[i] = "96.25#Hatboro Horsham#Open";i++
  s[i] = "84.40#James Buchanan#A";
  s[i] = "92.90#Kingsway Regional#Open";i++
  s[i] = "91.15#Marple Newtown#Open";i++
  s[i] = "91.25#New Oxford#Open";i++
  s[i] = "88.35#Northern Lebanon#A";i++
  s[i] = "92.05#Reading#A";i++
  s[i] = "95.80#Southern Regional#Open";i++
  s[i] = "92.30#Spring Grove#Open";i++
  s[i] = "94.80#Unionville#Open";i++
  s[i] = "88.95#Upper Dublin#A";i++
  s[i] = "98.15#Warwick#Open";i++
  s[i] = "90.65#West Chester East#Open";i++

  s.sort();
  var ordered = new Array();

for (var i = 0; i < s.length; i++)
{
  var j = s.length - i;
  var tempstr = s[i];
  var endloc = tempstr.search(/#/);
  var tempscore = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var endloc = tempstr.search(/#/);
  var tempschool = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var tempclass = tempstr.substr(0,tempstr.length);
  jobCounter++;
  setRowShading("scores");
  ordered[j] = ("<tr><td align=left class='" + cellClass + "'>" + j + ")</td><td align=left class='" + cellClass + "'>&nbsp;" + tempschool + "</td><td align=left class='" + cellClass + "'><i>&nbsp;" + tempclass + "</i></td><td align=right class='" + cellClass + "'>" + tempscore + "</td></tr>");
}

for (var i = 1; i < s.length + 1; i++)
{
  document.write(ordered[i]);
}

document.write("</table>");

}

//
// write out a picture
//
function writeRandomPhoto()
{

// Initialize the counter of jobs that we've processed.
  jobCounter = 0;
  rowShading = 0;
  pf2 = "";

// Set the row shading.  This will value the variable cellClass.
  setRowShading("scores");

  document.write("<br>");
  document.write("<table border='0' cellpadding='0' cellspacing='0' width='144' align='center'><tr><th class='" + cellClass + "' align='center'>Cool Photos</th></tr>");

// get a random photo
  var smallpic = rpic[Math.abs(Math.round(Math.random() * rpic.length - 1))];
//  jobCounter++;
//  setRowShading("scores");

  document.write("<tr><td align=center class='" + cellClass + "'><a href='wmbphotos.htm'><img name=temppic src='" + smallpic + "' border='0'></a></td></tr>");

// Initialize the counter of jobs that we've processed.
  jobCounter = 0;
  rowShading = 0;
  pf2 = "";

// Set the row shading.  This will value the variable cellClass.
  setRowShading("scores");
document.write("<tr><th class='" + cellClass + "' align='center'>Visit the Photos page for more great photos</th></tr></table></a>");

temp = setTimeout("changePhoto()",6000);

}

function changePhoto()
{
document.temppic.src=rpic[Math.abs(Math.round(Math.random() * rpic.length - 1))];
temp = setTimeout("changePhoto()",6000);
}

//
// list the newsletters
//
function writeNewsletters()
{
// Initialize the counter of jobs that we've processed.
  jobCounter = 0;
  rowShading = 0;
  pf2 = "";

// Set the row shading.  This will value the variable cellClass.
  setRowShading("Row");

// Write the table heading including Date/Time and Location.
  document.write("<tr align=left valign=top class='" + cellClass + "'><th class='" + cellClass + "' align='left'>Date Posted</th><th class='" + cellClass + "' align='left'>Document</th></tr>");

  var n = new Array();
  var i = 0;
  n[i] = "20071007#Newsletter - October/November 2007#wbnewsletteroct2007.pdf";i++;
  n[i] = "20071016#Band Parent Meeting Minutes - October 8, 2007#WBPParentMeetingOct8.doc";i++;
  n[i] = "20080107#Band Parent Meeting Minutes - December 10, 2007#General_Membership_121007-1.doc";i++;

  n.sort();

//for (var i = n.length ; i < 1 ; i--)
for (var i = n.length - 1 ; i >= 0 ; i--)
{
  var tempstr = n[i];
  var endloc = tempstr.search(/#/);
  var tempdate = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var endloc = tempstr.search(/#/);
  var tempname = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var tempdoc = tempstr.substr(0,tempstr.length);
  jobCounter++;
  setRowShading("Row");
  document.write("<tr><td align=left class='" + cellClass + "'>" + tempdate.substr(4,2) + "/" + tempdate.substr(6,2) + "/" + tempdate.substr(0,4) + "</td><td align=left class='" + cellClass + "'><a href='newsletters/" + tempdoc + "' class='bodydtl' target='_new'>" + tempname + "</a></td></tr>");
}

document.write("</table>");

}

//
// list the videos
//
function writeVideos()
{
// Initialize the counter of jobs that we've processed.
  jobCounter = 0;
  rowShading = 0;
  pf2 = "";

// Set the row shading.  This will value the variable cellClass.
  setRowShading("Row");

// Write the table heading including Date/Time and Location.
  document.write("<tr align=left valign=top class='" + cellClass + "'><th class='" + cellClass + "' align='left'>Date Posted</th><th class='" + cellClass + "' align='left'>Video</th></tr>");

  var n = new Array();
  var i = 0;
  n[i] = "20071116#Warwick 2007 Championship Show Part  2 (Rome: The Gods of War)#http://www.youtube.com/watch?v=UeIeP_IA7sU";i++;
  n[i] = "20071116#Warwick 2007 Championship Show Part 1 (Rome: The Gods of War)#http://www.youtube.com/watch?v=t__SOwC6e1E";i++;
  n[i] = "20070601#Warwick 2006 Championship Show (Batman)#http://www.youtube.com/watch?v=ILlXc_JfBWY";i++;

  n.sort();

//for (var i = n.length ; i < 1 ; i--)
for (var i = n.length - 1 ; i >= 0 ; i--)
{
  var tempstr = n[i];
  var endloc = tempstr.search(/#/);
  var tempdate = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var endloc = tempstr.search(/#/);
  var tempname = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var tempdoc = tempstr.substr(0,tempstr.length);
  jobCounter++;
  setRowShading("Row");
  document.write("<tr><td align=left class='" + cellClass + "'>" + tempdate.substr(4,2) + "/" + tempdate.substr(6,2) + "/" + tempdate.substr(0,4) + "</td><td align=left class='" + cellClass + "'><a href='" + tempdoc + "' class='bodydtl' target='_new'>" + tempname + "</a></td></tr>");
}

document.write("</table>");

}

//
// generate the hyperlink for Bob Ingraham's event
//
function bingPhotoEvent(eventid)
{
return("http://www.bingphoto.com/mp_client/pictures.asp?action=viewphotos&size=thumbnails&thumbpagenum=1&eventid=" + eventid + "&eventstatus=0&categories=no&keywords2=no&groupid=0&bw=false&sep=false&ckw=false");
}

//
// generate the "courtesy of" statement
//
function courtesyOf(who)
{
  switch(who)
  {
    case "BI": return "<A href='http://www.bingphoto.com' target='_new'>Courtesy of Bob Ingraham Photography</a>"; break;
    case "KD": return "Courtesy of Mr. Dowling"; break;
    default: return who; break;
  }
}

//
// list the photos
//
function writePhotos()
{
// Initialize the counter of jobs that we've processed.
  jobCounter = 0;
  rowShading = 0;
  pf2 = "";

// Set the row shading.  This will value the variable cellClass.
  setRowShading("Row");

// Write the table heading including Date/Time and Location.
  document.write("<tr align=left valign=top class='" + cellClass + "'><th class='" + cellClass + "' align='left'>Date</th><th class='" + cellClass + "' align='left'>Description</th><th class='" + cellClass + "' align='left'>Courtesy of</th></tr>");

  var n = new Array();
  var i = 0;
  n[i] = "20070828#34#Formal photo of Band#images/band.jpg#BI";i++;
  n[i] = "20070828#33#Formal photo of Drum Majors#images/drummajors.jpg#BI";i++;
  n[i] = "20070828#32#Formal photo of Officers#images/officers.jpg#BI";i++;

  n.sort();

//for (var i = n.length ; i < 1 ; i--)
for (var i = n.length - 1 ; i >= 0 ; i--)
{
  var tempstr = n[i];
  var endloc = tempstr.search(/#/);
  var tempdate = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var endloc = tempstr.search(/#/);
  var temporder = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var endloc = tempstr.search(/#/);
  var tempname = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var endloc = tempstr.search(/#/);
  var tempdoc = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var tempcourtesy = tempstr.substr(0,tempstr.length);
  jobCounter++;
  setRowShading("Row");
  document.write("<tr><td align=left class='" + cellClass + "'>" + tempdate.substr(4,2) + "/" + tempdate.substr(6,2) + "/" + tempdate.substr(0,4) + "</td><td align=left class='" + cellClass + "'><a href='" + tempdoc + "' class='bodydtl' target='_new'>" + tempname + "</a></td><td align=left class='" + cellClass + "'>" + courtesyOf(tempcourtesy) + "</td></tr>");
}

// add Bob Ingraham plug
//jobCounter++;
//setRowShading("Row");
//document.write("<tr><td colspan=2 align=center class='" + cellClass + "'>Thanks to <a href='http://bingphoto.com/' target='_new'>Bob Ingraham Photography&nbsp;</a>for providing the photos listed above.</td></tr>");
document.write("</table>");

}

//
// list the competitions
//
function writeCompetitions()
{
// Initialize the counter of jobs that we've processed.
  jobCounter = 0;
  rowShading = 0;
  pf2 = "";

// Set the row shading.  This will value the variable cellClass.
  setRowShading("Row");

// Write the table heading including Date/Time and Location.
  document.write("<tr align=left valign=top class='" + cellClass + "'><th class='" + cellClass + "' align='left'>Competition Date</th><th class='" + cellClass + "' align='left'>Location (click to see schedule or scores)</th><th class='" + cellClass + "' align='left'>Place-Score</th></tr>");

  var n = new Array();
  var i = 0;
  n[i] = "20070915~Hempfield~1st-79.05~http://www.cavalcadeofbands.com/marching%20band/scores/scores.shtml#2";i++;
  n[i] = "20070922~Manheim Township~1st-83.40~http://www.cavalcadeofbands.com/marching%20band/scores/scores.shtml#5";i++;
  n[i] = "20071006~Conestoga Valley~1st-86.15~http://www.cavalcadeofbands.com/marching%20band/scores/scores.shtml#11";i++;

  n.sort();

//for (var i = n.length ; i < 1 ; i--)
for (var i = n.length - 1 ; i >= 0 ; i--)
{
  jobCounter++;
  var tempstr = n[i];
  var endloc = tempstr.search(/~/);
  var tempdate = tempstr.substr(0,endloc);

  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var endloc = tempstr.search(/~/);
  var tempname = tempstr.substr(0,endloc);

  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var endloc = tempstr.search(/~/);
  var tempplace = tempstr.substr(0,endloc);

  var tempstr = tempstr.substr(endloc+1,tempstr.length);
  var tempdoc = tempstr.substr(0,tempstr.length);
  setRowShading("Row");
  document.write("<tr><td align=left class='" + cellClass + "'>" + tempdate.substr(4,2) + "/" + tempdate.substr(6,2) + "/" + tempdate.substr(0,4) + "</td><td align=left class='" + cellClass + "'><a href='" + tempdoc + "' class='bodydtl' target='_new2'>" + tempname + "</a></td><td align=left class='" + cellClass + "'>" + tempplace + "</td></tr>");
}

document.write("</table>");

}

//
// list the Band Parents
//
function writeBandParents()
{
// Initialize the counter of jobs that we've processed.
  jobCounter = 0;
  rowShading = 0;
  pf2 = "";

// Set the row shading.  This will value the variable cellClass.
  setRowShading("Row");

// Write the table heading including Date/Time and Location.
  document.write("<tr align=left valign=top class='" + cellClass + "'><th class='" + cellClass + "' align='left'>Title</th><th class='" + cellClass + "' align='left'>Name</th><th class='" + cellClass + "' align='left'>Phone</th><th class='" + cellClass + "' align='left'>E-mail</th></tr>");

  var n = new Array();
  var i = 0;
  n[i] = "1#President#Ulicny, Deb#717-627-2746#daculicny@yahoo.com#";i++;
  n[i] = "2#Board Member#Gress, Pam#717-627-6288#rcphme@aol.com#";i++;
  n[i] = "2#Board Member#Hull, Michelle#717-627-6871#lighthouselady@dejazzd.com#";i++;

  n.sort();
  var tempEmailList = "";
  var semicolon = "";

for (var i = 0; i < n.length; i++)
//for (var i = n.length - 1 ; i >= 0 ; i--)
{
  var tempstr = n[i];
  var endloc = tempstr.search(/#/);
  var tempOrder = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);

  var endloc = tempstr.search(/#/);
  var tempTitle = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);

  var endloc = tempstr.search(/#/);
  var tempName = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);

// parse out "last, first" so that we can put it in "first last" order in the HTML.
  var endloc2 = tempName.search(/,/);
  var tempLastName = tempName.substr(0,endloc2);
  var tempFirstName = tempName.substr(endloc2 + 1,tempName.length);

  var endloc = tempstr.search(/#/);
  var tempPhone = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);

  var endloc = tempstr.search(/#/);
  var tempEmail = tempstr.substr(0,endloc);
  var tempstr = tempstr.substr(endloc+1,tempstr.length);

  var tempEmailList = tempEmailList + semicolon + tempEmail;
  var semicolon = ";";

  jobCounter++;
  setRowShading("Row");
  document.write("<tr><td align=left class='" + cellClass + "'>" + tempTitle + "</td><td align=left class='" + cellClass + "'>" + tempFirstName + " " + tempLastName + "</td><td align=left class='" + cellClass + "'>" + tempPhone + "</td><td align=left class='" + cellClass + "'><a href='mailto:" + tempEmail + "'>" + tempEmail + "</a></td></tr>");
}

// write a line that has allows the user to e-mail all at once.
  jobCounter++;
  setRowShading("Row");
  document.write("<tr><td align=left class='" + cellClass + "'>&nbsp;</td><td align=left class='" + cellClass + "'>&nbsp;</td><td align=left class='" + cellClass + "'>&nbsp;</td><td align=left class='" + cellClass + "'><a href='mailto:" + tempEmailList + "'>E-mail all band parents listed  above</a></td></tr>");


document.write("</table>");

}

//
// Set the row class
//
function setRowShading(prefix)
{

// If not processing printer-friendly page, set the row shading.
  if (pf2=="")
  {
// If first time through, let's set the heading row.
    if (jobCounter==0)
    {
      cellClass = prefix + "Hdr";
    }
    else
    {
      if (rowShading==0)
      {
        cellClass = prefix + "Even";
        rowShading = 1;
      }
      else
      {
        cellClass = prefix + "Odd";
        rowShading = 0;
      }
    }
  }
  else
  {
    cellClass = "pf";
  }
}

//
// Write a table row for the current job.  
// * If listType = "ML", we're processing the Moonlighters schedule, and must
// filter out all non-Moonlighters jobs. 
// * If listType = "LCB", we're processing the Lititz Community Band schedule, and must
// filter out all non-Lititz Community Band jobs.
// * If listType = "DIXIELANDERS", we're processing the Dixielanders Band schedule, and must
// filter out all non-Dixielander jobs.
// Otherwise, we're processing Doug's schedule, and we need to add the column
// that identifies the group he's performing with.
// The parm 'a' contains the array of date for the current job.
//
function writeRow(listType,a)
{

  // Is the date of this job in the past?  If so, we can leave and not
  // process it.
  if (a[0] < currentDate) { return; }


  if (nextGigProcessed == 1) {nextGigProcessed = 2;}

  if (a[0] >= todaysDate) {
    if (nextGigProcessed == 0) {nextGigProcessed = 1;}
  }

  if (nextGigProcessed == 1) {
    nextGigAnchor = "<a name='nextGig'></a>";
  }
  else
  {
    nextGigAnchor = "";
  }

  // If we're called with the nextgig parm, that means we only want to 
  // process the first upcoming job (for the marquee on the home page).
  // If we already processed it, we can leave, now.
  if (nextGig2=="nextgig")
  {
    if (jobCounter>0) { return; }
  }

  // If we're processing a listing for Moonlighters, make sure we have
  // a Moonlighters entry before we proceed.
  if (listType=="ML")
  {
    if (a[14]!="Moonlighters Big Band") { return; }
  }

  // If we're processing a listing for Lititz Community Band, make sure we have
  // a Lititz Community Band entry before we proceed.
  if (listType=="LCB")
  {
    if (a[14]!="Lititz Community Band") { return; }
  }

  // If we're processing a listing for the Dixielanders, make sure we have
  // a Dixielanders entry before we proceed.
  if (listType=="DIXIELANDERS")
  {
    if (a[14]!="Dixielanders") { return; }
  }

  // If we're processing a listing for Doug, make sure we don't have
  // a Lititz Community Band entry before we proceed.
  if (listType=="DOUG")
  {
    if (a[14]=="Lititz Community Band") { return; }
  }

  // If we're processing a listing for Doug, make sure column 16 has a "Y" in it
  // before we proceed.
  if (listType=="DOUG")
  {
    if (a[16]!=="Y") { return; }
  }

  jobCounter = jobCounter + 1;
  if (jobCounter==1)
  {
    //if we're looking for the next gig, and we've found the next one
    //create the marquee and get outtahere.
    if (nextGig2=="nextgig")
    {            setMarquee(getMonth(a[0].substr(4,2)),a[0].substr(6,2),a[2],a[3],a[6],a[14]);
      return;
    }
    cellClass = "pf";
  }

// if the nextGig parm is numeric, that means we want to display 'nextGig' number of upcoming jobs.
  if (nextGigNumeric)
  {
    if (jobCounter > nextGig2)
    {
      return;
    }
//    cellClass = "pf";
  }


// Set the row shading.  This will value the variable cellClass.
  setRowShading("Row");
  cellClassExtension = "";

// Write the cell of data with the job's date and time.
  if (nextGigNumeric)
  {
    if (jobCounter > 1)
    {
      document.write("<br>"); 
    }
    document.write("<font color=grey size=2>" + a[0].substr(4,2) + "/" + a[0].substr(6,2) + ", "  + a[1] + ", </font><font color=white size=2>" + a[14] + " at " + a[2] + "</font>");
  }

else
{

  if (listType=="DOUG")
  {
    fieldSeparator = ", ";
    switch(nextGigProcessed)
    {
      case 0: document.write("<tr valign=top><td nowrap align='left' class='" + cellClass + "Old'>" + a[0].substr(4,2) + "/" + a[0].substr(6,2) + "/" + a[0].substr(0,4) + "</td>"); cellClassExtension = "Old"; break;
      case 1: document.write("<tr valign=top><td nowrap align='left' class='" + cellClass + "Next'><b>" + nextGigAnchor + getDayOfWeek(a[0].substr(0,4),a[0].substr(4,2)-1,a[0].substr(6,2)) + "</b><br>" + a[0].substr(4,2) + "/" + a[0].substr(6,2) + "/" + a[0].substr(0,4) + "<br>"  + a[1] + "</td>");  cellClassExtension = "Next"; break;
      case 2: document.write("<tr valign=top><td nowrap align='left' class='" + cellClass + "'><b>" + getDayOfWeek(a[0].substr(0,4),a[0].substr(4,2)-1,a[0].substr(6,2)) + "</b><br>" + a[0].substr(4,2) + "/" + a[0].substr(6,2) + "/" + a[0].substr(0,4) + "<br>"  + a[1] + "</td>"); break;
      default: return "invalid"; break;
    }
  }
  else
  {
    fieldSeparator = "<br>";
    document.write("<tr valign=top><td align='left' class='" + cellClass + "'><b>" + nextGigAnchor + getDayOfWeek(a[0].substr(0,4),a[0].substr(4,2)-1,a[0].substr(6,2)) + "</b><br>" + a[0].substr(4,2) + "/" + a[0].substr(6,2) + "/" + a[0].substr(0,4) + "<br>"  + a[1] + "</td>");
  }

  // Write the event.
  if (a[2]!="") {document.write("<td class='" + cellClass + cellClassExtension + "'><b>" + a[2] + "</b>");}

  // Write the location.
  if (a[3]!="") {document.write(" at <b>" + a[3] + "</b>");}

  // Write the addr1.
  if (a[4]!="") {document.write(fieldSeparator + a[4]);}

  // Write the addr2.
  if (a[5]!="") {document.write(fieldSeparator + a[5]);}

  // Write city, state, and zip.
  if (a[6]!="") {document.write(fieldSeparator + a[6] + ", " + a[7] + " " + a[8]);}

  // write the phone number.
  if (a[9]!="") {document.write(fieldSeparator + a[9]);}

  // Write the website link.
  if (pf2=="")
  {
    if (a[10]!="") 
    {
      document.write(fieldSeparator + "<a href='http://" + a[11] + "' class='bodydtl' target='_new'>" + a[10] + "</a>");
    }
  }

// Write the map link.
  if (listType=="ML")
  {
// if we're not processing a printer-friendly request, continue.
    if (pf2=="")
    {
      if (a[12]!="") 
      {
        document.write("<br><a href='http://" + a[12] + "' class='bodydtl' target='_new'>Click here for a map.</a>");
      }
    }
  }

  // Write the note.
  if (a[13]!="") {document.write("<br></b><i>" + a[13] + "</b>");}

  // If not processing the Moonlighters or Lititz Community Band schedule 
  // or the Dixielanders,
  // (we're processing Doug's schedule), write the name of the group and 
  // the website link.
  if ((listType!="ML") & (listType!="LCB") & (listType!="DIXIELANDERS"))
  {
    if (a[14]!="")
    { 
      document.write("</td><td class='" + cellClass + cellClassExtension + "'>");
      if ((a[15]=="") || (pf2!=""))
      {
        document.write(a[14]);
      }
      else
      {
        document.write("<a href='http://" + a[15] + "' class='bodydtl' target='_new'>" + a[14] + "</a>");
      }
    }
  }
 }
}

//
// Process all scheduled jobs by calling other functions to format the
// data.
// If parm listType is "ML", that means we're processing Moolighters jobs.
// If parm listType is "LCB", that means we're processing Lititz Community Band jobs.
// Otherwise, we're processing Doug's jobs.
// If parm nextGig is specified, that means we're being called from the
// home page, and we'll return a message including the next job which will
// appear in the scrolling marquee.

function writeSchedule(listType,nextGig,pf,alljobs)
{

  // Initialize the counter of jobs that we've processed.
  jobCounter = 0;
  rowShading = 0;
  // For some reason, the passed parm nextGig and listType2 can't be
  // accessed in the functions above.  So, I set new variables which can be.
  nextGig2   = nextGig;
  listType2  = listType;
  pf2        = pf;
  nextGigProcessed = 0;
  if ((nextGig > 0) & (nextGig < 100))
  {
    nextGigNumeric = 1;
  }
  else
  {
    nextGigNumeric = 0;
  }

  // If we're not processing 'all' jobs,
  // Call a function to get the current date in yyyymmdd format.
  // This will be used to eliminate old jobs from the schedule.
  todaysDate  = getCurrentDate();
  if (alljobs=="alljobs")
  {
    currentDate = getCurrentDate() - 20000;
  }
  else
  {
    currentDate = getCurrentDate();
  }

// Set the row shading.  This will value the variable cellClass.
  setRowShading("Row");

  // If we're not processing the request to get the next gig (for display on
  // the home page), create the table header.
  if (nextGig!="nextgig")
  {

    if (listType!="DOUG")
    {
      // Write the table heading including Date/Time and Location.
      document.write("<tr align=left valign=top><th class='" + cellClass + "' align='left'>When</th><th class='" + cellClass + "'>What/Where</th></tr>");
    }
    else
    {
      if (!nextGigNumeric)
      {
        // Write the table heading including Date/Time, Location, and Group.
        document.write("<tr align=left valign=top><th class='" + cellClass + "' align='left'>When</th><th class='" + cellClass + "'>What/Where</th><th class='" + cellClass + "'>Group</th></tr>");
      }
    }
  }

  // Here is the format of the array that is used for each scheduled job.
  //  var a = new Array("2005mmdd","time","event","location","addr1","addr2","city","state","zip","phone","websiteDisplay","websiteLink","mapImage","note","Moonlighters Big Band","http://home.dejazzd.com/dlasala","WillDougPlay?");  writeRow(listType,a);


//2010
//January - 5
  var a = new Array("20100104","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100111","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100116","8:00pm-10:00pm","Private Party","Media Heights Country Club","","402 Golf Road","Lancaster","PA","17602","","www.meadiaheightsgolf.com","www.meadiaheightsgolf.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100118","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100125","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

//February - 11 (16)
  var a = new Array("20100201","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100208","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100212","6:00pm-9:00pm","2nd Friday","Destination Jewelry","","25 East Main Street","Lititz","PA","17543","717-626-5002","","","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100213","11:30am-3:00pm","Fire and Ice Festival","Destination Jewelry","","25 East Main Street","Lititz","PA","17543","717-626-5002","","","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100215","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100216","11:30am-1:00pm","Mardi Gras","HACC","","1641 Old Philadelphia Pike","Lancaster","PA","","","","","","","Dixieland Trio with Tom Pontz and Bruce Campbell","","Y");  writeRow(listType,a);
  var a = new Array("20100216","5:00pm-7:00pm","Mardi Gras","Homestead Village","","","Rohrerstown","PA","","","","","","","Dixielanders","home.dejazzd.com/dlasala/dixielanders","Y");  writeRow(listType,a);
  var a = new Array("20100219","7:00pm-10:00pm","Concert","Hotel Bethlehem","437 Main Street","","Bethlehem","PA","18018","(610) 332-1300","www.hotelbethlehem.com","www.hotelbethlehem.com","","","Mike Kuehn, Ben Mauger, and friends (dixieland)","","Y");  writeRow(listType,a);
  var a = new Array("20100222","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100223","7:00pm-8:00pm","Concert","Willow Valley Manor","","","Lancaster","PA","","","www.willowvalleyretirement.com","www.willowvalleyretirement.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100227","7:00pm-8:00pm","Concert/Dance","Pleasant View Retirement Community","544 North Penryn Road","","Manheim","PA","","","www.pleasantviewretirement.com","www.pleasantviewretirement.com","www.mapquest.com/maps/map.adp?formtype=address&country=US&popflag=0&latitude=&longitude=&name=&phone=&level=&addtohistory=&cat=&address=544+North+Penryn+Road&city=manheim&state=PA&zipcode=","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);

//March - 8 (24)
  var a = new Array("20100301","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100308","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100315","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100319","7:30pm","Musical - Thoroughly Modern Millie","Warwick High School Auditorium","301 West Orange Street","","Lititz","PA","17543","","www.warwick.k12.pa.us","www.warwick.k12.pa.us","www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home&formtype=address&popflag=0&latitude=&longitude=&name=&phone=&level=&cat=&address=301+West+Orange+Street&city=&state=&zipcode=17543","","Warwick HS Pit Orchestra","","Y");  writeRow(listType,a);
  var a = new Array("20100320","7:30pm","Musical - Thoroughly Modern Millie","Warwick High School Auditorium","301 West Orange Street","","Lititz","PA","17543","","www.warwick.k12.pa.us","www.warwick.k12.pa.us","www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home&formtype=address&popflag=0&latitude=&longitude=&name=&phone=&level=&cat=&address=301+West+Orange+Street&city=&state=&zipcode=17543","","Warwick HS Pit Orchestra","","Y");  writeRow(listType,a);
  var a = new Array("20100321","2:00pm","Musical - Thoroughly Modern Millie","Warwick High School Auditorium","301 West Orange Street","","Lititz","PA","17543","","www.warwick.k12.pa.us","www.warwick.k12.pa.us","www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home&formtype=address&popflag=0&latitude=&longitude=&name=&phone=&level=&cat=&address=301+West+Orange+Street&city=&state=&zipcode=17543","","Warwick HS Pit Orchestra","","Y");  writeRow(listType,a);
  var a = new Array("20100322","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100329","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

//April - 10 (34)
  var a = new Array("20100405","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100406","8:00pm-10:30pm","Rosa Rosa Ristorante Italiano","","398 Harrisburg Ave","","Lancaster","PA","17603","717-509-3970","www.rosarosalancaster.com","www.rosarosalancaster.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100410","7:00pm-9:00pm","Dance","Highland Presbyterian Church","1801 Oregon Pike","","Lancaster","PA","17601","(717)569-2651","www.highlandpc.org","www.highlandpc.org","Images/HighlandPresbyterianChurch.gif","","Moonlighters Big Band","home.dejazzd.com/dlasala","Y");  writeRow(listType,a);
  var a = new Array("20100412","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
//  var a = new Array("20100413","8:00pm-10:00pm","Rosa Rosa Ristorante Italiano","","398 Harrisburg Ave","","Lancaster","PA","17603","717-509-3970","www.rosarosalancaster.com","www.rosarosalancaster.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100417","7:00pm-9:30pm","Concert with Warwick High School Jazz Ensemble","Warwick High School Auditorium","301 West Orange Street","","Lititz","PA","17543","","www.warwick.k12.pa.us","www.warwick.k12.pa.us","www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home&formtype=address&popflag=0&latitude=&longitude=&name=&phone=&level=&cat=&address=301+West+Orange+Street&city=&state=&zipcode=17543","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20100419","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100420","8:00pm-10:00pm","Rosa Rosa Ristorante Italiano","","398 Harrisburg Ave","","Lancaster","PA","17603","717-509-3970","www.rosarosalancaster.com","www.rosarosalancaster.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100424","11:15am-12:15pm","Private Party","Brethren Village","Wolfe Auditorium","3001 Lititz Pike","Lancaster","PA","17606","717-569-2657","www.bv.org","www.bv.org","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100426","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100427","8:00pm-10:00pm","Rosa Rosa Ristorante Italiano","","398 Harrisburg Ave","","Lancaster","PA","17603","717-509-3970","www.rosarosalancaster.com","www.rosarosalancaster.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);

//May - 15 (49)
  var a = new Array("20100503","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act featuring Kathy Keith","","Y");  writeRow(listType,a);
  var a = new Array("20100504","8:00pm-10:00pm","Rosa Rosa Ristorante Italiano","","398 Harrisburg Ave","","Lancaster","PA","17603","717-509-3970","www.rosarosalancaster.com","www.rosarosalancaster.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100509","11:00am-2:00pm","Mothers Day Brunch","Sunnybrook Ballroom","50 Sunnybrook Road","","Pottstown","PA","19464","484-624-5186","www.sunnybrookballroom.net","www.sunnybrookballroom.net","","","Doug LaSala (reeds), Tom Pontz (keys), Bruce Campbell (Bass)","","Y");  writeRow(listType,a);
  var a = new Array("20100510","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100511","8:00pm-10:00pm","Rosa Rosa Ristorante Italiano","","398 Harrisburg Ave","","Lancaster","PA","17603","717-509-3970","www.rosarosalancaster.com","www.rosarosalancaster.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100514","7:00pm-10:00pm","Fleetwood Days Carnival","","","Park Road","Fleetwood","PA","19522","","","","","","Midlife Mitch and the Mood Swings","","Y");  writeRow(listType,a);
  var a = new Array("20100515","7:00pm-10:00pm","USO Dance","Lancaster County Historical Society","230 North President Ave","","Lancaster","PA","","","www.lancasterhistory.org","lancasterhistory.org","www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home&address=230+North+President+Ave&city=Lancaster&state=pa&zipcode=","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20100516","2:00pm-4:00pm","Concert","Cape May Traditional Jazz Society","VFW","419 Congress Street","Cape May","NJ","08204","609-884-7961","www.capemaytraditionaljazzsociety.com","www.capemaytraditionaljazzsociety.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100517","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100518","8:00pm-10:00pm","Rosa Rosa Ristorante Italiano","","398 Harrisburg Ave","","Lancaster","PA","17603","717-509-3970","www.rosarosalancaster.com","www.rosarosalancaster.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100522","11:00am-1:00pm","American Cancer Society Relay For Life","Red Land High School","560 Fishing Creek Road","","Lewisberry","PA","17339","(717) 938-6561","","","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100522","1:00pm-2:30pm","American Cancer Society Relay For Life","Red Land High School","560 Fishing Creek Road","","Lewisberry","PA","17339","(717) 938-6561","","","","","Solo Act","","Y");  writeRow(listType,a);
  var a = new Array("20100524","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100525","8:00pm-10:00pm","Rosa Rosa Ristorante Italiano","","398 Harrisburg Ave","","Lancaster","PA","17603","717-509-3970","www.rosarosalancaster.com","www.rosarosalancaster.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100531","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

//June - 7 (56)
  var a = new Array("20100607","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
// var a = new Array("20100608","7:00pm-8:00pm","Concert","Willow Valley Manor","","","Lancaster","PA","","","www.willowvalleyretirement.com","www.willowvalleyretirement.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100611","6:00pm-9:00pm","2nd Friday","Destination Jewelry","","25 East Main Street","Lititz","PA","17543","717-626-5002","","","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100614","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100615","8:00pm-10:00pm","Rosa Rosa Ristorante Italiano","","398 Harrisburg Ave","","Lancaster","PA","17603","717-509-3970","www.rosarosalancaster.com","www.rosarosalancaster.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100619","5:30pm-6:30pm","Concert","Ned Smith Center for Nature and Art","","176 Water Company Road","Millersburg","PA","17061","","","","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100621","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100628","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

//July - 5 (61)
  var a = new Array("20100705","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100712","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100717","7:00pm-10:00pm","Rendezvous at Twilight Garden Party","Lititz Historical Society","","145 East Main Street","Lititz","PA","17543","","","","","","Maryann Garrett, Chuck Oettel and Friends","","Y");  writeRow(listType,a);
//  var a = new Array("20100719","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100719","7:00pm-8:30pm","Concert","Homestead Village","","1800 Village Circle","Rohrerstown","PA","17604","717-397-4831","www.homesteadvillage.org","www.homesteadvillage.org","www.mapquest.com/maps?city=Lancaster&state=PA&address=1800+Village+Cir&zipcode=17603-2376&country=US&latitude=40.04754&longitude=-76.351899&geocode=ADDRESS","","Moonlighters Big Band","www.moonlightersbigband.org","N");  writeRow(listType,a);
  var a = new Array("20100726","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

//August - 10 (71)
  var a = new Array("20100801216","4:00pm-??pm","Concert","","2001 Rockvale Road","","Lancaster","PA","","","","","","","Tom Pontz Quartet","","Y");  writeRow(listType,a);
  var a = new Array("20100802","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
 var a = new Array("20100803","7:00pm-8:00pm","Concert","Willow Valley Manor","","","Lancaster","PA","","","www.willowvalleyretirement.com","www.willowvalleyretirement.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100807","12:00pm-2:00pm","Bethlehem Musikfest","","","","Bethlehem","PA","","(610) 332-1300","www.musikfest.org","www.musikfest.org","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100807","7:00pm-9:00pm","Penryn Picnic","Picnic Grounds","North Penryn Road and Picnic Grove Road","","Penryn","PA","","","","","www.mapquest.com/maps?city=Manheim&state=PA&address=1513+Picnic+Grove+Rd&zipcode=17545-9340&country=US&latitude=40.20881&longitude=-76.3692&geocode=ADDRESS","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20100808","6:00pm-8:00pm","Concert","Veterans Memorial Park","(behind the community pool)","","Manheim","PA","","","","","www.mapquest.com/maps?name=Manheim+Veterans+Memorial+Park&city=Manheim&state=PA&address=E+Adele+Ave&zipcode=17545&country=US&latitude=40.17093&longitude=-76.3915&geocode=ADDRESS&id=265817870","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20100809","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100816","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100823","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100830","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

//September - 7 (78)
  var a = new Array("20100906","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100911","2:00pm-4:00pm","Concert","Potomac River Jazz Club Picnic","Blob's Park","8024 Max Blobs Park Rd","Jessup","MD","20794","(410) 799-7130","www.prjc.org","www.prjc.org","","","Ben Mauger Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100913","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20100917","7:30pm-8:30pm","Concert","Lancaster's Music Friday","","100 Block of North Queen Street","Lancaster","PA","","","www.lancastercityevents.com/musicfridays.html","www.lancastercityevents.com/musicfridays.html","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100919","6:30pm-8:30pm","Concert","Brunnerville United Methodist Church","","517 Pine Hill Road","Lititz","PA","17543","","","","www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home&address=517+Pine+Hill+Road&city=&state=&zipcode=17543","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20100920","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
//  var a = new Array("20100921","8:00pm-10:00pm","Rosa Rosa Ristorante Italiano","","398 Harrisburg Ave","","Lancaster","PA","17603","717-509-3970","www.rosarosalancaster.com","www.rosarosalancaster.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20100927","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

//October - 5 (83)
  var a = new Array("20101004","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20101005","7:00pm-8:00pm","Concert","Willow Valley Manor","","","Lancaster","PA","","","www.willowvalleyretirement.com","www.willowvalleyretirement.com","","","Tom Pontz Quartet","","Y");  writeRow(listType,a);
  var a = new Array("20101011","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20101018","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20101023","5:30pm-8:15pm","LCBC","","2392 Mount Joy Rd.","","Manheim","PA","17545","717-653-6266","www.lcbcchurch.com","www.lcbcchurch.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
//  var a = new Array("20101025","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

//November - 5 (88)
  var a = new Array("20101101","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
//  var a = new Array("20101113","7:00pm-?:00pm","Private Party","Matthew 25","","","Lititz","PA","","","","","","","Dixielanders","home.dejazzd.com/dlasala/dixielanders","Y");  writeRow(listType,a);
  var a = new Array("20101108","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20101115","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
//  var a = new Array("20101116","8:00pm-10:00pm","Rosa Rosa Ristorante Italiano","","398 Harrisburg Ave","","Lancaster","PA","17603","717-509-3970","www.rosarosalancaster.com","www.rosarosalancaster.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20101122","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20101129","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// December - 8 (96)

  var a = new Array("20101204","10:00am-12:00pm","Have Yourself a Merry Lititz Christmas","Destination Jewelry","","25 East Main Street","Lititz","PA","17543","717-626-5002","Website","www.lititzpa.com/destination_jewelry.php","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20101206","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20101207","6:00pm-7:00pm","Linden Hall (private event)","","","","Lititz","PA","17543","","www.lindenhall.org","www.lindenhall.org","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20101213","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20101220","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20101227","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20101231","9:00pm-midnight","New Years Eve Dance","Masonic Village","Freemasons Cultural Center","One Masonic Drive","Elizabethtown","PA","17022","717-367-1121","www.masonicvillagespa.org/elizabethtown/","www.masonicvillagespa.org/elizabethtown/","www.mapquest.com/maps?name=Masonic+Village-Elizabethtown&city=Elizabethtown&state=PA&address=1+Masonic+Dr&zipcode=17022&country=US&latitude=40.1462&longitude=-76.612019&geocode=ADDRESS&id=2064404","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);

// 2011

//January - 5 (5)
  var a = new Array("20110103","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110110","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110117","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110124","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110131","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

//February - 7 (12)
  var a = new Array("20110207","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110211","6:45pm-8:00pm","Concert/Dance","Pleasant View Retirement Community","544 North Penryn Road","","Manheim","PA","","","www.pleasantviewretirement.com","www.pleasantviewretirement.com","www.mapquest.com/maps/map.adp?formtype=address&country=US&popflag=0&latitude=&longitude=&name=&phone=&level=&addtohistory=&cat=&address=544+North+Penryn+Road&city=manheim&state=PA&zipcode=","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20110214","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110220","2:00pm-5:00pm","Concert","Easton Moose Lodge","","3320 Fox Hill Road","Easton","PA","18045","610-253-6391","pajazzsociety.org","pajazzsociety.org","","","Pennsylvania Jazz Society All-Star Band","","Y");  writeRow(listType,a);
  var a = new Array("20110221","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110226","7:00pm-9:00pm","Chummy's Tavern at Sunnybrook","","","50 Sunnybrook Road","Pottstown","PA","19464","484-624-5187","sunnybrookballroom.net","sunnybrookballroom.net","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110228","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

//March - 8 (20)
  var a = new Array("20110307","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110309","7:00pm-8:00pm","Concert","Willow Valley Manor","","","Lancaster","PA","","","www.willowvalleyretirement.com","www.willowvalleyretirement.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20110311","6:00pm-9:00pm","2nd Friday","Destination Jewelry","","25 East Main Street","Lititz","PA","17543","717-626-5002","","","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110314","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110317","7:30pm-8:30pm","Concert","Willow Valley Spring Run","Spring Run Auditorium","950 Willow Valley Lakes Drive","Willow Street","PA","17584","","www.willowvalleyretirement.com","www.willowvalleyretirement.com","","","Ben Mauger's Roaring 20's Jazz Orchestra","","Y");  writeRow(listType,a);
  var a = new Array("20110319","8:00pm-11:00pm","St. Patty's Day Dinner Dance","St. Philip the Apostle Roman Catholic Church","2111 Millersville Pike","","Lancaster","PA","17603","","www.stphilipmillersville.org","www.stphilipmillersville.org","maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=2111+Millersville+Pike,+lancaster,+pa&aq=&sll=37.0625,-95.677068&sspn=48.555061,38.232422&ie=UTF8&hq=&hnear=2111+Millersville+Pike,+Lancaster,+Pennsylvania+17551&ll=40.018002,-76.349487&spn=0.011553,0.009334&z=16&iwloc=A","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20110321","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act with special guest vocalist Kathy Friia","","Y");  writeRow(listType,a);
  var a = new Array("20110328","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// April - 5 (25)
  var a = new Array("20110404","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110411","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110416","7:00pm-9:00pm","Concert with Warwick High School Jazz Ensemble","Warwick High School Auditorium","301 West Orange Street","","Lititz","PA","17543","","www.warwick.k12.pa.us","www.warwick.k12.pa.us","www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home&formtype=address&popflag=0&latitude=&longitude=&name=&phone=&level=&cat=&address=301+West+Orange+Street&city=&state=&zipcode=17543","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20110418","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110425","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// May - 9 (34)
  var a = new Array("20110502","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110508","2:00pm-4:00pm","Concert","Cape May Traditional Jazz Society","VFW","419 Congress Street","Cape May","NJ","08204","609-884-7961","www.capemaytraditionaljazzsociety.com","www.capemaytraditionaljazzsociety.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20110509","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

  var a = new Array("20110514","7:00pm-11:00pm","Wedding","Perfect Settings","","","Columbia","PA","17512","","","","","","Chuck Oettel Quintet","","Y");  writeRow(listType,a);

  var a = new Array("20110516","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

  var a = new Array("20110521","1:00pm-3:00pm","American Cancer Society Relay For Life","Red Land High School","560 Fishing Creek Road","","Lewisberry","PA","17339","(717) 938-6561","","","","","Solo Act","","Y");  writeRow(listType,a);
  var a = new Array("20110521","7:00pm-10:00pm","USO Dance","Linden Hall School for Girls","212 East Main Street","","Lititz","PA","17543","","www.lindenhall.org","www.lindenhall.org","http://www.mapquest.com/?le=t&hk=3-N6M6&vs=h","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);

  var a = new Array("20110523","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110530","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);


// June - 9 (43)
  var a = new Array("20110605","3:30pm-6:30pm","Wedding","","","","Lancaster","PA","","","","","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110606","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110612","3:30pm-5:30pm","Concert","Salem Lutheran Church","201 West Main Street","","Elizabethville","PA","17023","717-362-9222","","","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20110613","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

  var a = new Array("20110618","9:00pm-1:00am","1920s Music","The Bookstore Speakeasy","","336 Adams Street","Bethlehem","PA","18015","(610) 867-1100","www.thebookstorespeakeasy.com","www.thebookstorespeakeasy.com","","","Ben Mauger Quartet","","Y");  writeRow(listType,a);
  var a = new Array("20110620","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110621","5:30pm-6:00pm","Concert","Willow Valley Meadow Ridge","925 Willow Valley Lakes Drive","","Willow Street","PA","17584","","www.discovermeadowridge.com","www.discovermeadowridge.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20110621","7:00pm-8:00pm","Concert","Willow Valley Spring Run","Spring Run Auditorium","950 Willow Valley Lakes Drive","Willow Street","PA","17584","","www.willowvalleyretirement.com","www.willowvalleyretirement.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20110625","3 sets:<br>1:15pm<br>6:00pm<br>9:30pm","Hot Steamed Jazz Festival","Essex Steam Train","One Railroad Avenue","","Essex","CT","06426","(860) 767-0103","www.hotsteamedjazz.com","www.hotsteamedjazz.com","www.mapquest.com/maps?city=Essex&state=CT&address=One+Railroad+Avenue","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20110627","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// July - 5 (48)
  var a = new Array("20110704","8:30am-9:30am","Wedding","","","","Lititz","PA","","","","","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110704","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110711","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110713","5:00pm-8:00pm","Concert","PA Dutch Convention","Clipper Magazine Stadium","650 North Prince Street ","Lancaster","PA","","","","","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
//  var a = new Array("20110718","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110725","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);


// August - 11 (59)
  var a = new Array("20110801","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110805","8:30pm-11:00pm","Bethlehem Musikfest","Banana Island Stage","","","Bethlehem","PA","","(610) 332-1300","www.musikfest.org","www.musikfest.org","","","Ben Mauger's Roaring 20's Jazz Orchestra","","Y");  writeRow(listType,a);
  var a = new Array("20110806","7:00pm-9:00pm","Penryn Picnic","Picnic Grounds","North Penryn Road and Picnic Grove Road","","Penryn","PA","","","","","www.mapquest.com/maps?city=Manheim&state=PA&address=1513+Picnic+Grove+Rd&zipcode=17545-9340&country=US&latitude=40.20881&longitude=-76.3692&geocode=ADDRESS","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20110807","6:00pm-8:00pm","Concert","Pleasant View Retirement Community","544 North Penryn Road","","Manheim","PA","","","www.pleasantviewretirement.com","www.pleasantviewretirement.com","www.mapquest.com/maps/map.adp?formtype=address&country=US&popflag=0&latitude=&longitude=&name=&phone=&level=&addtohistory=&cat=&address=544+North+Penryn+Road&city=manheim&state=PA&zipcode=","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
//  var a = new Array("20110807","6:00pm-8:00pm","Veterans Memorial Park","","(behind the community pool)","","Manheim","PA","","","","","www.mapquest.com/maps?name=Manheim+Veterans+Memorial+Park&city=Manheim&state=PA&address=E+Adele+Ave&zipcode=17545&country=US&latitude=40.17093&longitude=-76.3915&geocode=ADDRESS&id=265817870","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20110808","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110813","2:30pm-5:00pm","Bethlehem Musikfest","","","","Bethlehem","PA","","(610) 332-1300","www.musikfest.org","www.musikfest.org","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20110815","5:30pm-","Sunnybrook Restaurant","","","50 Sunnybrook Road","Pottstown","PA","19464","484-624-5187","sunnybrookballroom.net","sunnybrookballroom.net","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110820","5:00pm-7:00pm","Private Party","","","","Ephrata","PA","","","","","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110822","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110826","1:45pm-2:45pm","Luther Acres","Muhlenberg, Christiansen Room","","300 St. Mark Ave","Lititz","PA","17543","","","","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110829","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// September - 8 (67)
  var a = new Array("20110905","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110910","2:00pm - 4:00pm","Concert","Potomac River Jazz Club Picnic","Blob's Park","8024 Max Blobs Park Rd","Jessup","MD","20794","(410) 799-7130","www.prjc.org","www.prjc.org","","","Ben Mauger's Roaring 20's Jazz Orchestra","","Y");  writeRow(listType,a);
  var a = new Array("20110911","6:00pm-8:00pm","Concert","Brunnerville United Methodist Church","","517 Pine Hill Road","Lititz","PA","17543","","","","www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home&address=517+Pine+Hill+Road&city=&state=&zipcode=17543","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20110912","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110918","2:00pm-5:00pm","Tri-State Jazz Society - Concert","Community Arts Center","","414 Plush Mill Road","Wallingford","PA","19086","","www.tristatejazz.org","www.tristatejazz.org","","","Ben Mauger's Roaring 20's Jazz Orchestra<br>Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20110919","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20110924","tbd","Wedding","","","","Lititz","PA","17543","","","","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20110926","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// October - 5 (72)
  var a = new Array("20111003","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20111010","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20111017","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20111022","7:00pm-9:00pm","Concert","St Paul's UCC","Intersection of Main Street and Route 501","","Schaefferstown","PA","17088","(717) 949-3632","www.stpaulss-town.com","www.stpaulss-town.com","mapq.st/n34Ixp","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
//  var a = new Array("20111024","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20111031","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// November - 5 (77)
  var a = new Array("20111107","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20111113","2:00pm-5:00pm","Pennsylvania Jazz Society Concert","Easton Moose Lodge","3320 Fox Hill Road","","Easton","PA","18045-8014","(610) 253-6391","www.pajazzsociety.org","www.pajazzsociety.org","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
//  var a = new Array("20111113","6:00pm-8:00pm","Dance (Private)","EARS Banquet","Ephrata Recreation Center","130 South Academy Drive","Ephrata","PA","17522","(717) 738-1167","","","mapq.st/vM6S3y","","Moonlighters Big Band","www.moonlightersbigband.org","N");  writeRow(listType,a);
  var a = new Array("20111114","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20111121","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20111128","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// December - 4 (81)
//  var a = new Array("20111206","6:00pm-7:30pm","Lancaster Country Club (Tentative)","Private Party","","","Lancaster","PA","","","","","","","Solo act","","Y");  writeRow(listType,a);

//  var a = new Array("20111205","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20111212","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20111219","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20111226","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20111231","8:00pm-11:00pm","New Years Eve","Willow Valley Manor North","","","Lancaster","PA","","","www.willowvalleyretirement.com","www.willowvalleyretirement.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);

// 2012

// January - 6

// Doug, need to update time/location on this one

  var a = new Array("20120102","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120109","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120112","7:00pm-8:00pm","Concert","Willow Valley Manor","","","Lancaster","PA","","","www.willowvalleyretirement.com","www.willowvalleyretirement.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20120116","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120123","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120130","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// February - 6 (12)
  var a = new Array("20120206","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120210","7:00pm-8:30pm","Concert/Dance","Pleasant View Retirement Community","544 North Penryn Road","","Manheim","PA","","","www.pleasantviewretirement.com","www.pleasantviewretirement.com","www.mapquest.com/maps/map.adp?formtype=address&country=US&popflag=0&latitude=&longitude=&name=&phone=&level=&addtohistory=&cat=&address=544+North+Penryn+Road&city=manheim&state=PA&zipcode=","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20120213","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120220","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120224","7:00pm-10:00pm","Concert","Lancaster Convention Center","25 South Queen Street","","Lancaster","PA","","","www.lancasterconventioncenter.com","www.lancasterconventioncenter.com","","","Tom Pontz Quartet","","Y");  writeRow(listType,a);
  var a = new Array("20120227","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// March - 6 (18)
  var a = new Array("20120305","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120312","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120317","8:00pm-11:00pm","St. Patty's Day Dinner Dance","St. Philip the Apostle Roman Catholic Church","2111 Millersville Pike","","Lancaster","PA","17603","","www.stphilipmillersville.org","www.stphilipmillersville.org","maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=2111+Millersville+Pike,+lancaster,+pa&aq=&sll=37.0625,-95.677068&sspn=48.555061,38.232422&ie=UTF8&hq=&hnear=2111+Millersville+Pike,+Lancaster,+Pennsylvania+17551&ll=40.018002,-76.349487&spn=0.011553,0.009334&z=16&iwloc=A","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20120319","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120325","2:00pm-5:00pm","Concert","Potomac River Jazz Club","Rosensteel Hall","9707 Rosensteel Avenue","Silver Spring","MD","","","www.prjc.org","www.prjc.org","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20120326","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// April - 6 (24)

  var a = new Array("20120402","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120409","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120414","7:00pm-9:00pm","Concert with Warwick High School Jazz Ensemble","Warwick High School Auditorium","301 West Orange Street","","Lititz","PA","17543","","www.warwick.k12.pa.us","www.warwick.k12.pa.us","www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home&formtype=address&popflag=0&latitude=&longitude=&name=&phone=&level=&cat=&address=301+West+Orange+Street&city=&state=&zipcode=17543","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20120416","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120423","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120430","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// May - 6 (30)

  var a = new Array("20120507","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120513","2:00pm-4:00pm<br>(tentative)","Concert","Cape May Traditional Jazz Society","VFW","419 Congress Street","Cape May","NJ","08204","609-884-7961","www.capemaytraditionaljazzsociety.com","www.capemaytraditionaljazzsociety.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20120514","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120519","7:00pm-10:00pm","USO Dance","Linden Hall School for Girls","212 East Main Street","","Lititz","PA","17543","","www.lindenhall.org","www.lindenhall.org","http://www.mapquest.com/?le=t&hk=3-N6M6&vs=h","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);
  var a = new Array("20120521","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);
  var a = new Array("20120528","6:00pm-9:00pm","La Piazza Italian Restaurant and Sports Bar","","","800 Lititz Pike","Lititz","PA","17543","717-625-1222","LaPiazzaofLititz.com","LaPiazzaofLititz.com","","","Solo act","","Y");  writeRow(listType,a);

// June - 3 

  var a = new Array("20120621","7:00pm-8:00pm<br>(tentative)","Concert","Willow Valley Spring Run","Spring Run Auditorium","950 Willow Valley Lakes Drive","Willow Street","PA","17584","","www.willowvalleyretirement.com","www.willowvalleyretirement.com","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20120622","8:00pm-9:00pm","Concert","Essex Meadows","30 Bokum Road","","Essex","CT","06426","","","","http://mapq.st/yMX9je","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);
  var a = new Array("20120623","TBD","Hot Steamed Jazz Festival","Essex Steam Train","One Railroad Avenue","","Essex","CT","06426","(860) 767-0103","www.hotsteamedjazz.com","www.hotsteamedjazz.com","www.mapquest.com/maps?city=Essex&state=CT&address=One+Railroad+Avenue","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);

// July

// August - 3

  var a = new Array("20120803","7:30pm-11:00pm","Bethlehem Musikfest","","","","Bethlehem","PA","","(610) 332-1300","www.musikfest.org","www.musikfest.org","","","Ben Mauger's Vintage Jazz Band","","Y");  writeRow(listType,a);

  var a = new Array("20120804","7:00pm-9:00pm","Penryn Picnic","Picnic Grounds","North Penryn Road and Picnic Grove Road","","Penryn","PA","","","","","www.mapquest.com/maps?city=Manheim&state=PA&address=1513+Picnic+Grove+Rd&zipcode=17545-9340&country=US&latitude=40.20881&longitude=-76.3692&geocode=ADDRESS","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);

  var a = new Array("20120818","8:00pm-11:00pm","Dance (Private)","Tall Cedars 100th Anniversary","Ephrata American Legion Post 429","300 Cocalico Street","Ephrata","PA","17522","(717) 733-2576","","","mapq.st/rwzlKe","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);

// September - 1

  var a = new Array("20120916","6:00pm-8:00pm","Concert","Brunnerville United Methodist Church","","517 Pine Hill Road","Lititz","PA","17543","","","","www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home&address=517+Pine+Hill+Road&city=&state=&zipcode=17543","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);

// October - 1

  var a = new Array("20121020","tbd","Concert","St. Paul's UCC","Intersection of Main Street and Route 501","","Schaefferstown","PA","17088","(717) 949-3632","www.stpaulss-town.com","www.stpaulss-town.com","mapq.st/n34Ixp","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);

// November

// December - 1

  var a = new Array("20121231","9:00pm-midnight","New Years Eve Dance","Masonic Village","Freemasons Cultural Center","One Masonic Drive","Elizabethtown","PA","17022","717-367-1121","www.masonicvillagespa.org/elizabethtown/","www.masonicvillagespa.org/elizabethtown/","www.mapquest.com/maps?name=Masonic+Village-Elizabethtown&city=Elizabethtown&state=PA&address=1+Masonic+Dr&zipcode=17022&country=US&latitude=40.1462&longitude=-76.612019&geocode=ADDRESS&id=2064404","","Moonlighters Big Band","www.moonlightersbigband.org","Y");  writeRow(listType,a);

  // Here is the format of the array that is used for each scheduled job.
  //  var a = new Array("2005mmdd","time","event","location","addr1","addr2","city","state","zip","phone","websiteDisplay","websiteLink","mapImage","note","Moonlighters Big Band","www.moonlightersbigband.org","WillDougPlay?");  writeRow(listType,a);


}


