3 var switchedArea = null;
5 Rakka.switchScreen = function () {
6 if (switchedArea == null) {
7 switchedArea = $.DIV({});
9 $("div.sideBar div.outline").hide();
15 .append(switchedArea);
18 $(switchedArea).empty();
21 return $(switchedArea);
24 Rakka.restoreScreen = function () {
25 if (switchedArea == null) {
26 throw new Error("Rakka.restoreScreen(): not switched");
29 $("div.sideBar div.outline").show();
31 $(switchedArea).remove();
34 $("div.body").children().show();