
why did you use var on the other variables and not on "succ"?
Because the function ReadVariable can fill (i think) a variable space but can't create it...
Anyway the problem wasn't in the variable succ!!
The problem is that the code in VBscript runs well and in javascript the variables val and val2 aren't fill,
and the html browser show "undefine".
So does somebody use a javascript code in freemaster control page ad it runs well?