var FocusItemBackgroundColorX = "#FFFFCC";
var BackgroundColorX;

function SetBackgroundColorX(elm, hasFocus) {
  if (hasFocus) {
    BackgroundColorX = elm.style.backgroundColor;
    elm.style.backgroundColor = FocusItemBackgroundColorX;

  }
  else{
     elm.style.backgroundColor = BackgroundColorX;
  }
}


function getEditorAreaStyles() {
  return "body,td { font-family:Verdana; font-size:8pt; color:black }";
}

function gotopage(page) {
  document.location.href = "display.doms?pg=" + page + "&_rand=" + (new Date()).getTime();
}

function popupimage(image) {
  var url = "display.doms?pg=show_image&IMAGE=" + image + "&_rand=" + (new Date()).getTime();

 WinMgr.openWindow({
    url        : url
    ,width     : 600
    ,height    : 600
   });
}

