<script language="javascript">
drawpic(100,100,0,0,48,48);
function drawpic(x,y,left,top,weight,height)
{// Clip rect(top,right,bottom,left)
var strpic;
strpic="<div style='left:"+x+";top:"+y+";position:absolute'>";
strpic=strpic+"<img src=test2.gif style='clip:rect("+top+", "+Number(Number(left)+Number(weight))+","+Number(Number(top)+Number(height))+","+left+");left:"+Number(Number(x)-Number(left))+"'>";
strpic=strpic+"</div>";
document.write(strpic);
}
drawpic(100,100,0,0,48,48);
function drawpic(x,y,left,top,weight,height)
{// Clip rect(top,right,bottom,left)
var strpic;
strpic="<div style='left:"+x+";top:"+y+";position:absolute'>";
strpic=strpic+"<img src=test2.gif style='clip:rect("+top+", "+Number(Number(left)+Number(weight))+","+Number(Number(top)+Number(height))+","+left+");left:"+Number(Number(x)-Number(left))+"'>";
strpic=strpic+"</div>";
document.write(strpic);
}