if (document.images) { 
	homeon = new Image(55,30);
	homeon.src = "images2/btn_home_r.gif";
	homeoff = new Image(55,30);
	homeoff.src = "images2/btn_home.gif";
	
	abouton = new Image(67,30);
	abouton.src = "images2/btn_about_r.gif";
	aboutoff = new Image(67,30);
	aboutoff.src = "images2/btn_about.gif";
	
	differenceon = new Image(147,30);
	differenceon.src = "images2/btn_difference_r.gif";
	differenceoff = new Image(147,30);
	differenceoff.src = "images2/btn_difference.gif";
	
	communitieson = new Image(147,30);
	communitieson.src = "images2/btn_communities_r.gif";
	communitiesoff = new Image(147,30);
	communitiesoff.src = "images2/btn_communities.gif";
	
	ourhomeson = new Image(82,30);
	ourhomeson.src = "images2/btn_ourhomes_r.gif";
	ourhomesoff = new Image(82,30);
	ourhomesoff.src = "images2/btn_ourhomes.gif";
	
	quickposson = new Image(122,30);
	quickposson.src = "images2/btn_quickposs_r.gif";
	quickpossoff = new Image(122,30);
	quickpossoff.src = "images2/btn_quickposs.gif";
	
	testimonialson = new Image(91,30);
	testimonialson.src = "images2/btn_testimonials_r.gif";
	testimonialsoff = new Image(91,30);
	testimonialsoff.src = "images2/btn_testimonials.gif";
	
	contacton = new Image(88,30);
	contacton.src = "images2/btn_contact_r.gif";
	contactoff = new Image(88,30);
	contactoff.src = "images2/btn_contact.gif";
}
function rollOver(imgName) {
	if(document.images){
		imgOn = eval(imgName + "on.src");
		document[imgName].src = imgOn;
	}	
}
		
function rollOut(imgName) {
	if(document.images){
		imgOff = eval(imgName + "off.src");
		document[imgName].src = imgOff;
	}	
}
function mailTo(p_name) {
	document.location = "mailto:"+p_name+"@brookhaven.ca";
}
