function resizeImage(evt,name)
{
	newX=evt.x
	newY=evt.y
	eval("document."+name+".width=newX")
	eval("document."+name+".height=newY")
}