呂秀蓮特別費案今開庭
吳宗憲金鐘落選不服?
〈世界盃〉中華第8名
謝挑馬辯論,馬不敢?
立委總統與公投一階段領投票
陸客華爾街騎銅牛
扁在故鄉拉票要全壘打
謝長廷獲勝選秘笈有用嗎?
http://pk.yam.com/open_inner.php?topic_id=4595
you tube
首頁
Senden
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;
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";
}
}
localeList = {
ru_RU:"http://static.youtube.com/yt/img/flags/ru_RU-vfl27240.gif"
, en_US:"http://static.youtube.com/yt/img/flags/en_US-vfl27469.gif"
, en_CA:"http://static.youtube.com/yt/img/flags/en_CA-vfl27240.gif"
, zh_TW:"http://static.youtube.com/yt/img/flags/zh_TW-vfl27240.gif"
, es_MX:"http://static.youtube.com/yt/img/flags/es_MX-vfl27240.gif"
, pt_BR:"http://static.youtube.com/yt/img/flags/pt_BR-vfl22214.gif"
, de_DE:"http://static.youtube.com/yt/img/flags/de_DE-vfl22579.gif"
, en_IE:"http://static.youtube.com/yt/img/flags/en_IE-vfl22214.gif"
, ja_JP:"http://static.youtube.com/yt/img/flags/ja_JP-vfl22214.gif"
, fr_FR:"http://static.youtube.com/yt/img/flags/fr_FR-vfl22214.gif"
, pl_PL:"http://static.youtube.com/yt/img/flags/pl_PL-vfl22214.gif"
, en_AU:"http://static.youtube.com/yt/img/flags/en_AU-vfl28128.gif"
, en_NZ:"http://static.youtube.com/yt/img/flags/en_NZ-vfl27240.gif"
, it_IT:"http://static.youtube.com/yt/img/flags/it_IT-vfl22214.gif"
, en_GB:"http://static.youtube.com/yt/img/flags/en_GB-vfl22214.gif"
, nl_NL:"http://static.youtube.com/yt/img/flags/nl_NL-vfl22214.gif"
, es_ES:"http://static.youtube.com/yt/img/flags/es_ES-vfl22214.gif"
, zh_HK:"http://static.youtube.com/yt/img/flags/zh_HK-vfl27240.gif"
};
flagImgsLoaded = false;
function loadFlagImgs() {
if (flagImgsLoaded) {
return
}
for (var locale in localeList) {
var img = document.getElementById('flag_' + locale);
if (img) {
addClass(img, "flag_" + locale);
//img.src = localeList[locale];
}
}
flagImgsLoaded = true;
}
function getLocale() {
return zh_TW;
}
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)
{
var element = e.target || e.srcElement;
if (element.className.indexOf('localePickerLink') == -1 && element.className.indexOf('currentFlag') == -1)
{
closeLocalePicker();
}
});
俄羅斯
全世界
加拿大
台灣
墨西哥
巴西
德國
愛爾蘭
日本
法國
波蘭
澳洲
紐西蘭
義大利
英國
荷蘭
西班牙
香港
關閉
http://tw.youtube.com/watch?v=9TSTNVCTD6A&feature=bz302 |