/**
 * @author xwk
 * @since 2008-09-25
 * @version $Id: main.js 2320 2008-10-14 02:21:55Z liupeihua $
 * */
function ForumCategory1IdChange(all){
	if(!all) all = '';
	//alert(all);
	new Ajax.Updater(
		'ajax_category2_id',
		'/Forum/ajax_category1/'+all, {
			onLoading:function(request){$('loading_category1').show();},
			onComplete:function(request){
				$('loading_category1').hide();
			},
			asynchronous:true,evalScripts:true, 
			parameters:Form.Element.serialize('ForumCategory1Id')
		}
	)
}
//test end
