
var dopen = '' ;
var ovlink = 0 ;

function show_attr(attrib) {

var txtA = document.getElementById('txt'+attrib) ;
var txtD = document.getElementById('txt'+dopen) ;

 if ( dopen == attrib ) {
  document.getElementById(attrib).style.display = 'none' ;
  if (txtA) txtA.innerHTML = 'Show all ...&raquo;' ;
  dopen = '' ;
 }
 else {
  if ( dopen ) { 
   document.getElementById(dopen).style.display = 'none' ;
   if (txtD)txtD.innerHTML = 'Show all ...&raquo;' ;
  } 
  document.getElementById(attrib).style.display = '' ;
  if (txtA) txtA.innerHTML = '' ;
  dopen = attrib ;
 }
 
}

function hide_attr() {

 if ( ovlink == 0 && dopen ) {
  document.getElementById(dopen).style.display = 'none' ;
  if ( document.getElementById('txt'+dopen) ) document.getElementById('txt'+dopen).innerHTML = 'Show all ...&raquo;' ;
  dopen = '' ;
 }

}

function largepic(pic) {
 window.open(pic,"largepict","width=660,height=600,top=20,left=10,status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes");
} 

