on mouseUp
put 20+maxbottom()
end mouseUp
-- note: invisible or hidden fields are included
function maxbottom
repeat with i=1 to the num of fields of this card
put the bottom of fld i of this card into b[i]
end repeat
return max(b)
end maxbottom