/*             Copyright             */
/* Esposito D Onofrio Nunzio (NedEX) */
/*           ned_ex@msn.com          */

var quanti = 6;
var corrente = 0;

function aggCollegamento(testo,coll){
	document.write('<a href="'+coll+'">'+testo+'</a>');
	if(corrente < quanti - 1){document.write(' - ');}
	corrente++;
}

function aggZonaSito(testo, pagina, curpg){
        if (pagina == curpg){
       	    document.write(testo);
        }
        else{
       	    document.write('<a href="http://'+sitoHTTP+'/?pag='+pagina+'&ln='+linguaggio+'">'+testo+'</a>');
        }
   if(corrente < quanti - 1){document.write(' - ');}
   corrente++;
}

function wBarra(sito){
document.write('<table class="menu" width="90%" cellpadding="2" cellspacing="0"><tr align="center"><td nowrap>');
aggCollegamento("Forum","http://dna-clan.forumfree.net/");

if (linguaggio == "it"){
	aggCollegamento("Entra nel clan DNA","http://dna-clan.forumfree.net/?t=27153403");
	aggCollegamento("Lista dei Cheaters","http://dna-clan.forumfree.net/?t=27808540");
	aggCollegamento("DNA & Cheating","http://dna-clan.forumfree.net/?t=27342513");
	aggZonaSito("Classifica","leaderboard",sito);
	aggZonaSito("Lista membri","members",sito);
}
if (linguaggio == "en"){
	aggCollegamento("Join in the DNA Clan","http://dna-clan.forumfree.net/?t=27153403");
	aggCollegamento("Cheaters List","http://dna-clan.forumfree.net/?t=27808540");
	aggCollegamento("DNA & Cheating","http://dna-clan.forumfree.net/?t=27342513");
	aggZonaSito("Leaderboard","leaderboard",sito);
	aggZonaSito("Members List","members",sito);
}
if (linguaggio == "de"){
	aggCollegamento("Trettet dem DNA Clan bei (EN)","http://dna-clan.forumfree.net/?t=27153403");
	aggCollegamento("Liste von Cheatern","http://dna-clan.forumfree.net/?t=27808540");
	aggCollegamento("DNA und Cheating","http://dna-clan.forumfree.net/?t=27342513");
	aggZonaSito("Rangliste","leaderboard",sito);
	aggZonaSito("Mitglieder Liste","members",sito);
}
document.write('<td align="right" nowrap>');
if (linguaggio == "it"){document.write('<b>Italiano</b>');}
else {document.write('<b><a href="http://'+sitoHTTP+'/?pag='+sito+'&ln=it">Italiano</a></b>');}
document.write(' - ');
if (linguaggio == "en"){document.write('<b>English</b>');}
else {document.write('<b><a href="http://'+sitoHTTP+'/?pag='+sito+'&ln=en">English</a></b>');}
document.write(' - ');
if (linguaggio == "de"){document.write('<b>Deutsch</b>');}
else {document.write('<b><a href="http://'+sitoHTTP+'/?pag='+sito+'&ln=de">Deutsch</a></b>');}
document.write('</td></table>');
}