I have read the relevant pages on w3schools and other similar questions here but cannot seem to understand what\'s wrong about the following bit :
var myfunc
I think you are missing a semicolon on the setTimeout and you should try passing the arguments in the below fashion:
setTimeout(myfunc03, 1000*i, i);