var catelogCountIndustry,catelogsIndustry;
var iCount = 0;
catelogsIndustry = new Array();
//Industry
catelogsIndustry[iCount++] = new Array("综合性工商/实业公司","","10001","10001",1)
catelogsIndustry[iCount++] = new Array("电子/通讯","","10002","10002",1)
catelogsIndustry[iCount++] = new Array("食品/粮油/烟草/日用品","","10003","10003",1)
catelogsIndustry[iCount++] = new Array("公关/市场/营销","","10004","10004",1)
catelogsIndustry[iCount++] = new Array("生物工程","","10005","10005",1)
catelogsIndustry[iCount++] = new Array("广告/企业策划/管理咨询","","10006","10006",1)
catelogsIndustry[iCount++] = new Array("教育/科研","","10007","10007",1)
catelogsIndustry[iCount++] = new Array("法律/社会服务","","10008","10008",1)
catelogsIndustry[iCount++] = new Array("传播/新闻/媒体/出版","","10009","10009",1)
catelogsIndustry[iCount++] = new Array("金融/保险/投资","","10010","10010",1)
catelogsIndustry[iCount++] = new Array("旅遊/餐饮/健身娱乐","","10011","10011",1)
catelogsIndustry[iCount++] = new Array("商业/贸易/进出口","","10012","10012",1)
catelogsIndustry[iCount++] = new Array("医疗卫生/药品/保健品","","10013","10013",1)
catelogsIndustry[iCount++] = new Array("计算机/网络/电子商务","","10014","10014",1)
catelogsIndustry[iCount++] = new Array("工程/制造/机械","","10015","10015",1)
catelogsIndustry[iCount++] = new Array("建筑/房地产/物业管理/安装工程","","10016","10016",1)
catelogsIndustry[iCount++] = new Array("石油/化工/原材料","","10017","10017",1)
catelogsIndustry[iCount++] = new Array("服装/纺织/制帽/皮具/羽绒","","10018","10018",1)
catelogsIndustry[iCount++] = new Array("农业/渔业/林业/牧业","","10019","10019",1)
catelogsIndustry[iCount++] = new Array("国家机关/公共事业","","10020","10020",1)
catelogsIndustry[iCount++] = new Array("城市规划/园林工程/环保","","10021","10021",1)
catelogsIndustry[iCount++] = new Array("协会/学会","","10022","10022",1)
catelogsIndustry[iCount++] = new Array("交通运输/物流/仓储","","10023","10023",1)
catelogsIndustry[iCount++] = new Array("造纸/印刷/包装/文体用品","","10024","10024",1)
catelogsIndustry[iCount++] = new Array("生产/制造业","","10025","10025",1)
catelogsIndustry[iCount++] = new Array("矿山/冶金/地质","","10026","10026",1)
catelogsIndustry[iCount++] = new Array("五金交电/仪器仪表","","10027","10027",1)
//Industry
catelogCountIndustry = catelogsIndustry.length;

function Gen_Key(digits) { //生成随机不重复行业名称
	var output,num,returnStr;
	returnStr = "";
	output = "";
	while(output.split(",").length-1<digits) {
		num = parseInt((catelogCountIndustry)*Math.random());
		if(output.indexOf(num)==-1) { //保证数字不重复
			output += num+",";
		}
	}
	
	output = output.split(",");
	
	for(var i=0;i<output.length-1;i++) {
		returnStr += "<span class=\"IndustryStyle\"><a href=\"#\">"+catelogsIndustry[output[i]][0]+"</a></span>";
	}
	
	return returnStr;
}