/* general utility for showing in an alert box the content of an array or object */
/* @param o el conjunto de datos (array, objeto) a mostrar */
function objetoAlert(o) {
   s = '';
   for(e in o) {s += e+'='+o[e]+'\n';}
   alert( s );
}

function objetoShowById(id){
  DOMViewerObj = document.getElementById(idobjeto);
  DOMViewerName = DOMViewerObj.id;
  window.open('domviewer.htm');
}

function objetoShow(objeto){
  DOMViewerObj = objeto;
  DOMViewerName = DOMViewerObj.id;
  window.open('http://localhost/domviewer.htm');
}