document.DQ=new Array();
document.DQ._init=new Array();
document.DQ._headers=new Array();
document.DQ._bodytop=new Array();
document.DQ._move=new Array();
document.DQ._mousemove=new Array();
document.DQ._resize=new Array();
document.DQ._scroll=new Array();

function DQinit_Add(cmd)
{
    document.DQ._init[document.DQ._init.length]=cmd;
}

function DQheaders_Add(cmd)
{
    document.DQ._headers[document.DQ._headers.length]=cmd;
}

function DQbodytop_Add(cmd)
{
    document.DQ._bodytop[document.DQ._bodytop.length]=cmd;
}

function DQmousemove_Add(cmd)
{
    document.DQ._mousemove[document.DQ._mousemove.length]=cmd;
}

function DQmove_Add(cmd)
{
    document.DQ._move[document.DQ._move.length]=cmd;
}

function DQresize_Add(cmd)
{
    document.DQ._resize[document.DQ._resize.length]=cmd;
}

function DQscroll_Add(cmd)
{
    document.DQ._scroll[document.DQ._scroll.length]=cmd;
}

function DQheaders()
{
    len=document.DQ._headers.length;
    for (i=0;i<len;i++)
    {
        eval(document.DQ._headers[i].substring(3));
    }
}


function DQbodytop()
{
    document.DQ._bodytop.sort();
    len=document.DQ._bodytop.length;
    for (i=0;i<len;i++)
    {
        eval(document.DQ._bodytop[i].substring(3));
    }
}

function DQmousemove(event)
{
    document.DQ._mousemove.sort();
    len=document.DQ._mousemove.length;
    rc=false;
    for (i=0;i<len;i++)
    {
        if (eval(document.DQ._mousemove[i].substring(3)))
            rc=true;
    }
    return(rc);
}

function DQmove()
{
    document.DQ._move.sort();
    len=document.DQ._move.length;
    for (i=0;i<len;i++)
    {
        eval(document.DQ._move[i].substring(3));
    }
}

function DQresize()
{
    document.DQ._resize.sort();
    len=document.DQ._resize.length;
    for (i=0;i<len;i++)
    {
        eval(document.DQ._resize[i].substring(3));
    }
}

function DQscroll()
{
    document.DQ._scroll.sort();
    len=document.DQ._scroll.length;
    for (i=0;i<len;i++)
    {
        eval(document.DQ._scroll[i].substring(3));
    }
}


function DQinit()
{
    len=document.DQ._init.sort();
    len=document.DQ._init.length;
    for (initi=0;initi<len;initi++)
    {
        eval(document.DQ._init[initi].substring(3));
    }
}

document.DQ.browser=new Array();

DQinit_Add('000DQbrowser_init()');
DQbrowser_init();

function DQbrowser_init()
{
    version=navigator.appVersion;

    if (isNaN(version))
        version=version.replace(/.*MSIE (.*);.*/,"$1");

    version=parseFloat(version);

    document.DQ.browser['ie4'] = (document.all && version >=4 )? true:false ;
    document.DQ.browser['ie5'] = (document.all && version >=5 )? true:false ;
    document.DQ.browser['ie6'] = (document.all && version >=6 )? true:false ;
    document.DQ.browser['nn4'] = (document.layers)? true:false ;
    document.DQ.browser['moz'] = (!document.layers && !document.all && parseFloat(navigator.appVersion) >=5 )? true:false ;
    document.DQ.browser['opr'] = (!document.layers && document.all && parseFloat(navigator.appVersion) >=5 )? true:false ;
    // document.DQ.browser['o80'] = (opera && (parseFloat(navigator.appVersion) >= 8.0)) ? true : false;
    // document.DQ.browser['o85'] = (opera && (parseFloat(navigator.appVersion) >= 8.5)) ? true : false;
    // document.DQ.browser['o90'] = (opera && (parseFloat(navigator.appVersion) >= 9.0)) ? true : false;
}

function DQbrowser(name)
{
    return(document.DQ.browser[name]);
}
document.DQ.positions=new Array();

if (DQbrowser("moz"))
{
    DQinit_Add('040DQpos_moz_reposition()');
    DQresize_Add('050DQpos_tdoreposition()');
    DQscroll_Add('050DQpos_tdoreposition()');
    DQmove_Add('050DQpos_tdoreposition()');
}
else
{
    DQresize_Add('050DQpos_doreposition()');
    DQscroll_Add('050DQpos_doreposition()');
    DQmove_Add('050DQpos_doreposition()');
}
DQinit_Add('050DQpos_doreposition()');
DQinit_Add('060DQpos_checkreposition()');

document.DQ.treposini=0;

function DQpos_tdoreposition()
{
    if (document.DQ.treposini)
    {
        document.DQ.trepos.deactivate();
        document.DQ.trepos.activate();
    }
}

function DQpos_moz_reposition()
{
    document.DQ.treposini=1;
    document.DQ.trepos=new DQtimedeval();
    document.DQ.trepos.timer=100;
    document.DQ.trepos.command='DQpos_doreposition()';
}

function DQpos_checkreposition()
{
    if (DQbrowser("nn4"))
        setInterval('DQpos_doreposition()',3000);
}
function DQpos_doreposition()
{
    var rpj;
    p=document.DQ.positions;
    for (rpj=0;rpj<p.length;rpj++)
    {
        if (p[rpj].parent=='')
        {
            p[rpj].reposition();
        }
    }
}

function DQpos_main_getx()
{
    var pos,total=this.width,xwr;
    if (this.parent=='')
    {
        if (DQbrowser("ie4"))
            total=document.body.clientWidth;
        else if (DQbrowser("nn4"))
            total=window.innerWidth-20;
        else 
	{
            total=document.width;
	    if (("" + total) == "undefined")
	    {
	       total = document.body.clientWidth;
	    }
	}
    }
    else
    {
        total=this.parent.width;
    }
    if (this.xwrelative==100)
        xwr=this.xrelative;
    else
        xwr=this.xwrelative;


    pos=this.xoffset+Math.round((total-0.5)*this.xrelative-this.width*xwr);
    if (DQbrowser("ie4"))
        pageoffset=document.body.scrollLeft;
    else
        pageoffset=window.pageXOffset;
    pos+=pageoffset*this.pagexrelative;

    if ((('x'+this.xmin) != 'x') && (pos<this.xmin))
        pos=this.xmin;
    if ((('x'+this.xmax) != 'x') && (pos>this.xmax))
        pos=this.xmax;
    if (this.parent!='')
        pos+=this.parent.getX();
    return(pos);
}

function DQpos_main_gety()
{
    var pos=0,total=this.height,yhr;
    if (DQbrowser("ie4"))
        total=document.body.clientHeight;
    else if (DQbrowser("nn4"))
        total=window.innerHeight-16;
    else 
        total=this.ymin;
    if (this.yhrelative==100)
        yhr=this.yrelative;
    else
        yhr=this.yhrelative;
    pos=this.yoffset+Math.round((total-0.5)*this.yrelative-this.height*yhr);

    if (DQbrowser("ie4"))
        pageoffset=document.body.scrollTop;
    else
        pageoffset=window.pageYOffset;
    pos+=pageoffset*this.pageyrelative*1.0;

    if ((('x'+this.ymin) != 'x') && (pos<this.ymin))
        pos=this.ymin;
    if ((('x'+this.ymax) != 'x') && (pos>this.ymax))
        pos=this.ymax;

    if (this.parent!='')
        pos+=this.parent.getY();

    return(pos);
}

function DQpos_addchild(obj)
{
    this.children[this.children.length]=obj;
}
function DQpos_remchild(obj)
{
    c=this.children;
    for (i=0;i<c.length;i++)
    {
        if (c[i]==obj)
        {
            return true;
        }
    }
    return false;
}
function DQpos_setparent(obj)
{
    if (this.parent!='')
        this.parent.remchild(this);
    if (obj==this)
        obj='';
    this.parent=obj;
    if (obj!='')
        obj.addchild(this);
}

function DQpos_reposition()
{
    var rpk,c;
    c=this.children;
    for (rpk=0;rpk<c.length;rpk++)
    {
        c[rpk].reposition();
    }
}

function DQpos_eventX(e)
{
    if (DQbrowser("ie4"))
    {
        pos = e.x+document.body.scrollLeft;
    }
    else
    {
        pos = e.pageX;
    }
    pos -= this.getX();
    return(pos);
}

function DQpos_eventY(e)
{
    if (DQbrowser("ie4"))
    {
        pos = e.y+document.body.scrollTop;
    }
    else
    {
        pos = e.pageY;
    }
    pos -= this.getY();
    return(pos);
}

function DQposition()
{
    this.idx=document.DQ.positions.length;
    document.DQ.positions[this.idx]=this;

    this.getX=DQpos_main_getx;
    this.getY=DQpos_main_gety;

    this.width=0;
    this.height=0;

    this.xoffset=0;
    this.xrelative=0;
    this.xwrelative=100;
    this.pagexrelative=0;

    this.yoffset=0;
    this.yrelative=0;
    this.yhrelative=100;
    this.pageyrelative=0;

    this.xmin=0;
    this.xmax=65535;

    this.ymin=0;
    this.ymax=65535;

    this.document=document;    
    this.eventX=DQpos_eventX;
    this.eventY=DQpos_eventY;

    this.parent='';
    this.children=new Array();

    this.reposition=DQpos_reposition;
    this.setparent=DQpos_setparent;
    this.addchild=DQpos_addchild;
    this.remchild=DQpos_remchild;
}
//
// (c) 2002 DataQuest
// This script can only be used by DataQuest customers on their websites
//
// Copying, redistribution and modifications prohibited without
// DataQuest's written permission

function DQrt__id(list,value) // {{{
{
    for (i=0;i<list.length;i++)
    {
        if (list[i]==value)
        {
            return(i);
        }
    }
    return(-1);
}
// }}}
function DQrt_addresult(path,other) // {{{ 
{
    this.results[this.results.length]=eval(path);
    this.oresults[this.oresults.length]=other;
    this.presults[this.presults.length]=path;
}
// }}}
function DQrt_addentry(qpath,vpath,prc) // {{{
{
    this.qentries[this.qentries.length]=eval(qpath);
    this.ventries[this.ventries.length]=eval(vpath);
    this.prices[this.prices.length]=eval(prc);
    
    this.pqentries[this.pqentries.length]=qpath;
    this.pventries[this.pventries.length]=vpath;
}
// }}}
function DQrt_incr(qpath,amount) // {{{
{
    var i, v;
    for (i = 0; i < this.qentries.length; i++)
    {
        if (this.qentries[i] == qpath)
        {
            v = 0;
            try {
                v = Math.round(this.qentries[i].value);
            } catch (exception) {
            }
            v += amount;
            if (v < 0)
                v = 0;
            this.qentries[i].value = v;
            this.recalc(this.qentries[i]);
            return;
        }
    }
    return;
}
// }}}
function DQrt_rebate_null(value) // {{{
{
    return(value);
}
// }}}
function DQrt_blurred(item) // {{{
{
}
// }}}
function DQrt_vblur(item) // {{{
{
    this.makefocus(DQrt__id(this.ventries,item)+1);
}
// }}}
function DQrt_recalc(item) // {{{
{
    if (item!='')
    {
        idx=DQrt__id(this.qentries,item);
    }
    else
    {
        idx=-1;
    }
    qe=this.qentries;
    ve=this.ventries;
    pr=this.prices;
    total=0;
    for (i=0;i<qe.length;i++)
    {
        q=parseInt(qe[i].value);
        
        if (isNaN(q))
            q=0;
        val=q*pr[i];
        total+=val;
        if (i==idx)
        {
            ve[i].value=this.fmtvalue(val);
        }
    }
    res=this.results;
    for (i=0;i<res.length;i++)
    {
        res[i].value=this.fmtvalue(total+this.oresults[i]+this.globaladd);
    }
}
// }}}
function DQrt_makefocus(id) // {{{
{
    if (id>=this.qentries.length)
    {
        if (this.finalize!='')
        {
            eval(this.finalize).focus();
            return(true);
        }
        else
            id=0;
    }
    cmd=''+this.pqentries[id]+'.focus()';
    setTimeout(cmd,1);
    eval(cmd);
    this.qentries[id].select();
}
// }}}
function DQrt_fmtvalue(val) // {{{
{
    gr=(val % 100);
    if (gr<10)
        gr='0'+gr;
    rc=''+(Math.floor(val/100))+this.cursepar+gr+this.currency;
    return(rc);
}
// }}}
function DQrt_checkfinalize() // {{{
{
    if (this.canfinalize)
        return true;
    this.makefocus(this._active+1);
    return false;
}
// }}}
function DQrt_setactive(item) // {{{
{
    this._active=DQrt__id(this.qentries,item);
}
// }}}
function DQrtcounter() // {{{
{
    // properties
    this.results=new Array();
    this.qentries=new Array();
    this.ventries=new Array();
    this.prices=new Array();

    this.presults=new Array();
    this.oresults=new Array();
    this.pqentries=new Array();
    this.pventries=new Array();

    this.rebatefunction=DQrt_rebate_null;
    this.cursepar=',';
    this.currency=' USD';

    this.finalize='';
    this.canfinalize=0;
    this._active=-1;

    // functions
    this.addentry=DQrt_addentry;
    this.addresult=DQrt_addresult;

    this.blurred=DQrt_blurred;
    this.vblur=DQrt_vblur;
    this.makefocus=DQrt_makefocus;
    this.setactive=DQrt_setactive;
    this.recalc=DQrt_recalc;
    this.incr=DQrt_incr;
    this.fmtvalue=DQrt_fmtvalue;
    this.checkfinalize=DQrt_checkfinalize;

    this.globaladd=0;

    return;
}
// }}}

document.DQ.timedevals=new Array();

function DQte_doeval()
{
    if (this.active)
    {
        this.active=0;
        eval(this.command);
    }
}

function DQte_deactivate()
{
    if (this.active)
    {
        this.active=0;
        clearTimeout(this.timerid);
    }
}

function DQte_activate()
{
    if (!this.active)
    {
        this.active=1;
        this.timerid=setTimeout(this.fullcmd,this.timer);
    }
}
function DQtimedeval()
{
    this.idx=document.DQ.timedevals.length;
    document.DQ.timedevals[this.idx]=this;

    this.timerid=0;
    this.fullname='document.DQ.timedevals['+this.idx+']';
    this.fullcmd=this.fullname+'.doeval()';
    this.timer=100;
    this.command='';
    this.active=0;

    this.activate=DQte_activate;
    this.deactivate=DQte_deactivate;
    this.doeval=DQte_doeval;
}
document.DQ.popups=new Array();

DQheaders_Add("050DQpopup_dumpheaders()");
DQbodytop_Add("050DQpopup_dumpbodytop()");
DQinit_Add("010DQpopup_findelements()");

function DQpopup_findelements()
{
    p=document.DQ.popups;
    for (i=0;i<p.length;i++)
    {
        pi=p[i];
        if (DQbrowser('ie4'))
	{
            pi.obj=document.all['DQpopupD'+pi.idx];
            pi.obj2 = pi.obj;
	}
        else if (DQbrowser('nn4'))
	{
            pi.obj=document.layers['DQpopupD'+pi.idx];
            pi.obj2 = pi.obj;
	}
        else
	{
            pi.obj=document.getElementById('DQpopupD'+pi.idx);
            pi.obj2=document.getElementById('DQpopupL'+pi.idx);
	}
        pi.init++;
        if (pi.shown)
        {
            pi.show();
        }
    }
}

function DQpopup_dumpheaders()
{
    document.write('<STYLE TYPE="text/css">');
    p=document.DQ.popups;
    str=".DQpopupLayer { position: absolute; visibility: hide; visibility: hidden; }\n";
    document.write(str);
    for (i=0;i<p.length;i++)
    {
        p[i].dumpCSS();
        p[i].init++;
    }
    document.write('</STYLE>');
}

function DQpopup_dumpbodytop()
{
    p=document.DQ.popups;
    document.write('<DIV id="DQpopupDUMMY" class="DQpopupLayer"></div>');
    for (i=0;i<p.length;i++)
    {
        p[i].dumpBody();
        p[i].init++;
    }
}

function DQpopup_dumpCSS()
{
    str='#DQpopupD'+this.idx+' { position: absolute; visibility: hide; visibility: hidden; z-index: '+this.zindex+'; }';
    document.write(str);
}

function DQpopup_MouseOver(idx)
{
    d=document.DQ.popups[idx];
    if (d.showhide)
        d.show();
    if (d.onmouseover!='')
        eval(d.onmouseover);
}

function DQpopup_MouseOut(idx)
{
    d=document.DQ.popups[idx];
    if (d.showhide)
        d.hide();
    if (d.onmouseout!='')
        eval(d.onmouseout);
}

function DQpopup_dumpBody()
{
    on='';
    if (DQbrowser('opr'))
    {
    }
    else if (DQbrowser('ie4')||DQbrowser('moz'))
    {
        on=on+' STYLE="visibility: hide; visibility: hidden;"';
    }
    on=on+' ONMOUSEOVER="DQpopup_MouseOver('+this.idx+')"'
    on=on+' ONMOUSEOUT="DQpopup_MouseOut('+this.idx+')"'
    if (DQbrowser('opr'))
    {
        body='<DIV ID="DQpopupD'+this.idx+'"'+on+'>'+this.body+'</DIV>';
    }
    else
    {
        body='<DIV ID="DQpopupD'+this.idx+'"'+on+'><LAYER ID="DQpopupL'+this.idx+'"'+on+'>'+this.body+'</LAYER></DIV>';
    }
    document.write(body);
}

function DQpopup_show()
{
    if (this.init<3)
        return;
    if (this.parent!='')
        this.parent.show();
    this.visible=true;
    if (DQbrowser('nn4'))
        this.obj.visibility='show';
    else
    {
        this.obj.style.visibility='visible';
        this.obj2.style.visibility='visible';
    }
    this.htimed.deactivate();
    this.shown=true;
    if (this.drag!='')
        this.drag.moving=0;
    if (this.onshow!='')
        eval(this.onshow);
}

function DQpopup_delayshow()
{
    this.stimed.activate();
}

function DQpopup_hide()
{
    if (this.parent!='')
        this.parent.hide();
    this.htimed.activate();
}

function DQpopup_realhide()
{
    if (this.init<3)
        return;
    this.visible=false;
    if (DQbrowser('nn4'))
        this.obj.visibility='hide';
    else
    {
        this.obj.style.visibility='hidden';
        this.obj2.style.visibility='hidden';
    }
    this.shown=false;
    if (this.drag!='')
        this.drag.moving=0;
    if (this.onhide!='')
        eval(this.onhide);
}

function DQpopup_repos()
{
    if (this.init<3)
        return;
    if (DQbrowser('nn4'))
    {
        this.obj.left=this.position.getX();
        this.obj.top=this.position.getY();
    }
    else
    {
        this.obj.style.left=''+this.position.getX()+'px';
        this.obj.style.top=''+this.position.getY()+'px';
    }
}

function DQpopup_toggle()
{
    if (this.visible)
        this.hide();
    else
        this.show();
}

function DQpopup_realtoggle()
{
    if (this.visible)
        this.realhide();
    else
        this.show();
}

function DQpopup_addchild(obj)
{
    this.children[this.children.length]=obj;
}
function DQpopup_remchild(obj)
{
    c=this.children;
    for (i=0;i<c.length;i++)
    {
        if (c[i]==obj)
        {
            return true;
        }
    }
    return false;
}
function DQpopup_setparent(obj)
{
    if (this.parent!='')
        this.parent.remchild(this);
    if (obj==this)
        obj='';
    this.parent=obj;
    if (obj!='')
        obj.addchild(this);
    this.position.setparent(obj.position);
}
function DQpopup_create()
{
    if (this.created)
        return;
    this.created = 1;
    var d,l,n0;
    if (DQbrowser('nn4'))
        return;

    oover='DQpopup_MouseOver('+this.idx+')';
    oout='DQpopup_MouseOut('+this.idx+')';
    d=document.createElement('DIV');
    d.className='DQpopupLayer';
    d.id='DQpopupD'+this.idx;
    d.style.zIndex=this.zindex;
    d.setAttribute('onMouseOver',oover);
    d.setAttribute('onMouseOut',oout);
    l=document.createElement('LAYER');
    l.id='DQpopupL'+this.idx;
    l.style.zIndex=this.zindex;
    l.setAttribute('onMouseOver',oover);
    l.setAttribute('onMouseOut',oout);
    l.innerHTML=this.body;
    d.appendChild(l);

    if (DQbrowser('opr'))
        n0=document.getElementById('DQpopupDUMMY');
    else if (DQbrowser('ie4'))
        n0=document.all['DQpopupDUMMY'];
    else
        n0=document.getElementById('DQpopupDUMMY');
    document.body.insertBefore(d,n0);
    this.obj=d;
    this.obj2=d;
    this.init=3;

    this.reposition();
}
function DQpopup_destroy()
{
    document.body.removeChild(this.obj);
}

function DQpopup()
{
    this.idx=document.DQ.popups.length;
    document.DQ.popups[this.idx]=this;

    this.position=new DQposition();
    this.position.addchild(this);
    this.created = 0;

    this.visible=false;

    this.init=0;
    this.parent='';
    this.children=new Array();
    
    this.body='';
    this.fullname='document.DQ.popups['+this.idx+']';

    this.create=DQpopup_create;
    this.destroy=DQpopup_destroy;
    this.dumpCSS=DQpopup_dumpCSS;
    this.dumpBody=DQpopup_dumpBody;
    this.onmouseover='';
    this.onmouseout='';
    this.onshow='';
    this.onhide='';
    this.zindex=10;
    this.shown=false;
    this.showhide=true;

    this.reposition=DQpopup_repos;
    this.show=DQpopup_show;
    this.delayshow=DQpopup_delayshow;
    this.hide=DQpopup_hide;
    this.realhide=DQpopup_realhide;
    this.toggle=DQpopup_toggle;
    this.realtoggle=DQpopup_realtoggle;

    this.setparent=DQpopup_setparent;
    this.addchild=DQpopup_addchild;
    this.remchild=DQpopup_remchild;

    this.htimed=new DQtimedeval();
    this.htimed.command=this.fullname+'.realhide()';
    this.htimed.timer=200;

    this.stimed=new DQtimedeval();
    this.stimed.command=this.fullname+'.show()';
    this.stimed.timer=200;

    this.drag='';
}
document.DQ.drags=new Array();

function DQdrag_MouseMove(obj,event,idx)
{
    d=document.DQ.drags[idx];
    d.init();
    if (d.moving)
    {
        dx=event.screenX-d.x;
        dy=event.screenY-d.y;
        d.x=event.screenX;
        d.y=event.screenY;
        if (d.dqpopup!='')
        {
            d.dqpopup.position.yoffset+=dy;
            d.dqpopup.position.xoffset+=dx;
            d.dqpopup.position.reposition();
        }
        if (event.preventDefault)
            event.preventDefault();
    }
    return false;
}

function DQdrag_MouseUp(obj,event,idx)
{
    d=document.DQ.drags[idx];
    d.init();
    d.x=event.screenX;
    d.y=event.screenY;
    d.moving=0;
    eval(d.onend);
    return false;
}

function DQdrag_MouseDown(obj,event,idx)
{
    d.init();
    d=document.DQ.drags[idx];
    d.x=event.screenX;
    d.y=event.screenY;
    if (!d.click)
    {
        d.moving=1;
        eval(d.onbegin);
        if (document.preventDefault)
            event.preventDefault();
    }
    return false;
}

function DQdrag_dump(body)
{
    on=" ONMOUSEDOWN=\"return(DQdrag_MouseDown(this,event,"+this.idx+"))\"";
    on+="ONMOUSEMOVE=\"return(DQdrag_MouseMove(this,event,"+this.idx+"))\" ONMOUSEUP=\"return(DQdrag_MouseUp(this,event,"+this.idx+"))\" ";
    // rc="<A HREF=\"#\" "+on+">"+body+"</A>";
    rc='<DIV ID="DQdragD'+this.idx+'" '+on+'><LAYER ID="DQdragL'+this.idx+'" '+on+'>'+body+'</LAYER></DIV>';
    return rc;
}

function DQdrag_init()
{
    if (this.initialized)
        return;
    this.initialized=1;

    if (DQbrowser('ie4'))
        obj=document.all['DQpopupD'+this.idx];
    else if (DQbrowser('nn4'))
        obj=document.layers['DQpopupD'+this.idx];
    else
        obj=document.getElementById('DQpopupD'+this.idx);
    this.div=obj;
    if (DQbrowser('ie4'))
        obj=document.all['DQpopupL'+this.idx];
    else if (DQbrowser('nn4'))
        obj=document.layers['DQpopupL'+this.idx];
    else
        obj=document.getElementById('DQpopupL'+this.idx);
    this.layer=obj;
}

function DQdrag_popup(target)
{
    if (this.dqpopup!='')
    {
        this.dqpopup.drag='';
    }
    this.dqpopup=target;
    if (this.dqpopup!='')
    {
        this.dqpopup.drag=this;
    }
}

function DQdrag()
{
    this.idx=document.DQ.drags.length;
    this.init=DQdrag_init;
    document.DQ.drags[this.idx]=this;
    this.fullname='document.DQ.drags['+this.idx+']';
    this.dqpopup='';
    this.popup=DQdrag_popup;
    this.moving=0;
    this.x=0;
    this.dump=DQdrag_dump;
    this.initialized=0;
    this.click=0;
    this.mtimed=new DQtimedeval();
    this.mtimed.command=this.fullname+'.click=0';
    this.mtimed.timer=200;
    this.onbegin='';
    this.onend='';
    DQmousemove_Add('050DQdrag_MouseMove(this,event,'+this.idx+')');
}


