welcomeOn = new Image(); welcomeOn.src = "on/btn-welcome.gif";
seminarOn = new Image(); seminarOn.src = "on/btn-seminar.gif";
faqOn = new Image(); faqOn.src = "on/btn-faq.gif";

aboutOn = new Image(); aboutOn.src = "on/btn-about.gif";
volunteerOn = new Image(); volunteerOn.src = "on/btn-volunteer.gif";
educatorOn = new Image(); educatorOn.src = "on/btn-educator.gif";
calendarOn = new Image(); calendarOn.src = "on/btn-calendar.gif";
programsOn = new Image(); programsOn.src = "on/btn-programs.gif";
nutritionOn = new Image(); nutritionOn.src = "on/btn-nutrition.gif";
quizOn = new Image(); quizOn.src = "on/btn-quiz.gif";
whatisOn = new Image(); whatisOn.src = "on/btn-whatis.gif";
contactOn = new Image(); contactOn.src = "on/btn-contact.gif";
newsletterOn = new Image(); newsletterOn.src = "on/btn-newsletter.gif";
newseminarOn = new Image(); newseminarOn.src = "on/btn-newseminar.gif";
donationsOn = new Image(); donationsOn.src = "on/btn-dontations.gif";
bookOn = new Image(); bookOn.src = "on/btn-book.gif";
supportOn = new Image(); supportOn.src = "on/btn-support.gif";
eventsOn = new Image(); eventsOn.src = "on/btn-events.gif";
treeOn = new Image(); treeOn.src = "on/btn-tree.gif";

testimonialsOn = new Image(); testimonialsOn.src = "on/btn-testimonials.gif";

function imgOn(imgName) {
	document [imgName].src = eval((imgName) + "On.src");
}
function imgOff(imgName) {
	document [imgName].src = "off/btn-" + (imgName) + ".gif";
}

function getTextboxtext(){
randomText=Math.round(Math.random()*1)+1;
	if (randomText == 1){
		theText = "<font size=2><center><b>National Recognition</b></center></font>Initially awarded by the American Diabetes Association in March 1989.  Three year extensions awarded in August 1992, August 1995, August 1998, August 2001, August 2004, and again in August 2007. A four year extension was awarded in 2010.";
	}
	if (randomText == 2){
		theText = "<font size=2><center><b>Non-Profit and Source of Funding</b></center></font>IRS granted 501(c)(3) status in September 1984. As a community-based health organization, DECM is not affiliated with United Way/CHAD.  It receives no funding from the American Diabetes Association or the Juvenile Diabetes Research Foundation.";
	}
document.write (theText);
}



