<!--
function openWinSN(wUrl,wName){

	// Flash Ver 8のチェックを行う
	// この設定はjs/GlobalsSetting.jsに記述
	var hasReqestedVersion = DetectFlashVer(8, 0, 0);
	if ( hasReqestedVersion ) {
		
	wOption = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes";
	
	window.open(wUrl,wName,wOption);	
	
	}
	else{
		var pathArr=location.pathname.split('/');
		pathArr.shift();
		var okDirArr=new Array('campaign', 'history', 'news', 'products', 'special', 'tvcm', 'worldlink');
		var relativePath='';
		for(var i=0;i<okDirArr.length;i++){
			if(okDirArr[i] == pathArr[pathArr.length-2]){
				relativePath='../';
				break;
			}
		}
		window.location=relativePath+'special/flashInstall.html';
	}
}

function openWin(wUrl,wName,wWidth,wHeight,wResize,wCenter,wScroll){

	// Flash Ver 8のチェックを行う
	// この設定はjs/GlobalsSetting.jsに記述
	var hasReqestedVersion = DetectFlashVer(8, 0, 0);
	if ( hasReqestedVersion ) {
		openSpecialContentsWin(wUrl,wName,wWidth,wHeight,wResize,wCenter,wScroll);
	}
	else{
		var pathArr=location.pathname.split('/');
		pathArr.shift();
		var okDirArr=new Array('campaign', 'history', 'news', 'products', 'special', 'tvcm', 'worldlink');
		var relativePath='';
		for(var i=0;i<okDirArr.length;i++){
			if(okDirArr[i] == pathArr[pathArr.length-2]){
				relativePath='../';
				break;
			}
		}
		window.location=relativePath+'special/flashInstall.html';
	}
}

function openWin7(wUrl,wName,wWidth,wHeight,wResize,wCenter,wScroll){
	// Flash Ver 8のチェックを行う
	// この設定はjs/GlobalsSetting.jsに記述
	var hasReqestedVersion = DetectFlashVer(7, 0, 0);
	
	if ( hasReqestedVersion ) {
		openSpecialContentsWin(wUrl,wName,wWidth,wHeight,wResize,wCenter,wScroll);
	}
	else{
		var pathArr=location.pathname.split('/');
		pathArr.shift();
		var okDirArr=new Array('campaign', 'history', 'news', 'products', 'special', 'tvcm', 'worldlink');
		var relativePath='';
		for(var i=0;i<okDirArr.length;i++){
			if(okDirArr[i] == pathArr[pathArr.length-2]){
				relativePath='../';
				break;
			}
		}
		window.location=relativePath+'special/flashInstall.html';
	}
}

function openSpecialContentsWin(wUrl,wName,wWidth,wHeight,wResize,wCenter,wScroll){
	if ( document.all || document.layers || document.getElementById ){
		scWidthCenter = screen.availWidth / 2;
		scHeightCenter = screen.availHeight / 2;
	}
	else {
		wCenter = 0;	
	}	
	if ( wCenter == 1 ){
		wOption = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=" + wScroll + ",resizable=" + wResize + ",width=" + wWidth + ",height=" + wHeight + ",left=" + (scWidthCenter - (wWidth / 2)) + ",top=" + (scHeightCenter - (wHeight / 2));
	}
	else {
		wOption = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=" + wScroll + ",resizable=" + wResize + ",width=" + wWidth + ",height=" + wHeight;
	}
	window.open(wUrl,wName,wOption);
}



// -->
