Simple JavaScript issue that is making my head ache!

Printable View