var prefwindow = null;
function ClickChangePanel(node)
{
dump("node = " + node + "\n");
url = node.getAttribute('name');
dump("url = " + url + "\n");
ChangePanelURL(url);
}
function ChangePanelURL(url)
{
dump("\Loading " + url + "...\n");
dump("Looking up prefwindow object...\n");
if (prefwindow == null)
{
dump("Creating prefwindow object...");
prefwindow = Components.classes['component://netscape/prefwindow'].createInstance(Components.interfaces.nsIPrefWindow);
dump("...created\n");
}
else
{
dump("prefwindow has already been created! Hurrah!\n");
}
if (prefwindow)
{
prefwindow.changePanel(url);
}
return true;
}
&appear.label;
&fonts.label;
&colors.label;
&navigator.label;
&languages.label;
&applications.label;
&smartBrowse.label;
&mail.label;
&address.label;
&mess.label;
&windowSet.label;
&format.label;
&return.label;
&disk.label;
&compose.label;
&publish.label;
&offline.label;
&down.label;
&advance.label;
&cache.label;
&proxies.label;
&smart.label;
&debug.label;