﻿IndustryCat = new Array();
IndustryCat[0] = new Array('计算机/通信/互联网', 'Computer/Communication/Internet', '300');
IndustryCat[1] = new Array('电子/仪器/自动化', 'Electron/Apparatus/Automation', '301');
IndustryCat[2] = new Array('机械/设备/重工', 'Machine/Equipment/Heavy Industries', '302');
IndustryCat[3] = new Array('建筑/路桥/房地产/安装', 'Construction/Realty/Installation', '303');
IndustryCat[4] = new Array('金融/投资/保险/经济', 'Finance/Insurance/Securities/Investment', '304');
IndustryCat[5] = new Array('原材料和加工', 'Raw material/Processing', '305');
IndustryCat[6] = new Array('造纸/印刷/包装', 'Paper Making/Printing/Packaging', '306');
IndustryCat[7] = new Array('电力/水利/石油/化工/矿产/五金/金属', 'Electric/Energy/Chemical Industry/Metallurgy', '307');
IndustryCat[8] = new Array('办公用品/家具/家电/工艺品/玩具', 'Office Supplies/Furniture/Artware/Toy', '308');
IndustryCat[9] = new Array('汽车/航空/交通/运输/物流', 'Auto/Aerial/Traffic/Logistics', '309');
IndustryCat[10] = new Array('广告/策划/设计/会展', 'Ads/Market Planners/Design/Exhibit', '310');
IndustryCat[11] = new Array('影视/媒体/出版', 'Movie/Media/Publishing', '311');
IndustryCat[12] = new Array('翻译机构', 'Translation', '312');
IndustryCat[13] = new Array('教育/培训', 'Education/Train', '313');
IndustryCat[14] = new Array('海外劳务中介', 'Export of Labour Service', '314');
IndustryCat[15] = new Array('医疗/护理/保健/卫生', 'Medical/Nursing/Health Care', '315');
IndustryCat[16] = new Array('制药/生物工程/环保', 'Pharmacy/Bioengineering/Environmental Protection', '316');
IndustryCat[17] = new Array('旅游/酒店/餐饮服务', 'Travel Agency/Hotel/Restaurant', '317');
IndustryCat[18] = new Array('纺织/服装/鞋帽/皮革', 'Weave/Dress/Shoe/Hat/Leather', '318');
IndustryCat[19] = new Array('农/林/渔/牧', 'Agriculture/Forestry/Fishery/Farming', '319');
IndustryCat[20] = new Array('娱乐/运动/休闲/美容/保健', 'Sports/Recreation/Beauty/Health', '320');
IndustryCat[21] = new Array('生活服务/商业服务', 'Living and Business Services', '321');
IndustryCat[22] = new Array('外贸/进出口', 'Foreign Trade/Imports and Exports', '322');
IndustryCat[23] = new Array('快速消费品(食品,饮料,化妆品)', 'Consumer Goods(food,drink, cosmetic)', '323');
IndustryCat[24] = new Array('多元集团/政府/其他行业', 'Group/Government/Others', '324');

//绑定中文行业列表
function BindIndustry(id) {
    document.getElementById(id).options.length = 0;
    document.getElementById(id).options[0] = new Option('--请选择行业--', '');
    for (var i = 0; i < IndustryCat.length; i++) {
        document.getElementById(id).options[document.getElementById(id).length] = new Option(IndustryCat[i][0], IndustryCat[i][2]);
    }
}

//绑定英文行业列表
function BindEnIndustry(id) {
    document.getElementById(id).options.length = 0;
    for (var i = 0; i < IndustryCat.length; i++) {
        document.getElementById(id).options[document.getElementById(id).length] = new Option(IndustryCat[i][1], IndustryCat[i][1]);
    }
}

//获得英文行业名
function GetEnIndustryName(code) {
    var temp = "";
    if (code != "") {
        for (var i = 0; i < IndustryCat.length; i++) {
            if (IndustryCat[i][2] == code) {
                temp = IndustryCat[i][1];
                break;
            }
        }
    }
    document.write(temp);
}

//获得中文行业名
function GetIndustryName(code) {
    var temp = "";
    if (code != "") {
        for (var i = 0; i < IndustryCat.length; i++) {
            if (IndustryCat[i][2] == code) {
                temp = IndustryCat[i][0];
                break;
            }
        }
    }
    document.write(temp);
}
