Where did you get that code? Did you write it? Do you understand it?
again Please correct your post above and add code tags around your code:
[code]`` [color=blue]// your code is here[/color] ``[/code].
It should look like this:// your code is here
(Also press ctrl-T (PC) or cmd-T (Mac) in the IDE before copying to indent your code properly)