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