My thoughts would be that you have in some way put the variable down in the wrong way. Can you post the code so as I can take a closer look?
Also try taking a look in firefox right click on your page and then click source. This should give you two tabs "Page source for http://...." and the other is most likely your iframe source. Check them both just to make sure you are posting the variable correctly.