32,37d31 < < var lc_CC=''; < var prefix=''; < var bitsbetween=""; < var bhuh="~"; < 46d39 < 62,65d54 < function populatelccc() { < lc_CC=document.getElementById('sellccc').innerHTML; < } < 67,71d55 < setTimeout(populatelccc, 2000); < if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { < bitsbetween="m/translate"; < bhuh="|"; < } 127,129d110 < var xfound=false; // new ideas from May, 2015 here < var pdelim=''; < var smtc = "", mtc = ""; 138d118 < prefix=''; 146d125 < mtc = myThisCountry; 178,231c157 < if (1 == 4) xfound=true; < } //else { // new ideas from May, 2015 here < //document.title=prefix + myAllLanguages[myj].getAttribute("name").toLowerCase() + "/" + myAllLanguages[myj].getAttribute("code").toLowerCase() + " not with " + myThisCode.toLowerCase(); < //} < } < < smtc = myThisCode; < if (1 == 1 && !xfound && prefix == '' && lc_CC != '' && mtc != '') { // new ideas from May, 2015 here < //document.title=myTempDiv.title; < //prefix=mtc; //'Y '; < if (lc_CC != '') { < //prefix='Q '; < if (lc_CC.indexOf('"' + mtc + '"') != -1) { < var xiprefs, xendofs, xprefs=lc_CC.split('"' + mtc + '"'); < for (xiprefs=1; xiprefs"); < if (xendofs[xendofs.length - 1].length == 2 && prefix.indexOf(xendofs[xendofs.length - 1]) == -1) prefix = prefix + pdelim + xendofs[xendofs.length - 1].replace("zh", "zh-CN,zh-TW"); < pdelim=','; < } < } < } < //document.title=mtc; --- > } 238,241d163 < < if (myThisLanguageCode != "" && prefix.indexOf(myThisLanguageCode) == -1) { < prefix=prefix + pdelim + myThisLanguageCode; < } 244c166 < window.open("http://translate.google.com/" + bitsbetween + "#en|" + myThisLanguageCode + "|Hello%20from%20Sydney%20in%20Australia.".replace(bhuh,"/").replace(bhuh,"/"), myThisLanguageCode, "left=500,top=10,width=800,height=380"); --- > window.open("http://translate.google.com/#en|" + myThisLanguageCode + "|Hello%20from%20Sydney%20in%20Australia.", myThisLanguageCode, "left=500,top=10,width=800,height=380"); 254,256d175 < var xfound=false; // new ideas from May, 2015 here < var pdelim=''; < var smtc = "", mtc = ""; 287,338c206 < < smtc = myThisCode; < if (1 == 1 && !xfound && prefix == '' && lc_CC != '' && mtc != '') { // new ideas from May, 2015 here < //document.title=myTempDiv.title; < //prefix=mtc; //'Y '; < if (lc_CC != '') { < //prefix='Q '; < if (lc_CC.indexOf('"' + mtc + '"') != -1) { < var xiprefs, xendofs, xprefs=lc_CC.split('"' + mtc + '"'); < for (xiprefs=1; xiprefs"); < if (xendofs[xendofs.length - 1].length == 2 && prefix.indexOf(xendofs[xendofs.length - 1]) == -1) prefix = prefix + pdelim + xendofs[xendofs.length - 1].replace("zh", "zh-CN,zh-TW"); < pdelim=','; < } < } < } < //document.title=mtc; < } < < if (myThisLanguageCode == "" && mySpareThisLanguageCode != "") { --- > if (myThisLanguageCode == "" && mySpareThisLanguageCode != "") { 341,345c209 < } < < if (myThisLanguageCode != "" && prefix.indexOf(myThisLanguageCode) == -1) { < prefix=prefix + pdelim + myThisLanguageCode; < } --- > } 348c212 < window.open("https://translate.google.com/" + bitsbetween + "#en|" + myThisLanguageCode + "|Hello%20from%20Sydney%20in%20Australia.".replace(bhuh,"/").replace(bhuh,"/"), myThisLanguageCode, "left=500,top=10,width=800,height=360"); --- > window.open("http://translate.google.com/#en|" + myThisLanguageCode + "|Hello%20from%20Sydney%20in%20Australia.", myThisLanguageCode, "left=500,top=10,width=800,height=360"); 361c225 < window.open("https://maps.google.com/maps?q=" + cis, cis, "left=10,top=230,width=1300,height=470"); //,'mygi'); --- > window.open("https://maps.google.com/maps?q=" + cis, cis, "left=10,top=210,width=1300,height=520"); //,'mygi'); 363,367c227,228 < if (myThisLanguageCode != "" && prefix == '') { < window.open("https://translate.google.com/" + bitsbetween + "#en|" + myThisLanguageCode + "|Hello%20from%20Sydney%20in%20Australia.".replace(bhuh,"/").replace(bhuh,"/"), myThisLanguageCode, "left=500,top=10,width=800,height=360"); < if (("," + prefix + ",").indexOf("," + myThisLanguageCode + ",") != -1) { < prefix=prefix.replace(myThisLanguageCode, ""); < } --- > if (myThisLanguageCode != "") { > window.open("http://translate.google.com/#en|" + myThisLanguageCode + "|Hello%20from%20Sydney%20in%20Australia.", myThisLanguageCode, "left=500,top=10,width=800,height=360"); 370,375d230 < } < if (prefix.replace(/,/g,'') != '') { < var imylangs, mylangs=prefix.split(","); < for (imylangs=0; imylangs