
function AjaxProductClass()
{
var url = '/ProductClass.aspx';
var myAjax = new Ajax.Request( url, { method: 'post', onComplete:showResponseCate});
} 
function showResponseCate(cstr) 
{ //put returned XML in the textarea
	var node = cstr.responseXML.getElementsByTagName("ClassList");
	try{
		for(var i=0;i<node.length;i++){
				$("classid").add(new Option(formatTextText(node.item(i)),formatTextValue(node.item(i))));
									}
		}
	catch(e){
		alert("·¢ÉúÒì³£");
	}
 }
