function showDate() {
    var nowDay = new Date();
    var currentMonth = nowDay.getMonth();
    var currentDay = nowDay.getDate();
    var currentYear = nowDay.getFullYear();
    
        switch(currentMonth) {
	        case 0:
	        currentMonth = 'January';
	        break;
   	        case 1:
	        currentMonth = 'February';
	        break;
	        case 2:
	        currentMonth = 'March';
	        break;
	        case 3:
	        currentMonth = 'April';
	        break;
	        case 4:
	        currentMonth = 'May';
	        break;
	        case 5:
	        currentMonth = 'June';
	        break;
	        case 6:
	        currentMonth = 'July';
	        break;
	        case 7:
	        currentMonth = 'August';
	        break;
	        case 8:
	        currentMonth = 'September';
	        break;
	        case 9:
	        currentMonth = 'October';
	        break;
	        case 10:
	        currentMonth = 'November';
	        break;
	        case 11:
	        currentMonth = 'December';
	        break;
        }
           var toDay = currentMonth + " " + currentDay + ", " + currentYear;
           return toDay;
}

function hideDiv(id,toggle) {
	document.getElementById(id).style.display = toggle;
}

function showNws (){
	document.getElementById("newsPane").style.display = "inline";
	document.getElementById("imgPane").style.display = "none";
}

function noNws (){
	document.getElementById("newsPane").style.display = "none";
	document.getElementById("imgPane").style.display = "inline";
}
