用js给导航栏json对象动态添加属性active属性

动态导航条代码_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
动态导航条代码
上传于||暂无简介
大小:1.09KB
登录百度文库,专享文档复制特权,财富值每天免费拿!
你可能喜欢下次自动登录
现在的位置:
& 综合 & 正文
JS生成动态菜单
一个JS读取数据动态生成菜单的实现,不多说,具体代码如下:
// 动态菜单生成JS
if (typeof (st_js) == "undefined") {
stAHCM = 0;// 0
stAHWS = 1;// 1
stSMSC = 1;// 1
stSCSP = 0;// 0
stCFSP = 0;// 0
stBIMG = 1;// 1
stILOC = 0;// 0
stILNK = 0;// 0
stDF55 = 0;// 0
stMMSZ = 10;// 10
nOP = nOP5 = nIE = nIE4 = nIE5 = nNN = nNN4 = nNN6 = nKQ = nKQ2 = nMAC = nIEM = nIEW = nDM = nVER = st_delb = st_addb = st_scd = 0, stmozb = 0;
st_reg = !(nIEW && nVER &= 5.5 && nVER & 6 && stDF55);
st_ttb = nIE;
stHAL = ["left", "center", "right"];
stVAL = ["top", "middle", "bottom"];
stREP = ["no-repeat", "repeat-x", "repeat-y", "repeat"];
stBDS = ["none", "solid", "double", "dotted", "dashed", "groove", "ridge"];
st_gc = st_rl = st_cl = st_ct = st_cw = st_ch = st_cm = st_cp = st_ci = st_load = st_scr = 0;
st_ht = "";
st_ims = [];
st_ms = [];
stusrld = [];
if (nNN4) {
stitovn = stevfn("stitov", 1);
stitoun = stevfn("stitou", 1);
stitckn = stevfn("stitck", 1);
stppovn = stevfn("stppov", 0);
stppoun = stevfn("stppou", 0);
if (nIE4 || nNN4) {
onerror = function (m, u, l) {
if (!confirm("Java Script Error/n" + "/nDescription:" + m + "/nSource:" + u + "/nLine:" + l + "/n/nSee more details?")) {
if (nIEM || nOP5) {
onunload = function () {
for (var j = 0; j & st_ms. ++j) {
st_ms[j].cfrm = 0;
if (nDM && !nNN4) {
var s = "&STYLE&/n.st_tbcss,.st_tdcss,.st_divcss,.st_ftcss{border:padding:0margin:0px}/nA.st_acss,A.st_acss:link,A.st_acss:visited,A.st_acss:active,A.st_acss:hover{background-color:transparent}/n&/STYLE&";
for (var j = 0; j & stMMSZ; ++j) {
s += "&FONT ID=st_gl" + j + "&&/FONT&";
if (nIEW && nVER &= 5 && document.body) {
document.body.insertAdjacentHTML("AfterBegin", s);
document.write(s);
st_js = 1;
function stm_bm(a) {
var w = a[2] && a[2].charAt(a[2].length - 1) != "/" ? a[2] + "/" : a[2];
var p = a.length & 15 ? a[15] && a[15].charAt(a[15].length - 1) != "/" ? a[15] + "/" : a[15] : "";
st_ms[st_cm] = {ps:[], mscm:[0, 0], mei:st_cm, ids:"Stm" + st_cm + "p", hdid:0, cked:0, cfrm:0, tfrm:window, sfrm:window, mcff:"", mcfd:0, mcfn:0, mcfb:1, mcfx:0, mcfy:0, mnam:a[0], mver:a[1], mweb:w, mbnk:stbuf(w + a[3]), mtyp:a[4], mcox:a[5], mcoy:a[6], maln:stHAL[a[7]], mcks:a[8], msdv:a[9], msdh:a[10], mhdd:nNN4 ? Math.max(100, a[11]) : a[11], mhds:a[12], mhdo:a[13], mhdi:a[14], mpre:p, args:a.slice(0), mwid:a.length & 16 ? a[16] : "", midn:(a.length & 17 ? a[17] : 0)};
function stm_bp(l, a) {
var m = st_ms[st_cm], p, i = m.ps.length ? m.ps[st_cp].is[st_ci] : 0;
st_cp = m.ps.
st_ci = 0;
m.ps[st_cp] = p = {is:[], mei:st_cm, ppi:st_cp, ids:"Stm" + st_cm + "p" + st_cp + "i", par:i, tmid:0, cuit:0, issh:0, isst:!st_cp && !m.mtyp, isck:!st_cp && (m.mcks & 1), exed:0, pver:a[0], pdir:a[1], poffx:a[2], poffy:a[3], pspc:a[4], ppad:a[5], plmw:a[6], prmw:a[7], popc:a[8], pstp:a[14], psds:nIEW ? a[15] : 0, pscl:a[16], pbgc:a[17], pbgi:stbuf(stgsrc(a[18], 0)), pbgr:stREP[a[19]], pbds:stBDS[a[20]], ipbw:a[21], pbdc:(!nDM || nNN4) ? a[22].split(//s/gi)[0] : a[22], args:a.slice(0)};
p.peff = [stgeff(a[9], a[10], a[13], p), stgeff(a[11], a[12], a[13], p)];
if (st_cp) {
p.par.sub =
p.zind = !st_cp ? 1000 : stgpar(p.par).zind + 1;
p.pbgd = stgbg(p.pbgc, p.pbgi, p.pbgr);
if (nIEW) {
p.effn = [p.peff[0] ? p.peff[0].split(" ").length : 0, p.peff[1] ? p.peff[1].split(" ").length : 0];
eval(l + "=p");
function stm_bpx(l, r, a) {
var p = eval(r);
stm_bp(l, (a.length ? a.concat(p.args.slice(a.length)) : p.args));
function stm_ai(l, a) {
st_ci = st_ms[st_cm].ps[st_cp].is.
var m = st_ms[st_cm], p = m.ps[st_cp],
if (a[0] == 6) {
i = {ssiz:a[1], ibgc:[a[2]], simg:stbuf(stgsrc(a[3], 1)), simw:a[4], simh:a[5], simb:a[6], args:a.slice(0)};
i = {itex:a[0] ? a[1] : a[1].replace(/ /g, " "), iimg:[stbuf(stgsrc(a[2], 0)), stbuf(stgsrc(a[3], 0))], iimw:a[4], iimh:a[5], iimb:a[6], iurl:(!a[7] || stabs(a[7]) ? (a[7].toLowerCase().indexOf("javascript:") ? a[7] : a[7] + ";void(0);") : m.mpre + a[7]), itgt:a[8] ? a[8] : "_self", istt:a[9], itip:a[10].replace(/"/g, """), iicn:[stbuf(stgsrc(a[11], 1)), stbuf(stgsrc(a[12], 1))], iicw:a[13], iich:a[14], iicb:a[15], iarr:[stbuf(stgsrc(a[16], 1)), stbuf(stgsrc(a[17], 1))], iarw:a[18], iarh:a[19], iarb:a[20], ihal:stHAL[a[21]], ival:stVAL[a[22]], ibgc:nOP5 && nVER & 7 && a[24] && a[26] ? ["transparent", "transparent"] : [nOP5 && nVER & 7 || !a[24] ? a[23] : "transparent", nOP5 && nVER & 7 || !a[26] ? a[25] : "transparent"], ibgi:[stbuf(stgsrc(a[27], a[28] && !nNN4)), stbuf(stgsrc(a[28], a[27] && !nNN4))], ibgr:[stREP[a[29]], stREP[a[30]]], ibds:stBDS[a[31]], ipbw:a[32], ibdc:(!nDM || nNN4) ? [a[33].split(//s/gi)[0], a[34].split(//s/gi)[0]] : [a[33], a[34]], itxc:[a[35], a[36]], itxf:[a[37], a[38]], itxd:[stgdec(a[39]), stgdec(a[40])], args:a.slice(0)};
p.is[st_ci] =
i.ityp = a[0];
i.mei = st_
i.ppi = st_
i.iti = st_
i.ids = p.ids + st_ci + "e";
i.sub = 0;
i.tmid = 0;
i.iwd = 0;
i.iht = 0;
i.cstt = 0;
i.lock = 0;
if (m.midn & 1) {
sthili(m, i);
eval(l + "=i");
function stm_aix(l, r, a) {
var i = eval(r);
stm_ai(l, (a.length ? a.concat(i.args.slice(a.length)) : i.args));
function stm_ep() {
var m = st_ms[st_cm], p = m.ps[st_cp], i = p.
st_cm = i.mei, st_cp = i.ppi, st_ci = i.
if (!p.is.length) {
m.ps.length--;
i.sub = 0;
i.iarr = [m.mbnk, m.mbnk];
function stm_em() {
if (!st_cm) {
stsetld();
var m = st_ms[st_cm];
if (!m.ps.length) {
var mh = "", mc = "&STYLE TYPE='text/css'&/n";
for (var n = nDM ? m.ps.length : 1, j = 0; j & ++j) {
var p = m.ps[j], ph = (p.isst && m.maln != "left" ? "&TABLE STYLE="border:padding:0px" mce_STYLE="border:padding:0px" CELLPADDING=0 CELLSPACING=0 ALIGN=" + m.maln + "&&TD class=st_tdcss&" : "") + stpbtx(p);
if (!p.pver) {
ph += "&TR ID=" + p.ids + "TRR&";
if (stissc(p)) {
ph += stsctx(p, 0);
for (var k = 0; k & p.is. ++k) {
var i = p.is[k];
if (i.ityp != 6) {
i.ibgd = [stgbg(i.ibgc[0], i.ibgi[0], i.ibgr[0]), stgbg(i.ibgc[1], i.ibgi[1], i.ibgr[1])];
ph += p.pver ? "&TR ID=" + p.ids + i.iti + "TRR&" + stittx(i) + "&/TR&" : stittx(i);
if (i.ityp != 6) {
mc += "." + i.ids + "TX0{" + sttcss(i, 0) + "}/n." + i.ids + "TX1{" + sttcss(i, 1) + "}/n";
if (stissc(p)) {
ph += stsctx(p, 1);
if (!p.pver) {
ph += "&/TR&";
ph += stpetx(p);
if (p.isst && m.maln != "left") {
ph += "&/TD&&/TABLE&";
if (p.isst || nNN || nKQ2 || !nDM) {
mc += "&/STYLE&";
if (!nDM || nNN4) {
document.write(mc);
document.write(mh);
if (nOP5 || nIEW && nVER &= 5) {
if (st_ht) {
var o = stgobj("st_gl" + st_gc);
if (nOP) {
o.document.write(st_ht);
if (nIE) {
o.insertAdjacentHTML("BeforeEnd", st_ht);
st_ht = "";
if (nIE) {
st_cp = 0;
st_ci = 0;
function stpbtx(p) {
with (p) {
if (nNN4 || !nDM) {
return (isst ? "&ILAYER" : "&LAYER LEFT=0 TOP=0") + " VISIBILITY=hide ID=" + ids + " Z-INDEX=" + zind + "&&LAYER&&TABLE BORDER=0 CELLSPACING=0 CELLPADDING=" + pspc + " BACKGROUND='" + pbgi + "' BGCOLOR=" + (pbgi || pbgc == "transparent" ? "''" : pbgc) + "&";
var s = (st_ttb || nOP && isst ? "&TABLE class=st_tbcss CELLPADDING=0 CELLSPACING=0" : "&DIV class=st_divcss");
s += stppev(p) + " ID=" + ids + " STYLE="" + (nIEM ? "width:1" : "") + (nIEW ? "filter:" + stfcss(p) + ";" : "") + "position:" + (p.isst ? "static" : "" + (nOP && nVER & 7 ? "" : "left:-9999top:-9999px")) + ";z-index:" + zind + ";visibility:" mce_STYLE="" + (nIEM ? "width:1" : "") + (nIEW ? "filter:" + stfcss(p) + ";" : "") + "position:" + (p.isst ? "static" : "" + (nOP && nVER & 7 ? "" : "left:-9999top:-9999px")) + ";z-index:" + zind + ";visibility:"&";
s += (st_ttb || nOP && isst ? "&TD NOWRAP class=st_tdcss ID=" + ids + "TTD&" : "");
if (nNN) {
s += "&TABLE class=st_tbcss cellpadding=0 cellspacing=0 style="" + stpcss(p) + "" mce_style="" + stpcss(p) + "" ID=" + ids + "TB&&td class=st_tdcss&&TABLE class=st_tbcss CELLSPACING=" + (stissc(p) ? 0 : pspc) + " CELLPADDING=0 ID=" + ids + "TA&";
s += "&TABLE class=st_tbcss CELLSPACING=" + (stissc(p) ? 0 : pspc) + " CELLPADDING=0 style="" + stpcss(p) + "" mce_style="" + stpcss(p) + "" ID=" + ids + "TB&&TBODY ID=" + ids + "TBDB&";
function stpetx(p) {
var s = "&/TBODY&&/TABLE&";
if(nNN4 || !nDM)
s+="&/LAYER&&/LAYER&";
else if(nNN){
s+="&/TD&&/TABLE&";
if(st_ttb || nOP && p.isst )
//shut out the select compatibleIE6
s+="&iframe id='masklayer' src="javascript:false" mce_src="javascript:false" marginheight='0' marginwidth='0' frameborder='0' style='position: visibility: top:0 left:0 width:100%; height:100%; z-index:-1; filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';'&&/iframe&&/TD&&/TABLE&";
else s+="&/DIV&";
// var s = "&/TBODY&&/TABLE&" + (nNN4 || !nDM ? "&/LAYER&&/LAYER&" : (nNN ? "&/TD&&/TABLE&" : "") + (st_ttb || nOP && p.isst ? "&/TD&&/TABLE&" : "&/DIV&"));
//alert(s);
// return "&/TBODY&&/TABLE&" + (nNN4 || !nDM ? "&/LAYER&&/LAYER&" : (nNN ? "&/TD&&/TABLE&" : "") + (st_ttb || nOP && p.isst ? "&/TD&&/TABLE&" : "&/DIV&"));
function stittx(i) {
var s = "", p = stgpar(i);
with (i) {
if (nNN4 || !nDM) {
s += "&TD WIDTH=1 NOWRAP&&FONT STYLE="font-size:1" mce_STYLE="font-size:1"&&ILAYER ID=" + ids + "&&LAYER";
if (ityp != 6 && ipbw) {
s += " BGCOLOR=" + ibdc[0];
for (var n = 0; n & (nNN4 ? 2 : 1); ++n) {
if (ityp == 6 && n) {
s += "&LAYER Z-INDEX=10 VISIBILITY=" + (n ? "HIDE" : "SHOW");
if (ityp != 6) {
s += " LEFT=" + ipbw + " TOP=" +
s += "&&TABLE ALIGN=LEFT WIDTH=" + (iwd && ityp != 6 ? iwd - 2 * p.ppad + i.ipbw : "100%") + (iht && (ityp != 6 || !p.pver) ? " HEIGHT=" + (ityp != 6 ? iht + i.ipbw : iht) : "") + " BORDER=0 CELLSPACING=0 CELLPADDING=" + (ityp == 6 ? 0 : p.ppad);
if (ityp == 6) {
s += " BACKGROUND='' BGCOLOR='" + (ibgc[n] == "transparent" ? "" : ibgc[n]) + "'";
s += " BACKGROUND='" + ibgi[n] + "' BGCOLOR=" + (ibgi[n] || ibgc[n] == "transparent" ? "''" : ibgc[n]);
if (ityp == 6) {
s += "&TD NOWRAP VALIGN=TOP HEIGHT=" + (p.pver ? ssiz : "100%") + " WIDTH=" + (p.pver ? "100%" : ssiz) + " STYLE="font-size:0" mce_STYLE="font-size:0"&" + stgimg(simg, ids + "LINE", simw, simh, 0, -1) + "&/TD&";
if (p.pver && p.plmw || !p.pver && iicw) {
s += "&TD ALIGN=CENTER VALIGN=MIDDLE" + stgiws(i) + "&" + stgimg(iicn[n], "", iicw, iich, iicb, 1) + "&/TD&";
s += "&TD WIDTH=100% NOWRAP ALIGN=" + ihal + " VALIGN=" + ival + "&&A " + (nNN4 ? "" : stgurl(i, 1)) + " CLASS='" + (ids + "TX" + n) + "'&";
if (ityp == 2) {
s += stgimg(iimg[n], ids + "IMG", iimw, iimh, iimb, -1);
s += "&IMG SRC="" + stgme(i).mbnk + "" mce_SRC="" + stgme(i).mbnk + "" WIDTH=1 HEIGHT=1 BORDER=0 ALIGN=ABSMIDDLE&" +
s += "&/A&&/TD&";
if (p.pver && p.prmw || !p.pver && iarw) {
s += "&TD ALIGN=CENTER VALIGN=MIDDLE" + stgaws(i) + "&" + stgimg(iarr[n], "", iarw, iarh, iarb, 1) + "&/TD&";
s += "&/TABLE&";
if (ityp != 6 && ipbw) {
s += "&BR CLEAR=ALL&&SPACER HEIGHT=1 WIDTH=" + ipbw + "&&/SPACER&&SPACER WIDTH=1 HEIGHT=" + ipbw + "&&/SPACER&";
s += "&/LAYER&";
if (ityp != 6) {
s += "&LAYER Z-INDEX=20&&/LAYER&";
s += "&/LAYER&&/ILAYER&&/FONT&&/TD&";
s += "&TD class=st_tdcss ID=" + i.ids + stitev(i);
if (ityp != 6) {
s += " TITLE=" + stquo(itip) + (iwd ? " WIDTH=" + iwd : "") + (iht ? " HEIGHT=" + iht : "") + " VALIGN=" +
s += " STYLE="";
if (!(ityp != 6 && stmozb) && (ityp != 6 || !(nOP && nVER & 6 && p.pver))) {
s += sticss(i, 0);
s += "" mce_STYLE=""; if (!(ityp != 6 && stmozb) && (ityp != 6 || !(nOP && nVER & 6 && p.pver))) { s += sticss(i, 0); } s += ""&";
if (ityp == 6) {
s += "&table class=st_tbcss cellpadding=0 cellspacing=0 width=100% ID=" + i.ids + "SA&&td class=st_tdcss NOWRAP align=center valign=middle" + (p.pver ? " width=100% STYLE="" + sticss(i, 0) + "" mce_STYLE="" + sticss(i, 0) + "" height=" : " width=") + ssiz + " ID=" + i.ids + "SB&";
s += stgimg(simg, ids + "LINE", simw, simh, 0, -1);
s += "&/td&&/table&";
var s1 = nNN || nKQ2 ? "&DIV CLASS=st_divcss " + (stmozb ? " STYLE="" + sticss(i, 0) + "" mce_STYLE="" + sticss(i, 0) + """ : "") + " ID=" + i.ids + "DR&" : "";
s += nKQ2 ? s1 : "";
s += "&A class=st_acss ID=" + i.ids + "HR STYLE="text-decoration:" + (nIEW ? "cursor:" + stgcur(i) : "") + "" mce_STYLE="text-decoration:" + (nIEW ? "cursor:" + stgcur(i) : "") + "" " + stgurl(i, 0) + "&";
s += nNN ? s1 : "";
s += "&TABLE class=st_tbcss CELLSPACING=0 CELLPADDING=0 WIDTH=100% ID=" + ids + "TB&";
if (p.pver && p.plmw || !p.pver && iicw) {
s += "&TD class=st_tdcss NOWRAP ALIGN=CENTER VALIGN=MIDDLE STYLE="padding:" + p.ppad + "px" mce_STYLE="padding:" + p.ppad + "px" ID=" + ids + "LTD" + stgiws(i) + "&" + stgimg(iicn[0], ids + "ICON", iicw, iich, iicb, 1) + "&/TD&";
if (nIEW) {
s += "&TD class=st_tdcss&&/TD&";
s += "&TD CLASS=st_tdcss VALIGN=" + ival + " NOWRAP STYLE="text-align:" + ihal + ";color:" + itxc[0] + ";padding:" + p.ppad + "" mce_STYLE="text-align:" + ihal + ";color:" + itxc[0] + ";padding:" + p.ppad + "" ID=" + ids + "MTD&";
s += "&FONT CLASS=st_ftcss ID=" + ids + "TX STYLE="/" mce_STYLE="/""" + sttcss(i, 0) + "/"&";
if (ityp == 2) {
s += stgimg(iimg[0], ids + "IMG", iimw, iimh, iimb, -1);
if (itex) {
s += stgimg(stgme(i).mbnk, ids + "IMG", 1, 1, 0, 1);
s += "&/FONT&";
s += "&/TD&";
if (p.pver && p.prmw || !p.pver && iarw) {
s += "&TD class=st_tdcss NOWRAP ALIGN=CENTER VALIGN=MIDDLE STYLE="padding:" + p.ppad + "px" mce_STYLE="padding:" + p.ppad + "px" ID=" + ids + "RTD" + stgaws(i) + "&" + stgimg(iarr[0], ids + "ARROW", iarw, iarh, iarb, 1) + "&/TD&";
if (nIEW) {
s += "&TD class=st_tdcss&&/TD&";
s += "&/TABLE&";
s += nNN ? "&/DIV&" : "";
s += "&/A&";
s += nKQ2 ? "&/DIV&" : "";
s += "&/TD&";
function stpcss(p) {
with (p) {
return "border-style:" + pbds + ";border-width:" + ipbw + "border-color:" + pbdc + ";" + (nIE ? "background:" + pbgd + ";" : "background-color:" + pbgc + ";" + (pbgi ? "background-image:url(" + pbgi + ");background-repeat:" + pbgr + ";" : "")) + (nIEW ? "margin:" + psds + "" : ";");
function stfcss(p) {
var s = "";
with (p) {
if (nIEW && (nVER &= 5 || !isst)) {
s += peff[0] + " ";
s += peff[1] + " ";
if (nIE5 || popc != 100) {
s += "Alpha(opacity=" + popc + ") ";
if (psds) {
s += pstp == 1 ? "dropshadow(color=" + pscl + ",offx=" + psds + ",offy=" + psds + ",positive=1) " : "Shadow(color=" + pscl + ",direction=135,strength=" + psds + ") ";
function sticss(i, n) {
with (i) {
return (ityp != 6 ? "border-style:" + ibds + ";border-width:" + ipbw + "border-color:" + ibdc[n] + ";" + (!nIEM && ibgi[n] ? "background-image:url(" + ibgi[n] + ");background-repeat:" + ibgr[n] + ";" : "") : "") + (nIEM && ityp != 6 ? "background:" + ibgd[n] + ";" : "background-color:" + ibgc[n] + ";") + "cursor:" + (nIEM ? "default" : stgcur(i)) + ";font-size:1";
function sttcss(i, n) {
with (i) {
return "cursor:" + stgcur(i) + ";font:" + itxf[n] + ";text-decoration:" + itxd[n] + ";" + (!nDM || nNN4 || nIE5 ? "background-color:color:" + itxc[n] : "");
function stgtm(m, w) {
if (w && w != window && stdmld(w)) {
var t = w.stmenu(m.mnam);
if (t.mhdd & 1000) {
t.mhdd = 1000;
function stitov(e, o, i) {
var p = stgpar(i);
if (!p.issh || o && nIE && e.fromElement && o.contains(e.fromElement) || nOP && e.fromElement && e.fromElement.id && e.fromElement.id.indexOf(i.ids) &= 0) {
if (nNN4) {
stglay(i).document.layers[0].captureEvents(Event.CLICK);
var m = stgme(i), t = m, w =
if (!p.par) {
w = stgfrm(m);
t = stgtm(m, w);
if (!p.isck || m.cked) {
if (p.cuit && p.cuit != i) {
var c = p.
sthdit(c);
if (t != m && t) {
w.sthdit(t.ps[c.ppi].is[c.iti]);
if (typeof (i.myitov) != "undefined" && i.myitov(e)) {
stshpx(t, m, i, w);
stshst(i, 1);
stgpar(i).cuit =
if (t.mcks & 2) {
stshst(i, 1);
if (nNN4 && i.istt) {
stcstt(i);
function stitou(e, o, i) {
var p = stgpar(i);
if (!p.issh || nIE && e.toElement && o.contains(e.toElement) || nOP && e.toElement && e.toElement.id && e.toElement.id.indexOf(i.ids) &= 0) {
if (nNN4) {
stglay(i).document.layers[0].releaseEvents(Event.CLICK);
var m = stgme(i), t = m, w =
if (!p.par) {
w = stgfrm(m);
t = stgtm(m, w);
if (typeof (i.myitou) != "undefined" && i.myitou(e)) {
var tp = t != m && t ? t.ps[i.ppi].is[i.iti].sub : 0;
if (p && p.issh && !p.exed) {
sthdpp(p);
if (tp && tp.issh && !tp.exed) {
w.sthdpp(tp);
if (!(p && p.issh || tp && tp.issh)) {
stshst(i, 0);
stgpar(i).cuit = 0;
if (nNN4 && i.istt) {
status = "";
function stitck(e, o, i) {
if (i.lock || nNN4 && e.which != 1) {
if (typeof (i.myitck) != "undefined" && i.myitck(e)) {
var m = stgme(i), t = m, w =
if (!stgpar(i).par) {
w = stgfrm(m);
t = stgtm(m, w);
var p = stgpar(i);
if (p.isck) {
m.cked = !m.
var p = i.
if (m.cked && !p.issh) {
stshpx(t, m, i, w);
if (!m.cked && p.issh) {
var tp = t != m && t ? t.ps[i.ppi].is[i.iti].sub : 0;
w.sthdpp(tp);
sthdpp(p);
if (!(t.mcks & 2)) {
stshst(i, m.cked ? 1 : 0);
stgpar(i).cuit = m.cked ? i : 0;
if (i.iurl && m.sfrm != window) {
sthdalx(m, 0);
if (nKQ2 && i.iurl) {
window.open(i.iurl, i.itgt);
if (nIEW && i.iurl) {
var a = stgobj(i.ids + "HR");
i.lock = 1;
if (e.shiftKey) {
a.target = "_blank";
a.click();
a.target = i.
i.lock = 0;
function stppov(e, o, p) {
if (!p.issh || nIE && e.fromElement && o.contains(e.fromElement) || nOP && e.fromElement && e.fromElement.id && e.fromElement.id.indexOf(p.ids) &= 0) {
var m = stgme(p), w = m.
if (p.par && w != window) {
if (stdmld(w)) {
m = w.stmenu(m.mnam);
if (m.hdid) {
w.clearTimeout(m.hdid);
m.hdid = 0;
function stppou(e, o, p) {
//alert("ee");
if (!p.issh || nIE && e.toElement && o.contains(e.toElement) || nOP && e.toElement && e.toElement.id && e.toElement.id.indexOf(p.ids) &= 0) {
var m = stgme(p), w = m.
if (p.par && w != window) {
if (stdmld(w)) {
m = w.stmenu(m.mnam);
sthdalx(m, 0);
if (m.hdid) {
w.clearTimeout(m.hdid);
m.hdid = w.setTimeout("sthdall(st_ms['" + m.mei + "'],0);", m.mhdd);
function stshst(i, n) {
if (i.cstt == n) {
if (typeof (i.myshst) != "undefined" && i.myshst(n)) {
with (i) {
if (nNN4) {
var ls = stgstlay(i);
ls[n].parentLayer.bgColor = ibdc[n];
ls[n].visibility = "show";
ls[1 - n].visibility = "hide";
var o = stmozb ? stgobj(i.ids + "DR") : stglay(i), s = o.
if (nIEM) {
if (ibgd[0] != ibgd[1]) {
s.background = ibgd[n];
if (ibgc[0] != ibgc[1]) {
if (nOP && nVER & 6) {
s.background = ibgc[n];
s.backgroundColor = ibgc[n];
if (ibgi[0] != ibgi[1]) {
s.backgroundImage = "url(" + (ibgi[n] ? ibgi[n] : stgme(i).mbnk) + ")";
s.backgroundRepeat = ibgr[n];
if (ibdc[0] != ibdc[1]) {
s.borderColor = ibdc[n];
if (iicn[0] != iicn[1]) {
t = nIE ? o.all[ids + "ICON"] : stgobj(ids + "ICON");
t.src = iicn[n];
if (iarr[0] != iarr[1]) {
t = nIE ? o.all[ids + "ARROW"] : stgobj(ids + "ARROW");
t.src = iarr[n];
if (ityp == 2 && iimg[0] != iimg[1]) {
t = nIE ? o.all[ids + "IMG"] : stgobj(ids + "IMG");
t.src = iimg[n];
if (!i.txstyle) {
i.txstyle = (nIE ? o.all[ids + "TX"] : stgobj(ids + "TX")).
if (itxf[0] != itxf[1]) {
t.font = itxf[n];
if (itxd[0] != itxd[1]) {
t.textDecoration = itxd[n];
if (nOP) {
stgobj(ids + "MTD").style.color = itxc[n];
t.color = itxc[n];
if (nOP && nVER & 7) {
with (stglay(stgpar(i)).style) {
visibility = "hidden";
visibility =
function stshpp(p) {
if (typeof (p.myshpp) != "undefined" && p.myshpp()) {
stshow(p);
function stshpx(t, m, i, w) {
if (t == m) {
var p = i.
if (p && !p.issh && !(!i.ppi && m.mcff && !m.mcfn)) {
stshpp(p);
var p = t.ps[i.ppi].is[i.iti].
if (p && !p.issh) {
w.stshpp(p);
function sthdpp(p) {
if (typeof (p.myhdpp) != "undefined" && p.myhdpp()) {
if (p.cuit) {
var t = p.cuit.
if (t && t.issh) {
sthdpp(t);
stshst(p.cuit, 0);
p.cuit = 0;
sthide(p);
function stshit(i) {
var p = i.
if (p && !p.issh) {
stshpp(p);
stshst(i, 1);
stgpar(i).cuit =
function sthdit(i) {
var p = i.
if (p && p.issh) {
sthdpp(p);
stshst(i, 0);
stgpar(i).cuit = 0;
function stshow(p) {
var d = p.par && stgpar(p.par).pver ? stgme(p).msdv : stgme(p).
p.exed = 0;
if (typeof (p.rc) == "undefined") {
if (p.tmid) {
clearTimeout(p.tmid);
p.tmid = 0;
stwels(1, p);
if (d & 0) {
p.tmid = setTimeout(stsdstr(p, 1), d);
p.issh = 1;
if (d &= 0) {
eval(stsdstr(p, 1));
function sthide(p) {
if (p.tmid) {
clearTimeout(p.tmid);
p.tmid = 0;
if (p.issh && !p.exed) {
p.exed = 0;
p.issh = 0;
p.exed = 0;
p.issh = 0;
eval(stsdstr(p, 0));
function stshx(p) {
if (nNN4) {
stnshx(p);
var l = stglay(p);
l.style.visibility = "visible";
if (nIE5) {
l.filters["Alpha"].opacity = p.
function stnshx(p) {
var l = stglay(p);
l.visibility = "show";
if (!p.fixed) {
l.resizeBy(p.ipbw * 2, p.ipbw * 2);
l = l.document.layers[0];
l.moveTo(p.ipbw, p.ipbw);
l.onmouseover =
l.onmouseout =
for (var j = p.is.length - 1; j &= 0; --j) {
var i = p.is[j];
if (i.ityp != 6) {
var ls = stgstlay(i);
if (i.ityp != 1 || i.iurl) {
ls[2].resizeTo(ls[0].parentLayer.clip.width, ls[0].parentLayer.clip.height);
if (i.iurl) {
with (ls[2].document) {
write("&A " + stgurl(i, 0) + "&&IMG BORDER=0 SRC="" + stgme(i).mbnk + "" mce_SRC="" + stgme(i).mbnk + "" WIDTH=" + ls[2].clip.width + " HEIGHT=" + ls[2].clip.height + "&&/A&");
ls[0].resizeBy(-i.ipbw, -i.ipbw);
ls[1].resizeBy(-i.ipbw, -i.ipbw);
l = stglay(i).document.layers[0];
l.onmouseover =
l.onmouseout =
l.onclick =
if (p.ipbw) {
setTimeout("var p=st_ms[" + p.mei + "].ps[" + p.ppi + "];stglay(p).bgColor=p.", 1);
p.fixed = 1;
function sthdx(p) {
var l = stglay(p);
if (nNN4) {
l.visibility = "hide";
if (nIE5) {
l.filters["Alpha"].opacity = 0;
l.style.visibility = "hidden";
function stcls() {
for (var i = 0; i & st_ms. ++i) {
sthdalx(st_ms[i], 0);
function sthdalx(m, f) {
var w = m.
if (w != window) {
if (stdmld(w)) {
var t = w.stmenu(m.mnam);
w.sthdall(t, f);
for (var i = 0; i & m.ps[0].is. ++i) {
var p = m.ps[0].is[i].
if (p && p.issh) {
sthdpp(p);
sthdall(m, f);
function sthdall(m, f) {
var t = m,
if (m.mcff) {
w = stgfrm(m);
if (w && w != window && stdmld(w)) {
t = w.stmenu(m.mnam);
if (typeof (t) == "object" && t) {
if (m.hdid) {
clearTimeout(m.hdid);
m.hdid = 0;
m.cked = 0;
var p = m.ps[0];
if (p.issh) {
var i = p.
if (p.cuit) {
sthdit(i);
if (t != m) {
var p = t.ps[i.ppi].is[i.iti].
if (p && p.issh) {
w.sthdpp(p);
if (m.mtyp == 2 && (f || stAHCM)) {
sthide(p);
function stgeff(f, i, s, p) {
return nVER & 5.5 ? (!p.isst || nVER &= 5) && i & 24 && i &= 0 ? "revealTrans(Transition=" + i + ",Duration=" + ((110 - s) / 100) + ")" : "" : f == "Normal" ? "" :
function stftsh(p) {
if (nIEW && nVER &= 5.5) {
eval("try{stshfx(p);}catch(e){st_reg=0;stshfx(p);}");
stshfx(p);
function stfthd(p) {
if (nIEW && nVER &= 5.5) {
eval("try{sthdfx(p);}catch(e){st_reg=0;sthdfx(p);}");
sthdfx(p);
function stshfx(p) {
var xy = stgxy(p);
if (stissc(p)) {
stssc(xy[2], p);
stmvto(xy, p);
stwels(-1, p);
if (nIEW && st_reg) {
var ts = stglay(p).
for (var i = 0, j = i + p.effn[0]; i & ++i) {
if (ts[i].status) {
ts[i].stop();
ts[i].apply();
if (nIEW && st_reg) {
var ts = stglay(p).
for (var i = 0, j = i + p.effn[0]; i & ++i) {
ts[i].play();
function sthdfx(p) {
if (nIEW && st_reg) {
var ts = stglay(p).
for (var i = p.effn[0], j = i + p.effn[1]; i & ++i) {
if (ts[i].status) {
ts[i].stop();
ts[i].apply();
stwels(1, p);
if (nIEW && st_reg) {
var ts = stglay(p).
for (var i = p.effn[0], j = i + p.effn[1]; i & ++i) {
ts[i].play();
function ststxy(m, xy) {
m.mcox = xy[0];
m.mcoy = xy[1];
function stnav() {
var v = navigator.appVersion, a = navigator.userA
nMAC = v.indexOf("Mac") &= 0;
if ((nKQ = (typeof (navigator.product) != "undefined" && navigator.product == "Konqueror/khtml"))) {
nVER = parseFloat(v);
stmozb = 1;
if ((nOP = a.indexOf("Opera") &= 0)) {
nVER = parseFloat(a.substring(Math.max(a.indexOf("Opera/"), a.indexOf("Opera ")) + 6, a.length));
nOP5 = nVER &= 5;
if ((nIE = document.all ? 1 : 0)) {
nIE4 = (eval(v.substring(0, 1) &= 4));
nVER = parseFloat(a.substring(a.indexOf("MSIE ") + 5, a.length));
nIE5 = nVER &= 5 && nVER & 5.5 && !nMAC;
nIEM = nIE4 && nMAC;
nIEW = nIE4 && !nMAC;
if ((nNN4 = navigator.appName.toLowerCase() == "netscape" && v.substring(0, 1) == "4")) {
nVER = parseFloat(v);
if ((nNN6 = (document.getElementsByTagName("*") && a.indexOf("Gecko") != -1))) {
nVER = parseInt(navigator.productSub);
if (a.indexOf("Netscape") &= 0) {
st_delb = nVER &= ;
st_addb = nVER &= ;
stmozb = nVER &
&& nVER & ;
st_delb = nVER &= ;
st_addb = nVER &=
&& nVER & ;
nNN = nNN4 || nNN6;
nDM = nOP5 || nIE4 || nNN || nKQ2;
function stckpg() {
st_rl = 0;
var w = st_cw, h = st_ch, l = st_cl, t = st_
st_cw = stgcw();
st_ch = stgch();
st_cl = stgcl();
st_ct = stgct();
st_scd = st_cl - l || st_ct -
if ((st_cw - w || st_ch - h) && (nOP && nVER & 7 || nNN4)) {
document.location.reload();
if (!nIEM) {
st_rl = setTimeout("stckpg();", 25);
function st_onload() {
if (st_load) {
if (nIEM || nOP5 || nNN || nKQ2 || nIEW && nVER & 5) {
if (st_ht) {
document.body.insertAdjacentHTML("BeforeEnd", st_ht);
for (var j = 0; j & st_ms. ++j) {
stpre(st_ms[j]);
st_load = 1;
for (var i = stusrld.length - 1; i &= 0; --i) {
stusrld[i]();
stusrld.length = 0;
for (var j = 0; j & st_ms. ++j) {
var m = st_ms[j];
for (var k = 0; k & m.ps. ++k) {
var p = m.ps[k];
if (p.issh && p.exed) {
stwels(-1, p);
if (typeof (m.myload) != "undefined") {
m.myload();
function stpre(m) {
var p = m.ps[m.ps.length - 1], i = p.is[p.is.length - 1];
while (1) {
if (stglay(i)) {
if (!nNN4) {
if (m.mtyp != 2) {
stshow(m.ps[0]);
if (nIEM) {
onscroll = onresize = new Function("if(st_scr)clearTimeout(st_scr);st_scr=setTimeout('stscr();',500);");
if (!st_rl) {
st_cw = stgcw();
st_ch = stgch();
st_cl = stgcl();
st_ct = stgct();
st_rl = setTimeout("stckpg();", 25);
m.ready = 1;
function stfix(m) {
for (var j = 0; j & m.ps. ++j) {
var p = m.ps[j], l = stglay(p);
if (!p.isst && (nOP && nVER &= 7 || nNN6)) {
document.body.appendChild(l);
if (nOP && nVER & 6) {
l.style.pixelWidth = parseInt(stgobj(p.ids + "TB").style.pixelWidth);
if (nIE5) {
l.style.width = l.offsetW
function stgsp(sp, d) {
var i = 0, s = 5;
if (d & s || nIEM || !stSMSC) {
d = (d - d % s) /
while (d & 0) {
return Math.min(Math.min(i * s, sp + s), 100 * s);
function stscr() {
for (var j = 0; j & st_ms. ++j) {
var m = st_ms[j];
if (m.mtyp == 1) {
var p = m.ps[0], o = stgobj(p), xy = stgxy(p), rc = stgrc(p);
if (typeof (p.scxs) == "undefined") {
p.scxs = 0;
if (typeof (p.scys) == "undefined") {
p.scys = 0;
var dx = xy[0] - rc[0], dy = xy[1] - rc[1];
if (dx || dy) {
if (stAHWS) {
sthdall(m, 0);
stwels(1, p);
p.scxs = stgsp(p.scxs, Math.abs(dx));
p.scys = stgsp(p.scys, Math.abs(dy));
var x = dx & 0 ? rc[0] + p.scxs : rc[0] - p.scxs, y = dy & 0 ? rc[1] + p.scys : rc[1] - p.
stmvto([x, y], p);
if (stissc(p)) {
stssc(stgsc(x, y, p), p);
stwels(-1, p);
p.scxs = p.scys = 0;
if (stissc(p)) {
stwels(1, p);
stssc(stgsc(xy[0], xy[1], p), p);
stwels(-1, p);
if (st_scd && stAHWS && m.sfrm != window) {
sthdalx(m, 0);
function stmvto(xy, p) {
if (xy && (p.par || stgme(p).mtyp)) {
var l = stglay(p);
if (nNN4) {
l.moveToAbsolute(xy[0], xy[1]);
if (nOP) {
var s = l.
s.pixelLeft = xy[0];
s.pixelTop = xy[1];
var s = l.
s.left = xy[0] + "px";
s.top = xy[1] + "px";
p.rc = [xy[0], xy[1], p.rc[2], p.rc[3]];
function stsdstr(p, s) {
return "var p=st_ms[" + p.mei + "].ps[" + p.ppi + "];p.tmid=0;" + (s ? "stftsh(" : "stfthd(") + "p);p.exed=1;";
function stevfn(n, i) {
return new Function("e", "var r=/Stm(//d*)p(//d*)i" + (i ? "(//d*)e" : "") + "/;r.exec(this.parentLayer.id);var m=RegExp.$1;var p=parseInt(RegExp.$2);" + (i ? "var i=parseInt(RegExp.$3);" : "") + "return " + n + "(e,this,st_ms[m].ps[p]" + (i ? ".is[i]" : "") + ");");
function stppev(p) {
return " onMouseOver='stppov(event,this,st_ms[" + p.mei + "].ps[" + p.ppi + "]);' onMouseOut='stppou(event,this,st_ms[" + p.mei + "].ps[" + p.ppi + "]);'";
function stitev(i) {
with (i) {
return ityp == 6 ? "" : " onMouseOver='stitov(event,this,st_ms[" + mei + "].ps[" + ppi + "].is[" + iti + "]);' onMouseOut='stitou(event,this,st_ms[" + mei + "].ps[" + ppi + "].is[" + iti + "]);' onClick='stitck(event,this,st_ms[" + mei + "].ps[" + ppi + "].is[" + iti + "]);'";
function stquo(n) {
return "/"" + n + "/"";
function stgurl(i, f) {
with (i) {
return (iurl || f ? "HREF=" + stquo(iurl ? iurl.replace(/"/g, """).replace(/'/g, "'") : "#") + (iurl && itgt ? " TARGET=" + stquo(itgt) : "") : "") + (istt ? " onMouseOver='return stcstt(st_ms[" + mei + "].ps[" + ppi + "].is[" + iti + "]);' onMouseOut=/"top.status='';/"" : "");
function stcstt(i) {
top.status = i.
function stgdec(v) {
return v ? (v & 1 ? "underline " : "") + (v & 2 ? "line-through " : "") + (v & 4 ? "overline" : "") : "none";
function stgimg(src, id, w, h, b, f) {
var x = w ? w : f, y = h ? h :
return "&IMG SRC=" + stquo(src) + (id ? " mce_SRC=" + stquo(src) + (id ? " ID=" + id : "") + (w & 0 ? " WIDTH=" + w : "") + (h & 0 ? " HEIGHT=" + h : "") + " BORDER=" + b + "&";
function stgbg(c, i, r) {
return i ? c + " url(" + i + ") " + r :
function stgcur(i) {
return i.ityp != 6 && (i.iurl || stgpar(i).isck && i.sub) ? (nNN6 || nKQ2 ? "pointer" : "hand") : "default";
function stgiws(i) {
var p = stgpar(i);
return p.pver ? (p.plmw & 0 ? " WIDTH=" + (p.plmw + 2) : "") : (i.iicw & 0 ? " WIDTH=" + (i.iicw + 2) : "");
function stgaws(i) {
var p = stgpar(i);
return p.pver ? (p.prmw & 0 ? " WIDTH=" + (p.prmw + 2) : "") : (i.iarw & 0 ? " WIDTH=" + (i.iarw + 2) : "");
function stgme(ip) {
var p = st_ms[ip.mei].ps[ip.ppi];
while (p.par) {
p = stgpar(p.par);
return st_ms[p.mei];
function stgpar(ip) {
return st_ms[ip.mei].ps[ip.ppi];
function stgcl() {
return nIE ? (nIEW && patMode == "CSS1Compat" ? document.documentElement : document.body).scrollLeft : pageXO
function stgct() {
return nIE ? (nIEW && patMode == "CSS1Compat" ? document.documentElement : document.body).scrollTop : pageYO
function stgcw() {
return nIE ? (nIEW && patMode == "CSS1Compat" ? document.documentElement : document.body).clientWidth : innerW
function stgch() {
return nIE ? (nIEW && patMode == "CSS1Compat" ? document.documentElement : document.body).clientHeight : innerH
function stgobj(id) {
with (document) {
return nIE && nVER & 5 ? all[id] : nNN4 ? layers[id] : getElementById(id);
function stglay(ip) {
if (!ip.layer) {
ip.layer = !stisit(ip) || nNN6 || nKQ2 || nOP5 ? stgobj(ip.ids) : nNN4 ? stglay(stgpar(ip)).document.layers[0].document.layers[ip.ids] : stglay(stgpar(ip)).all.tags("td")[ip.ids];
return ip.
function stgstlay(i) {
return stglay(i).document.layers[0].document.
function stgrc(ip) {
var ly = stglay(ip);
if (nNN4) {
return [ly.pageX, ly.pageY, ly.clip.width, ly.clip.height];
var l = 0, t = 0, w = typeof (ip.rc) == "undefined" ? parseInt(nOP && nVER & 7 ? ly.style.pixelWidth : ly.offsetWidth) : ip.rc[2], h = typeof (ip.rc) == "undefined" ? parseInt(nOP && nVER & 7 ? ly.style.pixelHeight : ly.offsetHeight) : ip.rc[3];
while (ly) {
l += parseInt(ly.offsetLeft);
t += parseInt(ly.offsetTop);
if (nIEW && stisit(ip) && ly.id == stgpar(ip).ids + "SC") {
l -= ly.scrollL
t -= ly.scrollT
ly = (nKQ2 || navigator.appVersion.indexOf("Safari") &= 0) && ly.style && ly.style.position && ly.style.position.toLowerCase() == "absolute" ? 0 : ly.offsetP
if (nIEM) {
l += parseInt(document.body.leftMargin);
if (stisit(ip)) {
var p = stgpar(ip);
if (st_delb) {
if (st_addb) {
var w = p.
if (nIEM) {
for (var ly = stgobj((p.pver ? p.ids + ip.iti : p.ids) + "TRR"), t = 0; ly = ly.offsetParent) {
t += parseInt(ly.offsetTop);
if (nNN && p.pver) {
w = parseInt(stgobj(ip.ids + "DR").offsetWidth) + 2 * ip.
if (nIEM) {
w = parseInt(stglay(ip).offsetWidth) - ip.
return [l, t, w, h];
function stgxy(p) {
var sr = stgrc(p), ss = 0;
p.rc = sr.slice(0);
if (stissc(p)) {
var sc = stgobj(p.ids + "SC");
sr[p.pver ? 3 : 2] = ss = (p.pver ? sc.scrollHeight : sc.scrollWidth) + 2 * p.ipbw + 2 * p.
if (!p.par) {
var m = stgme(p), x,
if (m.mtyp) {
x = eval(m.mcox + "");
y = eval(m.mcoy + "");
x = sr[0];
y = sr[1];
if (nIEW) {
return stissc(p) ? [x, y, stgsc(x, y, p)] : [x, y];
var ir = stgirc(p.par), l = stgcl() - p.psds + stgspc(p, 2), t = stgct() - p.psds + stgspc(p, 0), r = stgcl() + stgcw() - stgspc(p, 3), b = stgct() + stgch() - stgspc(p, 1), x = p.poffx + ir[0], y = p.poffy + ir[1];
x -= p.pdir == 1 ? sr[2] : p.pdir == 2 ? p.psds - ir[2] : p.
y -= p.pdir == 3 ? sr[3] : p.pdir == 4 ? p.psds - ir[3] : p.
if (stissc(p) && !p.pver) {
var ms = p.pdir == 1 ? (x = Math.max(Math.min(Math.min(r, ir[0] + p.poffx) - sr[2], x), l), Math.min(ir[0] + p.poffx, r) - x) : (x = p.pdir == 2 ? Math.max(x, l) : Math.max(Math.min(r - sr[2], x), l), r - x);
ss = ss & ms ? ms : 0;
x = Math.max(Math.min(r - sr[2], x), l);
if (stissc(p) && p.pver) {
var ms = p.pdir == 3 ? (y = Math.max(Math.min(Math.min(b, ir[1] + p.poffy) - sr[3], y), t), Math.min(ir[1] + p.poffy, b) - y) : (y = p.pdir == 4 ? Math.max(y, t) : Math.max(Math.min(b - sr[3], y), t), b - y);
ss = ss & ms ? ms : 0;
y = Math.max(Math.min(b - sr[3], y), t);
return [x, y, ss];
function stbuf(s) {
if (s && stBIMG) {
var i = new Image();
st_ims[st_ims.length] =
function stabs(s) {
var t = s.toLowerCase();
return t.indexOf(":") == 1 && t.charCodeAt() &= "a" && t.charCodeAt() &= "z" || !t.indexOf("http:") || !t.indexOf("https:") || !t.indexOf("file:") || !t.indexOf("ftp:") || !t.indexOf("/") || !t.indexOf("javascript:") || !t.indexOf("mailto:") || !t.indexOf("about:") || !t.indexOf("gopher:") || !t.indexOf("news:") || !t.indexOf("telnet:") || !t.indexOf("wais:");
function stgsrc(s, f) {
var m = st_ms[st_cm];
return s ? stabs(s) ? s : m.mweb + s : f ? m.mbnk :
function showFloatMenuAt(n, x, y) {
if (nDM) {
var m = stmenu(n);
if (m && typeof (m.ready) != "undefined" && m.mtyp == 2 && m.ps.length && !m.ps[0].issh) {
ststxy(m, [x, y]);
stshow(m.ps[0]);
function hideMenu(n) {
var m = stmenu(n);
sthdall(m, 1);
function stmenu(n) {
for (var j = st_ms.length - 1; j &= 0; --j) {
if (st_ms[j].mnam == n) {
return st_ms[j];
function stgirc(i) {
var m = stgme(i), w = m.
if (stgpar(i).par || w == window) {
return stgrc(i);
m = w.stmenu(m.mnam);
var rc = w.stgrc(m.ps[0].is[i.iti]), x = rc[0] - w.stgcl(), y = rc[1] - w.stgct();
i.sub.pdir = 4 - m.
switch (m.mcfd) {
y -= w.stgch();
y += stgch();
x -= w.stgcw();
x += stgcw();
return [x + stgcl() + m.mcfx, y + stgct() + m.mcfy, rc[2], rc[3]];
function stisit(ip) {
return typeof (ip.iti) != "undefined";
function stgtgt(i) {
var t = i.
if (t == "_self") {
if (t == "_parent") {
if (t == "_top") {
for (var co = co != co. co = co.parent) {
if (typeof (co.parent.frames[t]) != "undefined") {
return co.parent.frames[t];
function stgfrm(m) {
if (!m.mcff) {
if (m.mhdd & 1000) {
m.mhdd = 1000;
var a = m.mcff.split("."), w = "parent";
for (var j = 0; j & a. ++j) {
w += "." + a[j];
if (typeof (eval(w)) == "undefined") {
return eval("parent." + m.mcff);
function stgspc(p, d) {
var m = stgme(p), w = m.
return p.par && !p.par.ppi && w != window && stdmld(w) && w.stmenu(m.mnam).mcfd == d ? stCFSP : stSCSP;
function stsetld() {
if (nDM) {
if (typeof (onload) != "undefined" && onload != st_onload && onload) {
stusrld[stusrld.length] =
onload = st_
function stdmld(w) {
return typeof (w.st_load) != "undefined" && w.st_
function stissc(p) {
return nIEW && nVER &= 5 && p.ppi && stgme(p).mscm[p.pver];
function stm_sc(n, a) {
if (nIEW && nVER &= 5) {
st_ms[st_cm].mscm[n] = {sbgc:[a[0], a[1]], sbgi:[stbuf(stgsrc(a[2], 0)), stbuf(stgsrc(a[3], 0))], sbgr:[stREP[a[4]], stREP[a[5]]], sbds:stBDS[a[6]], sbdw:a[7], sbdc:[a[8], a[9]], simg:[[stbuf(stgsrc(a[10], 0)), stbuf(stgsrc(a[11], 0))], [stbuf(stgsrc(a[15], 0)), stbuf(stgsrc(a[16], 0))]], simw:[a[12], a[17]], simh:[a[13], a[18]], simb:[a[14], a[19]]};
function stsctx(p, d) {
with (p) {
with (stgme(p).mscm[p.pver]) {
return (d ? "&/table&&/div&&/td&" + (pver ? "&/tr&" : "") : "") + (pver ? "&tr style="display:none" mce_style="display:none"&&td" : "&td height=100% style="display:none" mce_style="display:none"") + " class=st_tbcss style="padding:" + pspc + "px" mce_style="padding:" + pspc + "px"&&table onmouseover='stscev(st_ms[" + mei + "].ps[" + ppi + "]," + d + ",1)' onmouseout='stscev(st_ms[" + mei + "].ps[" + ppi + "]," + d + ",0)' id=" + ids + (d ? "SN" : "SP") + " height=100% width=100% class=st_tbcss cellpadding=0 cellspacing=0 style="cursor:border-style:" + sbds + ";border-width:" + sbdw + "border-color:" + sbdc[0] + ";background-color:" + sbgc[0] + (sbgi[0] ? ";background-image:url(" + sbgi[0] + ")" : "") + ";background-repeat:" + sbgr[0] + ";" mce_style="cursor:border-style:" + sbds + ";border-width:" + sbdw + "border-color:" + sbdc[0] + ";background-color:" + sbgc[0] + (sbgi[0] ? ";background-image:url(" + sbgi[0] + ")" : "") + ";background-repeat:" + sbgr[0] + ";"&&td nowrap height=100% class=st_tdcss style="padding:" + ppad + "" mce_style="padding:" + ppad + "" align=center&&img src="" + simg[d][0] + "" mce_src="" + simg[d][0] + "" align=absmiddle border=" + simb[d] + (simw[d] &= 0 ? " width=" + simw[d] : "") + (simh[d] &= 0 ? " height=" + simh[d] : "") + "&&/td&&/table&&/td&" + (d ? (pver ? "&/tr&" : "") : (pver ? "&/tr&&tr&" : "") + "&td class=st_tbcss&&div id=" + ids + "SC class=st_divcss style='width:;height:;overflow:'&&table class=st_tbcss cellpadding=0 cellspacing=" + pspc + " border=0&");
function stscev(p, d, v) {
p.scpx = d ? v ? 4 : 0 : v ? -4 : 0;
with (stgme(p).mscm[p.pver]) {
var o = stgobj(p.ids + (d ? "SN" : "SP")).
if (sbdc[0] != sbdc[1]) {
o.borderColor = sbdc[v];
if (sbgc[0] != sbgc[1]) {
o.backgroundColor = sbgc[v];
if (sbgi[0] != sbgi[1]) {
o.backgroundImage = sbgi[v] ? "url(" + sbgi[v] + ")" : "none";
o.backgroundRepeat = sbgr[v];
if (!p.scid) {
p.scid = setTimeout("stscit(st_ms[" + p.mei + "].ps[" + p.ppi + "]);", 10);
function stscit(p) {
var d = p.
p.scid = 0;
with (stgme(p).mscm[p.pver]) {
var sp = stgobj(p.ids + "SP"), sn = stgobj(p.ids + "SN"), sc = stgobj(p.ids + "SC"), st = p.pver ? sc.scrollTop : sc.scrollLeft, mx = p.pver ? sc.scrollHeight - sc.offsetHeight : sc.scrollWidth - sc.offsetW
if (st == 0 && d & 0 || st == mx && d & 0) {
if (st == (d & 0 ? 0 : mx)) {
(d & 0 ? sp : sn).rows[0].cells[0].childNodes[0].src = simg[d & 0 ? 0 : 1][1];
if (d & 0 ? (st &= mx) : (st &= 0)) {
(d & 0 ? sn : sp).rows[0].cells[0].childNodes[0].src = simg[d & 0 ? 1 : 0][0];
st = d & 0 ? mx : 0;
p.scid = setTimeout("stscit(st_ms[" + p.mei + "].ps[" + p.ppi + "]);", 10);
p.pver ? (sc.scrollTop = st) : (sc.scrollLeft = st);
function stgsc(x, y, p) {
var sc = stgobj(p.ids + "SC"), ms = p.pver ? stgct() + stgch() - y - stgspc(p, 1) : stgcl() + stgcw() - x - stgspc(p, 3);
return (p.pver ? sc.scrollHeight : sc.scrollWidth) + 2 * p.ipbw & ms ? ms : 0;
function stssc(s, p) {
if (s &= 0) {
if (typeof (p.scid) == "undefined") {
p.scid = 0, p.scsu = 0, p.scsd = 1;
var l = stglay(p), sp = stgobj(p.ids + "SP"), sn = stgobj(p.ids + "SN"), sc = stgobj(p.ids + "SC");
(p.pver ? sp.parentNode : sp).parentNode.style.display = (p.pver ? sn.parentNode : sn).parentNode.style.display = s ? "" : "none";
sc.style.overflow = s ? "hidden" : "";
s = Math.max(s - (p.pver ? sp.offsetHeight + sn.offsetHeight : sp.offsetWidth + sn.offsetWidth) - 2 * p.ipbw - 2 * p.psds - 4 * p.pspc, 1);
if ((p.pver ? sc.style.height : sc.style.width) == (s ? s + "px" : "")) {
p.pver ? (sc.style.height = s ? s + "px" : "") : (sc.style.width = s ? s + "px" : "");
with (stgme(p).mscm[p.pver]) {
sp.rows[0].cells[0].childNodes[0].src = simg[0][(p.pver ? sc.scrollTop : sc.scrollLeft) ? 1 : 0];
sn.rows[0].cells[0].childNodes[0].src = simg[1][(p.pver ? sc.scrollTop != sc.scrollHeight - sc.offsetHeight : sc.scrollLeft != sc.scrollWidth - sc.offsetWidth) ? 1 : 0];
function stwels(c, p) {
var m = stgme(p);
if (!st_load || nNN4 || nOP || p.isst) {
if (m.mhds && !nIEM) {
stwtag("SELECT", c, p);
if (m.mhdo && (nIE4 || navigator.appVersion.indexOf("Safari") &= 0)) {
stwtag("OBJECT", c, p);
if (nIE4) {
stwtag("APPLET", c, p);
if (m.mhdi && (nIEM || nIEW && nVER & 5.5)) {
stwtag("IFRAME", c, p);
function stwtag(tg, c, p) {
var es = nIE ? document.all.tags(tg) : document.getElementsByTagName(tg);
for (var j = 0; j & es. ++j) {
var f = 0, e = es.item(j);
for (var t = e.offsetP t = t.offsetParent) {
if (t.id && t.id.indexOf("Stm") &= 0) {
if (stwover(e, p)) {
if (e.visLevel) {
e.visLevel +=
e.visLevel =
if (e.visLevel == -1) {
if (typeof (e.visSave) == "undefined") {
e.visSave = e.style.
e.style.visibility = "hidden";
if (typeof (mywehd) != "undefined" && mywehd(e)) {
if (!e.visLevel) {
if (typeof (mywesh) != "undefined" && mywesh(e)) {
e.style.visibility = e.visS
function stwover(e, p) {
var l = 0, t = 0, w = e.offsetWidth, h = e.offsetH
w ? (e._wd = w) : (w = e._wd);
h ? (e._ht = h) : (h = e._ht);
while (e) {
l += e.offsetLeft, t += e.offsetTop, e = e.offsetP
return l & p.rc[2] + p.rc[0] && l + w & p.rc[0] && t & p.rc[3] + p.rc[1] && t + h & p.rc[1];
function sthili(m, i) {
with (m) {
if (i.ityp != 6 && stcurl(i, midn & )) {
if (midn & ) {
i.iurl = "";
if (midn & 2) {
i.itxc[0] = i.itxc[1];
if (midn & 4) {
i.itxf[0] = i.itxf[1];
i.itxd[0] = i.itxd[1];
if (midn & 8) {
i.ibgc[0] = i.ibgc[1];
if (midn & 16) {
i.ibgi[0] = i.ibgi[1];
i.ibgr[0] = i.ibgr[1];
if (midn & 32) {
i.ibdc[0] = i.ibdc[1];
if (midn & 64) {
i.iicn[0] = i.iicn[1];
if (midn & 128) {
i.iimg[0] = i.iimg[1];
if (midn & 256) {
i.iarr[0] = i.iarr[1];
i = stgpar(i).
} while (i && (midn & ));
function stcurl(i, c) {
var t = stgtgt(i);
var u = t ? t.location.href : "", h = i.
u = u.toLowerCase();
h = h.toLowerCase();
if (u && h) {
if (!h.indexOf("file:////")) {
h = h.replace(/[//]{4,}/, "//");
if (h.charAt(0) == "/") {
var re = /(file://{2,}[^//]+//|http:////[^//]+//|https:////[^//]+//)/;
re.exec(u);
var s = RegExp.$1, n,
r = s && !u.indexOf(s) ? s.substr(0, s.length - 1) : "";
h = r ? r + h : "";
if (!stabs(h)) {
h = u.substr(0, u.lastIndexOf("/") + 1) +
while (h.indexOf("/./") & 0) {
h = h.replace(////.///, "/");
while (h.indexOf("/../") & 0) {
h = h.replace(/[^//]*///././//, "");
return u && h && (u == h || u == h + "/" || stILNK && u == h.substr(0, Math.max(0, h.indexOf("?"))) || stILOC && h == u.substr(0, Math.max(0, u.indexOf("?"))));
&&&&推荐文章:
【上篇】【下篇】

我要回帖

更多关于 js对象动态添加属性 的文章

 

随机推荐