var ref
var colspan =0
var type=navigator.appName
var site = (window.location);
if (type=="Netscape")
var lang = navigator.language
else
var lang = navigator.userLanguage
//cut down to first 2 chars of country code
var lang = lang.substr(0,2)
 if (ref!=null){
 site_id=login+"&ref="+ref
}else{
 site_id=login
}

document.write('<div align="center"><table><tr>');

document.write('<td align="center"><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=nl\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<img border="0" src="http://dialers.telco.nu/_flags/nederland.gif" width="34" height="26"></a>');
document.write('<br><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=nl\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<font size="1">Nederlnd</a></td> ');
colspan = colspan+1

document.write('<td align="center"><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=be\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<img border="0" src="http://dialers.telco.nu/_flags/belgie.gif" width="34" height="26"></a>');
document.write('<br><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=be\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<font size="1">Belgie</a></td> ');
colspan = colspan+1

document.write('<td align="center"><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=au\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<img border="0" src="http://dialers.telco.nu/_flags/oostenrijk.gif" width="34" height="26"></a>');
document.write('<br><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=au\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<font size="1">Austria</a></td> ');
colspan = colspan+1

document.write('<td align="center"><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=de\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<img border="0" src="http://dialers.telco.nu/_flags/duitsland.gif" width="34" height="26"></a>');
document.write('<br><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=de\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<font size="1">Deutsch.</a></td> ');
colspan = colspan+1

document.write('<td align="center"><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=es\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<img border="0" src="http://dialers.telco.nu/_flags/spanje.gif" width="34" height="26"></a>');
document.write('<br><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=es\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<font size="1">Espagne</a></td> ');
colspan = colspan+1

if (lang != "nl")
{	document.write('<td align="center"><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=lu\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
	document.write('<img border="0" src="http://dialers.telco.nu/_flags/luxemburg.gif" width="34" height="26"></a>');
	document.write('<br><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=lu\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
	document.write('<font size="1">Luxemb.</a></td> ');
colspan = colspan+1
}

if (lang != "nl")
{	document.write('<td align="center"><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=it\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
	document.write('<img border="0" src="http://dialers.telco.nu/_flags/italie.gif" width="34" height="26"></a>');
	document.write('<br><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=it\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
	document.write('<font size="1">Italie</a></td> ');
colspan = colspan+1
}

if (lang == "no")
{	document.write('<td align="center"><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=no\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
	document.write('<img border="0" src="http://dialers.telco.nu/_flags/noorwegen.gif" width="34" height="26"></a>');
	document.write('<br><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=no\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
	document.write('<font size="1">Norge</a></td> ');
colspan = colspan+1
}

document.write('<td align="center"><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=ch\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<img border="0" src="http://dialers.telco.nu/_flags/zwitserland.gif" width="34" height="26"></a>');
document.write('<br><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=ch\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<font size="1">Suisse</a></td> ');
colspan = colspan+1

document.write('<td align="center"><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=se\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<img border="0" src="http://dialers.telco.nu/_flags/zweden.gif" width="34" height="26"></a>');
document.write('<br><a href="#" onClick="window.open(\'http://dialers.telco.nu/dialer.php?site='+site_id+'&country=se\',\'Preview\',\'width=440,height=170,scrollbars=1,resizable=0\')">');
document.write('<font size="1">Sweden</a></td> ');
colspan = colspan+1

if (lang != "nl")
{	document.write('</tr><tr><td colspan=',colspan,' align="center"><a href="http://dialers.telco.nu/internationaal.php?site='+site_id+'" target="dialer">');
	document.write('<img border="0" src="http://dialers.telco.nu/_flags/internationaal.gif" width="120" height="26"></a>');
}

document.write('</tr></table></div>');

