/*ムービー用javascript*/

function movieWin(wUrl){
	scWidthCenter=screen.availWidth / 2;
	scHeightCenter=screen.availHeight / 2;
	wOption=
"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=570,height=682,left=" + (scWidthCenter - (570 / 2)) + ",top=" + (scHeightCenter - (682 / 2));

	w=window.open(wUrl,"movie",wOption);
	w.focus();
}



/*ファンド・チャート用javascript*/

function chartWin(url) {
	window.open(url,'','width=773,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');
}



/*ラインナップ・この画面の見方用javascript*/

function lineuppop(){
	window.open("lineup_pop.html","lineuppop","resizable=yes,menubar=no,directories=no,status=no,location=no,scrollbars=yes,width=720,height=670");
}



/*オープン用javascript*/

function openWin(wUrl,wWidth,wHeight){
	scWidthCenter=screen.availWidth / 2;
	scHeightCenter=screen.availHeight / 2;
	wOption=
"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=" + wWidth + ",height=" + wHeight + ",left=" + (scWidthCenter - (wWidth / 2)) + ",top=" + (scHeightCenter - (wHeight / 2));


	w=window.open(wUrl,"popup",wOption);
	w.focus();
}


/*fund/シミュレーション用javascript*/

function popup(url){
	switch (url) {
	case "popup01.html":
			window.open( url ,"","width=630,height=480,scrollbars = yes");
			break;
	case "popup02.html":
			window.open( url ,"","width=630,height=480,scrollbars = yes");
			break;
	case "popup03.html":
			window.open( url ,"","width=490,height=480,scrollbars = yes");
			break;
	case "popup04.html":
			window.open( url ,"","width=4900,height=480,scrollbars = yes");
			break;
	case "popup05.html":
			window.open( url ,"","width=630,height=480,scrollbars = yes");
			break;
	case "popup06.html":
			window.open( url ,"","width=630,height=480,scrollbars = yes");
			break;
	case "plan01.html":
			window.open( url ,"","width=630,height=480,scrollbars = yes");
			break;
	case "plan02.html":
			window.open( url ,"","width=630,height=480,scrollbars = yes");
			break;
	case "plan03.html":
			window.open( url ,"","width=630,height=480,scrollbars = yes");
			break;
	case "plan04.html":
			window.open( url ,"","width=630,height=480,scrollbars = yes");
			break;
	case "plan05.html":
			window.open( url ,"","width=630,height=480,scrollbars = yes");
			break;
	}
}
