
/**
 * Image Rollover precaching and scripting for rochason.com
 * v1.1
 */

if(document.images)
{

	aboutUson = new Image();
	aboutUson.src="images/aboutUsOn.gif";
	aboutUsoff = new Image();
	aboutUsoff.src = "images/aboutUsOff.gif";
		
	serviceson = new Image();
	serviceson.src="images/servicesOn.gif";
	servicesoff = new Image();
	servicesoff.src = "images/servicesOff.gif";
	
	portfolioon = new Image();
	portfolioon.src="images/portfolioOn.gif";
	portfoliooff = new Image();
	portfoliooff.src = "images/portfolioOff.gif";
	
	testimonialson = new Image();
	testimonialson.src="images/testimonialsOn.gif";
	testimonialsoff = new Image();
	testimonialsoff.src = "images/testimonialsOff.gif";
	
	contacton = new Image();
	contacton.src="images/contactOn.gif";
	contactoff = new Image();
	contactoff.src = "images/contactOff.gif";
	
}
	

function imgOn(imgname)
{
	if (document.images)
	{
		document[imgname].src = eval(imgname + "on.src");
		
	}
}


function imgOff(imgname)
{
	if (document.images)
	{
		document[imgname].src = eval(imgname + "off.src");
		
	}
}

/* end */