function googleChart( thisImg, cht, chtt, chs, chco, chl, chd)
{
	var source = '';

	if( thisImg.width != 1 )
		return false;
	
	source += 'http://chart.apis.google.com/chart?';
	//source += '&chf=bg,s,ffffff';				// background color
	source += '&cht='+cht;						// chart type
	source += '&chs='+chs;						// size WxH
	source += chco?'&chco='+chco:'';			// colors set
	source += chtt?'&chtt='+chtt:'';			// title
	source += '&chl='+chl;						// data labels
	source += '&chd=t:'+chd;					// data set
	
	thisImg.src = source;
	
	return true;
}
// generate the url to access Google Chart API
generate the url to access Google Chart API
generate the url to access Google Chart API
function googleChart( thisImg, cht, chtt, chs, chco, chl, chd)
{
	var source = '';
	if( thisImg.width != 1 )
		return false;
	source += 'http://chart.apis.google.com/chart?';
	source += '&cht='+cht;						
	source += '&chs='+chs;						
	source += chco?'&chco='+chco:'';			
	source += chtt?'&chtt='+chtt:'';			
	source += '&chl='+chl;						
	source += '&chd=t:'+chd;					
	thisImg.src = source;
	return true;
}
function googleChart ( thisImg , cht , chtt , chs , chco , chl , chd ) { var source = '' ; if ( thisImg . width != 1 ) return false ; source += 'http://chart.apis.google.com/chart?' ; source += '&cht=' + cht ; source += '&chs=' + chs ; source += chco ? '&chco=' + chco : '' ; source += chtt ? '&chtt=' + chtt : '' ; source += '&chl=' + chl ; source += '&chd=t:' + chd ; thisImg . src = source ; return true ; }
generate the url to access Google Chart API
generate the url to access Google Chart API
//source += '&chf=bg,s,ffffff';				// background color // chart type // size WxH // colors set // title // data labels // data set