/**
 * @author takase
 */

function ron(obj)
{
	var target = obj.getAttribute("src");
    if (target.search(/chg/i) != -1) {
		return;
        document.write("Match!!");
    }

	var img = target.replace(".png","_chg.png");
	obj.setAttribute("src",img);
}

function roff(obj)
{
	var target = obj.getAttribute("src");
	if (target.search(/chg/i) != -1) {
		obj.setAttribute("src", target.replace("_chg.png",".png"));
	}

}
