function Dosv1(ParentObj) {

this.classs="kblock";
this.parent=ParentObj;


this.constructor=function(){
this.uM=new KBlock(ParentObj);
this.uM.objhtml.obj=this;
this.uM.setWoC();

this.bandeau=new KBlock(this.uM);
this.bottomborder=new KBlock(this.uM);
this.leftborder=new KBlock(this.uM);
this.rightborder=new KBlock(this.uM);

this.inner=new KBlock(this.uM);
this.inner2=new KBlock(this.uM);
this.ptB=new KBlock(this.uM);
this.ptG=new KBlock(this.uM);
this.ptR=new KBlock(this.uM);




this.name=new KBlock(this.uM);
this.logo=new KBlock(this.uM);

this.uM.setX(0);
this.uM.setY(0);
this.uM.setW(500);
this.uM.setH(200);

this.ac=null;





this.c1R=222;
this.c1G=211;
this.c1B=184;

/*
this.c0R=128;
this.c0G=64;
this.c0B=0;
*/
this.c0R=0;
this.c0G=0;
this.c0B=0;
this.c0A=1;

this.bdext=1 // bodure exterieur
//this.bdint=1 // bodure interieur
this.border=3;
this.boderbot=15;
this.boderbandeau=27;
this.uM.setWoC();



}


this.rEfresh=function(){


sys.oL.addAtEnd(this.uM);

this.uM.setR(this.c1R);
this.uM.setG(this.c1G);
this.uM.setB(this.c1B);


this.bandeau.setW(this.uM.getW()-2*this.bdext);	
this.bandeau.setH(this.boderbandeau);
this.bandeau.setX(this.bdext);
this.bandeau.setY(this.bdext);
this.bandeau.setR(this.c0R);
this.bandeau.setG(this.c0G);
this.bandeau.setB(this.c0B);
this.bandeau.setA(this.c0A);
//this.bandeau.setA(0.5);



this.name.setX(27);
this.name.setY(5);
this.name.setT("<b>Webdoz 0.65</b> - <a href='/./'>Kriom</a>");
this.name.setWoC();
this.name.objhtml.style.overflow="visible";

this.logo.setX(1);
this.logo.setY(1);
this.logo.setT("<img src='ico/icone/tiny/firefox.png'>");
this.logo.setWoC();
this.logo.objhtml.style.overflow="visible";


this.bottomborder.setX(this.bdext)
this.bottomborder.setH(this.boderbot);
this.bottomborder.setY(this.uM.getH()-this.bottomborder.getH()-this.bdext);
this.bottomborder.setW(this.uM.getW()-this.bdext*2);
this.bottomborder.setColor(this.bandeau.getColor());
this.bottomborder.setA(this.bandeau.getA());


//this.bdext

this.leftborder.setX(this.bdext);
this.leftborder.setY(this.bandeau.getH()+this.bdext);
this.leftborder.setW(this.border);
this.leftborder.setH(this.uM.getH()-this.bandeau.getH()-this.bottomborder.getH()-(2*this.bdext));
this.leftborder.setColor(this.bottomborder.getColor());
this.leftborder.setA(this.bandeau.getA());

this.rightborder.setX(this.uM.getW()-(this.leftborder.getW())-this.bdext);
this.rightborder.setY(this.bandeau.getH()+this.bdext);
this.rightborder.setW(this.leftborder.getW());	
this.rightborder.setH(this.leftborder.getH());
this.rightborder.setColor(this.bottomborder.getColor());
this.rightborder.setA(this.bandeau.getA());


this.inner2.setX(this.leftborder.getW()+this.bdext);
this.inner2.setY(this.bandeau.getH()+this.bdext);
this.inner2.setW(this.uM.getW()-2*(this.leftborder.getW())-(2*this.bdext));
this.inner2.setH(this.leftborder.getH());
this.inner2.setWoC();



this.inner.setX(this.leftborder.getW()+this.bdext);
this.inner.setY(this.bandeau.getH()+this.bdext);
this.inner.setW(this.uM.getW()-2*(this.leftborder.getW())-2*this.bdext);
this.inner.setH(this.leftborder.getH());
this.inner.setR(241);
this.inner.setG(235);
this.inner.setB(221);
//
//this.inner.setWoC();
//






this.ptB.setY(4);	
this.ptB.setW(10);	
this.ptB.setH(this.ptB.getW());	
this.ptB.setX(this.bandeau.getW()-this.ptB.getH()-this.ptB.getY()-0*2);	
this.ptB.setB(220);
this.ptB.setG(220);


this.ptG.setY(4);	
this.ptG.setW(10);	
this.ptG.setH(this.ptB.getW());	
this.ptG.setX(this.bandeau.getW()-(this.ptB.getH()*2)-this.ptB.getY()-1*2);	
this.ptG.setG(220);


this.ptR.setY(4);	
this.ptR.setW(10);	
this.ptR.setH(this.ptB.getW());	
this.ptR.setX(this.bandeau.getW()-(this.ptB.getH()*3)-this.ptB.getY()-2*2);	
this.ptR.setR(220);
}

this.setX=function(val){this.uM.setX(val);this.rEfresh();}
this.getX=function(){return this.uM.getX();}

this.setY=function(val){this.uM.setY(val);this.rEfresh();}
this.getY=function(){return this.uM.getY();}

this.setA=function(val){this.uM.setA(val);this.rEfresh();}
this.getA=function(){return this.uM.getA();}

this.setWC=function(val){this.uM.setWC();this.rEfresh();}
this.setWoC=function(){this.uM.setWoC();}

this.setR=function(val){this.uM.setR(val);this.rEfresh();}
this.getR=function(){return this.uM.getR();}

this.setG=function(val){this.uM.setG(val);this.rEfresh();}
this.getG=function(){return this.uM.getG();}

this.setB=function(val){this.uM.setB(val);this.rEfresh();}
this.getB=function(){return this.uM.getB();}

this.setW=function(val){this.uM.setW(val);this.rEfresh();}
this.getW=function(){return this.uM.getW(val);}

this.setH=function(val){this.uM.setH(val);this.rEfresh();}
this.getH=function(){return this.uM.getH();}

this.setT=function(val){this.uM.setT(val);this.rEfresh();}
this.getT=function(){return this.uM.getT();}





this.constructor();
this.rEfresh();

	}
	
