function obout_Splitter(al,am,an,ao,ap,aq,ar,as,cg,ci,cj,ck,cl,cz)
{
    this.version="1.1.2.0";
    this.at=al;this.au=0;
    this.av=false;this.aw=am;
    this.ax=an;this.cf=am;
    this.ay=an;this.az=ao;
    this.ba=ap;
    this.bb=null;
    this.bd=null;
    this.bc=null;
    this.be=null;
    this.bf=null;
    this.bg=null;
    this.bh=aq;
    this.bi=ar;
    this.bj=as;
    this.by=new Array();
    this.ce=null;
    this.ch=cg;this.cw=null;
    this.bk=(navigator.appVersion.indexOf("Mac")!=-1)?true:false;
    this.bl=((document.all)&&(this.bk))?true:false;
    this.bm=((document.all)&&(navigator.appVersion.indexOf("MSIE 4.")!=-1))?true:false;
    this.bn=new Array();
    this.bo=false;
    this.cm=ci;
    this.cn=cj;
    this.co=ck;
    this.cp=cl;this.cq=null;
    this.cr=null;
    this.cs=null;
    this.ct=null;
    this.dc=cz;
};

obout_Splitter.prototype.da =function()
{
    if(this.dc)
    {
        this.be.scrollTop=this.bc.scrollTop;
        this.be.scrollLeft=this.bc.scrollLeft;
        this.cv();
    }
};

obout_Splitter.prototype.db =function()
{
    if(this.dc)
    {
        this.bc.scrollTop=this.be.scrollTop;
        this.bc.scrollLeft=this.be.scrollLeft;
        this.cu();
    }
};

obout_Splitter.prototype.cu =function()
{
    if(this.cq!=null)
    {
        this.cq.value=this.bc.scrollLeft;
    }
    if(this.cr!=null)
    {
        this.cr.value=this.bc.scrollTop;
    }
};

obout_Splitter.prototype.cv =function()
{
    if(this.cs!=null)
    {
        this.cs.value=this.be.scrollLeft;
    }
    if(this.ct!=null)
    {
        this.ct.value=this.be.scrollTop;
    }
};

obout_Splitter.prototype.cx =function()
{
    var bp=new RegExp("#.*$").exec(window.location);
    if(bp==null)
    {
        return;
    }
    bp=bp[bp.length-1];
    bp=document.getElementById(bp.substring(1,bp.length));
    if(bp!=null) 
    {
        bp.scrollIntoView();
        return;
    }
    bp=document.getElementsByName(bp.substring(1,bp.length));
    if(bp[0]!=null)
    {
        bp[0].scrollIntoView();
    }
};

obout_Splitter.prototype.aa =function()
{
    this.bb=document.getElementById(this.at);
    this.bd=this.bb.firstChild.firstChild.firstChild;
    this.bc=this.bd.firstChild;
    this.bf=this.bd.nextSibling.nextSibling;
    this.be=this.bf.firstChild;
    this.bg=this.bb.nextSibling;
    this.cq=document.getElementsByName("h_"+this.at+"lx")[0];
    this.cr=document.getElementsByName("h_"+this.at+"ly")[0];
    this.cs=document.getElementsByName("h_"+this.at+"rx")[0];
    this.ct=document.getElementsByName("h_"+this.at+"ry")[0];
    this.cw=document.createElement("DIV");
    this.cw.id="TDoboutSplitter";
    this.cw.style.height="100%";
    this.cw.style.width="100%";
    this.cw.style.position="absolute";
    this.cw.style.top="0px";
    this.cw.style.left="0px";
    this.cw.style.backgroundColor="transparent";
    this.cw.style.zIndex="99999";
    this.cw.style.visibility="hidden";
    document.body.appendChild(this.cw);
    if(this.ch!=null&&this.ch > 45)
    {
        this.bb.style.width=this.ch+"px";
    }
    var bp=this.aj(this.bb);
    if(this.aw==null||this.aw <= 0)
    {
        this.aw=bp+15;
    }
    else 
    {
        this.aw=bp+this.aw;
    }
    if(this.ay==null||this.ay < 0||this.ay >= this.bb.offsetWidth)
    {
        this.ay=bp+this.bb.offsetWidth-30;
    }
    else
    {
        this.ay=bp+this.ay;
    }
    var br=this.ai();
    if(this.ba > 0&&br!=null)
    {
        this.bd.style.width=br.toString()+"px";
        this.bc.style.width=br.toString()+"px";
    }
    else if(this.az!=null&&this.az > 0)
    {
        this.bd.style.width=this.az.toString()+"px";
        this.bc.style.width=this.az.toString()+"px";
    }
    if(this.bg.parentNode.nodeName.toLowerCase()!="body")
    {
        document.body.appendChild(this.bg.parentNode.removeChild(this.bg));
    }
    if(this.bb.parentNode.nodeName.toLowerCase()=="body"||(this.bb.parentNode.nodeName.toLowerCase()=="form"&&this.bb.parentNode.parentNode.nodeName.toLowerCase()=="body"))
    {
        document.body.style.margin="0px";
        document.body.style.padding="0px";
        document.body.style.overflow="hidden";
    }else 
    {
        eval("this.bb.parentNode.doresize=function() {"+this.at+".ab();};");
    }
    this.currentWidth=document.body.clientWidth;
    this.ab();
    this.ce=window.onresize;
    eval("window.onresize=function() {"+this.at+".ab();if("+this.at+".ce) {"+this.at+".ce();}};");
    this.loadPage("left",this.bi);
    this.loadPage("right",this.bj);
    this.bb.style.visibility="visible";
    this.bc.style.visibility="visible";
    this.be.style.visibility="visible";
    this.bc.scrollTop=this.cn;
    this.bc.scrollLeft=this.cm;
    this.be.scrollTop=this.cp;
    this.be.scrollLeft=this.co;
    eval("this.be.onscroll=function() {"+this.at+".db();"+this.at+".cv();};");
    eval("this.bc.onscroll=function() {"+this.at+".da();"+this.at+".cu();};");
    this.cx();
};

obout_Splitter.prototype.ab =function()
{
    var bp=this.bb.parentNode;
    if(bp.nodeName.toLowerCase()=="form"&&bp.parentNode.nodeName.toLowerCase()=="body")
    {
        bp=bp.parentNode;
    }
    var bx=this.aj(this.bb);
    if(bp.nodeName.toLowerCase()=="body")
    {
        this.bb.style.height=((window.innerHeight?window.innerHeight:bp.clientHeight)-this.ak(this.bb)-((this.bh!=null)?this.bh:0)).toString()+"px";
    }
    else
    {
        this.bb.style.height=bp.offsetHeight.toString()+"px";
    }
    this.bc.style.height=this.bb.style.height;
    this.be.style.height=this.bb.style.height;
    this.be.style.width="1px";
    this.be.style.width=this.be.parentNode.offsetWidth.toString()+"px";
    if(this.ax==null||this.ax <= 0||this.ax >= bx+this.bb.offsetWidth)
    {
        this.ay=bx+this.bb.offsetWidth-30;
    }
    else
    {
        this.ay=bx+this.ax;
    }
    if(this.aw <= bx||this.cf==null||this.cf <= 0)
    {
        this.aw=bx+15;
    }
    else if(this.aw > bx+this.cf)
    {
        this.aw=bx+this.cf;
    }
    if(this.be.doresize)
    {
        this.be.doresize();
    }
};

obout_Splitter.prototype.ac =function(f,f2)
{
    if(this.bl&&this.bm)
    {
        window.onload=(function() {f2.ad()});
        this.bn[this.bn.length]=f;
    }
    else if(window.onload)
    {
        if(this.bo==false)
        {
            this.bo=true;this.bn[0]=window.onload;window.onload=(function() {f2.ad()});
        }
        this.bn[this.bn.length]=f;
    }
    else
    {
        window.onload=f;
    }
};

obout_Splitter.prototype.ad =function()
{
    for(var i=0;i<this.bn.length;i++)
    {
        this.bn[i]();
    }
};

obout_Splitter.prototype.ae =function(e)
{
    if(window.event)
    {
        this.au=event.clientX;
    }
    else
    {
        this.au=e.pageX;
    }
    if(this.av==true)
    {
        if((this.au >= this.aw&&this.au <= this.ay))
        {
            this.bg.style.left=this.au;
        }
    }
};

obout_Splitter.prototype.af =function(e)
{
    this.by[0]=document.onmousemove;
    this.by[1]=document.onmouseup;
    this.by[2]=document.onmousedown;
    this.by[3]=document.onselectstart;
    eval("document.onmousemove=function(e) {"+this.at+".ae(e);};");
    eval("document.onmouseup=function() {"+this.at+".ag();};");
    document.onmousedown=function()
    {
        return false;
    };
    document.onselectstart=function()
    {
        return false;
    };
    if(window.event)
    {
        this.au=event.clientX;
    }
    else
    {   
        this.au=e.pageX;
    }
    this.bg.style.left=this.au;
    this.bg.style.top=document.body.scrollTop;
    this.bg.style.height=document.body.clientHeight.toString()+"px";
    this.bg.style.display="block";
    this.av=true;
    this.cw.style.visibility="visible";
};

obout_Splitter.prototype.ag =function()
{
    var br,bq,bs;
    if(this.av==false)
    {
        return;
    }
    this.av=false;
    this.bg.style.display="none";
    if(this.au < this.aw)
    {
        this.au=this.aw;
    }
    else if(this.au > this.ay)
    {
        this.au=this.ay;
    }
    br=this.au-this.aj(this.bb);
    bq=this.bd.offsetWidth;
    bs=this.bf.offsetWidth+bq-br;
    this.bc.style.width=br.toString()+"px";
    this.bd.style.width=br.toString()+"px";
    if(bs > 0)
    {
        this.be.style.width=bs.toString()+"px";
        this.bf.style.width=bs.toString()+"px";
    }
    this.bf.style.width="";
    if(this.be.doresize)
    {
        this.be.doresize();
    }
    document.onmousemove=this.by[0];
    document.onmouseup=this.by[1];
    document.onmousedown=this.by[2];
    document.onselectstart=this.by[3];
    if(this.ba > 0)
    {
        this.ah(br,this.ba);
    }
    this.cw.style.visibility="hidden";
};

obout_Splitter.prototype.ah =function(bz,ca)
{
    var bt=new Date();
    bt.setTime(bt.getTime()+ca * 24 * 60 * 60 * 1000);
    document.cookie="oboutSplitter="+bz+"; expires="+bt.toGMTString();
};

obout_Splitter.prototype.ai =function()
{
    var bu=document.cookie;
    var i=bu.indexOf("oboutSplitter");
    var j=0;
    if(i < 0)
    {
        return null;
    }
    i=bu.indexOf("=",i);
    j=bu.indexOf(";",i);
    if(j < 0)
    {
        j=bu.length;
    }
    return bu.substring(i+1,j);
};

obout_Splitter.prototype.aj =function(cb)
{
    var bv=0;
    if (cb.offsetParent)
    {
        while (cb.offsetParent)
        {
            bv += cb.offsetLeft;
            cb=cb.offsetParent;
        }
    }
    else if (cb.x)
        bv += cb.x;
    return bv;
};

obout_Splitter.prototype.ak =function(cb)
{
    var bv=0;
    if (cb.offsetParent)
    {
        while (cb.offsetParent)
        {
            bv += cb.offsetTop;
            cb=cb.offsetParent;
        }
    }
    else if (cb.y)bv += cb.y;
    return bv;
};

obout_Splitter.prototype.loadPage =function(cc,cd)
{
    if(cc==null||cd==null||(cc!="left"&&cc!="right"))
    {
        return;
    }
    
    var bp=document.createElement("IFRAME");
    bp.style.border="0px";
    bp.frameBorder=0;
    bp.scrolling="no";
    bp.src=cd;
    if(cc=="left")
    {
        //bp.scrolling="no";
        bp.style.width=this.bc.offsetWidth+"px";
        bp.style.height=this.bc.offsetHeight+"px";
        this.bc.parentNode.appendChild(bp);
        this.bc.parentNode.removeChild(this.bc);
        this.bc=bp;
    }
    else
    {
        bp.style.width=this.be.offsetWidth+"px";
        bp.style.height=this.be.offsetHeight+"px";
        this.be.parentNode.appendChild(bp);
        this.be.parentNode.removeChild(this.be);
        this.be=bp;
    }
};

 
