Loaded var comparing probs

Hey,…
i want to compare two numbers loaded into my movie with:

loadVariablesNum(“counter.asp”, 0);
the file counter.asp -> this includes “visiter=&99”

loadVariablesNum(“winnummer.txt”, 0);
the file winnummer.txt -> this includes “winnum=&100”

if the numbers are equal i want it to go to frame 11
else i want them to go to frame 10,…
did it like this:

if (Number(winnum) == Number(visiter))
{ gotoAndStop(11);}
else { gotoAndStop(10);}

but this doesn’t work,… anyone who can help me out with this???

basicly i’m asking how do i compare 2 loaded vars into AS ?

greetz