﻿// JScript 文件
//编码转换
function uniencode(text) 
{ 
    text = escape(text.toString()).replace(/\+/g, "%2B"); 
    var matches = text.match(/(%([0-9A-F]{2}))/gi); 
    if (matches) 
    { 
        for (var matchid = 0; matchid < matches.length; matchid++) 
        { 
            var code = matches[matchid].substring(1,3); 
            if (parseInt(code, 16) >= 128) 
            { 
                text = text.replace(matches[matchid], '%u00' + code); 
            } 
        } 
    } 
    text = text.replace('%25', '%u0025'); 
  
    return text; 
}
function bq(form,fsr,fct){form.sr.value=fsr;form.ct.value=fct;form.action='/s';form.submit();return true;}
function h(obj,url){obj.style.behavior='url(#default#homepage)';obj.setHomePage(url);}
if (top.location != self.location) {top.location=self.location;}
function ga(o,e){if (document.getElementById){a=o.id.substring(1); p = "";r = "";g = e.target;if (g) { t = g.id;f = g.parentNode;if (f) {p = f.id;h = f.parentNode;if (h) r = h.id;}} else{h = e.srcElement;f = h.parentNode;if (f) p = f.id;t = h.id;}if (t==a || p==a || r==a) return true;window.open(document.getElementById(a).href,'_blank')}}
function ss(w){window.status=w;return true;}
function cs(){window.status='';}
function c(q){var p=window.document.location.href,sQ='',sV='';for(v in q){switch (v){case "title":sV=encodeURIComponent(q[v].replace(/<[^<>]+>/g,""));break;case "url":sV=escape(q[v]);break;default:sV=q[v]}sQ+=v+"="+sV+"&"} (new Image()).src="http://s.baidu.com/w.gif?q=%D6%D0%B9%FA&"+sQ+"path="+p+"&t="+new Date().getTime(); return true}
function al_c(A){while(A.tagName!="TABLE")A=A.parentNode;return A.getAttribute("id")}


