//Get the current year for the Copyright

/* Begin: Get Copyright Year */
	function CopyrightYear()
	{
		 currentDate = new Date(); // get the current date
		 currentYear = currentDate.getFullYear(); // get the current year from the current date

		 document.write(currentYear);  //write the current year
	}
/* End: Get Copyright Year */


/* Begin: randomly assign a background image to the main image on the home page */
	//generate a random number from 1 to 4
	var numx_raw = Math.random() * (5);
	var randomNumber = Math.round(numx_raw) + 1;
	
	//change the main image
	$(document).ready(function () {
		$('#vision').css('background-image', 'url(http://www.lpfch.org/new/images/mainImage0' + randomNumber + '.png)');
	});
	/* End: randomly assign a background image to the main image on the home page */


	/* Begin: change classes to control top menu border colors */
	function addAbout() {
		$('.header').addClass('about');
	}
	function removeAbout() {
		$('.header').removeClass('about');
	}

	function addSupport() {
		$('.header').addClass('support');
	}
	function removeSupport() {
		$('.header').removeClass('support');
	}

	function addInvestments() {
		$('.header').addClass('investments');
	}
	function removeInvestments() {
		$('.header').removeClass('investments');
	}


	

	/* End: change classes to control top menu border colors */
