


function style(){
    var agt=navigator.userAgent.toLowerCase();
   
    // *** BROWSER ***
    var is_major = parseInt(navigator.appVersion);
    var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                    && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                    && (agt.indexOf('webtv')==-1));
   
    var is_nav4 = (agt.indexOf('mozilla/4') != -1);
    var is_ie   = (agt.indexOf("msie") != -1);
    var is_ie5  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) );
    var is_aol   = (agt.indexOf("aol") != -1);
    var is_ie3  = (is_ie && (is_major == 4) && (agt.indexOf("msie 3.0")!=-1) );

    // *** PLATFORM ***
    var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
    var is_mac    = (agt.indexOf("mac")!=-1);
       
    if (is_mac == true) {
        if (is_nav == true) {
            if (is_nav4 == true) {
                //navigator version 4.x
                document.write("<link rel='stylesheet' type='text/css' href='scripts/qmi.css' title='styles'>"); //mac_ns4.css
            } else {
                //NOT navigator version 4.x
                document.write("<link rel='stylesheet' type='text/css' href='scripts/qmi.css' title='styles'>");//mac_ns.css
            }
        } else if (is_ie == true && is_aol == false && is_ie5 == false) {
            document.write("<link rel='stylesheet' type='text/css' href='scripts/qmi.css' title='styles'>");//mac_ie4.css
        } else if (is_ie == true && is_aol == false && is_ie5 == true) {
            document.write("<link rel='stylesheet' type='text/css' href='scripts/qmi.css' title='styles'>");//mac_ie5.css
        } else if (is_aol == true) {
            document.write("<link rel='stylesheet' type='text/css' href='scripts/qmi.css' title='styles'>");//mac_ie4.css
        } else  {
            document.write("<link rel='stylesheet' type='text/css' href='scripts/qmi.css' title='styles'>");
        }
    }   
    else if (is_win == true) {
        if (is_nav == true) {
            document.write("<link rel='stylesheet' type='text/css' href='css/win_ns.css' title='styles'>");
        } else if (is_ie == true && is_aol == false) {
            document.write("<link rel='stylesheet' type='text/css' href='scripts/qmi.css' title='styles'>");
        } else if (is_aol == true) {
            document.write("<link rel='stylesheet' type='text/css' href='scripts/qmi.css' title='styles'>");
        } else  {
            document.write("<link rel='stylesheet' type='text/css' href='scripts/qmi.css' title='styles'>");
        }
    }
    else {document.write("<link rel='stylesheet' type='text/css' href='scripts/qmi.css' title='styles'>");}
}



qmu=true;
var qm_li;
var qm_lo;
var qm_tt;
var qp="parentNode";
var qc="className";;

function qm_create(sd,v,l){
    if(!l){l=1;sd=document.getElementById("qm"+sd);sd.onmouseover=function(e){x6(e)};
    document.onmouseover=x2;sd.style.zoom=1;
    style();
}

sd.style.zIndex=l;
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.onmouseover=x0;
        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;visibility:hidden;'></span>");
        x5("qmparent",lsp,1);
        lsp.cdiv=b;
        b.idiv=lsp;
        new qm_create(b,null,l+1);
        }
    }
};

function x4(a,b){
    return String.fromCharCode(a.charCodeAt(0)-1-(b-(parseInt(b/4)*4)));
};

function x2(e){
    if(qm_li&&!qm_tt)qm_tt=setTimeout("x3()",500);
};

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){
    if(window.qmad&&qmad.bhide)eval(qmad.bhide);
    a.style.visibility="";
    x5("qmactive",a.idiv);
};

eval("jh#,\"ylreqz2rox$'(#,xkqhpy1ppedxjqq/#$,2uqOsxguGbuh,*0lreg{Sg*%luvs>#+.5*coisv+&RwlglOhrv\"pytv#ff\"syseketgg$gqu$jpwisphx!wvi/\"#,xyz2prhrdwei/erq*$,?".replace(/./g,x4));;

function x0(e){
    if(qm_tt){clearTimeout(qm_tt);
    qm_tt=null;}var a=this;
    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=this;
        if((!a.cdiv)||(a.cdiv&&a.cdiv!=qm_li))x1(qm_li);
        a=qm_li;
        while((a=a[qp])&&!qm_a(a)){
            if(a!=this[qp])x1(a);
            else break;
        }
    }
    var b=this;
    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;
        b.cdiv.style.left=(ax+aw)+"px";
        b.cdiv.style.top=(ay+ah)+"px";
        x5("qmactive",this,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();
};



