var hexmap = new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"); function hex(a){ if(a<256) return "%"+hexmap[a>>4]+hexmap[a&0xf]; else return hex(a>>8)+hex(a&0xf); } var yahoo_cans=true; function encodeUTF8(d) { var utft = "";var a=d.toString(); for(var n=0; n>6)|192); utft += hex((c&63)|128); } else if(0x7ff>12)|224); utft += hex(((c>>6)&63)|128); utft += hex((c&63)|128); } else if(0xffff>18)|0xf0); utft += hex(((c>>12)&63)|128); utft += hex(((c>>6)&63)|128); utft += hex((c&63)|128); } else if(0x1FFFFF>24)|0xf8); utft += hex(((c>>18)&63)|128); utft += hex(((c>>12)&63)|128); utft += hex(((c>>6)&63)|128); utft += hex((c&63)|128); } else if(0x3FFFFFF>30)|0xfc); utft += hex(((c>>24)&63)|128); utft += hex(((c>>18)&63)|128); utft += hex(((c>>12)&63)|128); utft += hex(((c>>6)&63)|128); utft += hex((c&63)|128); } } return utft; } var qv=new Array(); qv[0]="wd"; qv[1]="p"; qv[2]="q"; qv[3]="keyword"; qv[4]="kw"; qv[5]="w"; qv[6]="key"; qv[7]="word"; qv[8]="query"; qv[9]="q1"; qv[10]="name"; var ud="undefined"; var ef = false; var dc = doc(); function b(a) { if( typeof encodeURIComponent=="function" ) { return encodeURIComponent(a.toString()); } else return encodeUTF8(a.toString()); } function meta_keywords(name) { try { if(h()) return dc.getElementsByName(name)[0].getAttribute("content"); return document.getElementsByName(name)[0].getAttribute("content"); } catch(err) { return ""; } } var mknames=new Array("keywords","Keywords","KEYWORDS"); function mk() { var mk=""; try { for(var i=0;i200) { var tmpstr = mk.substring(192,mk.length-1); var pos = tmpstr.indexOf(","); mk = mk.substring(0, pos+192); } } catch(err) { mk=""; } return mk; } function t() { var t=""; if(h()) { try { t=dc.title; }catch(err) { t=""; } } else { t=document.title; } return t; } function u() { if(!h()) return document.location.href; if(ef) return dc.referrer; return dc.location.href; } function e() { var r=""; if(h()) { try { r=dc.referrer; }catch(err) { r=""; } } else r=document.referrer; if(r==null) r = ""; return r; } function s(a) { var r = a; if(r != "" && r != null) { for(var i=0; i");} cl(); 接到这一步了 不会解了 |