function enlargeChart(objectName) {
	var obj = getObject(objectName);
	
	var width = obj.width * 1.2;
	var height = obj.height * 1.2;
	obj.SetVariable('_root.chartWidth', width);
	obj.SetVariable('_root.chartHeight', height);
	obj.width = width;
	obj.height = height;
	obj.rewind();
	
	//obj.Zoom(0);
}

function reduceChart(objectName) {
	var obj = getObject(objectName);
	var width = obj.width / 1.2;
	var height = obj.height / 1.2;
	obj.SetVariable('_root.chartWidth', width);
	obj.SetVariable('_root.chartHeight', height);
	obj.width = width;
	obj.height = height;
	obj.rewind();
}

function getObject(objectName) {
	if (navigator.appName.indexOf ("Microsoft") !=-1) {
		return document.all[objectName];
	} else {
		return document[objectName];
	}
}
