function Controller(){function e(){n.closeWindow(t.settingsTextView)}require("alloy/controllers/BaseController").apply(this,Array.prototype.slice.call(arguments)),this.__controllerPath="settingsTextView",arguments[0]?arguments[0].__parentSymbol:null,arguments[0]?arguments[0].$model:null,arguments[0]?arguments[0].__itemTemplate:null;var t=this,i={},l={};t.__views.settingsTextView=Ti.UI.createWindow({backgroundColor:Alloy.CFG.colors.darkBlue,layout:"vertical",id:"settingsTextView"}),t.__views.settingsTextView&&t.addTopLevelView(t.__views.settingsTextView),t.__views.titleBar=Ti.UI.createView({height:40,top:0,id:"titleBar"}),t.__views.settingsTextView.add(t.__views.titleBar),t.__views.backButton=Ti.UI.createView({width:33,height:33,left:12,backgroundImage:"images/iconBack.png",id:"backButton"}),t.__views.titleBar.add(t.__views.backButton),e?t.__views.backButton.addEventListener("click",e):l["$.__views.backButton!click!closeWindow"]=!0,t.__views.title=Ti.UI.createLabel({font:{fontSize:20,fontFamily:Alloy.CFG.fonts.bold},color:Alloy.CFG.colors.white,id:"title"}),t.__views.titleBar.add(t.__views.title),t.__views.content=Ti.UI.createWebView({id:"content"}),t.__views.settingsTextView.add(t.__views.content),i.destroy=function(){},_.extend(t,t.__views);var n=require("helpers"),o=arguments[0]||{};t.title.text=o.title,t.content.url=o.content,l["$.__views.backButton!click!closeWindow"]&&t.__views.backButton.addEventListener("click",e),_.extend(t,i)}var Alloy=require("alloy"),Backbone=Alloy.Backbone,_=Alloy._;module.exports=Controller;