function get( ID ) {
	if ( document.getElementById( ID ) ) {
		return document.getElementById( ID );
	} else {
		return false;
	}
}

UA = new Array;
	
MSIEIndex = window.navigator.userAgent.indexOf("MSIE");
OperaIndex = window.navigator.userAgent.indexOf("Opera");
FirefoxIndex = window.navigator.userAgent.indexOf("Firefox");
	
if ( OperaIndex >= 0 ) {
	ua = 'Opera';
} else
	if ( FirefoxIndex > 0 ) {
		ua = 'Firefox';
	} else
		if ( MSIEIndex > 0 ) {
			ua = 'Explorer';
		} else
			ua = window.navigator.appName;


window.onload = function () {

if ((document.documentElement.offsetHeight || document.body.offsetHeight) < 768)
{
	id_content = get('content');
	if (id_content) id_content.style.height = "970px";
}
/* 	var wheight = ( window.innerHeight )?window.innerHeight:( ( document.all ) ? document.body.offsetHeight : null );
	var contentH = get( 'content' ).clientHeight;
	
	var delta = wheight - contentH;
	var IEfix = 0;
	
	if ( ua == 'Explorer' )
		var IEfix = - 4;
	
	switch ( screen.width ) {
		case 1280 : var screen_delta = 5; break;
		case 1152 : var screen_delta = 4.3; break;
		case 1024 : var screen_delta = 2.8; break;
	}
	var screen_delta = Math.round( screen.height / screen_delta );
		
	if ( delta > 0 ) {
		get( 'bottomSize' ).style.height = screen_delta + delta + IEfix + 'px';	
		get( 'logoTable' ).style.height = get( 'bottomSize' ).clientHeight + 'px';	

		get( 'lioden' ).style.top = screen_delta - 5 - get( 'lioden' ).clientHeight + delta + IEfix + 'px';
		get( 'lioden' ).style.left = parseInt( get( 'bottomSize' ).offsetWidth ) - get( 'lioden' ).clientWidth - 20 + 'px'; 

	} */
}<!--LiveInternet counter--><script type="text/javascript"><!--
				document.write("<a href='http://www.liveinternet.ru/click' "+
				"target=_blank><img src='http://counter.yadro.ru/hit?t23.5;r"+
				escape(document.referrer)+((typeof(screen)=="undefined")?"":
				";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
				screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
				";"+Math.random()+
				"' alt='' title='LiveInternet: показано число просмотров и"+
				" посетителей за 24 часа' "+
				"border='0' width=1 height=1><\/a>")
				//--></script><!--/LiveInternet-->
