$(function() {
	var image;

	for(var i = 0; i < $("img").length; i++){
		image = $("img")[i];
		if(image.className.match(/swap/)){
			image.onmouseover = function(){
				this.src = this.src.replace("-off", "-on");
			}
			image.onmouseout = function(){
				this.src = this.src.replace("-on", "-off");
			}
		}
	}
});

