Programming JavaScript can be fun, but sometimes when I get errors like this it can get a little frustrating…

It happened on the following line, where the variable ‘o’ was null:

o.onmousedown = Drag.start;