var count = parent.count; pages = new Object(); pages[0] = "resource:/res/profile/content1.xul"; pages[1] = "resource:/res/profile/content2.xul"; function BrowserLoadURL(func) { if (func == "Prev") { if (count > 0) { count = count - 1; } } parent.frames[0].commit(); //parent.frames[0].location.replace( pages[count] ); parent.frames[0].location.href = pages[count]; parent.count = count; //parent.frames[1].location.replace("resource:/res/profile/navigationStart.xul"); parent.frames[1].location.href = "resource:/res/profile/navigationStart.xul"; } function SetValue(name, value) { //dump("Set Value"); //dump("name: "+name+"\n"); //dump("value: "+value+"\n"); } function ExitWizard() { dump("Inside the Exit Wizard function...\n"); parent.frames[0].commit(); parent.Finish(); //parent.location.replace("resource:/res/profile/preg.html"); parent.location.href = "resource:/res/profile/preg.html"; //var toolkitCore = XPAppCoresManager.Find("toolkitCore"); //if (!toolkitCore) { // toolkitCore = new ToolkitCore(); // if (toolkitCore) { // toolkitCore.Init("toolkitCore"); // } //} //if (toolkitCore) { // toolkitCore.CloseWindow(parent); //} } Prev Finish