function Light(p_id,p_mode)
{
	if(p_mode=="on")
	{
		Get_Obj('light-'+p_id).style.backgroundImage='url(../images/intro1/light.png)';
	}
	else
	{
		Get_Obj('light-'+p_id).style.backgroundImage='url(../images/spacer.gif)';
	}
}

var txt_ref_id=0;

function View_Text_Ref(p_id,p_zone)
{
		
		if(p_zone==undefined)
		{
			p_zone="";
		}
		
		if(txt_ref_id==p_id)
		{
			
			if(Get_Obj('tool-txt-display'+p_zone).style.display=="block")
			{
				Get_Obj('tool-txt-display'+p_zone).innerHTML="";
				Get_Obj('tool-txt-display'+p_zone).style.display="none";
			}
			else
			{
				var str='<div class="spacer" style="height:8px;">&nbsp;</div>'+Get_Obj('txt-ref-'+p_id).innerHTML;
			
				Get_Obj('tool-txt-display'+p_zone).innerHTML=str;
				Get_Obj('tool-txt-display'+p_zone).style.display="block";
			}
		
		}
		else
		{
				var str='<div class="spacer" style="height:8px;">&nbsp;</div>'+Get_Obj('txt-ref-'+p_id).innerHTML;
				Get_Obj('tool-txt-display'+p_zone).innerHTML=str;
				Get_Obj('tool-txt-display'+p_zone).style.display="block";

		}
		
		txt_ref_id=p_id;
		
		
}
