1 MyOPACPage.prototype = new Page();
2 MyOPACPage.prototype.constructor = MyOPACPage;
3 MyOPACPage.baseClass = Page.constructor;
5 // ---------------------------------------------------------------------------------
7 // ---------------------------------------------------------------------------------
8 function MyOPACPage() {
9 this.searhBarForm = new SearchBarFormChunk();
10 this.searchBar = new SearchBarChunk();
13 MyOPACPage.prototype.redirect = function() {
14 var frame = getById("my_opac_iframe");
16 var org = globalSelectedLocation;
20 var depth = globalSearchDepth;
22 var source = "https://" + globalRootURL + globalRootPath
23 + "?target=my_opac_secure" + "&location=" + org + "&depth=" + depth;
25 source += "&session=" + UserSession.instance().getSessionId();
26 frame.setAttribute("src",source);