/*------------------------------------------------------------------*/
/* 関数名                                                           */
/*   countrySite                                                    */
/*                                                                  */
/* 機能                                                             */
/*   引数で指定されたエリアのリンク先にジャンプする                 */
/*                                                                  */
/* 引数                                                             */
/*   1. division(日本語ページ/英語ページ)                           */
/*       j : 日本語                                                 */
/*       e : 英語                                                   */
/*   2. subscription(購読種別)                                      */
/*       o : 海外での購読                                           */
/*       s : サンプル                                               */
/*   3. area(国)                                                    */
/*       eu : Europe                                                */
/*       af : Africa                                                */
/*       oc : Oceania                                               */
/*       na : North America                                         */
/*       sa : South America                                         */
/*       ai : Asia(Indonesia...)                                    */
/*       ah : Asia(HongKong...)                                     */
/*       as : Asia(SouthKorea...)                                   */
/*------------------------------------------------------------------*/
function countrySite( division, subscription, area ) {
	var joAry = new Array();
	var jsAry = new Array();
	var eoAry = new Array();
	var esAry = new Array();

	// 日本語ページ 海外での購読
	joAry["eu"] = 'https://www.nikkeieu.com/nikkeiEU_b/j/weekly/form_new.asp';
	joAry["af"] = 'https://www.nikkeieu.com/nikkeiEU_b/j/weekly/form_new.asp';
	joAry["oc"] = 'https://www.nikkei.asia/j-application.php?from=3';
	joAry["na"] = 'https://www.nikkeius.com/htm/order/info2_o.html';
	joAry["sa"] = 'https://www.nikkeius.com/htm/order/info2_o.html';
	joAry["ai"] = 'https://www.nikkei.asia/j-application.php?from=3';
	joAry["ah"] = 'https://www.nikkei.asia/j-application.php?from=3';
	joAry["as"] = '/sb/j_index/sub_e.cgi?c=0VVV0N0';

	// 日本語ページ サンプル
	jsAry["eu"] = 'https://www.nikkeieu.com/nikkeiEU_b/j/weekly/form_trial.asp';
	jsAry["af"] = 'https://www.nikkeieu.com/nikkeiEU_b/j/weekly/form_trial.asp';
	jsAry["oc"] = 'https://www.nikkei.asia/j-weekly-trial.php';
	jsAry["na"] = 'https://www.nikkeius.com/htm/order/cam5_o.html';
	jsAry["sa"] = 'http://www.nikkeius.com/htm/weeklyguide.html';
	jsAry["ai"] = 'https://www.nikkei.asia/j-weekly-trial.php';
	jsAry["ah"] = 'https://www.nikkei.asia/j-weekly-trial.php';
	jsAry["as"] = '/sb/j_index/sample.cgi?c=0VVV0N0';

	// 英語ページ 海外での購読
	eoAry["eu"] = 'https://www.nikkeieu.com/nikkeiEU_b/e/weekly/form_new.asp';
	eoAry["af"] = 'https://www.nikkeieu.com/nikkeiEU_b/e/weekly/form_new.asp';
	eoAry["oc"] = 'https://www.nikkei.asia/e-application.php?from=3';
	eoAry["na"] = 'https://www.nikkeius.com/htm/order/tnw_21.html';
	eoAry["sa"] = 'https://www.nikkeius.com/htm/order/tnw_21.html';
	eoAry["ai"] = 'https://www.nikkei.asia/e-application.php?from=3';
	eoAry["ah"] = 'https://www.nikkei.asia/e-application.php?from=3';
	eoAry["as"] = '/sb/e_index/sub_e.cgi?c=0VVV0N0';


	// 英語ページ サンプル
	
	esAry["eu"] = 'https://www.nikkeieu.com/nikkeiEU_b/e/weekly/form_free.asp';
	esAry["af"] = 'https://www.nikkeieu.com/nikkeiEU_b/e/weekly/form_free.asp';
	esAry["oc"] = 'https://www.nikkei.asia/e-weekly-trial.php';
	esAry["na"] = 'https://www.nikkeius.com/htm/order/tnw_21.html';
	esAry["sa"] = 'https://www.nikkeius.com/htm/order/tnw_21.html';
	esAry["ai"] = 'https://www.nikkei.asia/e-weekly-trial.php';
	esAry["ah"] = 'https://www.nikkei.asia/e-weekly-trial.php';
	esAry["as"] = '/sb/e_index/sample.cgi?c=0VVV0N0';
	

	// 関数実行
	var funcName = 'win1 = window.open( ' + division + subscription + 'Ary[area], "newwin1" , "" )';
	eval( funcName );
}