var ProvinceArray = new Array;
ProvinceArray[0] = "Select";
ProvinceArray[1] = "London";
ProvinceArray[2] = "Reading";
ProvinceArray[3] = "Bristol";
ProvinceArray[4] = "Bedfordshire";
ProvinceArray[5] = "Berkshire";
ProvinceArray[6] = "Buckinghamshire";
ProvinceArray[7] = "Cambridgeshire";
ProvinceArray[8] = "Cheshire";
ProvinceArray[9] = "Cleveland/Teesside";
ProvinceArray[10] = "Cornwall";
ProvinceArray[11] = "Cumbria";
ProvinceArray[12] = "Derbyshire";
ProvinceArray[13] = "Devon";

ProvinceArray[15] = "Durham";
ProvinceArray[16] = "East Riding of Yorkshire";
ProvinceArray[17] = "East Sussex";
ProvinceArray[18] = "Essex";
ProvinceArray[19] = "Gloucestershire";
ProvinceArray[20] = "Greater Manchester";
ProvinceArray[21] = "Hampshire";
ProvinceArray[22] = "Herefordshire";
ProvinceArray[23] = "Kent";
ProvinceArray[24] = "Lancashire";
ProvinceArray[25] = "Leicestershire";
ProvinceArray[26] = "Lincolnshire";
ProvinceArray[27] = "Merseyside";
ProvinceArray[28] = "Norfolk";
ProvinceArray[29] = "Northamptonshire";
ProvinceArray[30] = "Northumberland";
ProvinceArray[31] = "North Yorkshire";
ProvinceArray[32] = "Nottinghamshire";
ProvinceArray[33] = "Oxfordshire";
ProvinceArray[34] = "Rutland";


ProvinceArray[35] = "Shropshire";
ProvinceArray[36] = "Somerset";
ProvinceArray[37] = "South Yorkshire";
ProvinceArray[38] = "Staffordshire";
ProvinceArray[39] = "Suffolk";
ProvinceArray[40] = "Surrey";


ProvinceArray[41] = "Tyne and Wear";
ProvinceArray[42] = "Warwickshire";
ProvinceArray[43] = "West Midlands";
ProvinceArray[44] = "West Sussex";
ProvinceArray[45] = "West Yorkshire";
ProvinceArray[46] = "Wiltshire";
ProvinceArray[47] = "Worcestershire";


tCitys = new Array; 
tCitys[1] = new Array;

tCitys[4] = new Array;
tCitys[4][0] = " Luton";
tCitys[4][1] = " Mid Bedfordshire";
tCitys[4][2] = " Bedford";
tCitys[4][3] = " South Bedfordshire";

tCitys[5] = new Array;
tCitys[5][0] = "Bracknell Forest";
tCitys[5][1] = "Slough";
tCitys[5][2] = "West Berkshire";
tCitys[5][3] = "Windsor and Maidenhead";
tCitys[5][4] = "Wokingham";

tCitys[6] = new Array;
tCitys[6][0] = "Aylesbury Vale";
tCitys[6][1] = "Chiltern";
tCitys[6][2] = "Milton Keynes";
tCitys[6][3] = "South Buckinghamshire";
tCitys[6][4] = "Wycombe";

tCitys[7] = new Array;
tCitys[7][0] = "Cambridge City";
tCitys[7][1] = "East Cambridgeshire";
tCitys[7][2] = "Fenland, Huntingdonshire";
tCitys[7][3] = "Peterborough City";
tCitys[7][4] = "South Cambridgeshire";

tCitys[8] = new Array;
tCitys[8][0] = "Chester City";
tCitys[8][1] = "Congleton";
tCitys[8][2] = "Crewe and Nantwich";
tCitys[8][3] = "Ellesmere Port and Neston";
tCitys[8][4] = "Halton, Macclesfield";
tCitys[8][5] = "Vale Royal";
tCitys[8][6] = "Warrington";

tCitys[9] = new Array;
tCitys[9][0] = "Redcar & Cleveland";
tCitys[9][1] = "Hartlepool";
tCitys[9][2] = "Stockton on Tees";
tCitys[9][3] = "Middlesborough";
tCitys[9][4] = "Darlington";

tCitys[10] = new Array;
tCitys[10][0] = "Caradon";
tCitys[10][1] = "Carrick";
tCitys[10][2] = "Kerrier";
tCitys[10][3] = "North Cornwall";
tCitys[10][4] = "Penwith";
tCitys[10][5] = "Restormel";
tCitys[11] = new Array;
tCitys[11][0] = "Allerdale";
tCitys[11][1] = "Barrow-in-Furness";
tCitys[11][2] = "Carlisle City";
tCitys[11][3] = "Copeland";
tCitys[11][4] = "Eden";
tCitys[11][5] = "South Lakeland";

tCitys[12] = new Array;
tCitys[12][0] = "Amber Valley";
tCitys[12][1] = "Bolsover";
tCitys[12][2] = "Chesterfield";
tCitys[12][3] = "Derby City";
tCitys[12][4] = "Derbyshire Dales";
tCitys[12][5] = "Erewash";
tCitys[12][6] = "High Peak";
tCitys[12][7] = "North East Derbyshire";
tCitys[12][8] = "South East Derbyshire";

tCitys[13] = new Array;
tCitys[13][0] = "East Devon";
tCitys[13][1] = "Exeter City";
tCitys[13][2] = "Mid Devon";
tCitys[13][3] = "North Devon";
tCitys[13][4] = "Plymouth City";
tCitys[13][5] = "South Hams";
tCitys[13][6] = "Teignbridge";
tCitys[13][7] = "Torbay";
tCitys[13][8] = "Torridge";
tCitys[13][9] = "West Devon";


tCitys[15] = new Array;
tCitys[15][0] = "Chester le Street";
tCitys[15][1] = "Darlington";
tCitys[15][2] = "Derwentshire";
tCitys[15][3] = "Durham City";
tCitys[15][4] = "Easington";
tCitys[15][5] = "Hartlepool";
tCitys[15][6] = "Sedgefield";
tCitys[15][7] = "Stockton";
tCitys[15][8] = "Teesdale";
tCitys[15][9] = "Wear Valley";

tCitys[16] = new Array;
tCitys[16][0] = "East Riding of Yorkshire ";
tCitys[16][1] = "City of Kingston-upon-Hull";

tCitys[17] = new Array;
tCitys[17][0] = "Brighton and Hove";
tCitys[17][1] = "Eastbourne";
tCitys[17][2] = "Hastings";
tCitys[17][3] = "Lewes";
tCitys[17][4] = "Rother";
tCitys[17][5] = "Wealden";

tCitys[18] = new Array;
tCitys[18][0] = "Basildon";
tCitys[18][1] = "Braintree";
tCitys[18][2] = "Brentwood";
tCitys[18][3] = "Castlepoint";
tCitys[18][4] = "Chelmsford";
tCitys[18][5] = "Colchester";
tCitys[18][6] = "Epping Forest";
tCitys[18][7] = " Harlow";
tCitys[18][8] = "Maldon";
tCitys[18][9] = "Rochford";
tCitys[18][10] = "Southend-on-Sea";
tCitys[18][11] = "Tendring";
tCitys[18][12] = "Thurrock";
tCitys[18][13] = "Uttlesford";

tCitys[19] = new Array;
tCitys[19][0] = "Cheltenham";
tCitys[19][1] = "Cotswolds";
tCitys[19][2] = "Forest of Dean";
tCitys[19][3] = "Gloucester City";
tCitys[19][4] = "Stroud";
tCitys[19][5] = "South Gloucestershire";
tCitys[19][6] = "Tewkesbury";

tCitys[20] = new Array;
tCitys[20][0] = "Bolton";
tCitys[20][1] = "Bury";
tCitys[20][2] = "Manchester City";
tCitys[20][3] = "Oldham";
tCitys[20][4] = "Rochdale";
tCitys[20][5] = "Salford City";
tCitys[20][6] = "Stockport";
tCitys[20][7] = "Tameside";
tCitys[20][8] = "Trafford";
tCitys[20][9] = "Wigan";

tCitys[21] = new Array;
tCitys[21][0] = "Basingstoke and Deane";
tCitys[21][1] = "East Hampshire";
tCitys[21][2] = "Eastleigh";
tCitys[21][3] = "Fareham";
tCitys[21][4] = "Gosport";
tCitys[21][5] = "Hart";
tCitys[21][6] = "Havant";
tCitys[21][7] = "New Forest";
tCitys[21][8] = "Portsmouth City";
tCitys[21][9] = "Rushmoor";
tCitys[21][10] = "Southampton City";
tCitys[21][11] = "Test Valley";
tCitys[21][12] = "Winchester City";

tCitys[22] = new Array;
tCitys[22][0] = "Bishops Stortford";
tCitys[22][1] = "Broxbourne";
tCitys[22][2] = "Dacorum";
tCitys[22][3] = "East Hertfordshire";
tCitys[22][4] = "Hertford";
tCitys[22][5] = "Hertsmere";
tCitys[22][6] = "North Hertfordshire";
tCitys[22][7] = "St Albans City";
tCitys[22][8] = "Stevenage";
tCitys[22][9] = "Three Rivers";
tCitys[22][10] = "Watford";
tCitys[22][11] = "Welwyn Hatfield";

tCitys[23] = new Array;
tCitys[23][0] = "Ashford";
tCitys[23][1] = "Canterbury City";
tCitys[23][2] = "Dartford";
tCitys[23][3] = "Dover";
tCitys[23][4] = "Gravesham";
tCitys[23][5] = "Maidstone";
tCitys[23][6] = "Medway";
tCitys[23][7] = "Sevenoaks";
tCitys[23][8] = "Shepway";
tCitys[23][9] = "Swale";
tCitys[23][10] = "Thanet";
tCitys[23][11] = "Tonbridge and Malling";
tCitys[23][12] = "Tunbridge Wells";

tCitys[24] = new Array;
tCitys[24][0] = "Blackburn with Darwen";
tCitys[24][1] = "Blackpool";
tCitys[24][2] = "Burnley";
tCitys[24][3] = "Bury";
tCitys[24][4] = "Chorley";
tCitys[24][5] = "Fylde";
tCitys[24][6] = "Hyndburn";
tCitys[24][7] = "Lancashire City";
tCitys[24][8] = "Pendle";
tCitys[24][9] = "Preston";
tCitys[24][10] = "Ribble Valley";
tCitys[24][11] = "Rossendale";
tCitys[24][12] = "South Ribble";
tCitys[24][13] = "West Lancashire";
tCitys[24][14] = "Wyre";
tCitys[24][15] = "Bolton ";
tCitys[25] = new Array;
tCitys[25][0] = "Blaby";
tCitys[25][1] = "Charnwood";
tCitys[25][2] = "Harborough";
tCitys[25][3] = "Hinckley & Bosworth";
tCitys[25][4] = "Leicester City";
tCitys[25][5] = "Melton";
tCitys[25][6] = ", North West Leicestershire";
tCitys[25][7] = "Oadby and Wigston";
tCitys[25][8] = "Rutland";

tCitys[26] = new Array;
tCitys[26][0] = "Boston";
tCitys[26][1] = "East Lincolnshire";
tCitys[26][2] = "East Lindsey";
tCitys[26][3] = "Lincoln City";
tCitys[26][4] = "North Kesteven";
tCitys[26][5] = "North Lincolnshire ";
tCitys[26][6] = "South Holland";
tCitys[26][7] = "South Kesteven";
tCitys[26][8] = "West Lindsey";
tCitys[27] = new Array;
tCitys[27][0] = "Knowsley";
tCitys[27][1] = "Liverpool City";
tCitys[27][2] = "St Helens";
tCitys[27][3] = "Sefton";
tCitys[27][4] = "Wirral";

tCitys[28] = new Array;
tCitys[28][0] = "Breckland";
tCitys[28][1] = "Broadland";
tCitys[28][2] = "Great Yarmouth";
tCitys[28][3] = "Kings Lynn and West Norfolk";
tCitys[28][4] = "South Norfolk";

tCitys[29] = new Array;
tCitys[29][0] = "Corby";
tCitys[29][1] = "Daventry";
tCitys[29][2] = "East Northamptonshire";
tCitys[29][3] = "Kettering";
tCitys[29][4] = "Northampton";
tCitys[29][5] = "South Northamptonshire";
tCitys[29][6] = "Wellingborough";

tCitys[30] = new Array;
tCitys[30][0] = "Alnwick";
tCitys[30][1] = "Berwick-upon-Tweed";
tCitys[30][2] = "Blyth Valley";
tCitys[30][3] = "Tynedale";
tCitys[30][4] = "Wansbeck";

tCitys[31] = new Array;
tCitys[31][0] = "Craven";
tCitys[31][1] = "Hambleton";
tCitys[31][2] = "Harrogate";
tCitys[31][3] = "Redcar and Ceveland";
tCitys[31][4] = "Middlesborough";
tCitys[31][5] = "Richmondshire";
tCitys[31][6] = "Scarborough";
tCitys[31][7] = "Selby";
tCitys[31][8] = "Stockton ";

tCitys[32] = new Array;
tCitys[32][0] = "Ashfield";
tCitys[32][1] = "Bassetlaw";
tCitys[32][2] = "Broxtowe";
tCitys[32][3] = "Gedling";
tCitys[32][4] = "Mansfield";
tCitys[32][5] = "Newark and Sherwood";
tCitys[32][6] = "Nottingham City";
tCitys[32][7] = "Rushcliffe";

tCitys[33] = new Array;
tCitys[33][0] = "North Oxfordshire";
tCitys[33][1] = "Oxford City";
tCitys[33][2] = "South Oxfordshire";
tCitys[33][3] = "Vale of White Horse";

tCitys[35] = new Array;
tCitys[35][0] = "Bridgnorth";
tCitys[35][1] = "North Shropshire";
tCitys[35][2] = "Oswestry";
tCitys[35][3] = "Shrewsbury and Atcham";
tCitys[35][4] = "South Shropshire";
tCitys[35][5] = "Telford and Wrekin";

tCitys[36] = new Array;
tCitys[36][0] = "Bath & North East Somerset";
tCitys[36][1] = "Mendip";
tCitys[36][2] = "North Somerset";
tCitys[36][3] = "Sedgemoor";
tCitys[36][4] = "South Somerset";
tCitys[36][5] = "Taunton Deane";
tCitys[36][6] = "West Somerset";

tCitys[37] = new Array;
tCitys[37][0] = "Barnsley";
tCitys[37][1] = "Doncaster";
tCitys[37][2] = "Rotherham";
tCitys[37][3] = "Sheffield City ";

tCitys[38] = new Array;
tCitys[38][0] = "Cannock Chase";
tCitys[38][1] = "East Staffordshire";
tCitys[38][2] = "Lichfield";
tCitys[38][3] = "Newcastle-under-Lyme";
tCitys[38][4] = "South Staffordshire";
tCitys[38][5] = "Newark and Sherwood";
tCitys[38][6] = "Stafford";
tCitys[38][7] = "Staffordshire Moorlands";
tCitys[38][8] = "Stoke-on-Trent City";
tCitys[38][9] = "Tamworth";

tCitys[39] = new Array;
tCitys[39][0] = "Babergh";
tCitys[39][1] = "Forest Heath";
tCitys[39][2] = "Mid Suffolk";
tCitys[39][3] = "St Edmundsbury";
tCitys[39][4] = "Suffolk Coastal";
tCitys[39][5] = "Waveney";

tCitys[40] = new Array;
tCitys[40][0] = "Elmbridge";
tCitys[40][1] = "Epson and Ewell";
tCitys[40][2] = "Guildford";
tCitys[40][3] = "Mole Valley";
tCitys[40][4] = "Reigate and Banstead";
tCitys[40][5] = "Runnymede";
tCitys[40][6] = "Spelthorne";
tCitys[40][7] = "Surrey Heath";
tCitys[40][8] = "Tandridge";
tCitys[40][9] = "Waverley";
tCitys[40][10] = "Woking";

tCitys[41] = new Array;
tCitys[41][0] = "Gateshead";
tCitys[41][1] = "Newcastle-upon-Tyne City";
tCitys[41][2] = "North Tyneside";
tCitys[41][3] = "South Tyneside";
tCitys[41][4] = "Sunderland City ";

tCitys[42] = new Array;
tCitys[42][0] = "North Warwickshire";
tCitys[42][1] = "Nuneaton and Bedworth";
tCitys[42][2] = "Rugby";
tCitys[42][3] = "Stratford-on-Avon";
tCitys[42][4] = "Warwick";

tCitys[43] = new Array;
tCitys[43][0] = "Birmingham City";
tCitys[43][1] = "Coventry City";
tCitys[43][2] = "Dudley";
tCitys[43][3] = "Sandwell";
tCitys[43][4] = "Solihull";
tCitys[43][5] = "Walsall";
tCitys[43][6] = "Wolverhampton ";

tCitys[44] = new Array;
tCitys[44][0] = "Adur";
tCitys[44][1] = "Arun";
tCitys[44][2] = "Chichester";
tCitys[44][3] = "Crawley";
tCitys[44][4] = "Horsham";
tCitys[44][5] = "Mid Sussex";
tCitys[44][6] = "Worthing";

tCitys[45] = new Array;
tCitys[45][0] = "Bradford City";
tCitys[45][1] = "Calderdale";
tCitys[45][2] = "Kirklees";
tCitys[45][3] = "Leeds City";
tCitys[45][4] = "Wakefield City ";

tCitys[46] = new Array;
tCitys[46][0] = "Kennet";
tCitys[46][1] = "North Wiltshire";
tCitys[46][2] = "Thamesdown";
tCitys[46][3] = "West Wiltshire";
tCitys[46][4] = " Salisbury";

tCitys[47] = new Array;
tCitys[47][0] = "Bromsgrove";
tCitys[47][1] = "Malvern Hills";
tCitys[47][2] = "Redditch";
tCitys[47][3] = "Worcester City";
tCitys[47][4] = "Wychavon";
tCitys[47][5] = "Wyre Forest";












function ProvinceOptionMenu()
{    
        var i;
        provincebox = document.forms[0].prov;
        for(i = 0; i < ProvinceArray.length; i++)
        {
          provincebox.options[i] = new Option(ProvinceArray[i],ProvinceArray[i]);
	}
	provincebox.length = i;
}



function selectcity()
{  
	provincebox = document.forms[0].prov;
	selcity = parseInt(provincebox.selectedIndex);
	tCity = tCitys[selcity];
    citybox = document.forms[0].city;
	if(tCity != null)
		{
                       citybox = document.forms[0].city;
                       if (tCity.length>1){
                          citybox.options[0] = new Option("Select",-1);
                          for(i = 0; i < tCity.length; i++)
		  	  {
			     str = tCity[i];
                             citybox.options[i+1] = new Option(str, str);
			  }
			  citybox.length = i+1;
                        }
                        else
                        {
                          str = tCity[0];
                          citybox.options[0] = new Option(str,str);
                          citybox.length=1;
                          citybox.options[0].selected;
                        }
                       
	               

		}
        else{
          if (citybox != null){
           citybox.options[0] = new Option("Select Shire",-1);
	  citybox.length = 1;}
         }
}