'}else{algn1='
';}algn2='
';if(mb){document.write(algn1+'
'+'
'+''+tb11+tb1height+tb12+''+'
'+''+'
'+''+''+note1+tb2+note2+tb3+''+' |
'+'')}}
function AddDescrImgYTCentr(hrf,trgt,note1,note2){if(note2!=''){tb1height=65;} else {tb1height=30;}yth = Math.round(window.innerHeight/2.4);if(mb){blnk='"';if(trgt=='blank'){blnk='" target="_blank"'} document.write(''+''+''+note1+tb2+note2+tb3+''+' |
')} else {blnk='"';if(trgt=='blank'){blnk='" target="_blank"'} document.write(''+''+''+''+''+note1+tb2+note2+tb3+' |
'+''+'')}}
function ImgDesc(tabNo,imghrf,hrf,trgt,note1,note2)
{
if(note2!='')
{
var tb1height=80;
}
else
{
var tb1height=30;
}
var blnk='';
if(trgt=='blank')
{
var blnk=' target=_blank'
}
document.write(
'
');
}
function AddDescr(tabNo,hrf,trgt,note1,note2)
{
if(note2!='')
{
var tb1height=80;
}
else
{
var tb1height=30;
}
var blnk='';
if(trgt=='blank')
{
var blnk=' target=_blank'
}
document.write(
'
'+
'
'+
''+
''+
''+note1+''+
' '+
''+note2+''+
' | '+
'
'+
'
'+
'
');
}
function ImgDescNews(tabNo,imghrf,hrf,trgt,note1,note2,note3,note4,note5,note6,note7,note8,note9,note10,note11,note12)
{
if(note2!='')
{
var tb1height=80;
}
else
{
var tb1height=30;
}
var blnk='';
if(trgt=='blank')
{
var blnk=' target=_blank'
}
var colr = 'f'+String(Math.round(5+Math.random()*4)) + 'f'+String(Math.round(5+Math.random()*4)) + 'f'+String(Math.round(5+Math.random()*4));
var news = [note1,note2,note3,note4,note5,note6,note7,note8,note9,note10,note11,note12];
var rnews = '';
if(note3)
{
rnews = '
'+''+'
- '+note3+'
';
for(var i=3; i<12; i++)
{
if(news[i])
{
rnews += '- '+news[i]+'
';
}
}
rnews += ''+'
';
}
document.write(
'
'+
'
'+
'
'+
''+
'
'+
''+
''+
'
'+
''+
''+
''+note1+''+
' '+
''+note2+''+
' | '+
'
'+
''+
''+rnews+
' | '+
'
'+
'
'+
'
');
}
function ImgDescNewsArch(tabNo,imghrf,hrf,trgt,note1,note2,note3,note4,note5,note6,note7,note8,note9,note10,note11,note12)
{
if(note2!='')
{
var tb1height=80;
}
else
{
var tb1height=30;
}
var blnk='';
if(trgt=='blank')
{
var blnk=' target=_blank'
}
var colr = 'f'+String(Math.round(5+Math.random()*4)) + 'f'+String(Math.round(5+Math.random()*4)) + 'f'+String(Math.round(5+Math.random()*4));
var news = [note1,note2,note3,note4,note5,note6,note7,note8,note9,note10,note11,note12];
var rnews = '';
if(note3){
rnews = '
'+''+'из новостей месяца:'+''+''+'
- '+note3+'
';
for(var i=3; i<12; i++)
{
if(news[i])
{
rnews += '- '+news[i]+'
';
}
}
rnews += ''+'
';
}
document.write(
'
'+
'
'+
''+
''+
''+note1+''+
' '+
''+note2+''+
' | '+
'
'+
''+
''+
''+
''+
' '+
''+
''+
' | '+
'
'+
''+
''+rnews+
' | '+
'
'+
'
'+
'
');
}
function comment(){}
dn='
'+'
'+'
';
min='
'+'
'+'
';
inf='
'+'
'+'
';
dis='
'+'
'+'
';
foa='
'+'
'+'
';
function showElementsByClassName(name)
{
var rp = getClassName(name);
if(rp)
{
for(var i=0;rp[i];i++)
{
if(rp[i])
{
if(rp[i].style.display == 'none'){rp[i].style.display = 'block'}
}
else
{
break;
}
}
}
}
function hideElementsByClassName(name)
{
var rp = getClassName(name);
if(rp)
{
for(var i=0;rp[i];i++)
{
if(rp[i])
{
if(rp[i].style.display == 'block'){rp[i].style.display = 'none'}
}
else
{
break;
}
}
}
}
function browserResize()
{
var clientWidth = window.innerWidth;
setStatusPos();
viewTab();
if(!mb){addStrings();}
if(((mb) && (clientWidth>1850)) || ((!mb) && (clientWidth>1980)))
{
showElementsByClassName("inf");
}
if(((mb) && ((clientWidth<=1850) || (clientWidth>3550))) ||
(((!mb) && ((clientWidth<=1950) || (clientWidth>3700)))))
{
hideElementsByClassName("inf");
}
if(((mb) && (clientWidth<=1850) && (clientWidth>1250)) ||
(((!mb) && (clientWidth<=1950) && (clientWidth>1400))))
{
showElementsByClassName("foa");
}
if(((mb) && ((clientWidth<=1250) || (clientWidth>1850))) ||
((!mb) && ((clientWidth<=1400) || (clientWidth>1950))))
{
hideElementsByClassName("foa");
}
if(((mb) && (clientWidth<=1250) && (clientWidth>639)) ||
((!mb) && (clientWidth<=1400) && (clientWidth>850)))
{
showElementsByClassName("dis");
}
if((((mb) && (clientWidth<=639)) || ((mb) && (clientWidth>1250))) ||
(((!mb) && (clientWidth<=850)) || ((!mb) && (clientWidth>1400))))
{
hideElementsByClassName("dis");
}
if((((mb) && (clientWidth<=639) && (clientWidth>320))) ||
(((!mb) && (clientWidth<=850) && (clientWidth>450))))
{
showElementsByClassName("dn");
}
if((((mb) && (clientWidth<=320)) || ((mb) && (clientWidth>639))) ||
(((!mb) && (clientWidth<=450)) || ((!mb) && (clientWidth>850))))
{
hideElementsByClassName("dn");
}
if(((mb) && (clientWidth<=320)) || ((!mb) && (clientWidth<=450)))
{
showElementsByClassName("min");
}
if(((mb) && (clientWidth>320)) || ((!mb) && (clientWidth>450)))
{
hideElementsByClassName("min");
}
if(!mb)
{
if(clientWidth<=1200){hide('cmfull',0);show('cmhalf',0);}
if(clientWidth<=1050){hide('cmfull',1);hide('cmfull',2);show('cmhalf',1);show('cmhalf',2);}
if(clientWidth>1200){hide('cmhalf',0);show('cmfull',0);}
if(clientWidth>1050){hide('cmhalf',1);hide('cmhalf',2);show('cmfull',1);show('cmfull',2);}
if((document.body.clientHeight < 370) || (window.innerHeight < 370))
{
hide('cmhalf',1);hide('cmhalf',2);
hide('cmfull',1);hide('cmfull',2);
}
}
else
{
if(clientWidth>1050){hide('cmhalf',2);show('cmfull',2);}else{hide('cmfull',2);show('cmhalf',2);}
}
if(clientWidth<=500)
{
getClassName('tabhalf')[2].style.height = 150;
}
else
{
getClassName('tabhalf')[2].style.height = 0;
}
if(clientWidth>=900)
{
hide('gstmbl',0);
hide('gstmbl',1);
show('gstdtp',0);
}
else
{
hide('gstdtp',0);
show('gstmbl',0);
show('gstmbl',1);
}
}
function searchBlockShow()
{
var rp = getClassName("gsc");
if(rp[0].style.display == 'none'){rp[0].style.display = 'block'}
}
function searchBtnHide()
{
var bd = document.getElementById("srchbtn");
if(bd.style.display == 'block')
{
bd.style.display = 'none';
searchBlockShow();
window.scrollBy(0,-document.body.scrollHeight);
}
}
cp1='
'+' '+' | ';
cp2='
'+''+' '+' | ';
alcel='valign="bottom"';
clcel='bgcolor="#EEEEEE"';
wd1cel='width="1%"';
wd2cel='width="25%"';
h1cel='height="200"';
h2cel='height="10"';
if((!mb)&&(cdw>845)){
tbl0='