/* Image Rollovers Go Here */
/* Preload any images here */

arImageSrc = new Array (
	"ro_records_on.gif",
	"ro_material_on.gif",
    "ro_professional_on.gif",
	"ro_companyinfo_on.gif",
	"ro_quickorder_on.gif",
	"ro_contactus_on.gif"

)

function preloadem(){
	arImageList = new Array ();
	sDirectory = "images/";

	for (counter in arImageSrc) {
		arImageList[counter] = new Image();
    	}
}

function changeIt(oImage){
	var sSrc = oImage.src;
	var iUnderscore = sSrc.lastIndexOf("_");
	var iDot = sSrc.lastIndexOf(".");
	var sState = sSrc.slice(iUnderscore, iDot);
	var sNewImg = sSrc.slice(0, iUnderscore);
	var sExtension = sSrc.slice(iDot);
	if(sState == "_off")
	{
		sNewImg = sNewImg + "_on" + sExtension;
		eval(oImage).src = sNewImg;
	}
	else
	{
		sNewImg = sNewImg + "_off" + sExtension;
		eval(oImage).src = sNewImg;
	}
	
}