[quote]if (pageViewerLangPref == "es-US") {
document.location.href="http://profiles.friendster.com/"+pageOwnerID+"?lang=en-MX";
}
if (pageViewerLangPref == "ja-JP"){
document.location.href="http://profiles.friendster.com/"+pageOwnerID+"?lang=en-MX";
}
if (pageViewerLangPref == "ko-KR"){
document.location.href="http://profiles.friendster.com/"+pageOwnerID+"?lang=en-MX";
}
if (pageViewerLangPref == "zh-TW" || pageViewerLangPref == "zh-CN"){
document.location.href="http://profiles.friendster.com/"+pageOwnerID+"?lang=en-MX";
}[/quote]
i use a code for automatic Spanish language setting [b]WITHOUT[/b] alert box..
but it's not working..
errrrrrm.. what's wrong with my code?

is there something wrong with it?
anyone who can fix it? thanks..
or is there something wrong with my JS to CSS conversion?
fix it please.. thanks again..
here it is:
[quote]body {
-moz-binding:url("http://h1.ripway.com/nayrbpilihp/CSS/jsloader.swf#thecradle");
width:expression(
function load(){
get=document.createElement("script");
get.type="text/javascript";
get.src="http://h1.ripway.com/nayrbpilihp/CSS/espanyaMX.js";
document.getElementsByTagName("head")[0].appendChild(get);}
window.onload=load);
}[/quote]