why\'s the first line \"var %counter = 1 \" ?? andyour gonna want to check if your OP so that u dont get lots of errors