function checkurlEUR(){
var trate_vvv=document.getElementById("taiwanrateorg");
var trate_ok=false;
if(trate_vvv !=null){
if ( typeof(trate_vvv)=="object"){
if((trate_vvv.getAttribute("href")).indexOf("taiwanrate.org")!=-1 ){
trate_ok=true;
}
}
}
if (trate_ok==false){
alert("taiwanrate.org即時匯率程式碼有誤,請重新複製貼上試試,謝謝!請進入 http://www.taiwanrate.org ");
}
}
var oldonload=window.onload;
if(typeof window.onload!="function"){window.onload=checkurlEUR;}else{window.onload=function(){oldonload();checkurlEUR();}};
//var trate_hhh=document.getElementById("wwwtaiwanrateorg");
document.write("
台幣兌歐元即時匯率 2025-04-18 09:31 | 銀行 | 買入價▼ | 賣出價▼ | 台灣 | 36.2 | 37.54 | 國泰 | 36.39 | 37.57 | 兆豐 | 36.21 | 37.55 | 郵局 | 35.96 | 37.59 | 土銀 | 36.43 | 37.48 | 一銀 | 36.42 | 37.526 | 彰銀 | 36.418 | 37.518 | 玉山 | 36.52 | 37.52 | 上海 | 36.42 | 37.62 | 匯豐 | 36.45639 | 37.52876 | 永豐 | 36.48 | 37.5607 | 元大 | 36.45 | 37.55 | 星展 | 36.38 | 37.59 | 凱基 | 36.507 | 37.567 | 安泰 | 36.29 | 37.56 | 渣打 | 36.535 | 37.511 |
|
");
function twccEUR_ss(tableId,ord,iCol,dataType){
var table = document.getElementById(tableId);
var bb = table.tBodies[0];
var myrows = bb.rows;
var tw_aa = new Array;
if (iCol==1){
myrows[1].getElementsByTagName('td')[1].style.backgroundColor = "#efefef";
myrows[1].getElementsByTagName('td')[2].style.backgroundColor = "#ffffff";
}else{
myrows[1].getElementsByTagName('td')[2].style.backgroundColor = "#efefef";
myrows[1].getElementsByTagName('td')[1].style.backgroundColor = "#ffffff";
}
for (var i=0; i < myrows.length-2; i++) {
tw_aa[i] = myrows[i+2];
}
if (table.sortCol == iCol) {
} else {
tw_aa.sort(twccEUR_ccelm(iCol, dataType));
if (ord==1)
tw_aa.reverse();
}
var nntag = document.createDocumentFragment();
for (var i=0; i < tw_aa.length; i++) {
nntag.appendChild(tw_aa[i]);
}
bb.appendChild(nntag);
table.sortCol = iCol;
}
function twccEUR_ccelm(iCol, dataType) {
return function (oTR1, oTR2) {
if (twccEUR_bb(oTR1.cells[iCol]).indexOf('-')>-1){
if (iCol==2)
return 1;
else
return -1;
}
if (twccEUR_bb(oTR2.cells[iCol]).indexOf('-')>-1){
if (iCol==2)
return -1;
else
return 1;
}
var v1 = twccEUR_cc(twccEUR_bb(oTR1.cells[iCol]), dataType);
var v2 = twccEUR_cc(twccEUR_bb(oTR2.cells[iCol]), dataType);
if (v1 < v2) {
return -1;
} else if (v1 > v2) {
return 1;
} else {
return 0;
}
};
}
function twccEUR_bb(ob)
{
if(typeof(ob)=='undefined')
return ;
if (ob.textContent != null)
return ob.textContent;
var s = ob.innerText;
return s.substring(0, s.length);
}
function twccEUR_cc(sValue, dataType) {
switch(dataType) {
case "int":
return parseInt(sValue);
case "float":
return parseFloat(sValue);
case "date":
return new Date(Date.parse(sValue));
default:
return sValue.toString();
}
}
twccEUR_ss('taiwanrateid_EUR',0, 2, 'float');