function getSsubCategory(ccode , scode)
{
	var xmlHttp = null 	
	if (typeof window.ActiveXObject != 'undefined' ) 
	{ 
		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); 
	} 
	else 
	{ 
		xmlHttp = new XMLHttpRequest(); 
	}

	var url = "/tempSsubCategory.aspx?ccode="+ccode+"&scode="+scode+"&sid="+Math.random()
	
	xmlHttp.open("GET", url, false);
	xmlHttp.send(null);
	
	if (xmlHttp.readyState == 4 || xmlHttp.readyState=="complete") 
	{	
		document.getElementById("sSubCategory_" + scode).innerHTML=xmlHttp.responseText;
	}
	document.getElementById("sSubCategory_" + scode).style.display = "block";
}

function setScriptValue(tempType)
{
	if (tempType == "N")
	{
		document.getElementById("scriptValue").value = "S";
	}
}