


//---------------------------------------------
var s = 1;
function tmmouseover(n)
{//alert('tmmouseover',n);
 if(document.getElementById('jm' + zu))
  {
   document.getElementById('jm' + zu).className='w57j';
	}
 document.getElementById('jm' + n).className='w57jv';
 if (s!=n){document.getElementById('jm' + s).className='w57j';}
 
 if(document.getElementById('tm' + n))
 {
   document.getElementById('tm' + n).className='zstv';	   
 }
 
 if(document.getElementById('tm' + s))
 { 
    if (s!=n){document.getElementById('tm' + s).className='zstvnone';} 
 } 
 s = n; 
}


function tmmouseover2()
{
if(id_t!=0){clearTimeout(id_t);} // Сбрасываем отсчёт, если есть что сбрасывать
        
    document.getElementById('zet').className='zet';
		    
}


var id_t=0;
var pr_id=0; // параметр id зоны
 function tmmouseout(n) //Мышь выходит из зоны
 {//alert('tmmouseout' + n);
    pr_id=n; // Определяем параметр id зоны		
    id_t= setTimeout("tmmouseout2()", 700); //Запускаем отсчёт на невидимость
 }


function tmmouseout2(n)
{

	     document.getElementById('zet').className='zetnone';//alert(so);
			 if(s!=zu){document.getElementById('jm' + s).className='w57j';}
			 if(document.getElementById('jm' + zu))
       {
        document.getElementById('jm' + zu).className='w57jv';
	     }
			 
	 
}

function ekr() {

 x=window.document.body.offsetWidth;

 if (x < 1270)
 {
		for( i=1; i<7; i++ )
		{
		 if (document.getElementById('tm' + i)){document.getElementById('tm' + i).style.fontSize='9px';}
		}
 }
  
 if(x > 1270)
 {
		for( i=1; i<7; i++ )
		{
		 if (document.getElementById('tm' + i)){document.getElementById('tm' + i).style.fontSize='9px';}
		}
 }
     
}