

			function getPageSizeWithScroll()
			{
				if (window.innerHeight && window.scrollMaxY){
				// Firefox         
				yWithScroll = window.innerHeight + window.scrollMaxY;
				xWithScroll = window.innerWidth + window.scrollMaxX;
			} 
			else
				if (document.body.scrollHeight > document.body.offsetHeight){
				// all but Explorer Mac
				yWithScroll = document.body.scrollHeight; 
				xWithScroll = document.body.scrollWidth;
			} else {
				// works in Explorer 6 Strict, Mozilla (not FF) and Safari
				yWithScroll = document.body.offsetHeight;
				xWithScroll = document.body.offsetWidth;
			}
				arrayPageSizeWithScroll = new Array(xWithScroll,yWithScroll);
				//alert( 'The height is ' + yWithScroll + ' and the width is ' + xWithScroll );
				return arrayPageSizeWithScroll; 
			} 


		function scaleSchaufensterDW() {
			// alert( document.getElementById( 'content' ).offsetHeight );

			// var aPSize = getPageSizeWithScroll();
			// alert( aPSize[1] );

			try
			{
				var aPSize = document.getElementById( 'content' ).offsetHeight+40;
				if( aPSize<500 )
					aPSize=500;
				if( aPSize>1000 )
					aPSize=1000;

				// alert( "Height = " + (aPSize) );
				document.getElementById( 'iframelaufband' ).style.height = (aPSize)+'px';
				document.getElementById( 'laufbandinner' ).style.height = (aPSize)+'px';
			} catch(e) {
			}
		}
	
		var LS_saveonload = window.onload;
		window.onload = function()
		{
		
			if( document.getElementById( 'iframelaufband' ) )
				scaleSchaufensterDW();

			if( LS_saveonload )
				LS_saveonload();
		};
		

