function ShowValuation(valuation, code)
{
	switch(code)
	{
		//buy => green
		case "1": 
			document.write(valuation.fontcolor('#299e00'))
			break
		//accept the offer => green
		case "5": 
			document.write(valuation.fontcolor('299e00'))
			break
		//hold => orange
		case "2": 
			document.write(valuation.fontcolor('orange'))
			break
		//don't buy => red
		case "3": 
			document.write(valuation.fontcolor('red'))
			break
		//sell => red
		case "4": 
			document.write(valuation.fontcolor('red'))
			break
		//under revision => gray
		case "6": 
			document.write(valuation.fontcolor('gray'))
			break
		//all other cases
		default: 
			document.write(valuation.fontcolor('black'))
	}
}
function ShowEvaluationImage(code)
{
	if (code.length <= 1)
	{
		document.write('<img src="/site_images/IT/stocks/advice_' + code + '.gif" width="12" height="12">');
	}
	else
	{
		document.write(code);
	}


}