Needed: more efficient code, need to learn about functions i think!.....help!

Great! thanks for the tip about the semicolons Jimmy, I'm sure that would have taken me a while to figure that out.