function switchImage(imgName,which) {
	if (navigator.userAgent.match(/Opera (\S+)/)) {
		var operaVersion = parseInt(navigator.userAgent.match(/Opera (\S+)/)[1]);
	}
	if (!document.getElementById||operaVersion <7) return;
	var newImgPath = document.getElementById(imgName).getAttribute('src');
	var arrPath = newImgPath.split("/");
	var i = eval(parseInt(arrPath.length) - 1);
	var oldImgName = arrPath[i];

	arrImgParts = oldImgName.split(".");
	oldImgName = arrImgParts[0];

	if (oldImgName.search(/over/i) > 0) {
		oldImgName = oldImgName.replace(/-over/i,"");
	}

	if (oldImgName.search(/click/i) > 0) {
		oldImgName = oldImgName.replace(/-click/i,"");
	}
	
	var newImgName;
	if (which == "over") {
		newImgName = oldImgName + "-over";
	} else if (which == "click") {
		newImgName = oldImgName + "-click";
	} else {
		newImgName = oldImgName;
	}

	newImgPath = newImgPath.replace(arrImgParts[0],newImgName)
	//alert(newImgName + "\n" + newImgPath);
	document.getElementById(imgName).setAttribute('src',newImgPath)
	if (which == "click") {
		document.getElementById(imgName).onmouseover = cancelEffects()
	}
	//alert("see image?");
}

function cancelEffects() {
	//do nothing
}
