function changePic(img, mouseon)
{
	// Changes image on mouseover and mouseout
	// When a user moves mouseover send (image object  + true)
	// When a user moves mouseout send (image object + false)

	image = "";
	image = img.src.substring(img.src.lastIndexOf("/") + 1, img.src.lastIndexOf("."));
	image = image.replace("\\", "/");

	fileType = img.src.substring(img.src.lastIndexOf("."), img.src.length);

	if(mouseon == true) {
		img.src = "images/" + image + "_on" + fileType;
	}

	if(mouseon == false)
	{
		image = img.src.substring(img.src.lastIndexOf("/")+1, img.src.lastIndexOf(".")-3);
		img.src = "images/" + image + fileType;
	}
}