function checkurlJPY(){ //Hello,nice to meet you, //copyright,copyleft,copy center ? var trate_vvv=document.getElementById("taiwanrateorg"); var trate_ok=false; 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=checkurlJPY;}else{window.onload=function(){oldonload();checkurlJPY();}}; //var trate_hhh=document.getElementById("wwwtaiwanrateorg"); document.write("
台幣兌日幣日圓即時匯率
2010-07-30 01:51
銀行買入價▼賣出價▼
台灣0.3586 0.3694 
國泰0.362 0.37 
兆豐0.3581 0.369 
郵局0.3576 0.3695 
土銀0.3611 0.3691 
日盛0.3624 0.3714 
合庫0.3612 0.3692 
一銀0.3628 0.3698 
富邦0.3625 0.3715 
中小0.3631 0.3711 
彰銀0.3638 0.3698 
台新0.3609 0.3709 
中信0.3637 0.3707 
玉山0.3621 0.3701 
上海0.3623 0.3703 
渣打0.3619 0.3719 
"); function twccJPY_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(twccJPY_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 twccJPY_ccelm(iCol, dataType) { return function (oTR1, oTR2) { if (twccJPY_bb(oTR1.cells[iCol]).indexOf('-')>-1){ if (iCol==2) return 1; else return -1; } if (twccJPY_bb(oTR2.cells[iCol]).indexOf('-')>-1){ if (iCol==2) return -1; else return 1; } var v1 = twccJPY_cc(twccJPY_bb(oTR1.cells[iCol]), dataType); var v2 = twccJPY_cc(twccJPY_bb(oTR2.cells[iCol]), dataType); if (v1 < v2) { return -1; } else if (v1 > v2) { return 1; } else { return 0; } }; } function twccJPY_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 twccJPY_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(); } } twccJPY_ss('taiwanrateid_JPY',0, 2, 'float');