'use strict'; oml.ui.viewer = function() { var ui = oml.user.ui, that = Ox.Element() .bindEvent({ oml_item: function(data) { that.updateElement(); }, oml_itemview: function(data) { that.updateElement(); } }), $iframe; that.updateElement = function() { if (ui.item && ui.itemView == 'book') { $iframe = $iframe || Ox.Element('