Copy Code code as follows:
var default_isft = 0//default is traditional, 0-simplified, 1-Traditional
var stranit_delay = 50//Translation delay millisecond (this is designed to let the Web page appear smoothly first)
--code start, do not change the following
Convert text
function Strantext (txt,toft,chgtxt)
{
if (txt== "" | | Txt==null) return ""
Toft=toft==null? Bodyisft:toft
if (chgtxt) txt=txt.replace (Toft?) Jane ":" (Toft?) Fan ":" Jane "))
if (Toft) {return traditionalized (TXT)}
else {return simplized (TXT)}
}
converting objects, using recursion, stripping layers to text
function Stranbody (fobj)
{
if (typeof (fobj) = = "Object") {var obj=fobj.childnodes}
Else
{
var tmptxt=gb2big5_obj.innerhtml.tostring ()
if (Tmptxt.indexof ("Jane") <0)
{
Bodyisft=1
Gb2big5_obj.innerhtml=strantext (tmptxt,0,1)
Gb2big5.title=strantext (gb2big5.title,0,1)
}
Else
{
Bodyisft=0
Gb2big5_obj.innerhtml=strantext (tmptxt,1,1)
Gb2big5.title=strantext (gb2big5.title,1,1)
}
Setcookie (jf_cn,bodyisft,7)
var obj=document.body.childnodes
}
for (Var i=0;i<obj.length;i++)
{
var Oo=obj.item (i)
if ("| | br|hr| Textarea| ". IndexOf ("|") +oo.tagname+ "|") >0| | Oo==gb2big5_obj) continue;
if (oo.title!= "" &&oo.title!=null) Oo.title=strantext (oo.title);
if (oo.alt!= "" &&oo.alt!=null) Oo.alt=strantext (Oo.alt);
if (oo.tagname== "INPUT" &&oo.value!= "" &&oo.type!= "text" &&oo.type!= "hidden") oo.value= Strantext (Oo.value);
if (oo.nodetype==3) {Oo.data=strantext (Oo.data)}
else Stranbody (OO)
}
}
function Jtpystr ()
{
return ' Ai io Hinder love ao ao dam strike to do trip help tied pound slander to peel full bao Pao, abalone Jackal prepare exhausted the closing of the closed edge, the change of the debate braid turtle, Bin bin, and the port of the port of the cake, platinum and The silkworm residual Cang Cang toilet side book measurement layer astonished mixed cicada greedy slander the shovel production of a long time to pay the bowel factory Chang Chong Chong Chen lining Brace said correctional Cheng Crazy late chi shame teeth Blazing Chong Bug pet domain 踌 to raise silk ugly cupboard kitchen hoe virgin storage contact with sores Chuang Chong Hammer Pure words to give Cong chimneys from the bundle of mistakes up to take credit Tan Shan mend Christmas bomb when the party dang stalls prayer of the island and the light to steal the lamp Deng's enemy the pad Dian Dian diao the top spindle poker-plated forged break satin team to ton of blunt goose amount of false hunger er the bait to send a penalty valve-----------------------------------------Rice The obituary of the woman bound the calcium Gaigan, gan Gang Gang steel outline hillock Gao pick pigeon GE Chrome to Shing gong Gou structure buy enough of the Guan Guan Hall of the habitual wide regulation of the Turtle friend of the Ark of your executioner roll pot country over the shocking Han Hanyu Hok-He-bang hung-hung after the Hu Hu-hua painting, the picture of the bad Huan ring also slow change call 痪 Huan Huan yellow lie wave to destroy bribe dirty will be the meat of the collection of the goods disaster hit the machine hunger and the chicken performance of the order to squeeze a few thistle Practice cheap See key ship sword money gradually splash Jian Jiang Oar award sauce glue pouring pride jiao richest the stalk of the stem surprised by the neck Jing Jing Jing Jing, the old colt lifting according to the saw fear of the play Juan Juan Jie Jie commandments of the tight Kam Jin only to Jin to make the king of the King of the Army June Kai Shell class Ken Executioner The kui of the wide-mine condition and the widening of the wax------------------------------------------------------Lan speak chain love refining and food cooling two-------------------------------------------Lease The twin and the disorderly whirl Lun Lun the LUN the Luo luo logos gongs the Mule Luo the mother the horse code MA to scold to sell the MAI to buy the wheat sells Mai to conceal eels to be quite full 谩 cat anchor riveting trade Mody the absurd to seek mu na difficult to tickle the brain annoyed and tired of driving twist stuffed birds Nie nickel lemon hunting ning twist muddy button New pus, the Ouchi of malaria, and the love of the cost of the injection Peng cheat spread the poor apple with the evaluation of the splash of the spectrum of the navel Qi ride The gas discard to pull the lead brazing to move to sign modest money clamp latent shallow plague gun choke wall Qiang strong Rob Spade bridge Chowa to steal chin to kiss lightly the Hydrogen pour is please qing June in the impoverished area of the body drive caries and zygomatic right advised but Magpie let Rao around hot toughened thread plush soft sharp leap embellish the gills The umbrella is dead Sao sweep to kill the gauze screen bask in the support to burn the credit to be on the subject of the examination of the kidney infiltration sound rope wins the Holy Master Lion wet poetic corpse when the erosion of the body of the spirit of the book Vertical number of handsome two who tax shun said Shuo impressive Su though sui-sun damage bamboo shoot Shrinkage Lock Rex tart raise stand greedy paralysis beach tan sigh soup hot tao sash The body drawer stick Iron Hall Listen hydrocarbon copper Head map Coating Regiment decadent shed tuo Tuo camel-Bend Bay stubborn million network Wei Wei pseudo Wei Wei Wen to hear the grain stability asked urn i scroll vortex nest Wu--------------------sacrifice Shovel fresh fiber in narrow mansionXian Yin Title Leisure show Xianxian Stuffing Xian-Xian line set Township detailed sound xiao Pin Xiao sell the Scorpion association with the stress of the harmonic writing Xie Xie Zinc Peacemaker hing because they rust embroidery must be Xu Yu continued Xuan selected Tinea Xuan to seek training and the weak pressure Jay Duck dumb-------------------------------------------------------------------鸯 Yang Fluorescent Ying fly yo fu carbuncle Dance Yong Yong Chung-yu-------------------------fishing entertainment and Yu language urged Yu Yu Yuan Yuan shafts Park members of the circle is far willing to key Yue Yue Yue to read clouds Yunyang evenly Yun Yun Christie Halo rhyme Miscellaneous Disaster load save temporary praise dirty cut jujube focus on the choice ze thief gift in the rolling------------------------------------------------------- The end of the swelling of the masses of the eyes of the day sudden pig all the sword will be cast to build in the brick to make a pile Zhuang makeup zhuang-shaped cone pendant zhun turbidite total longitudinal 邹诅 Group Drill-induced Zhong for only the fierce open plate Gimli remaining chain vent ';
}
function Ftpystr ()
{
return ' 皚 藹 翺 襖 Olympic dams strike to issue to help bind the pound 絆 謗 saturated stripped lifetime Bob 鋇 reserve 狽 pen after shot off awareness 辮 鼈 癟 endangered riverwalk Penn 擯 waffles flick 缽 Platinum connected carrot supplement 蠶 ashamed and sad brightening hatch barn 滄 toilet on the side of the hierarchy 詫 攙 摻 cicadas 饞 The 讒 dogfight the Spade field to try to be in the same sausage factory makes car completely dust Chen Chen trembling to be punished money lined late-騁 the worm pet fool so 疇 Broke creative cylinders Pure Dolcevita resignation Word to the wise onion chimney from the bush compact the wrong to take a loan 竄 鄲 daring 撣 file 搗 Island prays for pirate lights Tang enemy 滌 to 締 point cushion the fishing to adjust mole overlap The top 錠 Subscribe building 犢 A plated forgings ribbons confirmed captured tons dull goose the 訛 of the bait to be punished 貳 valve 琺 of the 礬 of the trouble 釩 the trafficking flying waste Lyon colorful exciting graves dung the wind crazy maple sewing Fung ironic skin Phoenix 訃 bondage should tetrahydrate to 稈 贛 the castle, Car Longgang, 臯, Hao, stranded pigeons to loft the chrome, 龔 enough 蠱 to look after 剮 's habits consistent the turtle 閨 track Tricks deli precious 劊 輥 Roll pan country hackers 閡 Hubbard Huan after the red pot to protect 滬 rushing, and to change the call paralyzed Longoza the 渙 yellow lie bribery 穢 燴 conceal, 誨, 葷, 渾, accident, hunger, 譏, and the warrant of the chickens Economics remember the clip pods cheeks Steve Potassium price destroyers discipline 箋 Tough 緘 cocoon Check berberine alkaline chosen pick simple 儉 recommended threshold draw practices cheap, 餞 splash 澗 plasma 蔣 propeller prize sauce watering proud delicate stirring 鉸 矯 僥 foot 餃 paying the 絞 vehicles the more 稭 class penis the neck of the microscope 痙 the tangled 廄 the 駒 saw and Huan, and only silk the commandments, She to Antony the cautious of the course Shan ashes, and the opening of a juice Negundo class Wide mines 曠 Situation thanks 巋 Glimpse feedback Breakdown extension wide wax to the blue fence intercept basketball 闌 Poland 瀾 讕 Browse 攬 Lazy Cables Labor 澇 Music beam softball tears fence She Grit calendars Asphalt slave Lian Lian Lian scythe poor ripples curtain 斂 facial necklace food, alchemy, 遼 鐐, Scales, 凜, 賃, Fanling, distillation Chris Lau, deaf throat cage monopolistic 攏 隴 Lou, the 摟 簍, Aloe Toulouse, 顱 bailu 擄, 鹵, captive bribe Paul, Donkey and Lu, 孿 灤 Stall, rurunrun boundary 綸, the Prime, Gong 籮 騾, Camel, 螞蟻. Buy a microphone scoid 饅 is full of 謾 Cat road 鉚 not magnesium boring dream oleate mystery 覓 sponge Temple extinction Myanmar Mercy 閩 resonance the conspiracy acre sodium harass brain 餒 膩 攆 linen stuffed bird 聶 rodents 鑷 鎳 lemonade 獰 ning screwed 濘 the 膿 the malaria to the European Seagull 毆 嘔 the state of love 漚 spray reparations deceive the poor Apple trampun comment thin songkran Aleppo poker cobblestone recipe Pot the belly 訖 扡 釺 Lead humility money bleeder potential shallow condemnation graben gun 嗆 walls 薔 strong Rob 鍬 bridge Joe 僑 dead tricks theft light hydrogen 頃 please celebrate Vigénère poor area torso 齲 zygomatic rights advise Choquette let spare disturb the sewing glory fuzzy rinjita profit sprinkled gills race umbrella harassment Shibuya kill yarn and filter and 曬 陝 the 贍 to be burned in 繕 the 賒 the trial deterrent The gentleman of the Holy Master 嬸 in the Wet poets kidney The knowledge of the game explaining the penetrated Erector spinae number handsome both who tax the welcome flashing fan 飼 Towering 慫 celebrate courts the recite 擻 Soviet tell serious although 綏 age grandchildren damage 筍 trivial lock 獺 撻 擡 stalls greedy paralyzed beach altar Tantra talk Marvel soup hot Wentao 縧 burn 謄 銻 The subject drawer to listen to 烴 bronze smear ensemble 頹 transformation Ostrich 馱 Camel Elliptical orbits 窪 sock Bend Bay Friend all around 濰 葦 difference. Wen wen stability Chung jar 撾 蝸 swirl hive oooo The tungsten 誣 no 蕪 Wu Hollywood task fog sacrifice attack wide the 銑 the strait lobster Narrow Building 鍁Salt 謙賢 title did nothing the present filling envy Constitution compartment 鑲 of the county Depression Marketing tsunami Die GIMP to write harmony thank you firebrake provocative 洶 rusty embroidery virtual 噓 Lingxuan The school 癬 絢 training hoon untamed pressure jefferson oxen smoked Salt 閻 硯 諺 Experience 鴦 Yang the 瘍 Sun itch 瑤 the Yau, 窯 She the arts and the Heritage 銥 the 頤 the silver drink 彜 the baby ants should 詣 the 繹 of the same. The 熒 flies stand yo maid 癰 and 踴 Ving Tsun and the fish fishing 鈾 and the language of the camp harness 鴛 depths 轅 Park, Keys Chow Cantonese, 鄖 evenly, crater and 蘊, the 醞. Temporary sponsorship 贓 Dirty 鑿-竈 sepia donors Yozakku 劄 gin 鍘 閘 Scams fasting debt 氈 盞 cutting 輾 brand Hoteis war bloomed and increases account accounts hyperinflation 趙 蟄 the 轍 this 鍺 to be diagnosed with the Joan struggle and open My 猙 The final species of swelling crush 謅 axis wrinkled day, 誅, candles, 矚, Testament, storage cast, stationed and brick. 綴 諄 濁 The 漬 of the complex 鄒 group, the Curse of the "靂".
}
function traditionalized (cc) {
var str= ', Ss=jtpystr (), Tt=ftpystr ();
for (Var i=0;i<cc.length;i++)
{
if (Cc.charcodeat (i) >10000&&ss.indexof (Cc.charat (i))!=-1) Str+=tt.charat (Ss.indexof (Cc.charAt (i)));
else Str+=cc.charat (i);
}
return str;
}
function simplized (cc) {
var str= ', Ss=jtpystr (), Tt=ftpystr ();
for (Var i=0;i<cc.length;i++)
{
if (Cc.charcodeat (i) >10000&&tt.indexof (Cc.charat (i))!=-1) Str+=ss.charat (Tt.indexof (Cc.charAt (i)));
else Str+=cc.charat (i);
}
return str;
}
function Setcookie (name, value)//cookies settings
{
var argv = setcookie.arguments;
var argc = setCookie.arguments.length;
var expires = (argc > 2)? ARGV[2]: null;
if (expires!=null)
{
var largeexpdate = new Date ();
Largeexpdate.settime (Largeexpdate.gettime () + (expires*1000*3600*24));
}
Document.cookie = name + "=" + Escape (value) + ((expires = null)? "" : ("; Expires= "+largeexpdate.togmtstring ()));
}
function GetCookie (Name)//cookies read
{
var search = Name + "="
if (Document.cookie.length > 0)
{
offset = document.cookie.indexOf (search)
if (offset!=-1)
{
Offset + = Search.length
End = Document.cookie.indexOf (";", offset)
if (end = = 1) end = Document.cookie.length
return unescape (offset, end) (document.cookie.substring)
}
else return ""
}
}
var Gb2big5_obj=document.getelementbyid ("Gb2big5")
if (gb2big5_obj)
{
var jf_cn= "FT" +self.location.hostname.tostring (). Replace (//./g, "")
var Bodyisft=getcookie (JF_CN)
if (bodyisft!= "1") bodyisft=default_isft
With (Gb2big5_obj)
{
if (typeof (Document.all)!= "Object")//Non IE browser
{
Href= "Javascript:stranbody ()"
}
Else
{
href= "#";
onclick= new Function ("Stranbody (); return false")
}
Title=strantext ("Click to browse in Traditional Chinese style", 1, 1)
Innerhtml=strantext (innerhtml,1,1)
}
if (bodyisft== "1") {settimeout ("stranbody ()", Stranit_delay)}
}
<a name= "Gb2big5" id= "Gb2big5" style= "color: #FF0000" > Fan Chinese </A>
<script language=javascript src= "Gb2big5. Js "></Script>