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(); //dump("*****************************count: "+count+"\n"); parent.frames[0].location.replace( pages[count] ); parent.count = count; parent.frames[1].location.replace("resource:/res/profile/navigationManagerStart.xul"); } function SetValue(name, value) { //dump("Set Value"); //dump("name: "+name+"\n"); //dump("value: "+value+"\n"); } function ExitWizard() { parent.frames[0].commit(); parent.Finish(); parent.location.replace("resource:/res/profile/pm.xul"); } Prev Finish