<!--
	// #### Skill Start ####	
	function GetSkillHtml(param) 
	{
		// BR60SIR2932	2007/12/19	Yuichiro Mori　Start
		Intelligence.News.Front.Common.View.MPENPopupControl.IsSessionState();
		// BR60SIR2932	2007/12/19	Yuichiro Mori　End
		ClearDisplay('ADDITONAL_SKILL_PANEL');
		Intelligence.News.Front.Common.View.MPENPopupControl.CreateSkillSession();
		Intelligence.News.Front.Common.View.MPENPopupControl.GetSkillMHtml(SkillSelect_CallBack);
	}
	
	function GetSkillHtmlByM(param) 
	{
		// 選択された中分類コードを保存
		document.getElementById('SKILLM_VALUE').value = param;
		ClearDisplay('ADDITONAL_SKILL_PANEL');
		Intelligence.News.Front.Common.View.MPENPopupControl.GetSkillHtml(SkillMSelect_CallBack);
	}
	
	function AddSkill() 
	{
		var skillselect = CommonCheckTrueRegister('sk');
		var skilldelete = CommonCheckFalseRegister('sk');
		Intelligence.News.Front.Common.View.MPENPopupControl.AddSkill(skillselect, skilldelete, SkillAdd_CallBack);		
	}

	function SkillSelect_CallBack(response) 
	{
		var helper = new AjaxHelper(SkillSelectRenderingStrategy, "");
		helper.handleResponse(response);
	}
	function SkillMSelect_CallBack(response) 
	{
		var helper = new AjaxHelper(SkillSelectRenderingStrategy, "");
		helper.handleResponse(response);

		// 中分類のアンカーリンクへ
		location.href = "#" + document.getElementById('SKILLM_VALUE').value;
	}	
	function SkillAdd_CallBack(response) 
	{
		var helper = new AjaxHelper(SkillAddRenderingStrategy, "");
		helper.handleResponse(response);
	}	
	function SkillSelectRenderingStrategy(response) 
	{
		$('ADDITONAL_SKILL_PANEL').show();
		$('ADDITONAL_SKILL_PANEL').innerHTML = response.value;
	}
	
	function SkillAddRenderingStrategy(response) 
	{
		$('ADDITONAL_SKILL_PANEL').hide();
		$('ADDITONAL_SKILL_PANEL').innerHTML = '';
		document.getElementById('lBLSKILL_PANEL').innerHTML = response.value;
		if(document.getElementById('lBLSKILL_PANEL').innerHTML == "")
		{
			document.getElementById('lNINITSKILL_PANEL').style.display = "inline";
			document.getElementById('lNADDSKILL_PANEL').style.display = "none";
		}
		else
		{
			document.getElementById('lNINITSKILL_PANEL').style.display = "none";
			document.getElementById('lNADDSKILL_PANEL').style.display = "inline";
		}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano Start
		//if (document.getElementById('DDLAGE_PANEL') != null)
		//{
		//	document.getElementById('DDLAGE_PANEL').style.display = "block";
		//}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano End
	}

	function CloseSkillConditionPanel()
	{	
		Intelligence.News.Front.Common.View.MPENPopupControl.CloseSkill();
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano Start
		//if (document.getElementById('DDLAGE_PANEL') != null)
		//{
		//	document.getElementById('DDLAGE_PANEL').style.display = "block";
		//}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano End
		$('ADDITONAL_SKILL_PANEL').innerHTML = '';
		$('ADDITONAL_SKILL_PANEL').hide();
	}
	// #### Skill End ####	
	
	// #### Area Start ####	
	function GetAreaHtml() 
	{
		// BR60SIR2932	2007/12/19	Yuichiro Mori　Start
		Intelligence.News.Front.Common.View.MPENPopupControl.IsSessionState();
		// BR60SIR2932	2007/12/19	Yuichiro Mori　End
		ClearDisplay('ADDITONAL_AREA_PANEL');
		Intelligence.News.Front.Common.View.MPENPopupControl.CreateAreaSession();
		Intelligence.News.Front.Common.View.MPENPopupControl.GetAreaHtml(AreaSelect_CallBack);
	}
	
	function AddArea() 
	{
		var ars = CommonCheckTrueRegister('ar');
		var ard = CommonCheckFalseRegister('ar');
		var prs = CommonCheckTrueRegister('pr');
		var prd = CommonCheckFalseRegister('pr');
		Intelligence.News.Front.Common.View.MPENPopupControl.AddArea(ars, ard, prs, prd, AreaAdd_CallBack);		
	}
	
	function AreaSelect_CallBack(response) 
	{
		var helper = new AjaxHelper(AreaSelectRenderingStrategy, "");
		helper.handleResponse(response);
	}
	
	function AreaAdd_CallBack(response) 
	{
		var helper = new AjaxHelper(AreaAddRenderingStrategy, "");
		helper.handleResponse(response);
	}

	function AreaSelectRenderingStrategy(response) 
	{
		$('ADDITONAL_AREA_PANEL').show();
		$('ADDITONAL_AREA_PANEL').innerHTML = response.value;
	}
	
	function AreaAddRenderingStrategy(response) 
	{
		$('ADDITONAL_AREA_PANEL').hide();
		$('ADDITONAL_AREA_PANEL').innerHTML = '';
		document.getElementById('lBLAREA_PANEL').innerHTML = response.value;
		if(document.getElementById('lBLAREA_PANEL').innerHTML == "")
		{
			document.getElementById('lNINITAREA_PANEL').style.display = "inline";
			document.getElementById('lNADDAREA_PANEL').style.display = "none";
		}
		else
		{
			document.getElementById('lNINITAREA_PANEL').style.display = "none";
			document.getElementById('lNADDAREA_PANEL').style.display = "inline";
		}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano Start
		//if (document.getElementById('DDLAGE_PANEL') != null)
		//{
		//	document.getElementById('DDLAGE_PANEL').style.display = "block";
		//}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano End
	}

	function CloseArConditionPanel()
	{	
		Intelligence.News.Front.Common.View.MPENPopupControl.CloseArea();
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano Start
		//if (document.getElementById('DDLAGE_PANEL') != null)
		//{
		//	document.getElementById('DDLAGE_PANEL').style.display = "block";
		//}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano End
		$('ADDITONAL_AREA_PANEL').innerHTML = '';
		$('ADDITONAL_AREA_PANEL').hide();
	}

	// #### Area End ####


	// #### Occupation Start ####	

	function GetOccupationHtml() 
	{
		// BR60SIR2932	2007/12/19	Yuichiro Mori　Start
		Intelligence.News.Front.Common.View.MPENPopupControl.IsSessionState();
		// BR60SIR2932	2007/12/19	Yuichiro Mori　End
		ClearDisplay('ADDITONAL_OCCUPATION_PANEL');
		Intelligence.News.Front.Common.View.MPENPopupControl.CreateOccupationSession();
		Intelligence.News.Front.Common.View.MPENPopupControl.GetOccupationHtml(OcSelect_CallBack);
	}
	
	function GetHtmlByM(param) 
	{
		document.getElementById('OCCUPATION_PARAM').value = param;
		ClearDisplay('ADDITONAL_OCCUPATION_PANEL');
		Intelligence.News.Front.Common.View.MPENPopupControl.GetOccupationForLayerHtml(param, OcSelect_CallBack);
	}
	
	function AddOc() 
	{
		var ocs = CommonCheckTrueRegister('oc');
		var ocd = CommonCheckFalseRegister('oc');
		Intelligence.News.Front.Common.View.MPENPopupControl.AddOccupation(ocs, ocd, OcAdd_CallBack);		
	}
		
	function OcSelect_CallBack(response)
	{
		var helper = new AjaxHelper(OcSelectRenderingStrategy, "");
		helper.handleResponse(response);
	}
	
	function OcAdd_CallBack(response) 
	{
		var helper = new AjaxHelper(OcAddRenderingStrategy, "");
		helper.handleResponse(response);
	}
		
	function OcSelectRenderingStrategy(response) 
	{
		$('ADDITONAL_OCCUPATION_PANEL').show();
		$('ADDITONAL_OCCUPATION_PANEL').innerHTML = response.value;
		location.href = "#" + document.getElementById('OCCUPATION_PARAM').value;
	}
		
	function OcAddRenderingStrategy(response) 
	{
		$('ADDITONAL_OCCUPATION_PANEL').hide();
		$('ADDITONAL_OCCUPATION_PANEL').innerHTML = '';
		document.getElementById('lBLOCCUPATION_PANEL').innerHTML = response.value;
		if(document.getElementById('lBLOCCUPATION_PANEL').innerHTML == "")
		{
			document.getElementById('lNINITOC_PANEL').style.display = "inline";
			document.getElementById('lNADDOC_PANEL').style.display = "none";
		}
		else
		{
			document.getElementById('lNINITOC_PANEL').style.display = "none";
			document.getElementById('lNADDOC_PANEL').style.display = "inline";
		}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano Start
		//if (document.getElementById('DDLAGE_PANEL') != null)
		//{
		//	document.getElementById('DDLAGE_PANEL').style.display = "block";
		//}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano End
	}
	
	function CloseOcConditionPanel()
	{	
		Intelligence.News.Front.Common.View.MPENPopupControl.CloseOccupation();	
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano Start
		//if (document.getElementById('DDLAGE_PANEL') != null)
		//{
		//	document.getElementById('DDLAGE_PANEL').style.display = "block";
		//}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano End
		$('ADDITONAL_OCCUPATION_PANEL').innerHTML = '';
		$('ADDITONAL_OCCUPATION_PANEL').hide();
	}
	
	// #### Occupation End ####	


	// #### Industry Start ####	
	
	function GetIndustryHtml() 
	{
		// BR60SIR2932	2007/12/19	Yuichiro Mori　Start
		Intelligence.News.Front.Common.View.MPENPopupControl.IsSessionState();
		// BR60SIR2932	2007/12/19	Yuichiro Mori　End
		ClearDisplay('ADDITONAL_INDUSTRY_PANEL');
		Intelligence.News.Front.Common.View.MPENPopupControl.CreateIndustrySession();
		Intelligence.News.Front.Common.View.MPENPopupControl.GetIndustryHtml(IndSelect_CallBack);
	}
	
	function AddIndustry() 
	{
		var ins = CommonCheckTrueRegister('in');
		var ind = CommonCheckFalseRegister('in');
		Intelligence.News.Front.Common.View.MPENPopupControl.AddIndustry(ins, ind, IndAdd_CallBack);		
	}
	
	function IndSelect_CallBack(response) 
	{
		var helper = new AjaxHelper(IndSelectRenderingStrategy, "");
		helper.handleResponse(response);
	}
	
	function IndAdd_CallBack(response) 
	{
		var helper = new AjaxHelper(IndAddRenderingStrategy, "");
		helper.handleResponse(response);
	}
	
	function IndSelectRenderingStrategy(response) 
	{
		$('ADDITONAL_INDUSTRY_PANEL').show();
		$('ADDITONAL_INDUSTRY_PANEL').innerHTML = response.value;
	}
	
	
	function IndAddRenderingStrategy(response) 
	{
		$('ADDITONAL_INDUSTRY_PANEL').hide();
		$('ADDITONAL_INDUSTRY_PANEL').innerHTML = '';
		document.getElementById('lBLINDUSTRY_PANEL').innerHTML = response.value;
		if(document.getElementById('lBLINDUSTRY_PANEL').innerHTML == "")
		{
			document.getElementById('lNINITIND_PANEL').style.display = "inline";
			document.getElementById('lNADDIND_PANEL').style.display = "none";
		}
		else
		{
			document.getElementById('lNINITIND_PANEL').style.display = "none";
			document.getElementById('lNADDIND_PANEL').style.display = "inline";
		}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano Start
		//if (document.getElementById('DDLAGE_PANEL') != null)
		//{
		//	document.getElementById('DDLAGE_PANEL').style.display = "block";
		//}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano End
	}
	
	function CloseIndConditionPanel()
	{
		Intelligence.News.Front.Common.View.MPENPopupControl.CloseIndustry();	
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano Start
		//if (document.getElementById('DDLAGE_PANEL') != null)
		//{
		//	document.getElementById('DDLAGE_PANEL').style.display = "block";
		//}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano End
		$('ADDITONAL_INDUSTRY_PANEL').innerHTML = '';
		$('ADDITONAL_INDUSTRY_PANEL').hide();
	}
	
	// #### Industry End ####	


	// #### 共通関数 ####
		
	// 指定されたID以外のオブジェクトを消す
	function ClearDisplay(pExceptId)
	{
		if (pExceptId != "ADDITONAL_OCCUPATION_PANEL" && document.getElementById('ADDITONAL_OCCUPATION_PANEL') != null)
		{
			document.getElementById('ADDITONAL_OCCUPATION_PANEL').style.display = "none";
		}
		if (pExceptId != "ADDITONAL_AREA_PANEL" && document.getElementById('ADDITONAL_AREA_PANEL') != null)
		{
			document.getElementById('ADDITONAL_AREA_PANEL').style.display = "none";
		}
		if (pExceptId != "ADDITONAL_INDUSTRY_PANEL" && document.getElementById('ADDITONAL_INDUSTRY_PANEL') != null)
		{
			document.getElementById('ADDITONAL_INDUSTRY_PANEL').style.display = "none";
		}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano Start
		//if (pExceptId != "DDLAGE_PANEL" && document.getElementById('DDLAGE_PANEL') != null)
		//{
		//	document.getElementById('DDLAGE_PANEL').style.display = "none";
		//}
		// BLIVSIR5366 DELETE 2008/03/27 Tetsuya Shimano End
		if (pExceptId != "ADDITONAL_SKILL_PANEL" && document.getElementById('ADDITONAL_SKILL_PANEL') != null)
		{
			document.getElementById('ADDITONAL_SKILL_PANEL').style.display = "none";
		}
	}

	// #### 共通関数 ####

-->
