function setLanguageOptions() { var href = document.location.href, deflt = href.substring(href.indexOf("default=")+8); document.write(""); document.write(""); }