if ((theSubj=="bds")||(theSubj=="bluecoupe")||(theSubj=="xbros")||(theSubj=="bdb")||(theSubj=="rdj")||(theSubj=="jbpg")||(theSubj=="jbsolo")||(theSubj=="jbf")||(theSubj=="cultbros")||(theSubj=="regaltones")||(theSubj=="underbelly")||(theSubj=="helenwheels")){var gigCols='11';}
else if ((theSubj=="swu")||(theSubj=="sfg")||((theSubj=="boc")&&(theYear=="1971"))){var gigCols='9';}
else{var gigCols='10';}

var alertMsg="Don't click me - I don't do nuffin...";
var alertMsg2="Don't click me - I don't do nuffin either...";

function writeGigListKey(theSubj,theYear,colspanner,spacerHt){
var wGigLKey='<tr><td colspan="'+colspanner+'"><img src="'+iFPth+'spacer.gif" alt="" width="3" height="'+spacerHt+'" hspace="0" vspace="0"><'+'/td><'+'/tr>';
wGigLKey+='<tr><td valign="top" class="gigFooterBox" colspan="'+colspanner+'">';
wGigLKey+='<center><table border="0" cellspacing="1" cellpadding="0" bordercolor="#333333" width="100%"><tr>';
//wGigLKey+='<td><img src="'+iFPth+'spacer.gif" alt="" width="1" height="6" hspace="0" vspace="0"><'+'/td>';
//wGigLKey+='<td class="keyNote" nowrap>&nbsp;Key<'+'/td>';
wGigLKey+='<td><img src="'+iFPth+'spacer.gif" alt="" width="2" height="6" hspace="0" vspace="0"><'+'/td>';
wGigLKey+='<td align="center"><img src="'+iFPth+'gigs/sun.gif" alt="" width="14" height="14" border="0" hspace="2"><'+'/td>';
wGigLKey+='<td nowrap class="footerBoxTxt">&nbsp;Outdoor gig&nbsp;&nbsp;<'+'/td>';
wGigLKey+='<td class="reviews" align="center">&nbsp;<a href="javascript:alert(alertMsg)" class="revLink">R</a>&nbsp;<'+'/td>';
wGigLKey+='<td nowrap class="footerBoxTxt">&nbsp;Review&nbsp; <'+'/td>';

wGigLKey+='<td class="reviews" align="center">&nbsp;<a href="javascript:alert(alertMsg)" class="revLink">I</a>&nbsp;<'+'/td>';
wGigLKey+='<td nowrap class="footerBoxTxt">&nbsp;Image&nbsp; <'+'/td>';

wGigLKey+='<td class="reviews" align="center">&nbsp;<a href="javascript:alert(alertMsg)" class="revLink">N</a>&nbsp;<'+'/td>';
wGigLKey+='<td nowrap class="footerBoxTxt">&nbsp;Note&nbsp; <'+'/td>';

wGigLKey+='<td class="reviews" align="center">&nbsp;<a href="javascript:alert(alertMsg)" class="revLink">V</a>&nbsp;<'+'/td>';
wGigLKey+='<td nowrap class="footerBoxTxt">&nbsp;Vid&nbsp; <'+'/td>';

wGigLKey+='<td class="setlists" align="center">&nbsp;<a href="javascript:alert(alertMsg2)" class="setlists">S</a>&nbsp;<'+'/td>';
wGigLKey+='<td nowrap class="footerBoxTxt">&nbsp;Setlist&nbsp;&nbsp;&nbsp;<'+'/td>';
wGigLKey+='<td class="theLineUp">&nbsp;1&nbsp;<'+'/td>';
wGigLKey+='<td nowrap class="footerBoxTxt">&nbsp;Lineup (See Below)&nbsp;&nbsp;&nbsp;<'+'/td>';

wGigLKey+='<td bgcolor="#ffcc33">&nbsp;&nbsp;&nbsp;<'+'/td>';
wGigLKey+='<td nowrap class="footerBoxTxt"><font color=#ffcc33>&nbsp;Headliner</font>&nbsp;<'+'/td>';
wGigLKey+='<td bgcolor="#99ff99">&nbsp;&nbsp;&nbsp;<'+'/td>';
wGigLKey+='<td nowrap class="footerBoxTxt"><font color=#99ff99>&nbsp;Support</font>&nbsp;<'+'/td>';
wGigLKey+='<td bgcolor="#66ccff">&nbsp;&nbsp;&nbsp;<'+'/td>';
wGigLKey+='<td nowrap class="footerBoxTxt"><font color=#66ccff>&nbsp;Order Unknown</font>&nbsp;<'+'/td>';

wGigLKey+='<td class="supportList">&nbsp;<font color=#ffffff>';
wGigLKey+='<a href="javascript:supportLauncher(theSubj,theYear)" title="Click to launch a window showing full support band running orders..." ';
wGigLKey+='class="supportList">Support Lists<'+'/a>&nbsp;<'+'/td>';
wGigLKey+='<td><img src="'+iFPth+'spacer.gif" alt="" width="2" height="6" hspace="0" vspace="0"><'+'/td>';
if ((wotBand=="boc")&&(theYear!=="1971")){
wGigLKey+='<td class="sourceList">&nbsp;<font color=#ffffff>';
wGigLKey+='<a href="javascript:sourceFinder(theYear)" title="Click to launch a window showing full info sources for each gig..." ';
wGigLKey+='class="sourceList">Sources<'+'/a>&nbsp;<'+'/td>';
}
wGigLKey+='<td><img src="'+iFPth+'spacer.gif" alt="" width="1" height="6" hspace="0" vspace="0"><'+'/td>';
wGigLKey+='<'+'/tr><'+'/table></center>';
wGigLKey+='<'+'/td><'+'/tr>';
document.write(wGigLKey);
}

function writeGigListFooter(wotYear,colspanner){
var gigLFoot='<tr><td valign="top" width="100%" colspan="'+colspanner+'">';
gigLFoot+='<div align="center"><table border="0" cellspacing="1" cellpadding="0" width="100%">';
gigLFoot+='<tr>';
gigLFoot+='<td width="143"><img src="'+iFPth+'spacer.gif" alt="" width="143" height="2" hspace="0" vspace="0"><'+'/td>';
gigLFoot+='<td width="143"><img src="'+iFPth+'spacer.gif" alt="" width="143" height="2" hspace="0" vspace="0"><'+'/td>';
gigLFoot+='<td width="143"><img src="'+iFPth+'spacer.gif" alt="" width="143" height="2" hspace="0" vspace="0"><'+'/td>';
gigLFoot+='<td width="143"><img src="'+iFPth+'spacer.gif" alt="" width="143" height="2" hspace="0" vspace="0"><'+'/td>';
gigLFoot+='<td width="143"><img src="'+iFPth+'spacer.gif" alt="" width="143" height="2" hspace="0" vspace="0"><'+'/td>';
gigLFoot+='<'+'/tr>';
  
var lineUpSuffix=new Array("a","b","c","d","e","f","g","h","i","j","k","l","m");
var wotYear;
var theSubj=wotYear;

var lineUpChanges;
lineUpChanges=eval("lineUpChanges"+theSubj);

var bRowNums=eval(lineUpChanges/5);
var bRowNums=eval(Math.ceil(bRowNums));
  
var bStarter=1;
var bIncrement=5;
  
if (bRowNums==1){
gigLFoot+='<tr>';
for (i = 0; i < lineUpChanges; i++){
  var lineUpList=eval("lineUp"+theSubj+myUnescape(lineUpSuffix[i]));
  var bandNum=eval(lineUpList.length/2);
  var theBandNum = eval(bandNum);
  gigLFoot+='<td valign="top">';
  gigLFoot+='<div align="center"><table border="0" cellspacing="1" cellpadding="0" width="100%">';
  gigLFoot+='<tr><td valign="top" class="sideBarHead">Line-Up '+eval(i+1)+'<'+'/td><'+'/tr>';
  gigLFoot+='<tr><td><img src="'+iFPth+'spacer.gif" alt="" width="1" height="3" hspace="0" vspace="0"><'+'/td><'+'/tr>';
  gigLFoot+='<tr><td valign="top">';
  for (L = 0; L < theBandNum; L++){
    gigLFoot+='<div align="center"><table border="0" cellspacing="0" cellpadding="0" width="100%">';
    gigLFoot+='<tr><td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="3" hspace="0" vspace="0"><'+'/td>';
    gigLFoot+='<td valign="top" class="lineupA" nowrap>'+ myUnescape(lineUpList[L])+'<'+'/td>';
    gigLFoot+='<td valign="top" class="lineupB" nowrap>'+ myUnescape(lineUpList[L+theBandNum])+'<'+'/td>';
    gigLFoot+='<td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="2" hspace="0" vspace="0"><'+'/td><'+'/tr>';
    gigLFoot+='</table></div>';
  }
  gigLFoot+='<'+'/td><'+'/tr><'+'/table></center>';
  gigLFoot+='<'+'/td>';
}
gigLFoot+='<'+'/tr>';
}
  
if (bRowNums==2){
gigLFoot+='<tr>';
for (i = 0; i < 5; i++){
  var lineUpList=eval("lineUp"+theSubj+myUnescape(lineUpSuffix[i]));
  var bandNum=eval(lineUpList.length/2);
  var theBandNum = eval(bandNum);
  gigLFoot+='<td valign="top">';
  gigLFoot+='<div align="center"><table border="0" cellspacing="1" cellpadding="0" width="100%">';
  gigLFoot+='<tr><td valign="top" class="sideBarHead">Line-Up '+eval(i+1)+'<'+'/td><'+'/tr>';
  gigLFoot+='<tr><td><img src="'+iFPth+'spacer.gif" alt="" width="1" height="3" hspace="0" vspace="0"><'+'/td><'+'/tr>';
  gigLFoot+='<tr><td valign="top">';
  for (L = 0; L < theBandNum; L++){
    gigLFoot+='<div align="center"><table border="0" cellspacing="0" cellpadding="0" width="100%">';
    gigLFoot+='<tr><td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="3" hspace="0" vspace="0"><'+'/td>';
    gigLFoot+='<td valign="top" class="lineupA" nowrap>'+ myUnescape(lineUpList[L])+'<'+'/td>';
    gigLFoot+='<td valign="top" class="lineupB" nowrap>'+ myUnescape(lineUpList[L+theBandNum])+'<'+'/td>';
    gigLFoot+='<td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="2" hspace="0" vspace="0"><'+'/td><'+'/tr>';
    gigLFoot+='</table></div>';
  }
gigLFoot+='<'+'/td><'+'/tr><'+'/table></center>';
gigLFoot+='<'+'/td>';
}
gigLFoot+='<'+'/tr>';
gigLFoot+='<tr>';
for (i = 5; i < lineUpChanges; i++){
  var lineUpList=eval("lineUp"+theSubj+myUnescape(lineUpSuffix[i]));
  var bandNum=eval(lineUpList.length/2);
  var theBandNum = eval(bandNum);
  gigLFoot+='<td valign="top">';
  gigLFoot+='<div align="center"><table border="0" cellspacing="1" cellpadding="0" width="100%">';
  gigLFoot+='<tr><td valign="top" class="sideBarHead">Line-Up '+eval(i+1)+'<'+'/td><'+'/tr>';
  gigLFoot+='<tr><td><img src="'+iFPth+'spacer.gif" alt="" width="1" height="3" hspace="0" vspace="0"><'+'/td><'+'/tr>';
  gigLFoot+='<tr><td valign="top">';
  for (L = 0; L < theBandNum; L++){
    gigLFoot+='<div align="center"><table border="0" cellspacing="0" cellpadding="0" width="100%">';
    gigLFoot+='<tr><td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="3" hspace="0" vspace="0"><'+'/td>';
    gigLFoot+='<td valign="top" class="lineupA" nowrap>'+ myUnescape(lineUpList[L])+'<'+'/td>';
    gigLFoot+='<td valign="top" class="lineupB" nowrap>'+ myUnescape(lineUpList[L+theBandNum])+'<'+'/td>';
    gigLFoot+='<td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="2" hspace="0" vspace="0"><'+'/td><'+'/tr>';
    gigLFoot+='</table></div>';
  }
gigLFoot+='<'+'/td><'+'/tr><'+'/table></center>';
gigLFoot+='<'+'/td>';
}
}

//3 rows
if (bRowNums==3){
gigLFoot+='<tr>';
for (i = 0; i < 5; i++){
var lineUpList=eval("lineUp"+theSubj+myUnescape(lineUpSuffix[i]));
var bandNum=eval(lineUpList.length/2);
var theBandNum = eval(bandNum);
gigLFoot+='<td valign="top">';
gigLFoot+='<div align="center"><table border="0" cellspacing="1" cellpadding="0" width="100%">';
gigLFoot+='<tr><td valign="top" class="sideBarHead">Line-Up '+eval(i+1)+'<'+'/td><'+'/tr>';
gigLFoot+='<tr><td><img src="'+iFPth+'spacer.gif" alt="" width="1" height="3" hspace="0" vspace="0"><'+'/td><'+'/tr>';
gigLFoot+='<tr><td valign="top">';

for (L = 0; L < theBandNum; L++){
gigLFoot+='<div align="center"><table border="0" cellspacing="0" cellpadding="0" width="100%">';
gigLFoot+='<tr><td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="3" hspace="0" vspace="0"><'+'/td>';
gigLFoot+='<td valign="top" class="lineupA" nowrap>'+ myUnescape(lineUpList[L])+'<'+'/td>';
gigLFoot+='<td valign="top" class="lineupB" nowrap>'+ myUnescape(lineUpList[L+theBandNum])+'<'+'/td>';
gigLFoot+='<td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="2" hspace="0" vspace="0"><'+'/td><'+'/tr>';
gigLFoot+='</table></div>';
}
gigLFoot+='<'+'/td><'+'/tr><'+'/table></center>';
gigLFoot+='<'+'/td>';
}
gigLFoot+='<'+'/tr>';

gigLFoot+='<tr>';
for (i = 5; i < 10; i++){
var lineUpList=eval("lineUp"+theSubj+myUnescape(lineUpSuffix[i]));
var bandNum=eval(lineUpList.length/2);
var theBandNum = eval(bandNum);
gigLFoot+='<td valign="top">';
gigLFoot+='<div align="center"><table border="0" cellspacing="1" cellpadding="0" width="100%">';
gigLFoot+='<tr><td valign="top" class="sideBarHead">Line-Up '+eval(i+1)+'<'+'/td><'+'/tr>';
gigLFoot+='<tr><td><img src="'+iFPth+'spacer.gif" alt="" width="1" height="3" hspace="0" vspace="0"><'+'/td><'+'/tr>';
gigLFoot+='<tr><td valign="top">';

for (L = 0; L < theBandNum; L++){
gigLFoot+='<div align="center"><table border="0" cellspacing="0" cellpadding="0" width="100%">';
gigLFoot+='<tr><td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="3" hspace="0" vspace="0"><'+'/td>';
gigLFoot+='<td valign="top" class="lineupA" nowrap>'+ myUnescape(lineUpList[L])+'<'+'/td>';
gigLFoot+='<td valign="top" class="lineupB" nowrap>'+ myUnescape(lineUpList[L+theBandNum])+'<'+'/td>';
gigLFoot+='<td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="2" hspace="0" vspace="0"><'+'/td><'+'/tr>';
gigLFoot+='</table></div>';
}
gigLFoot+='<'+'/td><'+'/tr><'+'/table></center>';
gigLFoot+='<'+'/td>';
}
gigLFoot+='<'+'/tr>';

gigLFoot+='<tr>';
for (i = 10; i < lineUpChanges; i++){
var lineUpList=eval("lineUp"+theSubj+myUnescape(lineUpSuffix[i]));
var bandNum=eval(lineUpList.length/2);
var theBandNum = eval(bandNum);
gigLFoot+='<td valign="top">';
gigLFoot+='<div align="center"><table border="0" cellspacing="1" cellpadding="0" width="100%">';
gigLFoot+='<tr><td valign="top" class="sideBarHead">Line-Up '+eval(i+1)+'<'+'/td><'+'/tr>';
gigLFoot+='<tr><td><img src="'+iFPth+'spacer.gif" alt="" width="1" height="3" hspace="0" vspace="0"><'+'/td><'+'/tr>';
gigLFoot+='<tr><td valign="top">';

for (L = 0; L < theBandNum; L++){
gigLFoot+='<div align="center"><table border="0" cellspacing="0" cellpadding="0" width="100%">';
gigLFoot+='<tr><td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="3" hspace="0" vspace="0"><'+'/td>';
gigLFoot+='<td valign="top" class="lineupA" nowrap>'+ myUnescape(lineUpList[L])+'<'+'/td>';
gigLFoot+='<td valign="top" class="lineupB" nowrap>'+ myUnescape(lineUpList[L+theBandNum])+'<'+'/td>';
gigLFoot+='<td width="2"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="2" hspace="0" vspace="0"><'+'/td><'+'/tr>';
gigLFoot+='</table></div>';
}
gigLFoot+='<'+'/td><'+'/tr><'+'/table></center>';
gigLFoot+='<'+'/td>';
}
}
//3 rows end



var remainder=eval(Math.ceil(5-(lineUpChanges/bRowNums)));
if (remainder>0){gigLFoot+='<td colspan="'+remainder+'" valign="top">&nbsp;<'+'/td>';}

gigLFoot+='<'+'/tr>';
gigLFoot+='<'+'/table></center>';
gigLFoot+='<'+'/td><'+'/tr>';
gigLFoot+='<tr><td height="1" colspan="'+colspanner+'"><img src="'+iFPth+'spacer.gif" alt="" width="2" height="1" hspace="0" vspace="0">';
gigLFoot+='<'+'/td><'+'/tr>';

document.write(gigLFoot);
}

function writeGigPageSpacers(){
var gigSpacer='<div align="center"><table border="0" cellspacing="1" cellpadding="0" width="800">';

if ((theSubj=="bds")||(theSubj=="bluecoupe")||(theSubj=="xbros")||(theSubj=="jbpg")||(theSubj=="jbf")||(theSubj=="jbsolo")||(theSubj=="cultbros")||(theSubj=="regaltones")||(theSubj=="underbelly")||(theSubj=="helenwheels")){
gigSpacer+='<tr>';//11
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="20" height="1" hspace="0" vspace="0"><'+'/td>';//#No
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="47" height="1" hspace="0" vspace="0"><'+'/td>';//Date
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="26" height="1" hspace="0" vspace="0"><'+'/td>';//Year
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="150" height="1" hspace="0" vspace="0"><'+'/td>';//Venue
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="95" height="1" hspace="0" vspace="0"><'+'/td>';//Town
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="80" height="1" hspace="0" vspace="0"><'+'/td>';//State
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="14" height="1" hspace="0" vspace="0"><'+'/td>';//Sun
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="10" height="1" hspace="0" vspace="0"><'+'/td>';//Lineup
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="10" height="1" hspace="0" vspace="0"><'+'/td>';//Setlist
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="10" height="1" hspace="0" vspace="0"><'+'/td>';//Review
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="285" height="1" hspace="0" vspace="0"><'+'/td>';//Info
gigSpacer+='<'+'/tr>';
}
if ((theSubj=="bdb")||(theSubj=="rdj")){
gigSpacer+='<tr>';//11
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="20" height="1" hspace="0" vspace="0"><'+'/td>';//#No
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="45" height="1" hspace="0" vspace="0"><'+'/td>';//Date
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="25" height="1" hspace="0" vspace="0"><'+'/td>';//Year
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="170" height="1" hspace="0" vspace="0"><'+'/td>';//Venue
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="95" height="1" hspace="0" vspace="0"><'+'/td>';//Town
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="73" height="1" hspace="0" vspace="0"><'+'/td>';//State
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="14" height="1" hspace="0" vspace="0"><'+'/td>';//Sun
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="10" height="1" hspace="0" vspace="0"><'+'/td>';//Lineup
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="10" height="1" hspace="0" vspace="0"><'+'/td>';//Setlist
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="10" height="1" hspace="0" vspace="0"><'+'/td>';//Review
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="275" height="1" hspace="0" vspace="0"><'+'/td>';//Info
gigSpacer+='<'+'/tr>';
}
if ((theSubj=="tbs")||(theSubj=="tbs")){
gigSpacer+='<tr>';//10
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="10" height="1" hspace="0" vspace="0"><'+'/td>';//#No
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="44" height="1" hspace="0" vspace="0"><'+'/td>';//Date
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="140" height="1" hspace="0" vspace="0"><'+'/td>';//Venue
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="120" height="1" hspace="0" vspace="0"><'+'/td>';//Town
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="80" height="1" hspace="0" vspace="0"><'+'/td>';//State
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="14" height="1" hspace="0" vspace="0"><'+'/td>';//Sun
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="8" height="1" hspace="0" vspace="0"><'+'/td>';//Lineup
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="8" height="1" hspace="0" vspace="0"><'+'/td>';//Setlist
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="8" height="1" hspace="0" vspace="0"><'+'/td>';//Review
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="284" height="1" hspace="0" vspace="0"><'+'/td>';//Info
gigSpacer+='<'+'/tr>';
}
if ((theSubj=="swu")||(theSubj=="sfg")||((theSubj=="boc")&&(theYear=="1971"))){
gigSpacer+='<tr>';//9
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="18" height="1" hspace="0" vspace="0"><'+'/td>';//#No
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="50" height="1" hspace="0" vspace="0"><'+'/td>';//Date
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="169" height="1" hspace="0" vspace="0"><'+'/td>';//Venue
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="94" height="1" hspace="0" vspace="0"><'+'/td>';//Town
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="80" height="1" hspace="0" vspace="0"><'+'/td>';//State
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="12" height="1" hspace="0" vspace="0"><'+'/td>';//Sun
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="9" height="1" hspace="0" vspace="0"><'+'/td>';//Lineup
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="9" height="1" hspace="0" vspace="0"><'+'/td>';//Review
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="350" height="1" hspace="0" vspace="0"><'+'/td>';//Info
gigSpacer+='<'+'/tr>';
}
if (theSubj=="boc"){
if (theYear!="1971"){
gigSpacer+='<tr>';//10
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="16" height="1" hspace="0" vspace="0"><'+'/td>';//#No
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="50" height="1" hspace="0" vspace="0"><'+'/td>';//Date
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="175" height="1" hspace="0" vspace="0"><'+'/td>';//Venue
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="135" height="1" hspace="0" vspace="0"><'+'/td>';//Town
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="85" height="1" hspace="0" vspace="0"><'+'/td>';//State
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="15" height="1" hspace="0" vspace="0"><'+'/td>';//Sun
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="9" height="1" hspace="0" vspace="0"><'+'/td>';//Lineup
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="9" height="1" hspace="0" vspace="0"><'+'/td>';//Setlist
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="9" height="1" hspace="0" vspace="0"><'+'/td>';//Review
gigSpacer+='<td><img src="'+iFPth+'spacer.gif" alt="" width="288" height="1" hspace="0" vspace="0"><'+'/td>';//Info
gigSpacer+='<'+'/tr>';
}
}
document.write(gigSpacer);
}

function writeGiglist(wotYear,colspanner,XtraTitles) {
var wotYear;
var theSubj=wotYear;
var xtraLineFlag=0;
var offSetter=1;
var offXSetter=0;

var spacerHeader1='<tr><td valign="top" width="100%" colspan="'+colspanner+'"><img src="'+iFPth+'spacer.gif" alt="" width="10" height="1" hspace="0" vspace="0">';
spacerHeader1+='<'+'/td><'+'/tr><tr><td valign="middle" width="100%" colspan="'+colspanner+'" class="gigListHead" height="17">';
var spacerHeader2='<'+'/td><'+'/tr><tr><td valign="top" width="100%" colspan="'+colspanner+'">';
spacerHeader2+='<img src="'+iFPth+'spacer.gif" alt="" width="10" height="2" hspace="0" vspace="0"><'+'/td><'+'/tr>';
var theGigArray=eval("gigArray"+theSubj);

if ((wotYear=="bds")||(wotYear=="xbros")||(wotBand=="boc")){
document.write('<tr><td colspan="'+colspanner+'"><img src="'+iFPth+'spacer.gif" alt="" width="10" height="1" hspace="0" vspace="0"><'+'/td><'+'/tr>');
document.write(spacerHeader1+eval("title_"+theSubj+"_1")+spacerHeader2);
}

for (x=0;x<theGigArray.length;x++){
var currentGig=theGigArray[x];
var gotSetList=eval(currentGig[0]);
var gigDay=myUnescape(currentGig[1]);
var gigMonth=myUnescape(currentGig[2]);
var gigYear=myUnescape(currentGig[3]);
var gigVenue=myUnescape(currentGig[4]);
var gigTown=myUnescape(currentGig[5]);
var gigCountry=myUnescape(currentGig[6]);
var gigIndoor=eval(currentGig[7]);
var weekDay=eval(currentGig[8]);
var showNotes=myUnescape(currentGig[11]);
var gotReview=eval(currentGig[12]);
var wotLoc=eval(currentGig[13]);
var gigVenue2=myUnescape(currentGig[15]);
var dateOK=eval(currentGig[20]);
var dateOKTxt=myUnescape(currentGig[21]);
var theLineup=myUnescape(currentGig[26]);

var gigYear2dec=gigYear.charAt(2)+gigYear.charAt(3);
var gigCode=gigYear2dec+gigMonth+gigDay;

if (gigMonth=="01") {gigMonthS="Jan"}
if (gigMonth=="02") {gigMonthS="Feb"}
if (gigMonth=="03") {gigMonthS="Mar"}
if (gigMonth=="04") {gigMonthS="Apr"}
if (gigMonth=="05") {gigMonthS="May"}
if (gigMonth=="06") {gigMonthS="June"}
if (gigMonth=="07") {gigMonthS="July"}
if (gigMonth=="08") {gigMonthS="Aug"}
if (gigMonth=="09") {gigMonthS="Sept"}
if (gigMonth=="10") {gigMonthS="Oct"}
if (gigMonth=="11") {gigMonthS="Nov"}
if (gigMonth=="12") {gigMonthS="Dec"}

if (theLineup=="a") {theLineup="1"}
if (theLineup=="b") {theLineup="2"}
if (theLineup=="c") {theLineup="3"}
if (theLineup=="d") {theLineup="4"}
if (theLineup=="e") {theLineup="5"}
if (theLineup=="f") {theLineup="6"}
if (theLineup=="g") {theLineup="7"}
if (theLineup=="h") {theLineup="8"}
if (theLineup=="i") {theLineup="9"}
if (theLineup=="j") {theLineup="10"}
if (theLineup=="k") {theLineup="11"}
if (theLineup=="l") {theLineup="12"}

var thegigLine='';


/* The next Flag checks for a "-1" value for "eval("XtraLines_"+theYear)" */
/* If it finds one, it writes in an xtraLine immediately below the title */

var XtraLines;
XtraLines=eval("XtraLines_"+theYear);
if (XtraLines>0){
  var FirstXtraLine=eval("XtraLine_"+theYear+"_1");
  var FirstXtraLinePos=eval("XtraLines_"+theYear+"_Pos1");
  if (FirstXtraLinePos<0){
   if (xtraLineFlag<1){
    document.write(eval(FirstXtraLine));
    var xtraLineFlag=1;
   }
  }
}

thegigLine+='<tr><td class="gigNum"><a name="'+gigCode+'">';

if (x<9+eval(offXSetter)) {thegigLine+='00'+(x+eval(offSetter))+'<'+'/a><'+'/td>';}
else if (x<99+eval(offXSetter)) {thegigLine+='0'+(x+eval(offSetter))+'<'+'/a><'+'/td>';}   
else {thegigLine+=''+(x+eval(offSetter))+'<'+'/a><'+'/td>';}
 
if (dateOK==0){
  thegigLine+='<td class="date">';
  if (weekDay>0){
    if (weekDay=="1") {weekDay="Monday"}
    if (weekDay=="2") {weekDay="Tuesday"}
    if (weekDay=="3") {weekDay="Wednesday"}
    if (weekDay=="4") {weekDay="Thursday"}
    if (weekDay=="5") {weekDay="Friday"}
    if (weekDay=="6") {weekDay="Saturday"}
    if (weekDay=="7") {weekDay="Sunday"}
    thegigLine+='<a title="'+weekDay+'">';
  }
  thegigLine+=''+gigDay+' '+gigMonthS+'';
  if (weekDay>0){thegigLine+='<'+'/a>';}
  thegigLine+='&nbsp;<'+'/td>';
}
else {thegigLine+='<td class="date" nowrap>'+dateOKTxt+'&nbsp;<'+'/td>';}


if ((theSubj=="bds")||(theSubj=="bluecoupe")||(theSubj=="xbros")||(theSubj=="jbpg")||(theSubj=="jbf")||(theSubj=="jbsolo")||(theSubj=="cultbros")||(theSubj=="rdj")||(theSubj=="bdb")||(theSubj=="regaltones")||(theSubj=="underbelly")||(theSubj=="helenwheels")){
thegigLine+='<td class="year">&nbsp;'+gigYear+'<'+'/td>';
}

thegigLine+='<td class="venue">';
thegigLine+='<a title="'+gigVenue2+'">';
thegigLine+=''+gigVenue+'';
thegigLine+='<'+'/a>';
thegigLine+='<'+'/td>';


thegigLine+='<td class="town">'+gigTown+'<'+'/td>';
thegigLine+='<td class="country">'+gigCountry+'<'+'/td>';

if (gigIndoor==1){thegigLine+='<td><img src="'+iFPth+'gigs/sun.gif" alt="" width="14" height="14" border="0" title="Indicates that this was an outdoor show"><'+'/td>';}
else {thegigLine+='<td class="reviewsOff"><img src="'+iFPth+'spacer.gif" alt="" width="14" height="14" hspace="0" vspace="0"><'+'/td>';}

thegigLine+='<td class="theLineUp">'+theLineup+'<'+'/td>';

var noSets;
if ((wotBand=="swu")||(wotBand=="sfg")||((wotBand=="boc")&&(theYear=="1971"))){
var noSets=1;}else{var noSets=0;
}

if (noSets==0){
if ((theSubj=="bds")||(theSubj=="bluecoupe")||(theSubj=="xbros")||(theSubj=="jbpg")||(theSubj=="jbf")||(theSubj=="jbsolo")||(theSubj=="cultbros")||(theSubj=="regaltones")||(theSubj=="underbelly")||(theSubj=="helenwheels")){
 if (gotSetList>4){thegigLine+='<td class="setlists"><a href="setlists.htm#'+gigCode+'" class="setlists">S<'+'/a><'+'/td>';}
 else {thegigLine+='<td class="setlistsOff">&nbsp;<'+'/td>';}
}
else {
 var theDestination;
 var theDestination=theSubj;
 if (theSubj=="UK"){theDestination="uk"}	  
 if (theSubj=="rdj"){theDestination="extprojects_rdj"}
 if (theSubj=="bdb"){theDestination="extprojects_bdb"}
	  
 if (gotSetList>4){
  thegigLine+='<td class="setlists"><a href="'+theDestination+'_setlists.htm#'+gigCode+'" class="setlists" ';
  thegigLine+='title="Click here to see the known setlist from this gig">S<'+'/a><'+'/td>';
 }
 else {thegigLine+='<td class="setlistsOff" title="'+theDestination+'">&nbsp;<'+'/td>';}
}
}

//rCode1 review
//rCode2 reviews
//rCode3 note
//rCode4 notes
//rCode5 pic
//rCode6 pics
//rCode8 photo
//rCode9 photos
//rCode11 review/pic(s)
//rCode12 reviews/pic(s)
//rCode13 note/pic(s)
//rCode14 notes/(s)
//rCode15 review/photo(s)
//rCode16 reviews/photo(s)
//rCode17 review/photo(s)/pic(s)
//rCode18 reviews/photo(s)/pic(s)
//rCode21 vidClip
//rCode22 vidClips
//rCode23 review(s)/vidClip(s)
//rCode24 notes/vidClip(s)
//rCode25 review(s)/vidClip(s)/images(s)
//rCode26 notes/vidClip(s)/images(s)

var rCode1="There is a gig review for this show posted in the &quot;History&quot; Section - click here to see it...";
var rCode2="There are gig reviews for this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode3="There is a note for this show posted in the &quot;History&quot; Section - click here to see it...";
var rCode4="There are gig notes for this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode5="There is a gig-related image from this show (eg ticket stub, handbill etc) posted in the &quot;History&quot; Section - click here to see it...";
var rCode6="There are gig-related images from this show (eg ticket stubs, handbills etc) posted in the &quot;History&quot; Section - click here to see them...";
var rCode8="There is a photo from this show posted in the &quot;History&quot; Section - click here to see it...";
var rCode9="There are photos from this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode11="There is a gig review and gig-related image(s) for this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode12="There are gig reviews and gig-related image(s) for this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode13="There is a note and gig-related image(s) for this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode14="There are gig note(s) and gig-related image(s) for this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode15="There is a gig review and photo(s) for this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode16="There are gig review(s) and photo(s) for this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode17="There is a gig review, gig-related image(s) and photo(s) for this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode18="There are gig reviews, gig-related image(s) and photo(s) for this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode21="There is a video clip from this show posted in the &quot;History&quot; Section - click here to see it...";
var rCode22="There are video clips from this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode23="There are gig review(s) and video clip(s) from this show posted in the &quot;History&quot; Section - click here to see them...";
var rCode24="There are gig note(s) and video clip(s) from this show posted in the &quot;History&quot; Section - click here to see them... ";
var rCode25="There are gig review(s), gig-related image(s) and video clip(s) from this show posted in the &quot;History&quot; Section - click here to see them... ";
var rCode26="There are gig note(s), gig-related image(s) and video clip(s) from this show posted in the &quot;History&quot; Section - click here to see them... ";

if (gotReview>0){
  if ((gotReview==3)||(gotReview==4)){gLetter="N"}
  else if ((gotReview==5)||(gotReview==6)||(gotReview==7)||(gotReview==8)){gLetter="I"}
  else if ((gotReview==21)||(gotReview==22)){gLetter="V"}
  else{gLetter="R"}
  
thegigLine+='<td class="reviews"><a href="../history/'+theYear+'.htm#'+gigCode+'" class="revLink" title="'+eval("rCode"+gotReview)+'">'+gLetter+'<'+'/a><'+'/td>';}
else {thegigLine+='<td class="reviewsOff">&nbsp;<'+'/td>';}

thegigLine+='<td class="notes">&nbsp;'+showNotes+'<'+'/td><'+'/tr>';
document.write(thegigLine);
 
var XtraLines;
XtraLines=eval("XtraLines_"+theSubj);
 
if (XtraLines>0){
for (zz=1;zz<(XtraLines+1);zz++){
CurrentXtraLinePos=eval("XtraLines_"+theSubj+"_Pos"+zz);
CurrentXtraLine=eval("XtraLine_"+theSubj+"_"+zz);
if (x==CurrentXtraLinePos){document.write(eval(CurrentXtraLine));};
}
}

}
}

function gigDividerHead(colspanner,message){
var spacerIntroLine1='<tr><td valign="top" width="100%" colspan="'+colspanner+'"><img src="'+iFPth+'spacer.gif" alt="" width="10" height="16" hspace="0" vspace="0">';
spacerIntroLine1+='<'+'/td><'+'/tr><tr><td valign="middle" width="100%" colspan="'+colspanner+'" class="header" height="17">';
spacerIntroLine1+=message;
spacerIntroLine1+='<'+'/td><'+'/tr><tr><td valign="top" width="100%" colspan="'+colspanner+'">';
spacerIntroLine1+='<img src="'+iFPth+'spacer.gif" alt="" width="10" height="2" hspace="0" vspace="0"><'+'/td><'+'/tr>';
document.write(spacerIntroLine1);
}
