IE/FF Problem with localconnection and frames and backbutton

Hi,

Im following the browser back button tutorial (found at the macromedia.com site) and I got several problems:

First off all I have two swf’s: main.swf and sub.swf ech located in their seperate HTML files. Then I have the index.html wich has two frames (each one for the swf html)

||index.html
-> Frame name=“top” -> main.html -> main.swf
-> Frame name=“bottom” -> subswf.html -> sub.swf

When ever I press a button on the main.swf, I have a link to the bottom frame (where sub.swf is located) and give some parameters with it (getURL(“subswf.html?sect=home”, “bottom”)

With the help of javascript

(The parsed data is then passed to a small Macromedia Flash movie, named “sub.swf”, within the hidden frameset. The data is passed through the FlashVars HTML tag, which is dynamically created by JavaScript.)

I get the sect parameter, put in the flashvar, read it in the sub.swf and trow it back to the main.swf with the help of the localconnection.

Now I got two problems:

1 -first off all the localconnection doesnt work (im doing everything right I think)
2 - second, Its working fine in FF (the url with the bottom target) and I can use the back button to get to the previous states, reading the flashvar etc etc, but nothing happens when in IE

here are the files