/****************************************************************************/
/* プロジェクト名：(株)トマトホームページリニューアル                       */
/* 作成者             修正日              詳細                          　　*/
/* Lee．HongJun       2010/03/23          チャート機能を定義                */
/****************************************************************************/

function informationchart2()
{	
	document.getElementById("chartdiv").style.display = "none"; 
	document.getElementById("chartdiv1").style.display = "none"; 
	document.getElementById("chartdiv2").style.display = "none"; 
	document.getElementById("chartdiv3").style.display = "none"; 
	document.getElementById("chartdiv").style.display = "inline"; 

	document.getElementById("chartdiv").style.top="226";
	document.getElementById("chartdiv").style.left="300";
	document.getElementById("chartdiv").style.width="300";
	document.getElementById("chartdiv").style.height="200";
	
	var chart = new FusionCharts("./Chart/Charts/FCF_MSColumn2D.swf", "ChartId", "400", "340");	
	chart.setDataURL("./Chart/Gallery/Data/InformationChart_2.xml");	
	chart.render("chartdiv");
	
} 
function organizationchart2()
{	
	document.getElementById("chartdiv").style.display = "none"; 
	document.getElementById("chartdiv1").style.display = "none"; 
	document.getElementById("chartdiv2").style.display = "none"; 
	document.getElementById("chartdiv3").style.display = "none"; 

	document.getElementById("chartdiv").style.display = "inline"; 
	document.getElementById("chartdiv").style.top="235";
	document.getElementById("chartdiv").style.left="465";
	document.getElementById("chartdiv").style.width="150";
	document.getElementById("chartdiv").style.height="100";
	
	var chart = new FusionCharts("./Chart/Charts/FCF_StackedColumn2D.swf", "ChartId", "235", "315");	
	chart.setDataURL("./Chart/Gallery/Data/OrganizationChart_2.xml");	
	chart.render("chartdiv");
	
} 
function certificationchart3(){
	
	document.getElementById("chartdiv").style.display = "none"; 
	document.getElementById("chartdiv1").style.display = "none"; 
	document.getElementById("chartdiv2").style.display = "none"; 
	document.getElementById("chartdiv3").style.display = "none"; 

	document.getElementById("chartdiv").style.display = "inline"; 
	document.getElementById("chartdiv").style.top="226";
	document.getElementById("chartdiv").style.left="240";
	document.getElementById("chartdiv").style.width="280";
	document.getElementById("chartdiv").style.height="390";
	
	var chart = new FusionCharts("./Chart/Charts/FCF_Bar2D.swf", "ChartId", "290", "280");	
	chart.setDataURL("./Chart/Gallery/Data/CertificationChart_3_1.xml");	
	chart.render("chartdiv");

	document.getElementById("chartdiv1").style.display = "inline"; 
	document.getElementById("chartdiv1").style.top="226";
	document.getElementById("chartdiv1").style.left="515";
	document.getElementById("chartdiv1").style.width="230";
	document.getElementById("chartdiv1").style.height="170";
	
	var chart1 = new FusionCharts("./Chart/Charts/FCF_Column2D.swf", "ChartId1", "225", "150");	
	chart1.setDataURL("./Chart/Gallery/Data/CertificationChart_3_2.xml");	
	chart1.render("chartdiv1");

	document.getElementById("chartdiv2").style.display = "inline"; 
	document.getElementById("chartdiv2").style.top="361";
	document.getElementById("chartdiv2").style.left="515";
	document.getElementById("chartdiv2").style.width="230";
	document.getElementById("chartdiv2").style.height="170";
	
	var chart1 = new FusionCharts("./Chart/Charts/FCF_Column2D.swf", "ChartId2", "225", "140");	
	chart1.setDataURL("./Chart/Gallery/Data/CertificationChart_3_3.xml");	
	chart1.render("chartdiv2");
}
function certificationchart2(){
	
	document.getElementById("chartdiv").style.display = "none"; 
	document.getElementById("chartdiv1").style.display = "none"; 
	document.getElementById("chartdiv2").style.display = "none"; 
	document.getElementById("chartdiv3").style.display = "none"; 

	document.getElementById("chartdiv").style.display = "inline"; 
	document.getElementById("chartdiv").style.top="226";
	document.getElementById("chartdiv").style.left="241";
	document.getElementById("chartdiv").style.width="280";
	document.getElementById("chartdiv").style.height="390";
	
	var chart = new FusionCharts("./Chart/Charts/FCF_Bar2D.swf", "ChartId", "298", "280");	
	chart.setDataURL("./Chart/Gallery/Data/CertificationChart_2_1.xml");	
	chart.render("chartdiv");

	document.getElementById("chartdiv1").style.display = "inline"; 
	document.getElementById("chartdiv1").style.top="226";
	document.getElementById("chartdiv1").style.left="516";
	document.getElementById("chartdiv1").style.width="230";
	document.getElementById("chartdiv1").style.height="170";
	
	var chart1 = new FusionCharts("./Chart/Charts/FCF_Column2D.swf", "ChartId1", "225", "150");	
	chart1.setDataURL("./Chart/Gallery/Data/CertificationChart_2_2.xml");	
	chart1.render("chartdiv1");

	document.getElementById("chartdiv2").style.display = "inline"; 
	document.getElementById("chartdiv2").style.top="361";
	document.getElementById("chartdiv2").style.left="516";
	document.getElementById("chartdiv2").style.width="230";
	document.getElementById("chartdiv2").style.height="170";
	
	var chart1 = new FusionCharts("./Chart/Charts/FCF_Column2D.swf", "ChartId2", "225", "140");	
	chart1.setDataURL("./Chart/Gallery/Data/CertificationChart_2_3.xml");	
	chart1.render("chartdiv2");
}
function processchart2(){
	
	document.getElementById("chartdiv").style.display = "none"; 
	document.getElementById("chartdiv1").style.display = "none"; 
	document.getElementById("chartdiv2").style.display = "none"; 
	document.getElementById("chartdiv3").style.display = "none"; 

	document.getElementById("chartdiv").style.display = "inline"; 
	document.getElementById("chartdiv").style.top="226";
	document.getElementById("chartdiv").style.left="450";
	document.getElementById("chartdiv").style.width="160";
	document.getElementById("chartdiv").style.height="160";

	var chart = new FusionCharts("./Chart/Charts/FCF_Doughnut2D.swf", "ChartId", "280", "280");	
	chart.setDataURL("./Chart/Gallery/Data/ProcessChart_2.xml");	
	chart.render("chartdiv");
}

function processchart3(){
	
	document.getElementById("chartdiv").style.display = "none"; 
	document.getElementById("chartdiv1").style.display = "none"; 
	document.getElementById("chartdiv2").style.display = "none"; 
	document.getElementById("chartdiv3").style.display = "none"; 

	document.getElementById("chartdiv").style.display = "inline"; 
	document.getElementById("chartdiv").style.top="228";
	document.getElementById("chartdiv").style.left="470";
	document.getElementById("chartdiv").style.width="300";
	document.getElementById("chartdiv").style.height="200";

	var chart = new FusionCharts("./Chart/Charts/FCF_Bar2D.swf", "ChartId", "280", "300");	
	chart.setDataURL("./Chart/Gallery/Data/ProcessChart_3.xml");	
	chart.render("chartdiv"); 
}

function businesssupportchart1_4_1(){
	
	document.getElementById("chartdiv").style.display = "none"; 
	document.getElementById("chartdiv1").style.display = "none"; 
	document.getElementById("chartdiv2").style.display = "none"; 
	document.getElementById("chartdiv3").style.display = "none"; 

	document.getElementById("chartdiv").style.display = "inline"; 
	document.getElementById("chartdiv").style.top="226";
	document.getElementById("chartdiv").style.left="450";
	document.getElementById("chartdiv").style.width="280";
	document.getElementById("chartdiv").style.height="390";
	
	var chart = new FusionCharts("./Chart/Charts/FCF_Bar2D.swf", "ChartId", "270", "320");	
	chart.setDataURL("./Chart/Gallery/Data/BusinessSupportChart_1_4_1.xml");
	chart.render("chartdiv");
}

function businesssupportchart1_4_2(){

	document.getElementById("chartdiv").style.display = "none"; 
	document.getElementById("chartdiv1").style.display = "none"; 
	document.getElementById("chartdiv2").style.display = "none"; 
	document.getElementById("chartdiv3").style.display = "none"; 

	document.getElementById("chartdiv").style.display = "inline"; 
	document.getElementById("chartdiv").style.top="226";
	document.getElementById("chartdiv").style.left="450";
	document.getElementById("chartdiv").style.width="280";
	document.getElementById("chartdiv").style.height="390";
	
	var chart1 = new FusionCharts("./Chart/Charts/FCF_Bar2D.swf", "ChartId1", "270", "190");	
	chart1.setDataURL("./Chart/Gallery/Data/BusinessSupportChart_1_4_2.xml");	
	chart1.render("chartdiv");
}
    
function businesssupportchart1_4_3(){

	document.getElementById("chartdiv").style.display = "none"; 
	document.getElementById("chartdiv1").style.display = "none"; 
	document.getElementById("chartdiv2").style.display = "none"; 
	document.getElementById("chartdiv3").style.display = "none"; 

	document.getElementById("chartdiv").style.display = "inline"; 
	document.getElementById("chartdiv").style.top="226";
	document.getElementById("chartdiv").style.left="450";
	document.getElementById("chartdiv").style.width="280";
	document.getElementById("chartdiv").style.height="390";

	var chart1 = new FusionCharts("./Chart/Charts/FCF_Bar2D.swf", "ChartId2", "270", "190");	
	chart1.setDataURL("./Chart/Gallery/Data/BusinessSupportChart_1_4_3.xml"	);
	chart1.render("chartdiv");
}

function flashevent(){
	document.getElementById("chartdiv").style.display = "none"; 
	document.getElementById("chartdiv1").style.display = "none"; 
	document.getElementById("chartdiv2").style.display = "none"; 
	document.getElementById("chartdiv3").style.display = "none"; 
}
