function WinColor()
{
	window.open("http://www.teacup.com/zmgr/?p=z9500","color_sample","scrollbars=yes,resizable=yes,width=520,height=320");
}

function WinKiyaku()
{
	window.open("http://www.teacup.com/kiyaku/kiyaku.shtml","kiyaku","scrollbars=yes,resizable=yes,width=580,height=380");
}

function WinPrivacy()
{
	window.open("http://www.teacup.com/kiyaku/pp.shtml","privacy","scrollbars=yes,resizable=yes,width=520,height=320");
}

function WinGroup()
{
	window.open("http://www.teacup.com/kiyaku/group.shtml","group","scrollbars=yes,resizable=yes,width=520,height=320");
}

function WinLinkcolor()
{
	window.open("http://www.teacup.com/help/linkcolor.shtml","linkcolor","scrollbars=yes,resizable=yes,width=520,height=320");
}

function WinFrame()
{
	window.open("http://www.teacup.com/help/frame.shtml","frame","scrollbars=yes,resizable=yes,width=520,height=320");
}

function WinUserID()
{
	window.open("http://www.teacup.com/help/userid.shtml","userid","scrollbars=yes,resizable=yes,width=520,height=320");
}

function WinSupport()
{
	window.open("http://www.teacup.com/help/support_index.shtml","support","scrollbars=yes,resizable=yes,width=700,height=600");
}

function Jump()
{
	var func, url;

	with (document.seljump) {
		var str = list.options[list.selectedIndex].value;
		func = str.charAt(0);
		url  = str.substring(2);
	}

	switch (func) {
	case '0':	// フレーム内リンク
		if (window.top.main)
			window.top.main.location.href = url;
		else
			window.location.href = url;
		break;
	case '1':	// フレーム解除
		window.top.location.href = url;
		break;
	case '2':	// ポップアップウィンドウ
		window.open(url, '_blank', 'scrollbars=yes,resizable=yes,width=580,height=380');
		break;
	case '3':	// ポップアップウィンドウ指定なし
		window.open(url);
		break;
	}
}

function ShopKiyaku()
{
	window.open("http://shop.teacup.com/ja/rule.shtml","shopkiyaku","scrollbars=yes,resizable=yes,width=580,height=380");
}

function PopupWindow(uri,size_1,size_2)
{
	var x,y;
	x = "width="+size_1+",";
	y = "height="+size_2;
	window.open(uri,"_blank","scrollbars=yes,resizable=yes,"+x+y);
}
