function alertSize() {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  
	if (myWidth<866) {
		$('bigy').style.width= (myWidth-100)+"px";
	} else {
		$('bigy').style.width= "770px";
	}
	newHeight = (document.body.scrollHeight>myHeight?document.body.scrollHeight:myHeight);

/* Heurisztika */
	var h=document.getElementById('contentTable').scrollHeight+250;
	newHeight = h>newHeight?h:newHeight;
/* Heuri vege */

/* Script netrol - FF jo, IE nem... */
/*	if( window.innerHeight && window.scrollMaxY ) { // Firefox
		pageHeight = window.innerHeight + window.scrollMaxY;
	} else if( document.body.scrollHeight > document.body.offsetHeight ) // all but Explorer Mac
	{
		pageWidth = document.body.scrollWidth;
		pageHeight = document.body.scrollHeight;
	}
	else // works in Explorer 6 Strict, Mozilla (not FF) and Safari
	{ pageHeight = document.body.offsetHeight + document.body.offsetTop; }
	alert(pageHeight);
	newHeight=pageHeight; */
/* Netscript vege */


	$('bigy').style.height= newHeight+"px";
	$('bigyt').style.height= document.body.scrollHeight+"px";
	// alert('sH:'+document.body.scrollHeight+' bsTop:'+document.body.scrollTop+' deTop:'+document.body.clientHeight+' YOff:'+window.innerHeight);

/*	alert(h);
	var d = document.getElementById("contentTable").offsetHeight;
	alert(d); */

}
