if (navigator.appName=="Netscape"){
Nav='NS';
}else{
Nav='IE';
};

function del(mes){
var temp=window.confirm(mes);
return (temp)?true:false;
};

function bw_check(){var is_major=parseInt(navigator.appVersion);this.nver=is_major;this.ver=navigator.appVersion;this.agent=navigator.userAgent;this.dom=document.getElementById?1:0;this.opera=window.opera?1:0;this.ie5=(this.ver.indexOf("MSIE 5")>-1&&this.dom&&!this.opera)?1:0;this.ie6=(this.ver.indexOf("MSIE 6")>-1&&this.dom&&!this.opera)?1:0;this.ie4=(document.all&&!this.dom&&!this.opera)?1:0;this.ie=this.ie4||this.ie5||this.ie6;this.mac=this.agent.indexOf("Mac")>-1;this.ns6=(this.dom&&parseInt(this.ver)>=5)?1:0;this.ie3=(this.ver.indexOf("MSIE")&&(is_major<4));this.hotjava=(this.agent.toLowerCase().indexOf('hotjava')!=-1)?1:0;this.ns4=(document.layers&&!this.dom&&!this.hotjava)?1:0;this.bw=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera);this.ver3=(this.hotjava||this.ie3);this.opera7=((this.agent.toLowerCase().indexOf('opera 7')>-1) || (this.agent.toLowerCase().indexOf('opera/7')>-1));this.operaOld=this.opera&&!this.opera7;return this;};
function get_div(name){return new bw_check().ns4?document.layers[name]:document.all?document.all[name]:document.getElementById(name);}


function Show(s){
var div=get_div(s);
var NoEvent;
if (div.style.visibility == 'visible'){
NoEvent=true;
}else{NoEvent=false}

//Сворачиваем весь список
for (i=0;i<=col;i++){
 
 if (Nav=='IE'){
  document.all["t_"+i].style.visibility='hidden';
  document.all["t_"+i].style.position='absolute';
 }else{
  var div1=get_div("t_"+i);
  div1.style.visibility='hidden';
  div1.style.position='absolute';
 };
};
if (NoEvent != true){
if (Nav=='NS'){
div.style.visibility='visible';
div.style.position='static';
}else{
document.all[s].style.visibility='visible';
document.all[s].style.position='static';
};};
};

function printWind(url){
w=window.open(url,'print_ver','left=0,top=0,height=500,width=700,menubar=yes,toolbar=yes,resizable=yes,status=yes');
};
