Why my JavaScript is not executed correctly?help

Hi guys, I'm getting errors to while executing Java script though all the script is error free I checked it again and again and also when I try to see that the program is working correctly using Internet explorer its not working at all what might be the problem.Please help me solve this.Thanks in advance
