/*
	Enable to hide the region field if not required
	Require a head include through local.xml
*/
RegionUpdater = Class.create(RegionUpdater, {
    update: function($super) {
        $super();
        if (this.regions[this.countryEl.value]) {
            if (this.regionTextEl) {
                this.regionTextEl.up(".field").show();
            }
        } else {
            if (this.regionTextEl) {
                this.regionTextEl.up(".field").hide();
            }
        }
    }
});
