<!-- hide from old browsers...

var info = new Array(

"Select*|----------------------------",
"England*Select|Avon|Bedfordshire|Berkshire|Bristol|Buckinghamshire|Cambridgeshire|Cheshire|Cleveland|Cornwall|Cumberland|Cumbria|Derbyshire|Devon|Dorset|Durham|East Riding of Yorkshire|East Sussex|Essex|Gloucestershire|Greater London|Greater Manchester|Hampshire|Hants|Hereford and Worcester|Herefordshire|Hertfordshire|Humberside|Huntingdonshire|Isle of Wight|Isles of Scilly|Kent|Lancashire|Leicestershire|Lincolnshire|London|Manchester|Merseyside|Middlesex|Norfolk|North Riding of Yorkshire|North Yorkshire|Northamptonshire|Northumberland|Nottinghamshire|Oxfordshire|Reading|Rutland|Shropshire|Somerset|South Yorkshire|Staffordshire|Suffolk|Surrey|Sussex|Tyne and Wear|Warwickshire|West Midlands|West Riding of Yorkshire|West Sussex|West Yorkshire|Westmorland|Wiltshire|Worcestershire|Yorkshire",
"Scotland*Select|Aberdeen City|Aberdeenshire|Angus|Argyll and Bute|Argyllshire|Ayrshire|Banffshire|Berwickshire|Borders|Bute|Caithness|Central|Clackmannanshire|Dumfries and Galloway|Dumfries-shire|Dunbartonshire|East Ayrshire|East Dunbartonshire|East Lothian|East Renfrewshire|Falkirk|Fife|Glasgow (City of)|Grampian|Highland|Inverclyde|Inverness-shire|Kincardineshire|Kinross-shire|Kirkcudbrightshire|Lanarkshire|Lothian|Midlothian|Moray|Nairn|North Ayrshire|North Lanarkshire|Orkney|Peebles-shire|Perth|Perthshire and Kinross|Renfrewshire|Ross and Cromarty|Roxburghshire|Selkirkshire|Shetland|South Ayrshire|South Lanarkshire|Stirling|Strathclyde|Sutherland|Tayside|West Dunbartonshire|West Lothian|Western Isles|Wigtownshire",
"Wales*Select|Anglesey|Blaenau Gwent|Breconshire|Bridgend|Caernarvonshire|Caerphilly|Cardiff|Cardiganshire|Carmarthenshire|Ceredigion|Clwyd|Conwy|Denbighshire|Dyfed|Flintshire|Glamorgan|Gwent|Gwynedd|Isle of Anglesey|Merionethshire|Merthyr Tydfil|Mid Glamorgan|Monmouthshire|Montgomeryshire|Neath Port Talbot|Newport|Orkney Islands|Pembrokeshire|Powys|Radnorshire|Rhondda Cynon Taff|Shetland Islands|South Glamorgan|Swansea|The Vale of Galmorgan|Tofaen|West Glamorgan|Wrexham",
"Northern Ireland*Select|Antrim|Armagh|Aros|Ballymena|Ballymoney|Banbridge|Belfast|Carrickfergus|Castlereagh|Coleraine|Cookstown|Craigavon|Derry|Down|Dungannon|Fermanagh|Larne|Limavady|Lisburn|Londonderry|Magherafelt|Moyle|Newry and Mourne|Newtownabbey|North Down|Omagh|Strabane|Tyrone",
"UK Offshore Dependents*Select|Channel Islands|Isle of Man"
    
);

/******************************************************************************************************/

function stringSplit ( string, delimiter ) { 
    if ( string == null || string == "" ) { 
        return null; 
    } else if ( string.split != null ) { 
        return string.split ( delimiter ); 
    } else { 
        var ar = new Array(); 
        var i = 0; 
        var start = 0; 
        while( start >= 0 && start < string.length ) { 
             var end = string.indexOf ( delimiter, start ) ; 
             if( end >= 0 ) { 
                 ar[i++] = string.substring ( start, end ); 
                 start = end+1; 
             } else { 
                 ar[i++] = string.substring ( start, string.length ); 
                 start = -1; 
             } 
        } 
        return ar; 
    } 
} 
/******************************************************************************************************/
var menu1 = new Array();
var menu2 = new Array();
/******************************************************************************************************/
function createMenus () {

    for ( var i=0; i < info.length; i++ ) {
        menu1[i] = stringSplit ( info[i], '*' );
        menu2[i] = stringSplit ( menu1[i][1], '|' );
    }

    var Country = document.rform.Country;
    var County = document.rform.County;

    Country.length = menu1.length;
    County.length = menu2[0].length; 
    for ( var i=0; i < menu1.length; i++ ) {
         Country.options[i].value  = menu1[i][0];
         Country.options[i].text   = menu1[i][0];
    }
    document.rform.Country.selected = 0;
    for (var x=0; x < menu2[0].length; x++) {
         County.options[x].text = menu2[0][x];
         County.options[x].value = menu2[0][x];
    }         
    document.rform.County.selected = 0;
}

/******************************************************************************************************/

function updateMenus ( what ) {
    var sel = what.selectedIndex;

    if ( sel >= 0 && sel < menu1.length ) 
        var temp = menu2[sel];
    else
        var temp = new Array ();
    
    what.form.County.length = temp.length;

    for ( var i = 0; i < temp.length; i++ ) {
        what.form.County.options[i].text  = temp[i];
        what.form.County.options[i].value = temp[i];
    }
    what.form.County.selected=0;
}
// end of hiding -->
