does anyone know how i can disable a select box if on another select box the value = x

atm all i have is this

Code:
var countryselect=document.forms.country.value

if( countryselect ) = United Kingdom
     {
     document.forms.county.disabled=false;
     }
     else
     {
     document.forms.county.disable=true;
     }