function getParSelect(fatherName,sonName)
{
	selectName=sonName;
	FBMMC = fatherName.options[fatherName.selectedIndex].value;
	m_url = "datashow.asp?code="+FBMMC.split('||')[0]+"&url="+FBMMC.split('||')[1];
	//alert(m_url);
	replaceSelect(selectName,m_url);

}
function getSonSelect(sonName,code,TextValue)
{
	//alert(code);
	//alert(TextValue);
	selectName=sonName;
	m_url = "datashow.asp?code="+code+"&ocode="+TextValue;
	replaceSelect(selectName,m_url);

}
function loadContent(strURL)
{
	var strContent = "";
	if (typeof strURL != "string" || strURL == "")return strContent;
	try
	{
		var oProxy = new ActiveXObject("Microsoft.XMLHTTP");

		oProxy["Open"]("GET", strURL, false);
		oProxy["Send"]();
		strContent = oProxy["responseText"];
	}
	catch(e){status = e.description}
	return strContent;
}


function replaceSelect(selectName,strUrl)
{

   var newText = loadContent(strUrl);
   var oldText = selectName.innerHTML;
   var newSelect = selectName.outerHTML.replace(oldText,newText);
   selectName.outerHTML = newSelect;
   return true;
}