add: if (layout == "") layout = DEFAULT_VURLS; 
context: function cmdRestoreLayout (e){       if (!e.name)    {        var list = console.prefManager.listPrefs("layoutState.");        for (var i = 0; i < list.length; ++i)            list[i] = list[i].substr(12);        list.push("factory");        display (getMsg(MSN_LAYOUT_LIST, list.sort().join(MSG_COMMASP)));        return;    }        var layout;    e.name = e.name.toLowerCase();    if (e.name == "factory")    {        layout = DEFAULT_VURLS;    }    else    {        var prefName = "layoutState." + e.name;        if (!(prefName in console.prefs))        {            display (getMsg(MSN_ERR_INVALID_PARAM, ["name", e.name]), MT_ERROR);            return;        }        else        {            layout = console.prefs[prefName];        }    }        console.viewManager.destroyWindows();    console.viewManager.reconstituteVURLs (layout.split (/\s*;\s*/));}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6b7c961af3c8d8c73aa3b01e4b413f4b31418399/venkman-commands.js/buggy/extensions/venkman/resources/content/venkman-commands.js