/**
 * - ist Provider spezifisch
 * - ist leer wenn es für einen Provider keinen Zusatz gibt!
 */
var zusatz_config = {
    'bitte aussuchen' : { },
    
    'Call XS' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
    'Call S' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	//'Call M T-Mobile' : { /*'AKTION Spartarif' : 'AKTION Spartarif', */'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	//'Call M Festnetz' : { /*'AKTION Spartarif' : 'AKTION Spartarif', */'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	'Call L' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	
	'Special Call & Surf Mobil AKTION' : { },
	'Special Call 100' : { },
	
	'Call & Surf Mobil XS' : { },
    'Call & Surf Mobil S' : { },
	'Call & Surf Mobil M T-Mobile' : { },
	'Call & Surf Mobil M Festnetz' : { },
	'Call & Surf Mobil L' : { },
	
	'Complete Mobil S' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	'Complete Mobil M T-Mobile' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	'Complete Mobil M Festnetz' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	'Complete Mobil L' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	'Complete Mobil XL' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	
    'Call Friends S' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	'Call Friends M T-Mobile' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	'Call Friends M Festnetz' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	'Call Friends L' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	
    'Call & Surf Mobil Friends S' : { },
	'Call & Surf Mobil Friends M T-Mobile' : { },
	'Call & Surf Mobil Friends M Festnetz' : { },
	'Call & Surf Mobil Friends L' : { },
	
	'Complete Mobil Friends M T-Mobile' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	'Complete Mobil Friends M Festnetz' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	'Complete Mobil Friends L' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
	'Complete Mobil Friends XL' : { 'Spartarif' : 'Spartarif', '+ 10,-' : '+ 10,-'},
    
    /* */
    'web\'n\'walk Connect M' : { },
    'web\'n\'walk Connect L Premium' : { }
    /* */
};

/**
 * - ist Provider spezifisch
 * - gibt zurück welche Tarif Auswahl im nächsten Feld möglich sein soll
 * - gibt zurück ob die nächte Spalte angezeigt werden soll! 
 */
function getNextRates(num, next_rates) {
    var show_wnw = true;
    var is_wnw = ['web\'n\'walk Connect M', 'web\'n\'walk Connect L Premium'];
    
    var tarif_name;
    for (var i = 1; i <= num ; i++) {
        tarif_name = getTarifName(i);
        
        // es wird bereits ein wnw tarif bestellt! weitere sind nicht möglich!
        if (is_wnw.include(tarif_name)) {
            show_wnw = false;
        }
    }
    
    /* generiere mögliche tarife! provider spezifisch! */
    next_rates.push({name : 'Call XS', value : 'Call XS'});
    next_rates.push({name : 'Call S', value : 'Call S'});
    next_rates.push({name : 'Call M T-Mobile', value : 'Call M T-Mobile'});
    next_rates.push({name : 'Call M Festnetz', value : 'Call M Festnetz'});
    next_rates.push({name : 'Call L', value : 'Call L'});
    
    next_rates.push({name : 'Special Call & Surf Mobil AKTION', value : 'Special Call & Surf Mobil AKTION'});
    next_rates.push({name : 'Special Call 100', value : 'Special Call 100'});
    
    next_rates.push({name : 'Call & Surf Mobil XS', value : 'Call & Surf Mobil XS'});
    next_rates.push({name : 'Call & Surf Mobil S', value : 'Call & Surf Mobil S'});
    next_rates.push({name : 'Call & Surf Mobil M T-Mobile', value : 'Call & Surf Mobil M T-Mobile'});
    next_rates.push({name : 'Call & Surf Mobil M Festnetz', value : 'Call & Surf Mobil M Festnetz'});
    next_rates.push({name : 'Call & Surf Mobil L', value : 'Call & Surf Mobil L'});
    
    next_rates.push({name : 'Complete Mobil S', value : 'Complete Mobil S'});
    next_rates.push({name : 'Complete Mobil M T-Mobile', value : 'Complete Mobil M T-Mobile'});
    next_rates.push({name : 'Complete Mobil M Festnetz', value : 'Complete Mobil M Festnetz'});
    next_rates.push({name : 'Complete Mobil L', value : 'Complete Mobil L'});
    next_rates.push({name : 'Complete Mobil XL', value : 'Complete Mobil XL'});
    
    next_rates.push({name : 'Call Friends S', value : 'Call Friends S'});
    next_rates.push({name : 'Call Friends M T-Mobile', value : 'Call Friends M T-Mobile'});
    next_rates.push({name : 'Call Friends M Festnetz', value : 'Call Friends M Festnetz'});
    next_rates.push({name : 'Call Friends L', value : 'Call Friends L'});
    
    next_rates.push({name : 'Call & Surf Mobil Friends S', value : 'Call & Surf Mobil Friends S'});
    next_rates.push({name : 'Call & Surf Mobil Friends M T-Mobile', value : 'Call & Surf Mobil Friends M T-Mobile'});
    next_rates.push({name : 'Call & Surf Mobil Friends M Festnetz', value : 'Call & Surf Mobil Friends M Festnetz'});
    next_rates.push({name : 'Call & Surf Mobil Friends L', value : 'Call & Surf Mobil Friends L'});
    
    next_rates.push({name : 'Complete Mobil Friends M T-Mobile', value : 'Complete Mobil Friends M T-Mobile'});
    next_rates.push({name : 'Complete Mobil Friends M Festnetz', value : 'Complete Mobil Friends M Festnetz'});
    next_rates.push({name : 'Complete Mobil Friends L', value : 'Complete Mobil Friends L'});
    next_rates.push({name : 'Complete Mobil Friends XL', value : 'Complete Mobil Friends XL'});
    
    if (show_wnw) {
        /* */
        next_rates.push({name : 'web\'n\'walk Connect M', value : 'web\'n\'walk Connect M'});
        next_rates.push({name : 'web\'n\'walk Connect L Premium', value : 'web\'n\'walk Connect L Premium'});
        /* */
    }
    
    return true;
}

