var current_step = "FirstStep";

function step_swapper(step) {
var imageName;
var imagePath = document.getElementById(current_step + "Image").src;
var splitImagePath = imagePath.split('_');
var newImagePath;

	if (current_step == "FirstStep"){
		imageName = "1st";
	}
	else if (current_step == "SecondStep"){
		imageName = "2nd";
	}
	else if (current_step == "ThirdStep"){
		imageName = "3rd";
	}
	else if (current_step == "FourthStep"){
		imageName = "4th";
	}
	else if (current_step == "FifthStep"){
		imageName = "5th";
	}
	else if (current_step == "SixthStep"){
		imageName = "6th";
	}
	else {
		document.Write("<!--Something's Not Working-->");
	}
	
newImagePath = splitImagePath[0] + "_" + imageName + ".gif";

document.getElementById(current_step + "Image").src = newImagePath;

document.getElementById(current_step).style.visibility = "hidden";
document.getElementById(step).style.visibility = "visible";
current_step = step;
}
