// JavaScript Document


//======================================================
//' Method		: Expand
//' Purpose		: To expand a hidden row
//' Inputs		: property(expand or collapse)
//' Returns		: none
//' Created		: November-2000 - Upendra Prasad Haputantry
//' Modified	: 21-March-2007 - Dinesh Perera
//======================================================


function Expand(RowName,Icon,property)
{
	var ElementRow;
	ElementRow=document.getElementById(RowName);

		if (ElementRow.style.display=="none")
		{
			ElementRow.style.display="";
			
		}
		else 
		{ 
			ElementRow.style.display="none";
		
		}
	
	if (property=='expand') { ElementRow.style.display=""; } //'Expands 
	if (property=='collapse') { ElementRow.style.display="none"; } //'Collaps
	
}



