elseif (cmdback.width - x <= 60 and cmdback.height - y <= 60) then
cmdback.mousepointer = 8
elseif (x <= 60 and cmdback.height - y <= 60) then
cmdback.mousepointer = 6
elseif (y <= 60 and cmdback.width - x <= 60) then
cmdback.mousepointer = 6
elseif y <= 60 and x > 60 and cmdback.width - x > 60 then
cmdback.mousepointer = 7
elseif cmdback.height - y <= 60 and x > 60 and cmdback.width - x > 60 then
cmdback.mousepointer = 7
elseif x <= 60 and y > 60 and cmdback.height - y > 60 then
cmdback.mousepointer = 9
elseif cmdback.width - x <= 60 and y > 60 and cmdback.height - y > 60 then
cmdback.mousepointer = 9
end if
end sub