function setMoreInfo()
{
	if(document.getElementById('mi_moreInfoOpen').style.display == "")
	{
		$('mi_moreInfoOpen').style.display = "none";
		$('mi_moreInfoClose').style.display = "";
		$('mi_moreInformationBlock').style.display = "";
	}
	else
	{
		$('mi_moreInfoOpen').style.display = "";
		$('mi_moreInfoClose').style.display = "none";
		$('mi_moreInformationBlock').style.display = "none";
	}
}

/*
	this function allows the website to show the first
	bit of text in the moreInformation block as
	opposed to hiding the entire block. 
*/
function setMoreCustomLineInfo(sBlockToHide, extraShowBlock,extraHideBlock)
{
	
	if($('mi_moreInfoOpen').style.display == "")
	{
		$('mi_moreInfoOpen').style.display = "none";
		$('mi_moreInfoClose').style.display = "";
		$(sBlockToHide).style.display = "";
		
		//if the extraShowBlock exists it will be hidden
		//extraHideBlock will be shown
		try
		{
			$(extraShowBlock).style.display = "none";
		}
		catch(e)
		{
			//can be uncommented for debugging purposes
			//throw new error(e.message);
		}
		try
		{
			$(extraHideBlock).style.display = "";
		}
		catch(e)
		{
			//can be uncommented for debugging purposes
			//throw new error(e.message);
		}
				
	}
	else
	{
		$('mi_moreInfoOpen').style.display = "";
		$('mi_moreInfoClose').style.display = "none";		
		$(sBlockToHide).style.display = "none";
		
		//if the extraShowBlock exists it will be shown
		//extraHideBlock will be hidden
		try
		{
			$(extraShowBlock).style.display = "";
		}
		catch(e)
		{
			//can be uncommented for debugging purposes
			//throw new error(e.message);
		}
		try
		{
			$(extraHideBlock).style.display = "none";
		}
		catch(e)
		{
			//can be uncommented for debugging purposes
			//throw new error(e.message);
		}
	}
			
}

