var isNS = false;
var isIE = false;
if (document.layers) isNS=true;
if (document.all) isIE=true;

function getObject(id) {
   if (isNS) obj="document."+id;
   if (isIE) obj=id+".style";
   var object=eval(obj);
   return object;
}

function clipIt(o, t, r, b, l)  {
	var object=getObject(o);
	if (isNS)  {
		object.clip.top=t;
		object.clip.right=r;
		object.clip.bottom=b;
		object.clip.left=l;
	}
	if (isIE)  {
		object.clip="rect("+t+" "+r+" "+b+" "+l+")";
	}
}