var industrylist=document.searchform.industry_search	
var rolelist=document.searchform.role_search

var roles=new Array()
roles[0]=["Choose Role|Not Specified"]

//ADVERTISING & MARKETING

roles[1]=["Choose Role|Not Specified", "Chambers of Commerce|Chambers of Commerce", "Consultancy|Consultancy", "Corporate Events|Corporate Events", "Exhibitions|Exhibitions", "Market Research|Market Research", "Marketing Services|Marketing Services", "Point of Sale|Point of Sale", "Strategic Service|Strategic Service"]

//AGRICULTURE

roles[2]=["Choose Role|Not Specified", "Abattoirs|Abattoirs", "Farming Contractors|Farming Contractors", "Dairy|Dairy", "Farm Equipment|Farm Equipment", "Hay and Straw Merchants|Hay and Straw Merchants", "Farm Merchants|Farm Merchants", "Farming Supplies|Farming Supplies", "Agricultural Wholesalers|Agricultural Wholesalers"]

//ARCHITECTURE

roles[3]=["Choose Role|Not Specified", "Restoration|Restoration", "Technicians|Technicians"]

//ARTS & CRAFTS
 
roles[4]=["Choose Role|Not Specified", "Art Supplies|Art Supplies", "Fine Artist (Ceramics)|Fine Artist (Ceramics)", "Fine Artist (General)|Fine Artist (General)", "Fine Artist (Landscape)|Fine Artist (Landscape)", "Fine Artist (Painter)|Fine Artist (Painter)", "Fine Artist (Sculptor)|Fine Artist (Sculptor)", "Framing|Framing", "Galleries|Galleries", "Materials|Materials", "Restoration|Restoration", "Graphic Designers|Graphic Designers", "Models and Hobbies|Models and Hobbies", "Needle Craft|Needle Craft", "Pet Portraiture|Pet Portraiture", "Photography|Photography", "Stain Glass|Stain Glass"]

//AUTOMOTIVE

roles[5]=["Choose Role|Not Specified", "Body Repairs|Body Repairs", "Breakdown and Recovery|Breakdown and Recovery", "Car Accessories|Car Accessories", "Car Dealerships|Car Dealerships", "Car Dismantles|Car Dismantles", "Caravan|Caravan", "Commercial Vehicles|Commercial Vehicles", "Driving Instructors|Driving Instructors", "Garage Services|Garage Services", "Motorcycles|Motorcycles", "Parts Distributors|Parts Distributors", "Petrol Stations|Petrol Stations", "Servicing and Repair|Servicing and Repair", "Trailer Hire|Trailer Hire", "Tyre Distributors|Tyre Distributors", "Vehicle Repairs|Vehicle Repairs"]
//BANKING & FINANCE

roles[6]=["Choose Role|Not Specified", "Accountants|Accountants", "Financial Advisors|Financial Advisors", "Institutions|Institutions", "Leasing|Leasing", "Mortgage Advice|Mortgage Advice", "Payroll Services|Payroll Services", "Stockbrokers|Stockbrokers"]

//BUILDING AND CONSTRUCTION

roles[7]=["Choose Role|Not Specified", "Air Conditioning|Air Conditioning", "Brick Layers|Brick Layers", "Builders Merchants|Builders Merchants", "Carpenters and Joiners|Carpenters and Joiners", "Carpet Fitters|Carpet Fitters", "Cement and Aggregate Supplies|Cement and Aggregate Supplies", "Cladding|Cladding", "Concrete|Concrete", "Electrical Wholesale|Electrical Wholesale", "Electricians|Electricians", "Groundwork Contractors|Groundwork Contractors", "Heating Equipment|Heating Equipment", "Interior Designers|Interior Designers", "Joinery Manufacturers|Joinery Manufacturers", "Kitchen Fitters|Kitchen Fitters", "Kitchen Planning and Installation|Kitchen Planning and Installation", "Landscapers|Landscapers", "Marble and Granite|Marble and Granite", "Painters and Decorators|Painters and Decorators", "Plant and Equipment Manufacturers|Plant and Equipment Manufacturers", "Plant and Machinery Hire|Plant and Machinery Hire", "Plasterers and Screeders|Plasterers and Screeders", "Plumbers|Plumbers", "Plumbers Merchants|Plumbers Merchants", "Powder Coating|Powder Coating", "Project Management|Project Management", "Quarries|Quarries", "Reinforcement|Reinforcement", "Road Surfacing|Road Surfacing", "Roller Shutters|Roller Shutters", "Roofing|Roofing", "Salvage and Reclamation|Salvage and Reclamation", "Sawmills|Sawmills", "Shutter and Garage Doors|Shutter and Garage Doors", "Steel Fixing|Steel Fixing", "Stone Masons|Stone Masons", "Tilers|Tilers", "Timber Merchant|Timber Merchant", "Wall and Floor Tiling|Wall and Floor Tiling"]

//CATERING

roles[8]=["Choose Role|Not Specified", "Catering Supplies|Catering Supplies", "Party Planners|Party Planners"]

//CHARITY & VOLUNTARY

roles[9]=["Choose Role|Not Specified", "Charity Shops|Charity Shops", "Citizens Advice|Citizens Advice", "Organisations|Organisations", "Volunteer|Volunteer"]

//COMMUNICATIONS

roles[10]=["Choose Role|Not Specified", "Aerial and Satellite Installation and Repair|Aerial and Satellite Installation and Repair", "Fibre Optics|Fibre Optics", "Mobile Phones|Mobile Phones", "Satellite|Satellite", "Telecoms|Telecoms"]

//DEFENCE

roles[11]=["Choose Role|Not Specified", "Air Force|Air Force", "Army|Army", "Navy|Navy", "Ordinance|Ordinance"]

//DOMESTIC SERVICES

roles[12]=["Choose Role|Not Specified", "Antique Repairs|Antique Repairs", "Cleaning and Maintenance|Cleaning and Maintenance", "Drain and Pipe Clearance|Drain and Pipe Clearance", "Dry Cleaners|Dry Cleaners", "Funeral Directors|Funeral Directors", "Key Cutters|Key Cutters", "Laundrettes|Laundrettes", "Nurseries|Nurseries", "Pest Control|Pest Control", "Post Offices|Post Offices", "Removal and Storage|Removal and Storage", "Scrap Metal|Scrap Metal", "Translation and Interpretation|Translation and Interpretation", "Upholsterers|Upholsterers", "Wedding Services|Wedding Services", "Window Cleaners|Window Cleaners"]

//EDUCATION

roles[13]=["Choose Role|Not Specified", "Polytechnics|Polytechnics", "Schools and Colleges|Schools and Colleges", "Universities|Universities"]

//ENGINEERING

roles[14]=["Choose Role|Not Specified", "Hydraulic|Hydraulic", "Precision Engineering|Precision Engineering"]

//ENTERTAINMENT

roles[15]=["Choose Role|Not Specified", "Audio Visual|Audio Visual", "Cinemas|Cinemas", "Corporate Entertainment|Corporate Entertainment", "Sound Equipment|Sound Equipment", "Theatres and Concert Halls|Theatres and Concert Halls"]

//FASHION

roles[16]=["Choose Role|Not Specified", "Dress Agencies|Dress Agencies", "Dress Makers|Dress Makers", "Fancy Dress|Fancy Dress", "Lingerie|Lingerie"]

//FOOD & DRINK

roles[17]=["Choose Role|Not Specified", "Cafes|Cafes", "Confectioners|Confectioners", "Cooked Meats|Cooked Meats", "Curers and Suppliers|Curers and Suppliers", "Delicatessens|Delicatessens", "Fish and Chip Shop|Fish and Chip Shop", "Food Manufacturers|Food Manufacturers", "Health Foods|Health Foods", "Organic Foods|Organic Foods", "Patisserie|Patisserie", "Public Houses and Restaurants|Public Houses and Restaurants", "Sandwich and Coffee Shops|Sandwich and Coffee Shops", "Take Aways|Take Aways", "Vegetarian Food|Vegetarian Food", "Wine Bars|Wine Bars", "Wine Merchants|Wine Merchants", "Wine Producers and Vineyards|Wine Producers and Vineyards"]

//HEALTH & BEAUTY

roles[18]=["Choose Role|Not Specified", "Aromatherapy|Aromatherapy", "Beauty Supplies|Beauty Supplies", "Beauty Treatments|Beauty Treatments", "Hair Dressers|Hair Dressers", "Tattooist|Tattooist", "Toiletries and Cosmetics|Toiletries and Cosmetics", "Unisex Hairdresser|Unisex Hairdresser"]

//HOME & GARDEN

roles[19]=["Choose Role|Not Specified", "Bathroom Showrooms|Bathroom Showrooms", "Carpet Suppliers|Carpet Suppliers", "Decking|Decking", "Fires and Fireplaces|Fires and Fireplaces", "Furniture|Furniture", "Garden Equipment|Garden Equipment", "Interior Design|Interior Design", "Soft Furnishing|Soft Furnishing", "Curtains and Blinds|Curtains and Blinds"]

//HOTELS

roles[20]=["Choose Role|Not Specified", "Bed and Breakfast|Bed and Breakfast", "Conference Facilities|Conference Facilities", "Guesthouses|Guesthouses"]

//INDUSTRIAL SERVICES

roles[21]=["Choose Role|Not Specified", "Pollution Control|Pollution Control"]

//INSURANCE

roles[22]=["Choose Role|Not Specified", "Insurance Agents|Insurance Agents", "Claim Assessors|Claim Assessors", "Insurance Companies|Insurance Companies"]


//IT & INTERNET

roles[23]=["Choose Role|Not Specified", "Broadband Services|Broadband Services", "Computer Consumables|Computer Consumables", "Computer Maintenance|Computer Maintenance", "Computer Services|Computer Services", "Computer Upgrades|Computer Upgrades", "Internet Cafes|Internet Cafes", "Network Installation|Network Installation", "Software Development|Software Development", "Web Designers and Developers|Web Designers and Developers", "Word Processing|Word Processing"]

//LEGAL

roles[24]=["Choose Role|Not Specified", "Barristers|Barristers", "Courts|Courts", "Debt Collectors|Debt Collectors", "Notary|Notary", "Solicitors|Solicitors"]

//LOGISTICS

roles[25]=["Choose Role|Not Specified", "Couriers|Couriers", "Freight|Freight", "International|International", "Rail|Rail"]

//MANUFACTURING

roles[26]=["Choose Role|Not Specified", "Aerospace|Aerospace", "Batteries and Accumulators|Batteries and Accumulators", "Blacksmiths and Forge Masters|Blacksmiths and Forge Masters", "Cable Manufacturing|Cable Manufacturing", "Chemical Industries|Chemical Industries", "Clothing Manufacturers|Clothing Manufacturers", "Furniture Manufacturing|Furniture Manufacturing", "Garden Equipment Manufacturing|Garden Equipment Manufacturing", "Packaging|Packaging", "Sign Makers|Sign Makers", "Steel Manufacturing and Fabrication|Steel Manufacturing and Fabrication", "Toys and Games|Toys and Games", "Wire Manufacture|Wire Manufacture"] 

//MARITIME

roles[27]=["Choose Role|Not Specified", "Boat Sales and Hire|Boat Sales and Hire", "Chandlers|Chandlers", "Maritime Equipment|Maritime Equipment", "Maritime Information|Maritime Information", "Marinas|Marinas"]

//MEDIA & BROADCASTING

roles[28]=["Choose Role|Not Specified", "Commercial Media|Commercial Media", "Financial Media|Financial Media", "Pollsters|Pollsters", "Publishers|Publishers", "Radio|Radio", "Television|Television"]

//MEDICAL

roles[29]=["Choose Role|Not Specified", "Acupuncture|Acupuncture", "Ambulance Service|Ambulance Service", "Chiropody|Chiropody", "Chiropractors|Chiropractors", "Clinics|Clinics", "Psychology|Psychology", "Dental|Dental", "Doctors|Doctors", "Holistic Therapist|Holistic Therapist", "Hospitals|Hospitals", "Nursing and Care|Nursing and Care", "Osteopaths|Osteopaths", "Pharmaceutical Products|Pharmaceutical Products", "Psychiatry|Psychiatry", "Surgeries|Surgeries"]

//MUSIC

roles[30]=["Choose Role|Not Specified", "CD and Vinyl Sales|CD and Vinyl Sales", "Instruments|Instruments", "Musicians|Musicians", "Tuition|Tuition"]

//PETS & LIVESTOCK

roles[31]=["Choose Role|Not Specified", "Animal Supplies|Animal Supplies", "Animal Welfare|Animal Welfare", "Dog Breeders|Dog Breeders", "Pet Foods|Pet Foods", "Taxidermist|Taxidermist", "Veterinary Services|Veterinary Services"]

//PRINTING

roles[32]=["Choose Role|Not Specified", "Printers and Lithographs|Printers and Lithographs", "Printing Supplies|Printing Supplies"]

//PROFFESIONAL CONSULTANTS

roles[33]=["Choose Role|Not Specified", "Architects and Town Planners|Architects and Town Planners", "Auctioneers and Valuers|Auctioneers and Valuers", "Business Consultants|Business Consultants", "Chemical Consultants|Chemical Consultants", "Commercial Investigation|Commercial Investigation", "Electrical Engineers|Electrical Engineers", "Engineering Consultants|Engineering Consultants", "Enterprise Agencies|Enterprise Agencies", "Health and Safety|Health and Safety", "Private Investigation|Private Investigation", "Public Relations|Public Relations", "Quantity Surveyors|Quantity Surveyors"]

//PROPERTY

roles[34]=["Choose Role|Not Specified", "Estate Agents|Estate Agents", "Housing Associations|Housing Associations", "Hygiene Services|Hygiene Services", "Letting Agents|Letting Agents", "Mortgage Advice|Mortgage Advice", "Property Development|Property Development", "Property Investment|Property Investment", "Property Management|Property Management", "Residential and Retirement Homes|Residential and Retirement Homes"]

//PUBLIC SECTOR

roles[35]=["Choose Role|Not Specified", "Ambulance Service|Ambulance Service", "Fire Service|Fire Service", "Local Government|Local Government", "Police Service|Police Service", "Political Organisations|Political Organisations"]

//RECRUITMENT

roles[36]=["Choose Role|Not Specified", "Careers Advice|Careers Advice", "Employment Agency|Employment Agency", "Employment Centres|Employment Centres", "Headhunting|Headhunting"]

//RELIGION

roles[37]=["Choose Role|Not Specified", "Organisations|Organisations", "Places of Worship|Places of Worship"]

//RETAIL

roles[38]=["Choose Role|Not Specified", "Antique Dealers|Antique Dealers", "Bakers|Bakers", "Book Sellers|Book Sellers", "Butchers|Butchers", "Clothes Shops|Clothes Shops", "Cooperative Societies|Cooperative Societies", "Cycle Retailers|Cycle Retailers", "Electrical Goods|Electrical Goods", "Florists|Florists", "Fruit Sellers|Fruit Sellers", "Gift Shops|Gift Shops", "Green Grocers|Green Grocers", "Hardware and Ironmongery|Hardware and Ironmongery", "Jewellers|Jewellers", "Knitwear Retailers|Knitwear Retailers", "News Agents|News Agents", "Party Supplies|Party Supplies", "Pine and Cane Furniture|Pine and Cane Furniture", "Shoe Shops|Shoe Shops", "Shopping Centres|Shopping Centres", "Supermarkets|Supermarkets", "Retail Equipment|Retail Equipment", "Toy Shops|Toy Shops", "Vending Machines|Vending Machines", "Wool Shops|Wool Shops"]

//SECURITY & FIRE

roles[39]=["Choose Role|Not Specified", "Barriers and Gates|Barriers and Gates", "Close Protection|Close Protection", "Fire and Security Products|Fire and Security Products", "Fire Alarm Systems|Fire Alarm Systems", "Lock Smiths|Lock Smiths", "Manned Guarding|Manned Guarding", "Monitoring Stations|Monitoring Stations", "Perimeter Security|Perimeter Security", "Security Systems|Security Systems", "Security Consultants|Security Consultants"]

//SOCIAL & DOMESTIC

roles[40]=["Choose Role|Not Specified", "Community Centres|Community Centres", "Conservation|Conservation", "Counselling|Counselling", "Housing|Housing", "Neighbourhood Watch|Neighbourhood Watch", "Special Needs Equipment|Special Needs Equipment", "Support Agencies|Support Agencies"]    

//SPORTS & LEISURE

roles[41]=["Choose Role|Not Specified", "Adventure Activity|Adventure Activity", "Amusement Centres|Amusement Centres", "Camping Equipment|Camping Equipment", "Childrens Play Equipment|Childrens Play Equipment", "Fishing and Fishing Supplies|Fishing and Fishing Supplies", "Golf Clubs and Professionals|Golf Clubs and Professionals", "Health Clubs|Health Clubs", "Leisure Attractions|Leisure Attractions", "Marquee Hire|Marquee Hire", "Outdoor Equipment|Outdoor Equipment", "Outdoor Pursuits|Outdoor Pursuits", "Racecourses|Racecourses", "Sport Clubs|Sport Clubs", "Sports Equipment|Sports Equipment", "Stadier|Stadier", "Water Sports|Water Sports"] 

//TOURISM

roles[42]=["Choose Role|Not Specified", "Camping Sites|Camping Sites", "Caravan Parks|Caravan Parks", "Stately Homes|Stately Homes", "Tour Operators|Tour Operators", "Tourist Attractions and Information|Tourist Attractions and Information", "Travel Agent|Travel Agent", "Trips and Cruises|Trips and Cruises"]

//TRANSPORTATION

roles[43]=["Choose Role|Not Specified", "Bus and Coach Services|Bus and Coach Services", "Bus Stations|Bus Stations", "Private Hire|Private Hire", "Railway Stations|Railway Stations", "Taxi Services|Taxi Services"]

//UTILITIES

roles[44]=["Choose Role|Not Specified", "Electric|Electric", "Gas|Gas", "Waste|Waste", "Water|Water"]


function updateroles(selectedrolegroup){
	rolelist.options.length=0
	if (selectedrolegroup>0){
		for (i=0; i<roles[selectedrolegroup].length; i++)
		rolelist.options[rolelist.options.length]=new Option(roles[selectedrolegroup][i].split("|")[0],
		roles[selectedrolegroup][i].split("|")[1])
	}
}
