for (i = 1; i <= 5; i++)
{
	if (document.getElementById('WhyIntro'+i) && document.getElementById('WhyMoreLink'+i))
	{
		var WhyMoreLink = document.getElementById('WhyMoreLink' + i);
		if (WhyMoreLink.getElementsByTagName('A')[0])
		{
			if (WhyMoreLink.getElementsByTagName('A').length > 0)
			{
				var WhyMoreLinkObject = WhyMoreLink.getElementsByTagName('A')[0];
				var WhyIntroContainer = document.getElementById('WhyIntro'+i);
				
				// get only the text in intro field:
				var introText = new String(WhyIntroContainer.innerText);
				if (introText.indexOf("undefined") > -1) introText = WhyIntroContainer.childNodes[0].innerHTML;
				if (WhyMoreLinkObject.href != '' && WhyIntroContainer.getElementsByTagName('A').length < 1)
				{
					if (WhyMoreLinkObject.target != '') 
					{
						WhyIntroContainer.innerHTML = "<a target=\"" + WhyMoreLinkObject.target + "\" href=\"" + WhyMoreLinkObject.href + "\" class=\"morelink\">" + introText + "&#160;<span class=\"img\">&#160;&#160;</span></a>";
					}
					else
					{
						WhyIntroContainer.innerHTML = "<a href=\"" + WhyMoreLinkObject.href + "\" class=\"morelink\">" + introText + "&#160;<span class=\"img\">&#160;&#160;</span></a>";
					}
				}
			}
		}
	}
}

