Num = 0;	//　表示しているページ数
sfx = ".html";	//　スライドショーで表示する画像の拡張子

function next(n)
{
	Num += n;
	location.href = "catalog" + Num + sfx;
}

function catalog(n)
{
	Num = n;
	subWin = window.open("","sub","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=580,height=450")
	subWin.location.href = "catalog" + Num + sfx;
subWin.focus();
}

function change(){
var arrIMG = "0,1,2";
arrIMG = arrIMG.split(",");
n = Math.floor(Math.random()*arrIMG.length);
document.rdmIMG.src = "jpg/img_top_0" + n + ".jpg";
}

function whats_new()
{
	subWin = window.open("whats_new.html","new","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=450,height=450")
}

function privacy()
{
	subWin = window.open("../privacy.html","prv","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=450,height=500")
}
