function change_parameters (obj){
if (obj.name=="loccurrency"){
document.afpForm.loccurrency.value=obj[obj.selectedIndex].value;
}else if (obj.name=="loccountry"){
document.afpForm.loccountry.value=obj[obj.selectedIndex].value;
}
}
function ReloadPage (command)
{
if (!document.preforma) {return true;}
if (command == null)
command = '';
treeCgiName = "gate";
index = document.preforma.loclanguage.selectedIndex;
langParam = document.preforma.loclanguage.options[index].value;
treeLang = "@"; // value does not matter as far as it is different from any possible langugage code
treeLang = "en";
if (command != '' || true)
{
if ("" != langParam)
{
langParam = "&loclanguage=" + langParam;
}
if ( document.preforma.loccountry )
{
index = document.preforma.loccountry.selectedIndex;
langParam = "&loccountry=" + document.preforma.loccountry.options[index].value + langParam;
}
if ( document.preforma.loccurrency )
{
index = document.preforma.loccurrency.selectedIndex;
cParam = document.preforma.loccurrency.options[index].value;
if ("" != cParam)
{
langParam += "&loccurrency=" + cParam;
}
}
window.location.href="/cgit/" + treeCgiName + "?wires=146524053EuiZfaKOfZl&agentid=b2cgld&command=" + langParam;
}
return false;
}