StaticPage.prototype=new IndexPage(true);function StaticPage(titlePosition){Page.call(this);this.titlePosition=titlePosition;this.promptForLogin=function(){var extendProperties=function(properties){properties.header.text="Registered Users Only";properties.content.init=function(domElement){var el=$(document.createElement("div"));el.setStyle("font-size",12);el.set("text","You have to be logged in to view this page");domElement.appendChild(el)};properties.actions=[];properties.actions.push({caption:"OK",click:function(){this.hide()}.bind(page.popup)})};this.popup.show(Popup.Types.Message.Alert,null,extendProperties);return false}}StaticPage.prototype.init=function(){Page.prototype.init.call(this);this.pageForm=new PageForm();if(this.titlePosition!=null){$("pageTitle").addClass("pageImgBG");$("pageTitle").setStyles({height:28,"background-position":this.titlePosition})}};