function FontSelector(id, xOff, yOff){  if (id != null)  {    FontSelector.init(this, id, xOff, yOff);  }}new FontSelector(null, null, null);FontSelector.prototype = new SelectorMenu(null, null, null);FontSelector.prototype.superShow = SelectorMenu.prototype.show;FontSelector.hide = SelectorMenu.hide;FontSelector.h = SelectorMenu.h;FontSelector.selectorArray = SelectorMenu.selectorArray;FontSelector.selections = SelectorMenu.selections;FontSelector.init = function(obj, id, xOff, yOff){  if (id != null)  {    SelectorMenu.init(obj, id, xOff, yOff);    obj.previewImg = null;    this.formEl = null;  }  }FontSelector.prototype.show = function(selectorID){  var a = FontSelector.selections[selectorID];  if (a != null)  {    this.previewImg = a['previewImg'];    this.formEl = a['formEl'];    this.formNotify = a['formNotify'];    this.superShow(selectorID);  }}FontSelector.prototype.choose = function(name, img){  if (this.previewImg != null)  {    this.previewImg.src = img.src;    this.previewImg = null;  }  if (this.formEl != null)  {    this.formEl.value = name;    this.formEl = null;  }    if (this.formNotify != null)  {    this.formNotify.onchange();  }  this.hide();}FontSelector.choose = function(id, name, img){  var o;  if ((o = FontSelector.h[id]) != null)  {    o.choose(name, img);  }}FontSelector.show = function(id, selectorID){  var obj;  if ((obj = FontSelector.h[id]) != null)  {    obj.show(selectorID);  }}
