	var	head_obj;
	var hundler_obj;
	var co2_data;
	var co2_num; 
	var jsonp_url = "http://lab.adingo.jp/api/leafbank/average_jsonp.php?callback=hundler";
	
	var tmp_load = window.onload;
	window.onload = reduceOnload;
	
	function reduceOnload() {
		if(tmp_load) {
			tmp_load();
		}
		co2_num = document.getElementById("reduce_co2_value");
		head_obj = document.getElementsByTagName('head')[0];
		var script     = document.createElement( 'script' );
		script.type    = 'text/javascript';
		script.charset = 'utf-8';
		script.src     = jsonp_url;
		hundler_obj = head_obj.appendChild(script);
	}

	function reduceTimer() {
		co2_data['reduce_co2'] = Math.round((co2_data['reduce_co2'] + co2_data['average_co2']) * 100) / 100;
		co2_num.innerHTML =  co2_data['reduce_co2'].toFixed(0);
		setTimeout(reduceTimer,1000);
	}

	function hundler(data) {
		co2_data = data;
		setTimeout(reduceTimer,1000);
		head_obj.removeChild(hundler_obj);
	}
