%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/nailstv/public_html/de.nails.tv/js/admin/
Upload File :
Create Path :
Current File : /home/nailstv/public_html/de.nails.tv/js/admin/lang.js

function showLangTab(id, lnk)
{
    hideall();
    document.getElementById(id).style.display = 'block';
    lnk.className = 'tab_aktiv';
}

function hideall()
{
    var alldivs = document.getElementsByTagName('div');
    
    for (i = 0; i < alldivs.length; i++)
    {
        if(alldivs[i].className == 'language')
        {
            alldivs[i].style.display = 'none';
        }
    }
    
    var alltabs = document.getElementsByTagName('a');
    
    for (i = 0; i < alltabs.length; i++)
    {
        if(alltabs[i].className == 'tab_aktiv')
        {
            alltabs[i].className = 'tab';
        }
    }
}

function initTab(lang)
{
	var t = 'tab_'+lang;
	
	document.getElementById(lang).style.display = 'block';
	document.getElementById(t).className = 'tab_aktiv';
}

Zerion Mini Shell 1.0