function WriteMap() {
	var uaStr = window.navigator.userAgent;
	var txtStr01 = '';

	if (uaStr.indexOf("Safari") > -1) {
		if (uaStr.indexOf("Chrome") > -1) {
			txtStr01 = '<br />CHROME';
		} 
		else {
			if (uaStr.indexOf("Android") > -1) {
				txtStr01 = '<br />Android';
			}
			else {
				txtStr01 = '<br />SAFARI';
			}
		}
	}
	else {
		if (uaStr.indexOf("Firefox") > -1) {
			txtStr01 = '<br />FIREFOX';
		}

		if (uaStr.indexOf("MSIE") > -1) {
			txtStr01 = '<br />MSInternetExploler';
		}
	}


	var txtStr = '<div id="map_canvas" style="width : 350px; height : 350px;"></div>';

	var userAgent = window.navigator.userAgent.toLowerCase();
	var appVersion = window.navigator.appVersion.toLowerCase();
	if (userAgent.indexOf("msie") > -1) {
	//	if (appVersion.indexOf("msie 6.0") > -1) {
			txtStr = '<div class="center"><iframe width="340" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.jp/maps?f=q&amp;source=embed&amp;hl=ja&amp;geocode=&amp;q=%E7%A6%8F%E5%B2%A1%E5%B8%82%E5%8D%9A%E5%A4%9A%E5%8C%BA%E5%8D%9A%E5%A4%9A%E9%A7%85%E5%89%8D2%E4%B8%81%E7%9B%AE20-1+%E5%A4%A7%E5%8D%9A%E5%A4%9A%E3%83%93%E3%83%AB1F&amp;sll=33.592565,130.420589&amp;sspn=0.023093,0.030813&amp;brcurrent=3,0x3541904f79dbf931:0xf9c4c73e319d9e4a,0&amp;ie=UTF8&amp;hq=%E5%A4%A7%E5%8D%9A%E5%A4%9A%E3%83%93%E3%83%AB1F&amp;hnear=%E3%80%92812-0011+%E7%A6%8F%E5%B2%A1%E7%9C%8C%E7%A6%8F%E5%B2%A1%E5%B8%82%E5%8D%9A%E5%A4%9A%E5%8C%BA%E5%8D%9A%E5%A4%9A%E9%A7%85%E5%89%8D%EF%BC%92%E4%B8%81%E7%9B%AE%EF%BC%92%EF%BC%90%E2%88%92%EF%BC%91&amp;cid=8267780964990312130&amp;ll=33.592458,130.418272&amp;spn=0.007865,0.011973&amp;z=15&amp;iwloc=A&amp;output=embed"></iframe><br /></div>';
	//	}
	}

   document.write(txtStr);
}

