	function beginPopOut()
	{
		showPopOut();
		//setTimeout("hidePopOut();", 60000);
		
		var applet = document.getElementById("scroller");		
		applet.style.display = "none";
	}
	
	function showPopOut()
	{
		var popout = document.getElementById("popOutBox");
		var coverDiv = document.getElementById("cover");

		coverDiv.style.height = getWindowSize(true);

		popout.style.display = "block";
		
		//popout.style.left = (getWindowSize(false) / 2) - 425;
		popout.style.left = 130
		//popout.style.top = (getWindowSize(true) / 2) - 200;
		popout.style.top = 66
		coverDiv.style.visibility = "visible";
	}
	
	function hidePopOut()
	{
		var popout = document.getElementById("popOutBox");
		var coverDiv = document.getElementById("cover");
		popout.style.display = "none";
		coverDiv.style.visibility = "hidden";
		
		var applet = document.getElementById("scroller");		
		applet.style.display = "block";
		
		return false;
	}

	function getWindowSize(isheight) 
	{
	  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(isheight)
			return myHeight;
		else
			return myWidth;
	}	
