var win_width = 0;
var lll = 0;
var news_block;
var bottom_block;
var scroller = 1;
var iii = 0;
function window_w()
{
   var height, width;
   if (lll == 0)
   {
	   news_block = document.getElementById('news_block').innerHTML;
	   bottom_block = document.getElementById('bottom_block').innerHTML;
	   lll = 1;
   }
   if (document.all)
   {
   win_width = document.body.offsetWidth;
   }
   else if (document.layers)
   {
   win_width = window.innerWidth;
   }
	if (win_width < 950)
	{
	document.getElementById('news_block').innerHTML = '';
	document.getElementById('bottom_block').innerHTML = '<br>'+news_block + bottom_block;
	document.getElementById('news_block').style.width = '0%';
	}
	else
	{
	document.getElementById('news_block').innerHTML = news_block;
	document.getElementById('bottom_block').innerHTML = bottom_block;
		document.getElementById('news_block').style.width = '30%';
	}
}
function font_zoom(l)
{
   if (document.all)
   {
	st = (l/2);
	if (Math.round(st)!=st){ document.getElementById("zoomerf").style.height=document.getElementById("zoomerf").offsetHeight+1+'px'; }
//    	else
//	{ document.getElementById("zoomerf").style.height='3px';}
//	    alert(l+"xcv"+Math.round(st)+"dsf"+ st+"asdas"+document.getElementById("zoomerf").offsetHeight);
   }
}
