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