|Hmm, well this doesn't fix it, but this code isn't valid -|
var COL1 = parseInt(obj.style.left) = 32Xpix;
var COL2 = parseInt(obj.style.top) = 32ypix;
You're using two assignment operators - the second equals sign is invalid - should be an operator.
Also what is 32Xpix and 32ypix suppose to be? They're not defined...
if(Obj.style.left = COL1 && obj.style.top = COL2)
Obj should be lower case
Also, you're only assigning the value of obj.style.left to COL1 (it should be ==, not just =), this conditional statement will always return true (unless maybe you couldn't allocate memory to copy COL1 into obj.style.left ... )
keycode is not defined - I guess you ment e.keyCode ... ?
And after all that...it still doesn't work. The bounds checking method doesn't identify the edges properly (at least in my test).
I would use a library. GameQuery has bounds checking & lets you concentrate more on the actual game development than low level things like collision detection. Check out the demos: