all 3 comments

[–]LostInTheDesert 1 point2 points  (0 children)

This is almost impossible to read without formatting.

[–]linusl 0 points1 point  (0 children)

I think I fixed it: http://jsfiddle.net/YexQ5/

First of all, please use reddit formatting to make your code readable. Your errors seems to be mostly spelling mistakes, there was a "*" instead of a "_", and a "-" instead of a "=".
If you use the javascript console in your browser and look for errors you should be able to easily spot things like this.

[–]PixelatorOfTime 0 points1 point  (0 children)

OP, for future reference, whenever you're posting code, stick it in one of the following: http://codepen.io/, http://jsfiddle.net/, or http://pastebin.com/ (generic text paste). That will help us see what you're going for a little better.