

// this is what is needed in the menu bar to call the current month href="javascript:currentMonth()"

function currentMonth()
{
    var Today = new Date();
    var Month;

    if (Today.getMonth() == 0) 
    {
       Month = "january";
    }
    if (Today.getMonth() == 1)
    {
       Month = "february";
    }
    if (Today.getMonth() == 2)
    {
       Month = "march";
    }
    if (Today.getMonth() == 3)
    {
       Month = "april";
    }
    if (Today.getMonth() == 4)
    {
       Month = "may";
    }
    if (Today.getMonth() == 5)
    {
       Month = "june";
    }
    if (Today.getMonth() == 6)
    {
       Month = "july";
    }
    if (Today.getMonth() == 7)
    {
       Month = "august";
    }
    if (Today.getMonth() == 8)
    {
       Month = "september";
    }
    if (Today.getMonth() == 9)
    {
       Month = "october";
    }
    if (Today.getMonth() == 10)
    {
       Month = "november";
    }
    if (Today.getMonth() == 11)
    {
       Month = "december";
    }
     
    parent.location = "/bcc/events/" + Month + ".php";
    
}


// calling for the brochure
// href="javascript:brochure()"

var brochurewin;

function brochure()
{
  brochurewin = window.open("/bcc/publications/brochure/brochure.html","Brochure","toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,width=355,height=600"); 
}


// ||||||||||||||||||||||||||||||||||||||||||||||||||

function showDate()
{
  var dayName = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
  var monthName = new Array ("January", "February","March", "April", "May", "June", 
                           "July","August", "September", "October", "November","December");
  var now = new Date;


  document.write("<span Style=\"color:#0000000 \">" + dayName[now.getDay()] + ", " + monthName[now.getMonth()] + " " + 
                 now.getDate() + ", " +  now.getFullYear() + "</span>");
}
