function lightDisplay(width,height){
	if (!height)
		height=450;
	else
		if (isNaN(height))
			height=450
		
	if (!width)
		width=780;
	else
		if (isNaN (width))
			width = 780;
	var filter = document.getElementById('lightBoxBackground');
	filter.style.left = '0px';
	filter.style.top = '0px';
	//filter.setAttribute ("style","width:100%;height:100%;top:0;background-color:black;opacity: .80;filter: alpha (opacity=80);position:absolute;z-index:50;");
	
	
	var docWidth = Math.max (get_window_width(),(document.documentElement.scrollWidth || document.body.scrollWidth));
	filter.style.width = docWidth + 'px';
	
	//var scrollTop = Math.max(get_window_height(),document.body.scrollHeight || document.documentElement.scrollHeight);
	var scrollTop = get_window_height() + document.documentElement.scrollHeight;
	filter.style.height = scrollTop + 'px';
	
	var popup = document.getElementById('lightPopup');
	popup.setAttribute ("style","background-color:white;border-style:outset;width:800px;height:450px;margin:0px auto;text-align:center;position:absolute;z-index:60;");

	var scrollTop = document.body.scrollTop || document.documentElement.scrollTop;
	popup.style.top = scrollTop + ((get_window_height() / 2) - (height / 2)) + 'px';
	popup.style.left = (get_window_width() / 2) - (width / 2 ) + 'px';
	popup.style.height = height  + 'px';
	popup.style.width = width + 'px';
	popup.innerHTML = "<table><tr><td style=\"width:" + (width - 20) + "px;background-color:#854bd5;text-align:center;font-size:8pt;font-weight:bold;color:white\" id=\"light_sub_label\"></td><td style=\"width:20px;background-color:#44bfff;\"><input type=\"button\" style=\"font-size:9px;border-style:solid;border-color:white;background-color:#9c9dfa;border-width:1px;width:20px;\" value=\"X\" onclick=\"lightBoxClear()\" /></td></tr></table><div id=\"light_sub_action\" style=\"height:" + (height - 25) + "px;overflow-y:auto;\" ></div>";
	document.getElementById('lightPopup').style.display = 'block';
	document.getElementById('lightBoxBackground').style.display = 'block';
}

function lightBoxClear(){
	document.getElementById('lightPopup').style.display = 'none';
	document.getElementById('lightBoxBackground').style.display = 'none';
}


