	function setMainHeight(myheight)
	{
		if (document.body.offsetHeight==0) // this is necessary for Mozilla because the onLoad event comes to early for offsetHeight...
		{
			setTimeout("setMainHeight("+myheight+")",100); // call this procedure later again
			return; // exit for now
		}
		var NNoffset=16 // really don't know why (default skin use 16; for white skin 8 ...)
		var myoffset=
			parent.WinLIKE.ie?
				document.body.scrollHeight+10+10+2+2:          // IE: scrollHeight + SkinTop + SkinBottom + SkinBorderTop + SkinBorderBottom         (see wm-window.html of the skin for correct values)
				document.body.offsetHeight+10+10+2+2+NNoffset; // NN: scrollHeight + SkinTop + SkinBottom + SkinBorderTop + SkinBorderBottom + ????? (see wm-window.html of the skin for correct values)
		// set Height to the minimum without scrollbars
		if (myheight==-1) myheight=myoffset;
		number=parent.WinLIKE.searchwindow('main') // find Main window
		parent.WinLIKE.windows[number].Height=myheight; // set Height
		parent.WinLIKE.windows[number].draw(); // lets happen
	}

