I have a compatability problem with this script that I'm using for Firefox. It's a script that allows someone who's viewing a page in a particular language (ex: English) to click on a button and it changes to the exact same page located in another directory on the webserver but in another language (ex: Spanish). An example of how it would be used would be on this page: www.united.com.br. There is a link on top to change languages between English and Portugues. The only problem with this one is if you are navigating the site and have reached a page and want to change the language there - you can't. This button will take you back to the index but in the other language. I want the same thing except that it stays on the same page. I found a script that does this but it only works in IE - not FF. Here's the script:
for (var zxc0=0;
<span onclick="CngLinks(this);" value="espanol|english"><a href="#">English</a></span>  <span class="headerpipe">|</span>
Does anyone have any suggestions?