function onTouch(ev) {     var type=this.GetType();     if(type=="Text" && ev.action=="Up")        app.ShowPopup(this.GetText());     else if(type=="TextEdit")       app.ShowPopup(this.GetText()); }