function getHeight() 
	{
	  var myWidth = 0, myHeight = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myHeight = window.innerHeight-5;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myHeight = document.documentElement.clientHeight - 5;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myHeight = document.body.clientHeight - 5;
	  }
	  return myHeight;
	}


function resize () {
	h = getHeight() - 102;
	c = document.getElementById('centerpart_center');
	i = document.getElementById('cc_inner');
	
	if (i.offsetHeight <= h) {c.style.height = (eval(h) + 200)  + 'px'; }
	
		else {c.style.height = (eval(i.offsetHeight) + 200) + 'px';}
}

function resize_news () {
	resize ();
	ch = c.offsetHeight;
	n = document.getElementById('newsTopics');
//	alert (c.offsetHeight);
	if (i.offsetHeight < n.offsetHeight) {c.style.height = n.offsetHeight + 'px';}
		else {c.style.height = ch + 'px';}
}