function rollItem(elementID, imagesPath, onORoff) { 
	image_type = (elementID.src).substring((elementID.src).length-3,(elementID.src).length);
	if(onORoff=="on") 	{ the_path=''+imagesPath+elementID.name+'_on.'+image_type; }
	if(onORoff=="off")	{ the_path=''+imagesPath+elementID.name+'_off.'+image_type; }
	elementID.src=the_path;
}