
<!-- Begin

function resizePage(height){
    var _object = document.getElementById("wc2010");
	
	//alert( name + ' : ' + width + ' : ' + height );
    
    if(height != undefined) _object.style.height = height;
	//scrollTop();
}

function scrollTop(){ window.scroll(0,0); }
function scrollBottom(){ window.scroll(0,window.scrollMaxY); }

function getPageProperties()
{ 
	var windowHeight = 0;
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		windowHeight = window.innerHeight;
  	}
	else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
	{
    	//IE 6+ in 'standards compliant mode'
		windowHeight = document.documentElement.clientHeight;
	} 
	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) )
	{
		//IE 4 compatible
		windowHeight = document.body.clientHeight;
	}
	
	var scrollPosition = 0;
	
	if (window.pageYOffset)
		scrollPosition = window.pageYOffset;
	else if (document.body.scrollTop)
		scrollPosition = document.body.scrollTop;
	
	return {height:document.height, width:document.width, scrollPosition:scrollPosition, windowHeight:windowHeight}
}

function getScrollPosition()
{
	return window.pageYOffset;
}

//  End -->
