var regionsArray = new Array(); var valueArray = new Array();
regionsArray[0] = new Array("All","Administration","Contracts","Customer Service","Data management","Document Control","General Assistant","Planning","Project Control","Receptionist","Scheduler","Secretary","Technical Assistant");regionsArray[1] = new Array("All","Biomass","Fuel Cell","Geothermal","Renewable Fuels","Solar","Tidal","Wind");regionsArray[2] = new Array("All","Account Officer","Accountant","Accounts Assistant","Acquisitions / Mergers","Analyst - Business","Analyst - Commercial","Analyst - Energy","Analyst - Market","Analyst - Risk","Audit","Banker","Book-keeping","Budgeting","Commercial Negotiator","Contracts Administration","Cost Control","Crude Oil and Gas Trader","Economist","Insurance","Internal Audit","Lawyer","Legal","Payroll","Planning","Refined Products Trader","Tax","Tendering");regionsArray[3] = new Array("All","CAD","Electrical and Instrument","Graphic","PDMS/PDS","Piping","Plant and Platform","Subsea");regionsArray[4] = new Array("All","Casing Crew","Cementing","Coiled Tubing","Company Man","Completions","Derrickman","Directional Driller","Driller","Fishing Tools","Loss Control Specialist ","MWD/LWD","Roughneck","Roustabout","Stimulation","Superintendent","Supervisor","TCP","Toolpusher","Toolpusher - Night","Tour Pusher","Underbalanced","Waste Management","Well Control","Well Services Supervisor","Workovers");regionsArray[5] = new Array("All","Asset Integrity Engineer","CAD/CAM","Chemical","Civil","Commissioning/Pre-commissioning","Completions","Computational Fluid Dynamics","Construction","Construction - Subsea","Construction - Topsides","Contracts","Controls","Controls - Subsea","Corrosion","Cost Engineering","Decommissioning","Drilling Fluids","Drilling/Well","Electrical","Electromechanical","Electronics","Facilities","Fatigue","Fishing Tools","Flexible Flowlines / Risers","Gas Turbine","HVAC","Hydraulic and Pneumatic","Instrumentation","Integrity","Lift","Maintenance","Manufacturing/Fabrication","Materials","Mechanical","Metallurgy","Metering","Mud","Naval Architecture","NDT","Noise","Optimization","Package","PDMS/PDS","Petroleum","Photonics","Pigging","Pipe Stress","Pipeline","Piping","Planning / Scheduling ","Pressure Vessels","Process","Production","Proposals","Pumps","QA/QC Engineer","Refrigeration","Reliability","Reservoir","Risk","Rotating Equipment","Safety","Slickline","Spare Parts","Stimulation","Stress","Structural","Subsea","Technologist","Umbilicals","Vessel","Vibration","Well Testing","Wireline");regionsArray[6] = new Array("All","Ecologist","Environmental Engineer","Environmental Scientist","Ground Water Remediation","Hydrologist","Loss Prevention","Oil Spill Response","Toxicologist","Waste","Water");regionsArray[7] = new Array("All","Biostratigrapher","Geochemist","Geocomputing","Geologist - Development","Geologist - Exploration","Geologist - Operations","Geologist - Production","Geophysical Data Acquisition","Geophysical Data Processing","Geophysical Specialist","Geostatistician","Geotechnical Engineer","Hydrogeology","Mud Logging","Petrophysicist","Potential Field","Sedimentologist","Seismic Interpreter");regionsArray[8] = new Array("All","Emergency Response","Fire Fighting","Fire Protection","H2S","Health & Safety","HSE","Occupational Health and Safety","Risk Management");regionsArray[9] = new Array("All","Human Resources","Instructor/Trainer","Recruitment");regionsArray[10] = new Array("All","Administrator","Civil works","Communications","Data Management","Database Administration","Developer - Database","Developer - Software","Developer - Web","GIS/Remote Sensing","Installation engineering","Internet","Networking","Project Management","Radio Operator","SAP/ERP","Security","Site acquisition","Software Engineer","Software Testing","Strategy","Support - Applications","Support - Hardware","Support - Operating Systems","Systems Analyst","Systems Integration","Telecom","Transmission","Visualisation");regionsArray[11] = new Array("All","Buyer/Purchasing","Chartering","Contracts","Estimating","Expediting","Materials Logistics","Personnel Logistics","Storeman","Supply Chain","Transport","Warehouse");regionsArray[12] = new Array("All","Asset Management ","Base Manager","Commissioning","Construction","Consultant","Contracts","Drilling","Engineering","Executive","Exploration","Facilities","Financial","General","Health and Safety","HR/Personnel","IT/Communications","Knowledge","Offshore Installation (OIM)","Operations","Party Chief","Production","Project Management/Coordination","QA/QC","Rig","Sales/Marketing","Site Manager","Strategy","Support Services","Warehouse");regionsArray[13] = new Array("All","Ballast Control","Barge Engineer","Barge Master","Barge Superintendent","Crew","Dive Operations","Diver","Dynamic Positioning","FPSO/FPU","Marine Cargo Inspector","Master","Officer","Port Operations","ROV Operations","ROV Pilot","Salvage","Standby Vessel","Superintendant");regionsArray[14] = new Array("All","Camp Boss","Client Representative","Control Room Operations","Corrosion Control","Crane Operator","Deck officer","Decommissioning","Explosives","Field","Fork Lift Driver","Gas Pipelines","Gas Plant","Heavy Equipment Operator","Helicopter","Landman","Lifting/Jacking","Manufacturing","Oil & Gas Production Operator","Pigging","Power plant operation ","Preventive/Predictive maintenance","Process","Production","Reliability / Condition Monitoring","Rigging and Lifting ","Shift Supervisor","Slickline","Survey","Surveyor","Wireline","Workshop");regionsArray[15] = new Array("All","Auditor","Certification","Condition Monitoring","Inspection - Coatings","Inspection - Corrosion","Inspection - Lifting Equipment","Inspection - Plant","Inspection - Quality","Inspection - Subsea","Inspection - Topsides","Inspection - Welding","NDT","QA","QC","Quantity Surveying");regionsArray[16] = new Array("All","Advertising","Business Development","Marketing","Public Relations","Retail Sales","Sales Engineer","Technical Sales","Telesales");regionsArray[17] = new Array("All","Biologist","Chemical Laboratory Analyst","Chemist","Metallurgist","Oilfield Chemist","Polymers","Production Chemist");regionsArray[18] = new Array("All","Bolting","CAD/CAM","Chemical Cleaning/Oil Flushing","Controls","DCS","Electrical","Electronic","Fabrication","Forecourt","Gas Turbine","Geoscience","HVAC","Hydraulic","Installation","Instrument","Insulation","Laboratory","Maintenance","Manufacturing","Mechanical","Metering","Pipefitting","Piping","Pressure Testing","Process","Production","Rope Access","Service","Slickline","Well Testing","Wellhead","Wireline");regionsArray[19] = new Array("All","LNG","Oil Tanker Loading","Petrochemical Process","Refinery Operations","Terminal Operations");regionsArray[20] = new Array("All","Electrician","Fitter","Joiner","Machinist","Machinist - CNC","Mechanic","Painting/Coating","Pipefitter","Plater","Plumbing","Rig Electrician","Rig Mechanic","Rigger","Scaffolding","Shotblasting","Welding");regionsArray[21] = new Array("All","Architectural","Building Services","Catering","Customer Service","Domestic","Draughting","Driver","Editor","Hospitality","Interpreters / Translators","Labourer","Lubricants","Media","Medic/Paramedic/Doctor","Medicine - Occupational","Nursing","Security","Surveillance","Technical Author","Technical Writer");regionsArray[22] = new Array("None");
valueArray[0] = new Array("0","2","3","4","5","6","7","8","9","10","11","12","13");valueArray[1] = new Array("0","15","16","17","18","19","20","21");valueArray[2] = new Array("0","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49");valueArray[3] = new Array("0","51","52","53","54","55","56","57");valueArray[4] = new Array("0","59","60","61","62","63","64","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83");valueArray[5] = new Array("0","96","97","98","99","100","101","102","103","104","105","106","107","108","109","110","111","112","113","114","115","116","117","118","119","120","121","122","123","124","125","126","127","128","129","130","131","132","133","134","135","136","137","138","139","140","141","142","143","144","145","146","147","148","149","150","151","152","153","154","155","156","157","158","159","160","161","162","163","164","165","166","167","168","169","170");valueArray[6] = new Array("0","85","86","87","88","89","90","91","92","93","94");valueArray[7] = new Array("0","172","173","174","175","176","177","178","179","180","181","182","183","184","185","186","187","188","189");valueArray[8] = new Array("0","191","192","193","194","195","196","197","198");valueArray[9] = new Array("0","200","201","202");valueArray[10] = new Array("0","204","205","206","207","208","209","210","211","212","213","214","215","216","217","218","219","220","221","222","223","224","225","226","227","228","229","230","231");valueArray[11] = new Array("0","233","234","235","236","237","238","239","240","241","242","243");valueArray[12] = new Array("0","245","246","247","248","249","250","251","252","253","254","255","256","257","258","259","260","261","262","263","264","265","266","267","268","269","270","271","272","273");valueArray[13] = new Array("0","275","276","277","278","279","280","281","282","283","284","285","286","287","288","289","290","291","292");valueArray[14] = new Array("0","294","295","296","297","298","299","300","301","302","303","304","305","306","307","308","309","310","311","312","313","314","315","316","317","318","319","320","321","322","323","324");valueArray[15] = new Array("0","326","327","328","329","330","331","332","333","334","335","336","337","338","339","340");valueArray[16] = new Array("0","342","343","344","345","346","347","348","349");valueArray[17] = new Array("0","351","352","353","354","355","356","357");valueArray[18] = new Array("0","359","360","361","362","363","364","365","366","391","367","368","369","370","371","372","373","374","375","376","377","378","379","380","381","382","383","384","385","386","387","388","389");valueArray[19] = new Array("0","392","393","394","395","396");valueArray[20] = new Array("0","398","399","400","401","402","403","404","405","406","407","408","409","410","411","412","413");valueArray[21] = new Array("0","416","417","418","419","420","421","422","423","424","425","426","427","428","429","430","431","432","433","434","435");valueArray[22] = new Array("0");

function updateCategories1(n, subCategory)
{
  var subCat1 = document.getElementById("subCat1");
  var arr = regionsArray[n];
  var arr2 = valueArray[n];
  var current = subCat1.options.length;
  for (var j=current;j>0;j--)
   subCat1.options[j] = null;
   if ( n >= 0 )
   {
       for (var i=0;i<arr.length;i++)
       {
          subCat1.options[subCat1.options.length] = new Option(arr[i],arr2[i]);
           if ( subCategory == arr2[i]  ) subCat1.options[i+1].selected = true;
       }
   }
}

function updateCategories1_old(n, subCategory)
{
  var _F = document.form;
  var arr = regionsArray[n];
  var arr2 = valueArray[n];
  var current = _F.subCat1.options.length;
  for (var j=current;j>0;j--)
   _F.subCat1.options[j] = null;
   if ( n >= 0 )
   {
       for (var i=0;i<arr.length;i++)
       {
          _F.subCat1.options[_F.subCat1.options.length] = new Option(arr[i],arr2[i]);
           if ( subCategory == arr2[i]  ) _F.subCat1.options[i+1].selected = true;
       }
   }
}
