<!--
//画像のpreload
function Preload() {
	if (document.images) {
        this.length = Preload.arguments.length;
        for (var i = 0; i < this.length; i++) {
                this["B"+i+1] = new Image();
                this["B"+i+1].src = Preload.arguments[i];
        }
        }
}
if (document.images) {
var stuff = new Preload(
	"http://aerith.org/~tails/ffp/popurring/pring_bnr/prev_on.gif",
	"http://aerith.org/~tails/ffp/popurring/pring_bnr/rand_on.gif",
	"http://aerith.org/~tails/ffp/popurring/pring_bnr/home_on.gif",
	"http://aerith.org/~tails/ffp/popurring/pring_bnr/list_on.gif",
	"http://aerith.org/~tails/ffp/popurring/pring_bnr/next_on.gif")
}
//イメージオブジェクト
function onSelect(n) {
        if (document.images) {
                var src = document.images["B" + n].src;
                var off = src.lastIndexOf("off");
                if (off != -1) {
                        var newsrc = src.substring(0,off) + "on";
                        document.images["B" + n].src = newsrc + ".gif";
                }
        }
}
function offSelect(n) {
        if (document.images) {
                var src = document.images["B" + n].src;
                var on = src.lastIndexOf("on");
                if (on != -1) {
                        var newsrc = src.substring(0,on) + "off" + src.substring(on + 2, src.length);
                        document.images["B" + n].src = newsrc;
                }
        }
}

//-->
