function gottourl(objObject){location.href=objObject.value;}
function languages(){var content=window.location.toString();var parts=content.split("/")
var result=parts[parts.length-2]+'/'+parts[parts.length-1]
var dirname=result.split("/")
var foldername=dirname[0]
document.write("<table width='100%' border='0' cellspacing='4' cellpadding='0'>");document.write("<tr>");document.write("<td align='right'>");document.write("    <form id='form1' name='form1' method='post' action=''>");document.write("    <label>");document.write("    <select name='cmbLanguage' class='selecttop' onchange='gottourl(this)'>");if (foldername=="english"){document.write("        <option value='http://www.oxynergy.com/english/index.html' selected>English</option>");}
else{document.write("        <option value='http://www.oxynergy.com/english/index.html'>English</option>");}
if (foldername=="spanish"){document.write("        <option value='http://www.oxynergy.com/spanish/index.html' selected>Español</option>");}
else{document.write("        <option value='http://www.oxynergy.com/spanish/index.html'>Español</option>");}
if (foldername=="france"){document.write("        <option value='http://www.oxynergy.com/france/index.html' selected>Français</option>");}
else{document.write("        <option value='http://www.oxynergy.com/france/index.html'>Français</option>");}
if (foldername=="arabic"){document.write("        <option value='http://www.oxynergy.com/arabic/index.html' selected>Arabic</option>");}
else{document.write("        <option value='http://www.oxynergy.com/arabic/index.html'>Arabic</option>");}
if (foldername=="persian"){document.write("        <option value='http://www.oxynergy.com/persian/index.html' selected>Persian</option>");}
else{document.write("        <option value='http://www.oxynergy.com/persian/index.html'>Persian</option>");}
if (foldername=="denmark"){document.write("        <option value='http://www.oxynergy.com/denmark/index.html' selected>Dansk</option>");}
else{document.write("        <option value='http://www.oxynergy.com/denmark/index.html'>Dansk</option>");}
if (foldername=="tcheck"){document.write("        <option value='http://www.oxynergy.com/tcheck/index.html' selected>Tcheck</option>");}
else{document.write("        <option value='http://www.oxynergy.com/tcheck/index.html'>Tcheck</option>");}
if (foldername=="romana"){document.write("        <option value='http://www.oxynergy.com/romana/index.html' selected>Romania</option>");}
else{document.write("        <option value='http://www.oxynergy.com/romana/index.html'>Romania</option>");}
if (foldername=="chinese"){document.write("        <option value='http://www.oxynergy.com/chinese/index.html' selected>中文</option>");}
else{document.write("        <option value='http://www.oxynergy.com/chinese/index.html'>中文</option>");}
if (foldername=="russia"){document.write("        <option value='http://www.oxynergy.com/russia/index.html' selected>русский</option>");}
else{document.write("        <option value='http://www.oxynergy.com/russia/index.html'>русский</option>");}
if (foldername=="swedish"){document.write("        <option value='http://www.oxynergy.com/swedish/index.html' selected>Svenska</option>");}
else{document.write("        <option value='http://www.oxynergy.com/swedish/index.html'>Svenska</option>");}
if (foldername=="lt"){document.write("        <option value='http://www.oxynergy.com/lt/index.html' selected>Lietuvių</option>");}
else{document.write("        <option value='http://www.oxynergy.com/lt/index.html'>Lietuviųّ</option>");}
document.write("    </select>");document.write("    </label>");document.write("    </form>");document.write("</td>");document.write("</tr>");document.write("</table>");}
