Loading Bar problem!

Hi,
I have a problem with the loading bars on every page of a flash site. Without loading bars, the buttons are directed to the correct page, but when i add the loader in a new scene for each page, it is directed to the first page only (i.e, the home page). The loader works fine when it is only with one page. Every page is a different file. The main page has the home page open on it by default. The buttons are also on the main page. Now when the buttons are clicked they are directed to the other pages on the main page itself. But when i add the loaders on every page, the buttons take me only to the home page and no other page. Why does this happen?

[INDENT]Script for the first frame on main page:

[FONT=Times New Roman][SIZE=3]_root.currMovie = “home”;[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]container.loadMovie(_root.currMovie+".swf");[/SIZE][/FONT]

[/INDENT][INDENT]Script for the last frame on home page and the other pages:

[FONT=Times New Roman][SIZE=3]_root.container.loadMovie(_root.currMovie+".swf");
[/SIZE][/FONT]

[/INDENT][FONT=Times New Roman][SIZE=3][INDENT]Script for the first frame on other pages:

midframe=20;

[/INDENT][/SIZE][/FONT][INDENT][LEFT]Script for pop-up windows on main page:[/LEFT]

[FONT=Times New Roman][SIZE=3]Movieclip.prototype.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]getURL(“javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open(’”+url+"’,’"+winName+"’,’"+“width=”+w+",height="+h+",toolbar="+toolbar+",location="+location+",directories="+directories+",status="+status+",menubar="+menubar+",scrollbars="+scrollbars+",resizable="+resizable+",top=’+((screen.height/2)-("+h/2+"))+’,left=’+((screen.width/2)-("+w/2+"))+’"+"’)}else{myWin.focus();};void(0);");[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]};[/SIZE][/FONT]

[/INDENT]Is there some kind of conflict with the scripts that disables the function of the loader or the button?
Please help!

Thanks
:stare: