
var pMasterDir = "libs/flashLibs/"

/**ウィンドのオープン処理*/
function fsOpenWin(xStr){
	var xOption = "resizable=no,scrollbars=no,menubar=no,directories=no,status=no,location=no,width=990,height=700";
	pTracerwin=window.open(xStr, "OrderCustmize",xOption);
	pTracerwin.focus();
}

function exTrace(xStr){
	//
}

/*----------------------------------------------------*/

/**オプションVersの設定*/
function addExVers(xTgObj){
	var xExArgs = getParamArgs();
	if(xExArgs){
		for (var i in xExArgs){
			xTgObj[i] = xExArgs[i];
		}
	}
	if(xTgObj["ext"] == "on"){
		pDebagMode = true;
	}
}

/*----------------------------------------------------*/

/**ページ閉じる*/
function exitContent(){
	window.close();
}

/*----------------------------------------------------*/


function fsLinkBanner(xCode){
	var xHref ="";
	switch(xCode){
		case "news":
			xHref = "news/"
			break;
		case "topics":
			xHref = "topics/"
			break;
		case "1":
			xHref = "rakuchu/index.html"
			break;
			break;
	}
	if(xHref != ""){
		window.location.href= xHref;
	}
}

function fsLinkFotter(xCode){
	var xHref ="";
	switch(xCode){
		case "00":
			xHref = "greeting/index.html"
			break;
		
		case "01":
			xHref = "about/index.html"
			break;
		case "01_01":
			xHref = "about/outline.html"
			break;
		case "01_02":
			xHref = "about/organize.html"
			break;
		case "01_03":
			xHref = "about/organize01.html"
			break;
		case "01_04":
			xHref = "about/organize02.html"
			break;
		case "01_05":
			xHref = "about/organize03.html"
			break;
		case "01_06":
			xHref = "about/organize04.html"
			break;
		case "01_07":
			xHref = "about/organize05.html"
			break;
		case "01_08":
			xHref = "about/organize06.html"
			break;
		case "01_09":
			xHref = "about/director.html"
			break;
		case "01_10":
			xHref = "about/member.html"
			break;
		case "01_11":
			xHref = "about/access.html"
			break;
		
		case "02":
			xHref = "report/index.html"
			break;
		case "02_01":
			xHref = "report/index.html#page01"
			break;
		case "02_02":
			xHref = "report/index.html#page02"
			break;
		case "02_03":
			xHref = "report/index.html#page03"
			break;
		case "02_04":
			xHref = "report/index.html#page04"
			break;

		case "03":
			xHref = "plan/index.html"
			break;
		case "03_01":
			xHref = "plan/report_h23.html"
			break;
		
		case "04":
			xHref = "rakuchu/index.html"
			break;
		case "04_01":
			xHref = "rakuchu/agency.html"
		case "04_02":
			xHref = "rakuchu/salon.html"
		case "04_03":
			xHref = "rakuchu/faq.html"

		case "05":
			xHref = "faq/index.html"
			break;
		case "05_01":
			xHref = "faq/02/index.html"
		case "05_02":
			xHref = "faq/01/index.html"
		case "05_03":
			xHref = "rakuchu/faq.html"
	}
	
	if(xHref != ""){
		window.location.href= xHref;
	}
}

