var xlistimga = new Image;
var xlistimgp = new Image;
xlistimga.src = '/images/xlista.gif';
xlistimgp.src = '/images/xlistp.gif';

function xlistvis( no ){
  var img = document.getElementById( 'xlistim' + no );
  var tbl = document.getElementById( 'xlisttb' + no );
  var tdm = document.getElementById( 'xlisttd' + no );
  if( img != null ) img.src = '/images/xlista.gif';
  if( tbl != null ) tbl.style.visibility = 'visible';
  if( tdm != null ) tdm.style.border = '1px #5D2879 solid';
  }

function xlisthid( no ){
  var img = document.getElementById( 'xlistim' + no );
  var tbl = document.getElementById( 'xlisttb' + no );
  var tdm = document.getElementById( 'xlisttd' + no );
  if( img != null ) img.src = '/images/xlistp.gif';
  if( tbl != null ) tbl.style.visibility = 'hidden';
  if( tdm != null ) tdm.style.border = '1px #F3F3F3 solid';
  }

function xlist( no, vis ){
  if( vis ){
    for( var i = 0; i < 16; i++ )
      if( i == no ) xlistvis( i );
      else xlisthid( i );
    }
  else xlisthid( no );
  }

