function ShowForexRate()
{
	function AddCurrencyRate(City, Degree)
	{
		document.writeln('<tr><td width=50%  style="padding-left:15;border-bottom:1pt solid #b5b5b5"><span class=classspan  style=font-weight:normal>', City , '</span></td><td style="padding-right:15;border-bottom:1pt solid #b5b5b5" width=50%><div align=right><span class=classspan style=font-weight:normal>', Degree, '</span></div></td></tr>');
	}

	//document.writeln('<table width="100%" cellspacing="0" cellpadding="0" border="1" align="center">') ;
	if (vForexs && vCosts)
	{
		//alert(vForexs) ;
		vForexslength = vForexs.length ;
		if (vForexslength>6) vForexslength = 6 ;
		
		for(var i=0;i<vForexslength;i++)
		{
				if (typeof(vForexs[i]) !='undefined' && typeof(vCosts[i]) !='undefined')
				{
					AddCurrencyRate(vForexs[i], vCosts[i]);
				}
		}
	}
		/*
		if (typeof(vForexs[0]) !='undefined' && typeof(vCosts[0]) !='undefined') AddCurrencyRate(vForex1, vCosts[0]);
		if (typeof(vForexs[1]) !='undefined' && typeof(vCosts[0]) !='undefined') AddCurrencyRate(vForex2, vCosts[0]);
		if (typeof(vForexs[2]) !='undefined' && typeof(vCosts[0]) !='undefined') AddCurrencyRate(vForex3, vCosts[0]);
		if (typeof(vForexs[3]) !='undefined' && typeof(vCosts[0]) !='undefined') AddCurrencyRate(vForex4, vCosts[0]);
		if (typeof(vForexs[4]) !='undefined' && typeof(vCosts[0]) !='undefined') AddCurrencyRate(vForex5, vCost5);
		if (typeof(vForexs[5]) !='undefined' && typeof(vCosts[0]) !='undefined') AddCurrencyRate(vForex6, vCost6);
		
		if (typeof(vForex7) !='undefined' && typeof(vCost7) !='undefined') AddCurrencyRate(vForex7, vCost7);
		if (typeof(vForex8) !='undefined' && typeof(vCost8) !='undefined') AddCurrencyRate(vForex8, vCost8);
		if (typeof(vForex9) !='undefined' && typeof(vCost9) !='undefined') AddCurrencyRate(vForex9, vCost9);
		if (typeof(vForex10)!='undefined' && typeof(vCost10)!='undefined') AddCurrencyRate(vForex10, vCost10);
		if (typeof(vForex11)!='undefined' && typeof(vCost11)!='undefined') AddCurrencyRate(vForex11, vCost11);
		if (typeof(vForex12)!='undefined' && typeof(vCost12)!='undefined') AddCurrencyRate(vForex12, vCost12);
		if (typeof(vForex13)!='undefined' && typeof(vCost13)!='undefined') AddCurrencyRate(vForex13, vCost13);
		if (typeof(vForex14)!='undefined' && typeof(vCost14)!='undefined') AddCurrencyRate(vForex14, vCost14);
	*/
	
	//document.writeln('</table>') ;
}
ShowForexRate();
