function changeLang(select, up)
{
    if (up) {
      prefix = '../';
    } else {
      prefix = '';
    }
	switch (select.selectedIndex) {
		case 0:
			document.location.href = prefix + 'index.html';
			select.className = 'us';
			break;
		case 1:
			document.location.href = prefix + 'index.de.html';
			select.className = 'de';
			break;
		case 2:
			document.location.href = prefix + 'index.es.html';
			select.className = 'es';
			break;
		case 3:
			document.location.href = prefix + 'index.fr.html';
			select.className = 'fr';
			break;
		case 4:
			document.location.href = prefix + 'index.ru.html';
			select.className = 'ru';
			break;
	}
	return true;
}

