Modify to fix firefox/ie iframe problem