// -----------------------------------------------------------------------
// This JavaScript controls the hiding and displaying of divisions within
// the History page.

var gvNS4 = false;   // indicates if browser is Netscape 4.x
var gvIE4 = false;   // indicates if browser is Internet Explorer 4.x or greater

if ((navigator.appName == "Netscape") &&
    (navigator.userAgent.indexOf("WebTV") == -1) &&
    (navigator.userAgent.indexOf("Opera") == -1))
{
   // Only 4.x versions of Netscape are supported
   if (parseInt(navigator.appVersion) >= 4)
   {
      gvNS4 = true;
   }
}
else
{
   if ((navigator.appName == "Microsoft Internet Explorer") &&
       (parseInt(navigator.appVersion) >= 4))
   {
      gvIE4 = true;
   }
}

if (gvIE4)
{
   layerRef = "document.all";
   styleRef = ".style.display";
   visibleRef = "";
   hiddenRef = "none";
}
else
{
   layerRef = "document.layers";
   styleRef = ".visibility";
   visibleRef = "show";
   hiddenRef = "hide";
}

/*'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Name       :  toggleDiv
' Purpose    :  Used to toggle the display of the specified item.
' Parameters :  pstrDiv - the name of the item to toggle.
' Return val :  none.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/
function toggleDiv(pstrDiv)
{
   if (eval(layerRef + '["' + pstrDiv + '"]' + styleRef) == hiddenRef)
   {
      eval(layerRef + '["' + pstrDiv + '"]' + styleRef + ' = "' + visibleRef + '"');
      eval(layerRef + '["' + pstrDiv + 'Img"].src = "images/icoContract.gif"');
   }
   else
   {
      eval(layerRef + '["' + pstrDiv + '"]' + styleRef + ' = "' + hiddenRef + '"');
      eval(layerRef + '["' + pstrDiv + 'Img"].src = "images/icoExpand.gif"');
   }
}

/*'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Name       :  expandAll
' Purpose    :  Expands all yearly TRs on the page.
' Parameters :  none.
' Return val :  none.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/
function expandAll()
{
   eval(layerRef + '["trYear2010"]' + styleRef + ' = "' + visibleRef + '"');
   eval(layerRef + '["trYear2010Img"].src = "images/icoContract.gif"');

   eval(layerRef + '["trYear2009"]' + styleRef + ' = "' + visibleRef + '"');
   eval(layerRef + '["trYear2009Img"].src = "images/icoContract.gif"');
}

/*'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Name       :  contractAll
' Purpose    :  Contracts all yearly TRs on the page.
' Parameters :  none.
' Return val :  none.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/
function contractAll()
{
   eval(layerRef + '["trYear2010"]' + styleRef + ' = "' + hiddenRef + '"');
   eval(layerRef + '["trYear2010Img"].src = "images/icoExpand.gif"');

   eval(layerRef + '["trYear2009"]' + styleRef + ' = "' + hiddenRef + '"');
   eval(layerRef + '["trYear2009Img"].src = "images/icoExpand.gif"');
}

/*'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Name       :  initialDivSetup
' Purpose    :  Performs the initial setup on the page...expanding
'               the most current year and contracting all others..
' Parameters :  none.
' Return val :  none.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/
function initialDivSetup()
{
   eval(layerRef + '["trYear2010"]' + styleRef + ' = "' + visibleRef + '"');
   eval(layerRef + '["trYear2010Img"].src = "images/icoContract.gif"');

   eval(layerRef + '["trYear2009"]' + styleRef + ' = "' + hiddenRef + '"');
   eval(layerRef + '["trYear2009Img"].src = "images/icoExpand.gif"');
}

/*'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Name       :  initialScheduleDivSetup
' Purpose    :  Performs the initial setup on the page...expanding
'               the most current year and contracting all others..
' Parameters :  none.
' Return val :  none.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/
function initialScheduleDivSetup()
{
//    eval(layerRef + '["trEventNov1"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJan1"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJan2"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJan3"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventFeb1"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventFeb2"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventFeb3"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventFeb4"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMar1"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMar2"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMar3"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMar4"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMar5"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMar6"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMar7"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMar8"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventApr1"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventApr2"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventApr3"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventApr4"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventApr5"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventApr6"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventApr7"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay1"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay2"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay3"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay4"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay5"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay6"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay7"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay8"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay9"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay10"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay11"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventMay12"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun1"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun2"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun3"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun4"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun5"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun6"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun7"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun8"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun9"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun10"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun11"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJun12"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul1"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul2"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul3"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul4"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul5"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul6"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul7"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul8"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul9"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul10"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul11"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul12"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventJul13"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug1"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug2"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug3"]' + styleRef + ' = "' + hiddenRef + '"');
//    eval(layerRef + '["trEventAug4"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug5"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug6"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug7"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug8"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug9"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug10"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug11"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug12"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventAug13"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventSep1"]' + styleRef + ' = "' + hiddenRef + '"');
//    eval(layerRef + '["trEventSep2"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventSep3"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventSep4"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventSep5"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["trEventOct1"]' + styleRef + ' = "' + hiddenRef + '"');
    eval(layerRef + '["pastEventsImg"].src = "images/icoExpand.gif"');
}

/*'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Name       :  toggleScheduleDiv
' Purpose    :  Used to toggle the display of the specified item.
' Parameters :  pstrDiv - the name of the item to toggle.
' Return val :  none.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/
function toggleScheduleDiv()
{
    if (eval(layerRef + '["trEventNov1"]' + styleRef) == hiddenRef)
    {
        eval(layerRef + '["trEventNov1"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventDec1"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJan1"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJan2"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJan3"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventFeb1"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventFeb2"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventFeb3"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventFeb4"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMar1"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMar2"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMar3"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMar4"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMar5"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMar6"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMar7"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMar8"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventApr1"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventApr2"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventApr3"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventApr4"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventApr5"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventApr6"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventApr7"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay1"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay2"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay3"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay4"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay5"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay6"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay7"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay8"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay9"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay10"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay11"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventMay12"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun1"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun2"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun3"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun4"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun5"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun6"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun7"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun8"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun9"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun10"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun11"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJun12"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul1"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul2"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul3"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul4"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul5"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul6"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul7"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul8"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul9"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul10"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul11"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul12"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventJul13"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug1"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug2"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug3"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug4"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug5"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug6"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug7"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug8"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug9"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug10"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug11"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug12"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventAug13"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventSep1"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventSep2"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventSep3"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventSep4"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventSep5"]' + styleRef + ' = "' + visibleRef + '"');
//      eval(layerRef + '["trEventOct1"]' + styleRef + ' = "' + visibleRef + '"');
        eval(layerRef + '["pastEventsImg"].src = "images/icoContract.gif"');
    }
    else
    {
        eval(layerRef + '["trEventNov1"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventDec1"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJan1"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJan2"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJan3"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventFeb1"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventFeb2"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventFeb3"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventFeb4"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMar1"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMar2"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMar3"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMar4"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMar5"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMar6"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMar7"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMar8"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventApr1"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventApr2"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventApr3"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventApr4"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventApr5"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventApr6"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventApr7"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay1"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay2"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay3"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay4"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay5"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay6"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay7"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay8"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay9"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay10"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay11"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventMay12"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun1"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun2"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun3"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun4"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun5"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun6"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun7"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun8"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun9"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun10"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun11"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJun12"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul1"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul2"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul3"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul4"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul5"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul6"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul7"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul8"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul9"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul10"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul11"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul12"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventJul13"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug1"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug2"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug3"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug4"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug5"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug6"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug7"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug8"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug9"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug10"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug11"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug12"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventAug13"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventSep1"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventSep2"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventSep3"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventSep4"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventSep5"]' + styleRef + ' = "' + hiddenRef + '"');
//      eval(layerRef + '["trEventOct1"]' + styleRef + ' = "' + hiddenRef + '"');
        eval(layerRef + '["pastEventsImg"].src = "images/icoExpand.gif"');
    }
}

/*'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Name       :  toggleBalSheetDiv
' Purpose    :  Used to toggle the display of the specified item.
' Parameters :  pstrDiv - the name of the item to toggle.
' Return val :  none.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/
function toggleBalSheetDiv(pstrDiv)
{
    var moreRows = true;
    var rowId = 0;
    var trId;
    var trIdImg;

    while (moreRows)
    {
        rowId++;
        trId = 'ctl00_ContentPlaceHolder1_' + pstrDiv + '-' + rowId;
        trIdImg = pstrDiv + 'Img';
        if (document.getElementById(trId))
        {
           if (eval(layerRef + '["' + trId + '"]' + styleRef) == hiddenRef)
           {
              eval(layerRef + '["' + trId + '"]' + styleRef + ' = "' + visibleRef + '"');
              eval(layerRef + '["' + trIdImg + '"].src = "../images/icoContract.gif"');
           }
           else
           {
              eval(layerRef + '["' + trId + '"]' + styleRef + ' = "' + hiddenRef + '"');
              eval(layerRef + '["' + trIdImg + '"].src = "../images/icoExpand.gif"');
           }
        }
        else
        {
            moreRows = false;
        }
    }
}

/*'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Name       :  initialBalSheetDivSetup
' Purpose    :  Performs the initial setup on the page...expanding
'               the most current year and contracting all others..
' Parameters :  none.
' Return val :  none.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/
function initialBalSheetDivSetup(pstrDiv, firstSeason)
{
    var moreRows = true;
    var rowId = 0;
    var trId;
    var trIdImg;

    while (moreRows)
    {
        rowId++;
        trId = 'ctl00_ContentPlaceHolder1_' + pstrDiv + '-' + rowId;
        trIdImg = pstrDiv + 'Img';
        if (document.getElementById(trId))
        {
           if (firstSeason)
           {
              eval(layerRef + '["' + trId + '"]' + styleRef + ' = "' + visibleRef + '"');
              eval(layerRef + '["' + trIdImg + '"].src = "../images/icoContract.gif"');
           }
           else
           {
              eval(layerRef + '["' + trId + '"]' + styleRef + ' = "' + hiddenRef + '"');
              eval(layerRef + '["' + trIdImg + '"].src = "../images/icoExpand.gif"');
           }
        }
        else
        {
            moreRows = false;
        }
    }
}
