Webmaster Exam 2012

Wait... this isn't the exam. Looks like there is something wrong with my javascript source code. Fix it. (10 marks)