3 var switchedArea = null;
5 Rakka.switchScreen = function () {
6 if (switchedArea == null) {
7 switchedArea = $.DIV({});
9 $("div.sideBar div.outline").hide();
11 $("p.redirection").hide();
17 .append(switchedArea);
20 $(switchedArea).empty();
23 return $(switchedArea);
26 Rakka.restoreScreen = function () {
27 if (switchedArea != null) {
28 $("div.sideBar div.outline").show();
30 $("p.redirection").show();
32 $(switchedArea).remove();
35 $("div.body").children().show();
40 Rakka.getSwitchedScreen = function () {
44 Rakka.scrollToTopLeft = function () {
45 $("div.center").each(function () {
51 var waitingMessageBoard = null;
53 Rakka.displayWaitingMessage = function (msg) {
54 Rakka.hideWaitingMessage();
57 = $.P({className: "waitingMessageBoard"},
60 $("body").append(waitingMessageBoard);
63 Rakka.hideWaitingMessage = function () {
64 if (waitingMessageBoard != null) {
65 $(waitingMessageBoard).remove();
66 waitingMessageBoard = null;