// JavaScript Document
/* Жанры в левой колонке */
var activeTable;
var activeLink;

/* Жанры в левой колонке */

function openTreeList (what) {
  var x=what.id;

 if (document.getElementById("list"+x).style.display != "block") {
  document.getElementById("list"+x).style.display = "block";
  document.getElementById(x).className = "open";
 }
 else {
  document.getElementById("list"+x).style.display = "none";
  document.getElementById(x).className = "close";
 }
}


function show_comments(nname)
{
   window.open(nname, 'Info', 'menubar=0,location=0,status=0,toolbar=0,scrollbars=0,resizable=0,height=300,width=550');
}

function show_vopros2(nname)
{
   window.open(nname, 'Info', 'menubar=0,location=0,status=0,toolbar=0,scrollbars=0,resizable=0,height=300,width=550');
}


function openTL (what) {
  var x=what.id;

 if (document.getElementById("list"+x).style.display != "block") {
  document.getElementById("list"+x).style.display = "block";
  document.getElementById(x).className = "open";
 }
 else {
  document.getElementById("list"+x).style.display = "none";
  document.getElementById(x).className = "close";
 }
}

