// Function: rollOver
// Used for image roll overs.
function rollOver(i, obj)
{
	if (document.images) obj.src = imgOver[i - 1].src;
}

// Function: rollOut
// Used to set the image roll over back to the original.
function rollOut(i, obj)
{
	if (document.images) obj.src = imgOut[i - 1].src;
}

// Function: btnRollOver
// Used for button roll overs.
function btnRollOver(i, obj)
{
	if (document.images) obj.src = btnOver[i - 1].src;
}

// Function: btnRollOut
// Used to set the button roll over back to the original.
function btnRollOut(i, obj)
{
	if (document.images) obj.src = btnOut[i - 1].src;
}

//Function: checkZip
//Used to validate a zip code.
function checkZip(zip)
{
	re = /^\d{5}(-\d{4})?$|^$/;
	return re.test(zip);
}

//Function: checkPhone
//Used to validate phone numbers.
function checkPhone(phone)
{
	re = /^([1][- \.])?\(?\d{3}\)?[- \.]\d{3}[- \.]\d{4}$/;
	return re.test(phone);
}

//Function: checkEmail
//Used to validate email addresses.
function checkEmail(email)
{
	re = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
	return re.test(email);
}

function getTodaysYear()
{
	var today = new Date();
	return today.getFullYear();
}

/*function getDate()
      {
        var weekDays = new Array();
        weekDays[0] = 'Sunday';
        weekDays[1] = 'Monday';
        weekDays[2] = 'Tuesday';
        weekDays[3] = 'Wednesday';
        weekDays[4] = 'Thursday';
        weekDays[5] = 'Friday';
        weekDays[6] = 'Saturday';

        var months = new Array();
        months[0] = 'January';
        months[1] = 'February';
        months[2] = 'March';
        months[3] = 'April';
        months[4] = 'May';
        months[5] = 'June';
        months[6] = 'July';
        months[7] = 'August';
        months[8] = 'September';
        months[9] = 'October';
        months[10] = 'November';
        months[11] = 'December';

        today = new Date();

        


        return weekDays[today.getDay()] + ", " + months[today.getMonth()] + " " + today.getDate() + ", " + today.getFullYear();
      }
*/