function class_RegisterWP() {

    this.tbSchoolProvince = null; //tbSchoolProvince
    this.selLand = null;
    this.selKanton = null; //selSchoolProvince
    this.selKantonHide = null; //selSchoolProvinces
    this.ihDataMiner = null;
    this.cbPrivacy = null;
    this.font_cbPrivacy = null;
    
    this.swKanton = function(sender)
    {
        this.selKanton.options.length = 1;
        this.selKanton.selectedIndex = 0;

        for (var i=0; i < this.selKantonHide.options.length; i++)
            if (this.selKantonHide.options[i].attributes['name'].value == sender.selectedIndex)
            {
                this.selKanton.options[this.selKanton.options.length] = new Option( this.selKantonHide.options[i].text, this.selKantonHide.options[i].value, false, false);
            }
            
        this.ihDataMiner.value = '';
        document.getElementById('div_cbPrivacy').style.display = 'none';
        this.cbPrivacy.checked = true;
    }
    
    this.swKantonChange = function(sender)
    {
        this.tbSchoolProvince.value = sender.options[sender.selectedIndex].value;
        
        this.ihDataMiner.value = '';
        document.getElementById('div_cbPrivacy').style.display = 'none';
        
        for (i = 1; i < rwp_dma.length; i++)
        {
            land = this.selLand.options[this.selLand.selectedIndex].value;
            kanton = sender.options[sender.selectedIndex].value;
            if (rwp_dma[i][0] == land + '/' + kanton)
            {                
                this.font_cbPrivacy.innerHTML = rwp_dma[0][0].replace('{0}', rwp_dma[i][1]);
                
                this.ihDataMiner.value = rwp_dma[i][2] + ';' + rwp_dma[i][1];
                document.getElementById('div_cbPrivacy').style.display = '';
                break;
            }
        }
    }
    
}