var qm_si,qm_li,qm_lo,qm_tt,qm_th,qm_ts;
var qp="parentNode";
var qc="className";

function qm_create(sd,v,ts,th,oc,l){
    var w="onmouseover";
    if(oc){
        w="onclick";
        th=0;
        ts=0;
    }
    if(!l){
        l=1;
        qm_th=th;
        sd=document.getElementById("qm"+sd);
        sd[w]=function(e){
            x6(e)
        };
        document[w]=x2;
        sd.style.zoom=1;
    }
    sd.style.zIndex=99999;
    var lsp;
    var sp=sd.childNodes;
    for(var i=0;i<sp.length;i++){
        var b=sp[i];
        if(b.tagName=="A"){
            lsp=b;
            b.plink = b[w];
            b[w]=x0;
            b.qmts=ts;
            if(l==1&&v){
                b.style.styleFloat="none";
                b.style.cssFloat="none";
            }
        }
        if(b.tagName=="DIV"){
            if(window.showHelp&&!window.XMLHttpRequest)
                sp[i].insertAdjacentHTML("afterBegin","<span style='display:block;font-size:1px;height:0px;width:0px;line-height:0px;visibility:hidden;'></span>");
            x5("qmparent",lsp,1);
            lsp.cdiv=b;
            b.idiv=lsp;
            new qm_create(b,null,ts,th,oc,l+1);
        }
    }
};
function x2(e){
    clearTimeout(qm_tt);
    qm_tt=null;
    if(qm_li&&!qm_tt)
        qm_tt=setTimeout("x3()",qm_th);
};
function x3(){
    var a;
    if((a=qm_li)){
        do{
            x1(a);
        }
        while((a=a[qp])&&!qm_a(a))}qm_li=null;
};
function qm_a(a){
    if(a[qc].indexOf("qmmc")+1)return 1;
};
function x1(a,go){
    if(!go&&a.qmtree)return;if(window.qmad&&qmad.bhide)eval(qmad.bhide);a.style.visibility="";x5("qmactive",a.idiv);}if(window.showHelp&&!window.qmu&&(window.location+"").toLowerCase().indexOf("http:")+1);
    
function x0(e,o,nt){
    if(!o)o=this;
    if(o.plink)
        o.plink(e);
    if(window.qmad&&qmad.bhover&&!nt)
        eval(qmad.bhover);
    if(window.qmwait)
        return;clearTimeout(qm_tt);
    qm_tt=null;
    if(!nt&&o.qmts){
        qm_si=o;qm_tt=setTimeout("x0(new Object(),qm_si,1)",o.qmts);
        return;
    }
    var a=o;
    if(a[qp].isrun)
        return;
    var go=true;
    while((a=a[qp])&&!qm_a(a)){
        if(a==qm_li)go=false;
    }
    if(qm_li&&go){
        a=o;
        if((!a.cdiv)||(a.cdiv&&a.cdiv!=qm_li))x1(qm_li);
        a=qm_li;
        while((a=a[qp])&&!qm_a(a)){
            if(a!=o[qp])x1(a);else break;
        }
    }
    var b=o;
    if(b.cdiv){
        var aw=b.offsetWidth;
        var ah=b.offsetHeight;
        var ax=b.offsetLeft;
        var ay=b.offsetTop;
        if(qm_a(b[qp])&&b.style.styleFloat!="none"&&b.style.cssFloat!="none")aw=0;else ah=0;
        if(!b.cdiv.ismove){
            b.cdiv.style.left=(ax+aw)+"px";
            b.cdiv.style.top=(ay+ah)+"px";
        }
        x5("qmactive",o,1);
        if(window.qmad&&qmad.bvis)eval(qmad.bvis);
        b.cdiv.style.visibility="inherit";
        qm_li=b.cdiv;
    }else  if(!qm_a(b[qp]))qm_li=b[qp];else qm_li=null;x6(e);
};
function x5(name,b,add){
    var a=b[qc];
    if(add){
        if(a.indexOf(name)==-1)b[qc]+=(a?' ':'')+name;
    }else {
        b[qc]=a.replace(" "+name,"");
        b[qc]=b[qc].replace(name,"");
    }
};
function x6(e){
    if(!e)e=event;
    e.cancelBubble=true;
    if(e.stopPropagation)
        e.stopPropagation();
}
