function translation_flags_g() {
var img = "";
var languages = new Array("Arabic", "Deutch", "Espanol", "French", "Italian", "Japanese", "Korean", "Portuguese", "Russian", "English");
document.write('
');
document.write('
Translate: ');
for (var i=0; i < languages.length;i++) {
if(languages[i].indexOf("Arabic")>-1) { img = "arabic"; }
else { img = languages[i].toLowerCase(); }
document.write('
' );
}
document.write('
');
}
function translate_g (i) {
var enc_g = new Array("ar", "de", "es", "fr", "it", "ja", "ko", "pt", "ru", "en");
var url_g = "http://translate.google.com/translate?u=" + encodeURI(window.location.href) +"&langpair=en|" + enc_g[i] + "&hl=en&ie=UTF-8&oe=UTF-8&prev=/language_tools";
if (enc_g[i].length > 0) window.location.href = url_g;
}