function change_cate(catid,list_subid,subid){var js_catfather=new Object();if(catid>0){eval('js_catfather = js_catfather'+catid+';');var the_list=getbyid(list_subid);the_list.options.length=0;the_list.options[0]=new Option('---',0);for(k in js_catfather){the_list.options[the_list.options.length]=new Option(js_catfather[k][0],k);if(k==subid)the_list.options[the_list.options.length-1].selected=true;}}}
function showDadCate(list_id,def_option,not_in){var the_list=getbyid(list_id);the_list.options.length=0;the_list.options[0]=new Option(def_option,'0');for(k in js_cate){if(k!=not_in){var idx=the_list.options.length;the_list.options[idx]=new Option(js_cate[k][0],k);var catfather=new Object();eval('catfather = js_catfather'+k+';');var ic=0;for(l in catfather){ic++;}
if(ic>0){the_list.options[idx].text=the_list.options[idx].text+' (+'+ic+')';}}}}