
function utnMaps(){var isIE6=false;var isManage=false;var sectionSmalliconTypes={'HO':[13,13],'FO':[13,13],'SH':[13,13],'PL':[13,13],'SE':[13,13],'ET':[13,13],'BS':[12,13]}
function alt(str){alert(str);}
function utnMap(domDiv,lat,lng,zoom,inputObj){this.mapContainer=domDiv;var latlng=new google.maps.LatLng(lat,lng);var myOptions={zoom:zoom,center:latlng,disableDoubleClickZoom:true,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:true,mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.HORIZONTAL_BAR,position:google.maps.ControlPosition.TOP},navigationControl:true,navigationControlOptions:{style:google.maps.NavigationControlStyle.DEFAULT,position:google.maps.ControlPosition.TOP_RIGHT}};var gMap=new google.maps.Map(domDiv,myOptions);this.googleMap=gMap;this.mapInit(gMap,inputObj);var utnMapObj=this;google.maps.event.addListenerOnce(gMap,'idle',function(){utnMapObj.getUtnMark();utnMapObj.setBackgroundLayer();});google.maps.event.addListener(gMap,'dragend',function(){utnMapObj.getUtnMark();});google.maps.event.addListener(gMap,'zoom_changed',function(){utnMapObj.getMarkProcessCheckZoom=gMap.getZoom();utnMapObj.mmBound={MIN_R:null,MAX_R:null,MIN_T:null,MAX_T:null,PRE_B:null};google.maps.event.addListenerOnce(gMap,'bounds_changed',function(){utnMapObj.getUtnMark();});utnMapObj.changeZoom();});google.maps.event.addListener(gMap,'dblclick',function(event){utnMapObj.moveCenter(event.latLng);google.maps.event.addListenerOnce(gMap,'bounds_changed',function(){utnMapObj.getUtnMark();});});google.maps.event.addListenerOnce(gMap,'tilesloaded',function(){setTimeout(disableLogo,500);});}
utnMap.prototype.mapInit=function(gMap,inputObj){this.idPool=new Object();this.idPoolOld=new Object();this.idPoolEt=new Object();this.getMarkProcessCheckZoom=gMap.getZoom();this.mmBound={MIN_R:null,MAX_R:null,MIN_T:null,MAX_T:null,PRE_B:null};this.pointViewLevel='AL';gMap.imagePool=new UtnImagePool();gMap.pCircle=new Object();var distanceCircle=gMap.imagePool.getDistanceCircle();for(var key in distanceCircle){gMap.pCircle[key]=new google.maps.Marker({position:this.googleMap.getCenter(),map:this.googleMap,icon:distanceCircle[key],visible:false,zIndex:10});}
this.arrowFlag=new google.maps.Marker({position:this.googleMap.getCenter(),map:this.googleMap,icon:gMap.imagePool.getArrowImage(),visible:false,zIndex:30});var domain=document.URL.split('//');domain=domain[1].substr(0,domain[1].indexOf('/'));var mapPointUrl='http://map.utravelnote.com/engine/google/mapPoint.php';switch(domain){case'www.utravelnote.com':mapPointUrl='http://www.utravelnote.com/note/map/mapPoint.php';break;case'hotel.utravelnote.com':mapPointUrl='http://hotel.utravelnote.com/note/map/mapPoint.php';break;case'map.utravelnote.com':mapPointUrl='http://map.utravelnote.com/engine/google/mapPoint.php';break;case'admin.utravelnote.com':mapPointUrl='http://admin.utravelnote.com/body/map/google/mapPoint.php';break;}
if(inputObj!==undefined){this.inputObj=inputObj;if(inputObj.polygon!==undefined&&inputObj.polygon.length>3){var poly=new google.maps.Polygon({paths:polygon,strokeColor:"#5A9DEE",strokeOpacity:0.8,strokeWeight:3,fillOpacity:0,clickable:false});poly.setMap(gMap);}
if(inputObj.dblclickArrowShow!==undefined&&inputObj.dblclickArrowShow){this.arrowFlag.setVisible(true);}
if(inputObj.googleMapOptions!==undefined){gMap.setOptions(inputObj.googleMapOptions);}
if(inputObj.callBackEvent!==undefined&&inputObj.callBackEvent){for(var i=0;i<inputObj.callBackEvent.length;i++){google.maps.event.addListener(gMap,inputObj.callBackEvent[i].event,inputObj.callBackEvent[i].func);}}}
this.mapPointUrl=mapPointUrl;if(inputObj!==undefined){if(inputObj.polygon_citySeq!==undefined&&inputObj.polygon_citySeq>0){this.city_seq=inputObj.polygon_citySeq;this.getPolygonData();}}}
utnMap.prototype.setBackgroundLayer=function(){var polygon=[];polygon.push(new google.maps.LatLng(72.0,-179.9999));polygon.push(new google.maps.LatLng(72.0,-0.000000001));polygon.push(new google.maps.LatLng(-60.0,-0.000000001));polygon.push(new google.maps.LatLng(-60.0,-179.9999));var poly1=new google.maps.Polygon({paths:polygon,strokeColor:'#FFFFFF',strokeOpacity:0,fillOpacity:0.3,fillColor:'#FFFFFF',clickable:false,zIndex:2,map:this.googleMap});this.whiteBack1=poly1;polygon=null;polygon=[];polygon.push(new google.maps.LatLng(72.0,0.000000001));polygon.push(new google.maps.LatLng(72.0,179.9999));polygon.push(new google.maps.LatLng(-60.0,179.9999));polygon.push(new google.maps.LatLng(-60.0,0.000000001));var poly2=new google.maps.Polygon({paths:polygon,strokeColor:'#FFFFFF',strokeOpacity:0,fillOpacity:0.3,fillColor:'#FFFFFF',clickable:false,zIndex:2,map:this.googleMap});this.whiteBack2=poly2;var utnMapObj=this;google.maps.event.addListener(this.googleMap,'maptypeid_changed',function(){if(this.getMapTypeId()=='satellite'){utnMapObj.whiteBack1.setOptions({fillOpacity:0.05});utnMapObj.whiteBack2.setOptions({fillOpacity:0.05});}else if(this.getMapTypeId()=='roadmap'){utnMapObj.whiteBack1.setOptions({fillOpacity:0.3});utnMapObj.whiteBack2.setOptions({fillOpacity:0.3});}});}
utnMap.prototype.showPOI=function(cId){this.pointViewLevel=cId;var newB=unpackLatLngBounds(this.googleMap.getBounds());var row=null;for(var showSQ in this.idPool){row=this.idPool[showSQ].rData;if(row.LAT>newB.BOTTOM&&row.LAT<newB.TOP&&row.LNG>newB.LEFT&&row.LNG<newB.RIGHT&&this.googleMap.getZoom()<=row.S&&this.googleMap.getZoom()>=row.E){if((row.TP=='BS'||row.TP=='HO'||row.TP=='FO'||row.TP=='SH'||row.TP=='PL'||row.TP=='SE'||row.TP=='ET')){this.setPointDataPiece(row,'already');}}else{this.idPool[showSQ].setVisible(false);}}}
utnMap.prototype.arrowFlag_setVisible=function(bool,latLng){if(bool){this.arrowFlag.setVisible(false);this.arrowFlag=new google.maps.Marker({position:latLng,map:this.googleMap,icon:this.googleMap.imagePool.getArrowImage(),visible:true,zIndex:30});}else{this.arrowFlag.setVisible(false);}}
utnMap.prototype.getPolygonData=function(){var postData='city_seq='+this.city_seq;$.ajax({url:this.mapPointUrl+'?mode=getPolygon&'+postData,success:this.setPolygonData,parentUtnMapObj:this});}
utnMap.prototype.setPolygonData=function(data){var o=eval('('+data+')');if(o!==undefined){if((o.rData===undefined)){return;}
var poly=null;var polygon=[];for(var areaId in o.rData){poly=null;polygon=[];for(var seq in o.rData[areaId]){polygon.push(new google.maps.LatLng(o.rData[areaId][seq]['LAT'],o.rData[areaId][seq]['LNG']));}
poly=new google.maps.Polygon({paths:polygon,strokeColor:"#5A9DEE",strokeOpacity:1,strokeWeight:2,fillOpacity:0,clickable:false,zIndex:5});poly.setMap(this.parentUtnMapObj.googleMap);}}}
utnMap.prototype.changeZoom=function(){for(var cZoom in this.googleMap.pCircle){if(this.googleMap.pCircle[cZoom].getVisible()==true&&this.googleMap.getZoom()!=cZoom){this.googleMap.pCircle[cZoom].setVisible(false);}}}
utnMap.prototype.deleteMarker=function(pointSeq){if(this.idPool[pointSeq]){this.idPool[pointSeq].setVisible(false);delete this.idPool[pointSeq];}}
utnMap.prototype.redraw=function(){this.getUtnMark(true);}
utnMap.prototype.moveCenter=function(latLng,zoom){this.googleMap.panTo(latLng);if(zoom!==undefined){this.googleMap.setZoom(zoom);}
if(this.inputObj!==undefined&&this.inputObj.dblclickArrowShow!==undefined&&this.inputObj.dblclickArrowShow){this.arrowFlag.setVisible(false);this.arrowFlag=new google.maps.Marker({position:this.googleMap.getCenter(),map:this.googleMap,icon:this.googleMap.imagePool.getArrowImage(),visible:true,zIndex:30});}}
utnMap.prototype.attachOpacityLayer=function(){}
utnMap.prototype.opacityLayerMove=function(){}
utnMap.prototype.poiMouseover=function(event){if(this.rData.TP!='SB'){var imgSrc=null;if(this.rData.TP=='BS'||this.rData.TP=='HO'||this.rData.TP=='FO'||this.rData.TP=='SH'||this.rData.TP=='PL'||this.rData.TP=='SE'||this.rData.TP=='ET'){imgSrc=this.rData.FI+'_on.png';}
else{imgSrc=this.rData.FI+'.png';}
imgSrc='http://map.utravelnote.com/map/'+imgSrc;var poiImage=new google.maps.MarkerImage(imgSrc,new google.maps.Size(this.rData.FW,this.rData.FH),new google.maps.Point(0,0),new google.maps.Point(sectionSmalliconTypes[this.rData.TP][0]/2,sectionSmalliconTypes[this.rData.TP][1]/2));this.setIcon(poiImage);}
this.setZIndex(2000);var gMap=this.getMap();if(gMap.getZoom()>=15){var circlePiece=gMap.pCircle[gMap.getZoom()];if(circlePiece.getVisible()==false){circlePiece.setPosition(this.getPosition());circlePiece.setVisible(true);}}}
utnMap.prototype.poiMouseout=function(event){var gMap=this.getMap();if(this.rData.TP!='SB'){this.setIcon(gMap.imagePool.getSectionSmallIcon(this.rData.TP));}
this.setZIndex(20);if(gMap.getZoom()>=15){var circlePiece=gMap.pCircle[gMap.getZoom()];if(circlePiece.getVisible()==true){circlePiece.setVisible(false);}}}
utnMap.prototype.setPointDataPiece=function(r,mode){var showSQ=null;var zoomCheckShow=false;var nowZoom=this.googleMap.getZoom();if(mode=='new'){var utnMapObj=this;if(r.TP=='BS'||r.TP=='HO'||r.TP=='FO'||r.TP=='SH'||r.TP=='PL'||r.TP=='SE'||r.TP=='ET'){this.idPool[r.SQ]=new google.maps.Marker({position:new google.maps.LatLng(r.LAT,r.LNG),map:this.googleMap,icon:this.googleMap.imagePool.getSectionSmallIcon(r.TP),rData:r,zIndex:20});google.maps.event.addListener(this.idPool[r.SQ],'mouseover',this.poiMouseover);google.maps.event.addListener(this.idPool[r.SQ],'mouseout',this.poiMouseout);if(r.TP!='BS'){google.maps.event.addListener(this.idPool[r.SQ],'click',function(event){google.maps.event.trigger(this,'mouseout');google.maps.event.trigger(utnMapObj.googleMap,'click',this);var infowindow=new google.maps.InfoWindow({content:'<div class="map_detail_note" style="height:130px; background:url(\'http://image.utravelnote.com/images/note/ico/ico_loading.gif\') no-repeat scroll center center transparent;">&nbsp;</div>'});infowindow.open(this.getMap(),this);$.ajax({url:utnMapObj.mapPointUrl+'?mode=onePoint&pointSeq='+r.SQ,success:setPOIDetail,infoW:infowindow});});}}else{this.idPool[r.SQ]=new google.maps.Marker({position:new google.maps.LatLng(r.LAT,r.LNG),map:this.googleMap,icon:new google.maps.MarkerImage('http://map.utravelnote.com/map/'+r.FI+'.png',new google.maps.Size(r.FW,r.FH),new google.maps.Point(0,0),new google.maps.Point(0,r.FH/2)),rData:r,zIndex:20});if(r.TP=='SB'){google.maps.event.addListener(this.idPool[r.SQ],'mouseover',this.poiMouseover);google.maps.event.addListener(this.idPool[r.SQ],'mouseout',this.poiMouseout);}
google.maps.event.addListener(this.idPool[r.SQ],'click',function(event){google.maps.event.trigger(utnMapObj.googleMap,'click',this);});}
if(r.S>=nowZoom&&r.E<=nowZoom){zoomCheckShow=true;}else{zoomCheckShow=false;}}else{showSQ=String(r.SQ);if(this.idPool[showSQ].rData.S>=nowZoom&&this.idPool[showSQ].rData.E<=nowZoom){zoomCheckShow=true;}else{zoomCheckShow=false;}}
if(showSQ==null){showSQ=r.SQ;}
if(this.pointViewLevel=='AL'){if(zoomCheckShow)this.idPool[showSQ].setVisible(true);else this.idPool[showSQ].setVisible(false);}else{if(r.TP==this.pointViewLevel||(r.TP!='HO'&&r.TP!='FO'&&r.TP!='SH'&&r.TP!='PL'&&r.TP!='SE'&&r.TP!='ET')){if(zoomCheckShow)this.idPool[showSQ].setVisible(true);else this.idPool[showSQ].setVisible(false);}else{this.idPool[showSQ].setVisible(false);}}}
utnMap.prototype.setPointDataFloorPiece=function(r,keys){}
utnMap.prototype.getUtnMark=function(redraw){var newB=unpackLatLngBounds(this.googleMap.getBounds());if(redraw===undefined)redraw=false;if(redraw==false&&this.mmBound.PRE_B!=null&&this.mmBound.PRE_B.LEFT==newB.LEFT&&this.mmBound.PRE_B.RIGHT==newB.RIGHT&&this.mmBound.PRE_B.TOP==newB.TOP&&this.mmBound.PRE_B.BOTTOM==newB.BOTTOM){return false;}
if(redraw==false&&this.mmBound.RIGHT>newB.RIGHT&&this.mmBound.LEFT<newB.LEFT&&this.mmBound.TOP>newB.TOP&&this.mmBound.BOTTOM<newB.BOTTOM){var row=null;for(var showSQ in this.idPool){row=this.idPool[showSQ].rData;if(row.LAT>newB.BOTTOM&&row.LAT<newB.TOP&&row.LNG>newB.LEFT&&row.LNG<newB.RIGHT&&this.googleMap.getZoom()<=row.S&&this.googleMap.getZoom()>=row.E){this.setPointDataPiece(row,'already');}}
return false;}
var postData='bound='+$.toJSON(newB)+'&level='+this.googleMap.getZoom();$.ajax({url:this.mapPointUrl+'?mode=point&'+postData,success:this.setUtnMark,parentUtnMapObj:this,getMarkProcessCheckZoom:this.getMarkProcessCheckZoom});delete newB;delete postData;}
utnMap.prototype.setUtnMark=function(data){var o=eval('('+data+')');var keys=UtnUtils.Object.keys(this.parentUtnMapObj.idPool);if(o!==undefined){if((o.rData.length==null||o.rData.length==0)){for(var j=0;j<keys.length;j++){this.parentUtnMapObj.idPool[keys[j]].setVisible(false);}
return;}
var oLen=o.rData.length;var rDataSQArr=[];for(var j=0;j<oLen;j++){if(this.getMarkProcessCheckZoom==this.parentUtnMapObj.getMarkProcessCheckZoom){if(keys.length==0||jQuery.inArray(o.rData[j].SQ.toString(),keys)==-1){this.parentUtnMapObj.setPointDataPiece(o.rData[j],'new');}else{this.parentUtnMapObj.setPointDataPiece(o.rData[j],'already');}
rDataSQArr[j]=o.rData[j].SQ.toString();}else{return;}}
for(var j=0;j<keys.length;j++){if(jQuery.inArray(keys[j].toString(),rDataSQArr)==-1){this.parentUtnMapObj.idPool[keys[j]].setVisible(false);}}}
if(o.bound!=null){this.parentUtnMapObj.mmBound.PRE_B=o.bound;if(this.parentUtnMapObj.mmBound.LEFT==null||this.parentUtnMapObj.mmBound.RIGHT==null||this.parentUtnMapObj.mmBound.BOTTOM==null||this.parentUtnMapObj.mmBound.TOP==null){this.parentUtnMapObj.mmBound.LEFT=o.bound.LEFT;this.parentUtnMapObj.mmBound.RIGHT=o.bound.RIGHT;this.parentUtnMapObj.mmBound.BOTTOM=o.bound.BOTTOM;this.parentUtnMapObj.mmBound.TOP=o.bound.TOP;}else{if(this.parentUtnMapObj.mmBound.LEFT>o.bound.LEFT){this.parentUtnMapObj.mmBound.LEFT=o.bound.LEFT;}
if(this.parentUtnMapObj.mmBound.RIGHT<o.bound.RIGHT){this.parentUtnMapObj.mmBound.RIGHT=o.bound.RIGHT;}
if(this.parentUtnMapObj.mmBound.BOTTOM>o.bound.BOTTOM){this.parentUtnMapObj.mmBound.BOTTOM=o.bound.BOTTOM;}
if(this.parentUtnMapObj.mmBound.TOP<o.bound.TOP){this.parentUtnMapObj.mmBound.TOP=o.bound.TOP;}}}
if(this.parentUtnMapObj.inputObj.unfoldPointSeq!==undefined&&this.parentUtnMapObj.inputObj.unfoldPointSeq.length>0){for(var n=0;n<this.parentUtnMapObj.inputObj.unfoldPointSeq.length;n++){google.maps.event.trigger(this.parentUtnMapObj.idPool[this.parentUtnMapObj.inputObj.unfoldPointSeq[n]],'mouseover');}}}
function setPOIDetail(data){var o=eval('('+data+')');if(o===undefined||o.rData===null){alert('詳細データを読み込みできません。\n\nデータ修正が必要なので、このスポットを管理者にお問い合わせしてください。');this.infoW.close();return;}
this.infoW.setContent(getPoiInfoTemplate(o.rData));}
function getPoiInfoTemplate(o){var htmlStr='';htmlStr+='<div class="map_detail_note">';htmlStr+=' <div class="clear note_title">';htmlStr+='  <p class="'+o.POINT_TYPE_CODE.toLowerCase()+'_img bu_option"></p>';htmlStr+='  <a class="ml5" href="'+o.URL+'" title="'+o.A_TITLE+'" target="_blank"><strong>'+o.A_TITLE+'</strong></a>';htmlStr+=' </div>';htmlStr+=' <div class="clear mt5">';htmlStr+='  <div class="note_pic fl" style="width:auto; height:auto">';htmlStr+='   <p style="background-image:url('+o.PHOTO_FILE+');" onclick="document.location.href=\''+o.URL+'\';"></p>';htmlStr+='  </div>';htmlStr+='  <div class="clear fl ml5 note_content">';htmlStr+='   <div class="clear rating">';htmlStr+='    <ul class="small_star fl">';if(o.RATING_COUNT>0){var rAvg=parseFloat(o.RATING_AVG);if(rAvg>0){if(rAvg-Math.floor(rAvg)==0){for(var i=1;i<=5;i++){if(i<=Math.floor(rAvg))
htmlStr+='<li class="on_l"></li><li class="on_r"></li>';else
htmlStr+='<li class="off_l"></li><li class="off_r"></li>';}}
else{for(var i=1;i<=5;i++){if(i<=Math.floor(rAvg))
htmlStr+='<li class="on_l"></li><li class="on_r"></li>';else
if(i==Math.ceil(rAvg))
htmlStr+='<li class="on_l"></li><li class="off_r"></li>';else
htmlStr+='<li class="off_l"></li><li class="off_r"></li>';}}}
else{for(var i=1;i<=5;i++){htmlStr+='<li class="off_l"></li><li class="off_r"></li>';}}
htmlStr+='    </ul>';htmlStr+='    <p class="fl" style="line-height:100%;margin-left:3px;"><span class="fl bold">'+o.RATING_AVG+'</span><span class="fl">/'+o.RATING_COUNT+'人</span></p>';}else{htmlStr+='    </ul>';}
htmlStr+='   </div>';htmlStr+='   <p class="mt5">'+o.A_SUMMING_UP+'</p>';htmlStr+='  </div>';htmlStr+=' </div>';htmlStr+=' <ul class="clear best_count">';htmlStr+='  <li class="kuchi"><p class="bu_pl_kuchi"></p><a href="'+o.URL+'/kuchi" title="'+o.A_TITLE+'口コミ" target="_blank">口コミ('+o.KUCHIKOMI_COUNT+')</a></li>';htmlStr+='  <li class="qna"><p class="bu_pl_qna"></p><a href="'+o.URL+'/qna" title="'+o.A_TITLE+'教えて" target="_blank">教えて('+o.QUESTION_COUNT+')</a></li>';htmlStr+='  <li class="blog"><p class="bu_pl_blog"></p><a href="'+o.URL+'/blog" title="'+o.A_TITLE+'ブログレビュー" target="_blank">ブログレビュー('+o.BLOG_REVIEW_COUNT+')</a></li>';htmlStr+=' </ul>';htmlStr+=' <div class="clear">';htmlStr+='  <a class="fl c_red" href="http://mynote.utravelnote.com/'+o.ENCODE_NICKNAME+'" target="_blank" onfocus="this.blur();">'+o.A_REGIST_NICKNAME+'</a>';htmlStr+='  <span class="more_btn_small fr"><a href="#" onclick="bookmarkThisNote(\'bookmarkBtn\', '+o.A_SEQ+'); return false;" onfocus="this.blur();" title="お気に入りに入れる">お気に入りに入れる</a></span>';htmlStr+=' </div>';htmlStr+='</div>';return htmlStr;}
function unpackLatLngBounds(latLngB){var ltrb=new Object();var latLng=latLngB.getNorthEast();ltrb['TOP']=latLng.lat();ltrb['RIGHT']=latLng.lng();latLng=latLngB.getSouthWest();ltrb['LEFT']=latLng.lng();ltrb['BOTTOM']=latLng.lat();return ltrb;}
function attachLoadingElement(div){}
function UtnImagePool(){this.sectionSmallIcons=new Object();for(var key in sectionSmalliconTypes){this.sectionSmallIcons[key]=new google.maps.MarkerImage('http://map.utravelnote.com/images/icon/icon_'+key+'.png',new google.maps.Size(sectionSmalliconTypes[key][0],sectionSmalliconTypes[key][1]),new google.maps.Point(0,0),new google.maps.Point(sectionSmalliconTypes[key][0]/2,sectionSmalliconTypes[key][1]/2));}
this.distanceCircle=new Object();var distanceCircleLevel={20:[348,348],19:[432,432],18:[432,432],17:[432,432],16:[220,220],15:[272,272]};this.distanceCircleLength=distanceCircleLevel.length;for(var key in distanceCircleLevel){this.distanceCircle[key]=new google.maps.MarkerImage('http://map.utravelnote.com/images/nav/glevel'+key+'.png',new google.maps.Size(distanceCircleLevel[key][0],distanceCircleLevel[key][1]),new google.maps.Point(0,0),new google.maps.Point(distanceCircleLevel[key][0]/2,distanceCircleLevel[key][1]/2));}
this.arrowIcon=new google.maps.MarkerImage('http://map.utravelnote.com/images/nav/arrow_google.png',new google.maps.Size(23,18),new google.maps.Point(0,0));}
UtnImagePool.prototype.getSectionSmallIcon=function(smallIconType){if(smallIconType===undefined){return this.sectionSmallIcons;}else{return this.sectionSmallIcons[smallIconType];}}
UtnImagePool.prototype.getDistanceCircle=function(distanceLevel){if(distanceLevel===undefined){return this.distanceCircle;}else{return this.distanceCircle[distanceLevel];}}
UtnImagePool.prototype.getArrowImage=function(){return this.arrowIcon;}
function disableLogo(){if($.browser.msie){$('div[src^=http://maps.gstatic.com/intl/ja_ALL/mapfiles/poweredby.png]').remove();}
$('a[href^=http://www.google.com/intl/ja_US/help/terms_maps.html]').parent().parent().remove();$('img[src^=http://maps.gstatic.com/intl/ja_ALL/mapfiles/poweredby.png]').parent().parent().remove();}
if($.browser.msie&&$.browser.version=='6.0'){this.isIE6=true;}
window.utnMap=utnMap;}
utnMaps();function bookmarkThisNote(thisEle,aSeq){var postData='aSeq='+aSeq+'&thisEle='+thisEle;UtnAjax.action('/note/noteBackAct.php','bookmark',postData);}
(function($){m={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},$.toJSON=function(value,whitelist){var a,i,k,l,r=/["\\\x00-\x1f\x7f-\x9f]/g,v;switch(typeof value){case'string':return r.test(value)?'"'+value.replace(r,function(a){var c=m[a];if(c){return c;}
c=a.charCodeAt();return'\\u00'+Math.floor(c/16).toString(16)+(c%16).toString(16);})+'"':'"'+value+'"';case'number':return isFinite(value)?String(value):'null';case'boolean':case'null':return String(value);case'object':if(!value){return'null';}
if(typeof value.toJSON==='function'){return $.toJSON(value.toJSON());}
a=[];if(typeof value.length==='number'&&!(value.propertyIsEnumerable('length'))){l=value.length;for(i=0;i<l;i+=1){a.push($.toJSON(value[i],whitelist)||'null');}
return'['+a.join(',')+']';}
if(whitelist){l=whitelist.length;for(i=0;i<l;i+=1){k=whitelist[i];if(typeof k==='string'){v=$.toJSON(value[k],whitelist);if(v){a.push($.toJSON(k)+':'+v);}}}}else{for(k in value){if(typeof k==='string'){v=$.toJSON(value[k],whitelist);if(v){a.push($.toJSON(k)+':'+v);}}}}
return'{'+a.join(',')+'}';}};})(jQuery);
