Construction line script

 From:  Dymaxion
1029.16 
So, it's been quite a while and I'm assuming the code has bit-rotted a bit, but I'm trying to use the ConstructionLine.js script from this thread, and when I try to launch it, I get a JScript error, "Object expected Line 6: Column 1". I'm fairly certain it's set up correctly, and I can't figure out which line it's talking about. Ideas?

/Ella