function VitalNavi_BP_EzEnq_ShowBlogParts(){
	var str = '<link rel="stylesheet" type="text/css" href="http://www.vitalnavi.com/blogparts/ezenq/css/ezenq.css" /><style type="text/css">#VitalNavi_BP_EzEnq {background-image: url("http://www.vitalnavi.com/blogparts/ezenq/img/bp_back_green.gif");border: 1px solid #00c9bd;margin: 0px;padding: 0px;}#VitalNavi_BP_EzEnq_Content #VitalNavi_BP_EzEnq_Content_Question {border: 1px solid #00c9bd;}#VitalNavi_BP_EzEnq_Content #VitalNavi_BP_EzEnq_Content_Graph {border: 1px solid #00c9bd;}</style><div id="VitalNavi_BP_EzEnq"><h5 id="VitalNavi_BP_EzEnq_Title"><a href="http://www.vitalnavi.com/ezenq/"><img src="http://www.vitalnavi.com/blogparts/ezenq/img/bp_title_green.gif" width="158" height="31" alt="みんなの投票箱" /></a></h5><div id="VitalNavi_BP_EzEnq_Content"><div id="VitalNavi_BP_EzEnq_Content_Question"><div id="VitalNavi_BP_EzEnq_Content_Question_Text">お店を探すときに何を使いますか？参考までに教えてください。</div></div><div id="VitalNavi_BP_EzEnq_Content_Graph"><img src="http://www.vitalnavi.com/cms/ezenq/00000003.png?tm=634190805427807" width="122" height="122" alt="" /></div><ul><li><span class="VitalNavi_BP_EzEnq_Content_Legend VitalNavi_BP_EzEnq_Content_Legend1"></span><span class="VitalNavi_BP_EzEnq_Content_Choice">インターネット（ホームページ）</span><br class="VitalNavi_BP_EzEnq_Clear" /></li><li><span class="VitalNavi_BP_EzEnq_Content_Legend VitalNavi_BP_EzEnq_Content_Legend2"></span><span class="VitalNavi_BP_EzEnq_Content_Choice">チラシ</span><br class="VitalNavi_BP_EzEnq_Clear" /></li><li><span class="VitalNavi_BP_EzEnq_Content_Legend VitalNavi_BP_EzEnq_Content_Legend3"></span><span class="VitalNavi_BP_EzEnq_Content_Choice">知人・友人に聞く（クチコミ）</span><br class="VitalNavi_BP_EzEnq_Clear" /></li><li><span class="VitalNavi_BP_EzEnq_Content_Legend VitalNavi_BP_EzEnq_Content_Legend4"></span><span class="VitalNavi_BP_EzEnq_Content_Choice">電話帳</span><br class="VitalNavi_BP_EzEnq_Clear" /></li><li><span class="VitalNavi_BP_EzEnq_Content_Legend VitalNavi_BP_EzEnq_Content_Legend5"></span><span class="VitalNavi_BP_EzEnq_Content_Choice">フリーペーパー</span><br class="VitalNavi_BP_EzEnq_Clear" /></li><li><span class="VitalNavi_BP_EzEnq_Content_Legend VitalNavi_BP_EzEnq_Content_Legend6"></span><span class="VitalNavi_BP_EzEnq_Content_Choice">タウン情報誌</span><br class="VitalNavi_BP_EzEnq_Clear" /></li></ul></div><div id="VitalNavi_BP_EzEnq_Navi"><a href="http://www.vitalnavi.com/ezenq/"><img src="http://www.vitalnavi.com/img/cafe/btn_vote_off.gif" width="77" height="27" alt="投票" onmouseover="VitalNavi_BP_EzEnq_ImgBtn.attach(this,\'over\',\'off\').toggle(\'over\');" /></a><br /><a href="http://www.vitalnavi.com/ezenq/create.aspx"><img src="http://www.vitalnavi.com/img/cafe/btn_enq_off.gif" width="144" height="27" alt="アンケートを作成する" onmouseover="VitalNavi_BP_EzEnq_ImgBtn.attach(this,\'over\',\'off\').toggle(\'over\');" /></a><br /></div><div id="VitalNavi_BP_EzEnq_Footer"><table><tr><td id="VitalNavi_BP_EzEnq_Footer_Left"><a href="http://www.vitalnavi.com/">元気と健康を応援する大人のためのポータルサイト</a><br /></td><td id="VitalNavi_BP_EzEnq_Footer_Right"><a href="http://www.vitalnavi.com/"><img src="http://www.vitalnavi.com/blogparts/ezenq/img/bp_vn_logo.gif" width="70" height="30" alt="VitalNavi ―バイタルなび―" /></a><br /></td></tr></table></div></div>';
	document.write(str);
}

function VitalNavi_BP_EzEnq_ImgBtnInternal(imgElm, action, mode){
	if (!imgElm)
		return;
		
	this.imgElm = imgElm;
	this.orgsrc = imgElm.src;
	if(typeof(action) == 'string') {
		if(action.indexOf('over') >= 0){
			this.imgElm.onmouseover = function(){
				this.imgBtnObj.toggle('over');
			};
			this.imgElm.onmouseout = function(){
				this.imgBtnObj.toggle(this.imgBtnObj.LastMode);
			};
		}
		if(action.indexOf('click') >= 0){
			this.imgElm.org_onclick = this.imgElm.onclick;
			this.imgElm.onclick = function(){
				this.imgBtnObj.toggle('on');
				if (this.org_onclick)
					this.org_onclick();
			};
		}
	}
	this.toggle(mode);
}
VitalNavi_BP_EzEnq_ImgBtnInternal.prototype = {
	attach : function(imgElm, type, mode, is_suspended){
		if (!imgElm.imgBtnObj)
			imgElm.imgBtnObj = new VitalNavi_BP_EzEnq_ImgBtnInternal(imgElm, type, mode);
		imgElm.imgBtnObj.IsSuspended = is_suspended;
		imgElm.imgBtnObj.toggle(mode);
		return imgElm.imgBtnObj;
	}, // End of 'attach' method

	toggle : function(mode){
		if (this.IsSuspended)
			return;

		this.LastMode = this.imgElm.src.replace(/^.*_(off|over|on).*$/, '$1');
		this.imgElm.src = this.imgElm.src.replace(/_(off|over|on)/, '_' + mode);
	} // End of 'toggle' method
} // End of 'ImageButtonIntelnel' class


var VitalNavi_BP_EzEnq_ImgBtn = new VitalNavi_BP_EzEnq_ImgBtnInternal();
VitalNavi_BP_EzEnq_ShowBlogParts();

