/*
 * DynClick
 * Copyright 2003 AgenciaClick - http://www.agenciaclick.com.br
 * interface.spo@agenciaclick.com.br
 * $Date: 2004/08/12 10:56:36 $
 */
function DLclipTo(t,r,b,l){this.css.clip='rect('+t+'px '+r+'px '+b+'px '+l+'px)';}function DLclipBy(t,r,b,l){this.clipTo(this.clipValues('t')+t,this.clipValues('r')+r,this.clipValues('b')+b,this.clipValues('l')+l)}function DLclipValues(which){if(!this.css.clip)this.clipTo(0,this.w,this.h,0);var clipv=this.css.clip.split('rect(')[1].split(')')[0].split('px');if(which=='t')return Number(clipv[0]);if(which=='r')return Number(clipv[1]);if(which=='b')return Number(clipv[2]);if(which=='l')return Number(clipv[3]);}DL.prototype.clipTo=DLclipTo;DL.prototype.clipBy=DLclipBy;DL.prototype.clipValues=DLclipValues;