function initFundVis() {
	var hSharePrice = document.getElementById('help-Shareprice');
	var hPriceChange = document.getElementById('help-Pricechange')
	var hSevenDay = document.getElementById('help-Sevendayyield');
	var hYTD = document.getElementById('help-YTDreturns');
	var hWithCDSC = document.getElementById('help-WithCDSC');
	var hWithoutCDSC = document.getElementById('help-WithoutCDSC');
	var hWithSales = document.getElementById('help-WithSalesCharge');
	var hWithoutSales = document.getElementById('help-WithoutSalesCharge');
	var hNetGrossExpenses = document.getElementById('help-NetGrossExpenses');
	var a_col = document.getElementsByTagName('a');
	for(var i=a_col.length-1; i>=0; i--)
	{
		if(a_col[i].className == 'price') a_col[i].onclick = function(){dynpop('Share price',hSharePrice.innerHTML);}
		if(a_col[i].className == 'seven-day-yield') a_col[i].onclick = function(){dynpop('7-day yield',hSevenDay.innerHTML);}
		if(a_col[i].className == 'price-change') a_col[i].onclick = function(){dynpop('Price change',hPriceChange.innerHTML);}
		if(a_col[i].className == 'ytd-return') a_col[i].onclick = function(){dynpop('Year-to-date returns',hYTD.innerHTML);}
		if(a_col[i].className == 'with-cdsc') a_col[i].onclick = function(){dynpop('With CDSC',hWithCDSC.innerHTML);}
		if(a_col[i].className == 'without-cdsc') a_col[i].onclick = function(){dynpop('Without CDSC',hWithoutCDSC.innerHTML);}
		if(a_col[i].className == 'without-sales-charge') a_col[i].onclick = function(){dynpop('Without sales charge',hWithoutSales.innerHTML);}
		if(a_col[i].className == 'with-sales-charge') a_col[i].onclick = function(){dynpop('With sales charge',hWithSales.innerHTML);}
		if(a_col[i].className == 'net-gross-expenses') a_col[i].onclick = function(){dynpop('Expenses',hNetGrossExpenses.innerHTML);}
	}
}

addEvent(document, "readystatechange", initFundVis);

function dynpop(myHeader,myContent)
{
	newwindow = window.open('', 'Definitions', 'height=350,width=600, scrollbars=yes');
	newwindow.focus();
	var tmp = newwindow.document;
	tmp.writeln('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html>');
	tmp.writeln('<head><title>Definition</title><link rel="stylesheet" type="text/css" href="/shared/style/main.css" media="screen, print" /></head>');
	tmp.writeln('<body class="base-layout"><div id="wrapper"><a name="top"></a><div id="outer"><div id="inner"><div id="content"><div id="content-inner">');
	tmp.writeln('<div id="popup-header"><h3>' + myHeader + '</h3></div>');
	tmp.writeln('<div class="padded">');
	tmp.writeln(myContent);
	tmp.writeln('</div>');
	tmp.writeln('</div></div><div class="clear"></div></div></div></div></body>');
	tmp.writeln('</html>');
	tmp.close();
}
