var _stations_h3, _stations_p1, _stations_p2, _stations_i1;
_stationsInit = function(){
	_stations_h3 = document.getElementById("h3");
	_stations_p1 = document.getElementById("p1");
	_stations_p2 = document.getElementById("p2");
	_stations_i1 = document.getElementById("img1");
	var _station_img_tmp = new Array(6);
	for(var x =0;x<6;x++){
		_station_img_tmp[x] = new Image();
		_station_img_tmp[x].src = "/images/care_service/st" + x + ".jpg";
		document.getElementById("st"+x).onclick = ( function(n){
			return function(){ clickMarker(n) } }
		)(x)
	}
}
cgg = function(id){
	_stations_h3.innerHTML = datas[id].h3;
	_stations_p1.innerHTML = datas[id].p1;
	_stations_p2.innerHTML = datas[id].p2;
	_stations_i1.src       = "/images/care_service/st" + id + ".jpg";
}
clickMarker = function(x){
	cgg(x);
	map.setZoom(10);
	window.setTimeout(function() {
		map.panTo(new GLatLng(datas[x].lon, datas[x].lat));
		window.setTimeout(
			function(xx,yy) {
				if ((x == 1) || (x == 4)) {
					map.setZoom(16);
					map.setCenter(new GLatLng(datas[x].lon, datas[x].lat),16);
				} else {
					map.setZoom(18);
					map.setCenter(new GLatLng(datas[x].lon, datas[x].lat),18);
				}
			}
		, 1000);
	}, 1000);
}