function t2s(){//繁转简
var fname;
fname = window.location.href.match(/.+\/([^?]*)/)[1];
window.location=fname.replace("_t.htm","_s.htm");
return false;
}
function s2t(){//简转繁
var fname;
fname = window.location.href.match(/.+\/([^?]*)/)[1];
window.location=fname.replace("_s.htm","_t.htm");
return false;
}
function c2e(){//中转英
var fname;
fname = window.location.href.match(/.+\/([^?]*)/)[1];
fname=fname.replace("_s.htm",".htm");
fname=fname.replace("_t.htm",".htm");
window.location=fname;
return false;
}
function e2t(){//英转繁
var fname;
fname = window.location.href.match(/.+\/([^?]*)/)[1];
fname=fname.replace(".htm","_t.htm");
window.location=fname;
return false;
}
function e2s(){
var fname;
fname = window.location.href.match(/.+\/([^?]*)/)[1];
alert(fname);
fname=fname.replace(".htm","_s.htm");
window.location=fname;
return false;
}
function e2s(){//英转简
var fname;
fname = window.location.href.match(/.+\/([^?]*)/)[1];
fname=fname.replace(".htm","_s.htm");
window.location=fname;
return false;
}

