function pop(i) {
	nopop(1);
	nopop(2);
	nopop(3);
	if ( i == 1) { var popup = document.getElementById('quicktabsLoesungen'); }
	if ( i == 2 ) { var popup = document.getElementById('quicktabsLeistungen'); }
	if ( i == 3 ) { var popup = document.getElementById('quicktabsVeranstaltungen'); }
    
	if(popup != null) {	
		popup.style.display = 'block';
/*        if (i == 1) {
            document.getElementById('popupNav1').style.backgroundColor = 'white';
            document.getElementById('Netzinfrastruktur').style.display = 'block';
            } else { if ( i == 2) {
                document.getElementById('popupNav11').style.backgroundColor = 'white';
                document.getElementById('Analyse').style.display = 'block';
                } else { if ( i == 3) {
                    document.getElementById('Schulungen').style.backgroundColor = 'white';
                    document.getElementById('Netzinfrastruktur').style.display = 'block';
                        }
                }
        }
        if (showContent2 != null) {
            showContent2.style.display = 'block';
        }*/
	}
}

function nopop(i) {  
	if ( i == 1)                        { var nopop = document.getElementById('quicktabsLoesungen'); }
	if ( i == 2 )                       { var nopop = document.getElementById('quicktabsLeistungen'); }
	if ( i == 3 )                       { var nopop = document.getElementById('quicktabsVeranstaltungen'); }
    
	if (nopop != null) {
		nopop.style.display = 'none';
	}
}

function showContent(i) {
    showno('Netzinfrastruktur');
    showno('Anwendungen');
    showno('Netzwerksicherheit');
    showno('Analyse');
    showno('Beratung');
    showno('Integration');
    showno('Betrieb');
    showno('Schulungen');
    showno('Messen');
    showno('Aktionen');
    if ( i == 'Netzinfrastruktur' )     { var showContent = document.getElementById('Netzinfrastruktur'); }
	if ( i == 'Anwendungen' )           { var showContent = document.getElementById('Anwendungen'); }
	if ( i == 'Netzwerksicherheit' )    { var showContent = document.getElementById('Netzwerksicherheit'); }
    if ( i == 'Analyse' )               { var showContent = document.getElementById('Analyse'); }
	if ( i == 'Beratung' )              { var showContent = document.getElementById('Beratung');}
	if ( i == 'Integration' )           { var showContent = document.getElementById('Integration'); }
    if ( i == 'Betrieb' )               { var showContent = document.getElementById('Betrieb'); }
	if ( i == 'Schulungen' )            { var showContent = document.getElementById('Schulungen'); }
	if ( i == 'Messen' )                { var showContent = document.getElementById('Messen'); }
    if ( i == 'Aktionen' )              { var showContent = document.getElementById('Aktionen'); } 

	if (showContent != null) {
		showContent.style.display = 'block';
	}
}

function showno(i) {  
	if ( i == 'Netzinfrastruktur' )     { var showContent = document.getElementById('Netzinfrastruktur'); }
	if ( i == 'Anwendungen' )           { var showContent = document.getElementById('Anwendungen'); }
	if ( i == 'Netzwerksicherheit' )    { var showContent = document.getElementById('Netzwerksicherheit'); }
    if ( i == 'Analyse' )               { var showContent = document.getElementById('Analyse'); }
	if ( i == 'Beratung' )              { var showContent = document.getElementById('Beratung');}
	if ( i == 'Integration' )           { var showContent = document.getElementById('Integration'); }
    if ( i == 'Betrieb' )               { var showContent = document.getElementById('Betrieb'); }
	if ( i == 'Schulungen' )            { var showContent = document.getElementById('Schulungen'); }
	if ( i == 'Messen' )                { var showContent = document.getElementById('Messen'); }
    if ( i == 'Aktionen' )              { var showContent = document.getElementById('Aktionen'); } 
	
	if (showContent != null) {
        showContent.style.display = 'none';
	}
}
