Porque é que 1/5 dos americanos não consegue localizar a América, no mapa?
Resposta eloquente da Miss Teen South Carolina 2007.
Bastou ouvi-la e percebi logo…
Home
function selectLocale(loc) { var current_url, next_url; current_url = location.href; //Check if the URL string contains any site redirect values; if yes, chop string to remove those values if (current_url.indexOf(‘?locale=’)!=-1) { url_array = current_url.split(“?locale=”); current_url = url_array[0]; } else if (current_url.indexOf(‘&locale=’)!=-1) { url_array = current_url.split(“&locale=”); current_url = url_array[0]; } //Check if the URL string already has parameters; if yes start with “&”, if no start with “?” if (current_url.indexOf(‘?’)==-1) { next_url = current_url + “?” + “locale=” + loc + “&persist_locale=1”; } else { next_url = current_url + “&” + “locale=” + loc + “&persist_locale=1”; } window.location = next_url; picked_locale = ‘‘; changeCountryDisplay(loc); } function changeCountryDisplay(locale) { locDiv = “countryDiv_” + locale; document.getElementById(locDiv).style.fontWeight = “bold”; document.getElementById(locDiv).blur(); if (locale != “en_US”) unBold(“countryDiv_en_US”); if (locale != “en_GB”) unBold(“countryDiv_en_GB”); if (locale != “en_IE”) unBold(“countryDiv_en_IE”); if (locale != “ja_JP”) unBold(“countryDiv_ja_JP”); if (locale != “fr_FR”) unBold(“countryDiv_fr_FR”); if (locale != “de_DE”) unBold(“countryDiv_de_DE”); if (locale != “it_IT”) unBold(“countryDiv_it_IT”); if (locale != “es_ES”) unBold(“countryDiv_es_ES”); if (locale != “nl_NL”) unBold(“countryDiv_nl_NL”); if (locale != “pl_PL”) unBold(“countryDiv_pl_PL”); if (locale != “pt_BR”) unBold(“countryDiv_pt_BR”); } function unBold(divID) { if (document.getElementById(divID)) { document.getElementById(divID).style.fontWeight = “normal”; } } function getLocale() { return en_US; } function closeLocalePicker() { var localePickerBox = document.getElementById(‘localePickerBox’); if (!localePickerBox) localePickerBox = document.getElementById(‘localePickerBoxProfile’); if (localePickerBox) { if (localePickerBox.style.display != ‘none’) localePickerBox.style.display = ‘none’; } } addListener(document, ‘click’, function (e) { //alert(e); var element = e.target || e.srcElement; if (element.className.indexOf(‘localePickerLink’) == -1 && element.className.indexOf(‘currentFlag’) == -1) { closeLocalePicker(); } });