I wasn't calling my init function before showing the panel, so the values were 0. I just called it in my main.


Yeah! IE sucks, use Mozilla...
Marc Rémillard.