// JavaScript Document

function geth()
{
	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; 
	// yWithScroll = yWithScroll 
	if(typeof(window.pageYOffset)=='number')
	{
		document.getElementById('light').style.top=parseInt(window.pageYOffset)+parseInt(150)+'px';
	}
	else if(document.body)
	{
		document.getElementById('light').style.top=parseInt(document.documentElement.scrollTop)+parseInt(150)+'px';
	}
	else if(document.documentElement)
	{
		document.getElementById('light').style.top=parseInt(document.documentElement.scrollTop)+parseInt(150)+'px';
	}
	document.getElementById('fade').style.height = yWithScroll ;
    document.getElementById('light').style.display='block';
    document.getElementById('fade').style.display='block'
    document.getElementById('light').focus();
}	

function hide()
{
	document.getElementById('light').style.display='none';
		document.getElementById('fade').style.display='none';
}