var pathn = location.pathname;
var kaisou = pathn.split("/");
var imgfile;
if(kaisou[1] == "" || kaisou[1] == "index.html")
	imgfile = "gnaviTop";
else if(kaisou[2] == "basemake_makedata.html")
{
	imgfile = "xxx";
}
else if(kaisou[1] == "item")
{
	if(kaisou[2].match("basemake"))
		imgfile = "gnaviBasemake";
	else
		imgfile = "gnaviPointmake";
}
else
	imgfile = "gnavi"+kaisou[1];

imgfile = new RegExp(imgfile,"i");
$("#gnavi img").each(function()
{
	if($(this).attr("src").match(imgfile))
		$(this).attr("src", $(this).attr("src").replace("_default.", "_current."));
});


