﻿function openNewWin(key){
	switch(key){
		case "モーニングスターカテゴリー":
			window.open('http://www.morningstar.co.jp/help/asp/bunrui.html','help','scrollbars=yes,resizable=yes,width=500,height=450');
			break;
		case "スターレーティング":
			window.open('http://www.morningstar.co.jp/help/asp/msrate.html','help','scrollbars=yes,resizable=yes,width=500,height=570');
			break;
		case "リスクメジャー":
			window.open('http://www.morningstar.co.jp/help/asp/r2.html','help','scrollbars=yes,resizable=yes,width=500,height=210');
			break;
		case "トータルリターン":
			window.open('http://www.morningstar.co.jp/help/asp/t2.html','help','scrollbars=yes,resizable=yes,width=500,height=210');
			break;
		case "%ランク":
			window.open('http://www.morningstar.co.jp/help/asp/p_rank.html','help','scrollbars=yes,resizable=yes,width=500,height=210');
			break;
		case "順位":
			window.open('http://www.morningstar.co.jp/help/asp/p_rank.html','help','scrollbars=yes,resizable=yes,width=500,height=210');
			break;
		case "累積収益率グラフの見方":
			window.open('http://www.morningstar.co.jp/help/asp/rui_g.html','help','scrollbars=yes,resizable=yes,width=500,height=250');
			break;
		case "期間収益率グラフの見方":
			window.open('http://www.morningstar.co.jp/help/asp/kikan_g.html','help','scrollbars=yes,resizable=yes,width=500,height=230');
			break;
		case "インデックス":
			window.open('http://www.morningstar.co.jp/help/asp/mix_kcz.html','help','scrollbars=yes,resizable=yes,width=500,height=350');
			break;
		case "チャートの見方":
			window.open('http://www.morningstar.co.jp/help/asp/fc1.html','help','scrollbars=yes,resizable=yes,width=640,height=800');
			break;
		default:
			break;
	}
}