		function loadScript()
		{
			vCentreDiv();
		}
		
		function resize()
		{
			vCentreDiv();
		}
		
		function vCentreDiv()
		{
			var iScreenHeight = getScreenHeight();
			var div = document.getElementById('toCentre');
			var iNewHeight = (iScreenHeight - div.offsetHeight - 60) / 2;
			
			if(iNewHeight <= 0)
			{
				iNewHeight = 0;
			}
			
			div = document.getElementById('topspacer');
			div.style.height = iNewHeight + 'px';
		}

		function getScreenHeight()
		{
			var myHeight = 0;
			if(typeof( window.innerWidth ) == 'number')
			{
				return window.innerHeight;
			}
			else
			{
				if( document.documentElement && document.documentElement.clientHeight)
				{
					return document.documentElement.clientHeight;
    			}
    			else
    			{
					if( document.body && document.body.clientHeight)
					{
						return document.body.clientHeight;
					}
					else
					{
						return 0; // default!
					}
    			}
			}
		}

