﻿function chageSearchJob()
{
	nValue = document.getElementById('sWorkType_search').value+'';
	objTag	= document.getElementById('sWorkTypeDetail_search');
	
	objTag.options.length   =   0;
	
	var ss = document.createElement("option");
	ss.value = '';
	ss.text= '不拘';;
	
	objTag.add(ss);
	
	for (i=0;i<aJobList.length;i++)
	{
		if (nValue==aJobList[i][2])
		{
		  var ss = document.createElement("option");
		  ss.value = aJobList[i][0];
		  ss.text= aJobList[i][1];
		  objTag.add(ss);
		 // ss.selected=true;
		}

	}	

}
function selectJob2(selValue)
{
	objTag	= document.getElementById('sWorkTypeDetail_search');

	for (i=0;i<objTag.length;i++)
	{
		if (objTag[i].value==selValue)
		{
			objTag[i].selected=true;
			return ;
		}
	}
}
function selectJob(selValue)
{


	objTag	= document.getElementById('sWorkTypeDetail_search');
	alert(objTag);
	for (i=0;i<objTag.length;i++)
	{
		if (objTag[i].value==selValue)
		{
			objTag[i].selected=true;
			return ;
		}
	}

}



