if(!window.jp){jp={}}if(!jp.co){jp.co={}}if(!jp.co.intel){jp.co.intel={}}if(!jp.co.intel.sot){jp.co.intel.sot={}}if(!jp.co.intel.sot.Blogbadge){jp.co.intel.sot.Blogbadge=function(){};jp.co.intel.sot.Blogbadge.inited=false;jp.co.intel.sot.Blogbadge.count=0;jp.co.intel.sot.Blogbadge.baseUrl="http://www.intel.co.jp/jp/tomorrow/blogparts/";jp.co.intel.sot.Blogbadge.linkPath="http://www.intel.co.jp/jp/tomorrow/?eid=sot_blogparts";jp.co.intel.sot.Blogbadge.imgServer="http://sot.intel-c.jp/static/robot/";jp.co.intel.sot.Blogbadge.swfs={1:{file:"type_a.swf",width:200,height:200},2:{file:"type_b.swf",width:156,height:240},3:{file:"type_c.swf",width:240,height:200}};jp.co.intel.sot.Blogbadge.getBaseUrl=function(){if(window.intel_ashitarobot_baseurl){return window.intel_ashitarobot_baseurl}return jp.co.intel.sot.Blogbadge.baseUrl};jp.co.intel.sot.Blogbadge.getImageServerUrl=function(){if(window.intel_ashitarobot_imagehost){return window.intel_ashitarobot_imagehost}return jp.co.intel.sot.Blogbadge.imgServer};jp.co.intel.sot.Blogbadge.findParams=function(){var f=jp.co.intel.sot.Blogbadge.getBaseUrl();f=f.replace(/\./g,"\\.");var d=new RegExp('<script .*?src="'+f+'badge\\.js\\?(\\d+)_(\\d)".*?><\/script>',"ig");var c=document.getElementsByTagName("body")[0];var b=c.innerHTML.match(d);if(b){var e=0;for(var a=0;a<b.length;a++){e++;if(e>jp.co.intel.sot.Blogbadge.count){jp.co.intel.sot.Blogbadge.count++;return[RegExp.$1,RegExp.$2]}}}return false};jp.co.intel.sot.Blogbadge.loadLib=function(){if(!jp.co.intel.sot.Blogbadge.inited){jp.co.intel.sot.Blogbadge.inited=true}};jp.co.intel.sot.Blogbadge.prototype={getMessage:function(){if(window.intel_ashitarobot_msg){return window.intel_ashitarobot_msg}return""},getFlashVars:function(){var a="linkPath="+encodeURI(jp.co.intel.sot.Blogbadge.linkPath);a+="&imgServer="+encodeURI(jp.co.intel.sot.Blogbadge.getImageServerUrl());a+="&robotId="+this.no;if(this.type==1){a+="&msg="+encodeURI(this.getMessage())}return a},getSwfUrl:function(){return jp.co.intel.sot.Blogbadge.getBaseUrl()+jp.co.intel.sot.Blogbadge.swfs[this.type]["file"]},getSwfWidth:function(){return jp.co.intel.sot.Blogbadge.swfs[this.type]["width"]},getSwfHeight:function(){return jp.co.intel.sot.Blogbadge.swfs[this.type]["height"]},buildId:function(){return"externalIntelAshitaRobotBadge"+jp.co.intel.sot.Blogbadge.count},publish:function(){var b=jp.co.intel.sot.Blogbadge.findParams();if(!b){return}this.no=b[0];this.type=b[1];var a='<div class="intel_ashitarobot_badge">';a+='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" width="'+this.getSwfWidth()+'" height="'+this.getSwfHeight()+'" align="middle" id="'+this.buildId()+'">';a+='<param name="wmode" value="transparent" />';a+='<param name="movie" value="'+this.getSwfUrl()+'" />';a+='<param name="quality" value="high" />';a+='<param name="allowScriptAccess" value="always" />';a+='<param name="flashVars" value="'+this.getFlashVars()+'" />';if(!document.all){a+='<embed src="'+this.getSwfUrl()+'" quality="high" allowScriptAccess="always" width="'+this.getSwfWidth()+'" height="'+this.getSwfHeight()+'" align="middle" wmode="transparent" flashVars="'+this.getFlashVars()+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'}a+="</object>";a+="</div>";document.write(a)}}}if(!jp.co.intel.sot.Blogbadge.inited){jp.co.intel.sot.Blogbadge.inited=true;bpcUrl="http://www.blogparts-checker.com/BpcGateway/";function bpcCallback(a){}function bpcGetURL(b,a){return bpcUrl+"?appid="+b+"&stype="+a+"&location="+encodeURIComponent(document.location)+"&title="+encodeURIComponent(document.title)+"&referrer="+encodeURIComponent(document.referrer)}function bpcGetJSONP(a){var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("src",a);document.getElementsByTagName("head").item(0).appendChild(b)}function bpcSendView(b){var a=bpcGetURL(b,"VI");bpcGetJSONP(a)}function bpcSendClick1(b){var a=bpcGetURL(b,"C1");bpcGetJSONP(a)}function bpcSendClick2(b){var a=bpcGetURL(b,"C2");bpcGetJSONP(a)}function bpcSendClick3(b){var a=bpcGetURL(b,"C3");bpcGetJSONP(a)}function bpcSendClick4(b){var a=bpcGetURL(b,"C4");bpcGetJSONP(a)}function bpcSendClick5(b){var a=bpcGetURL(b,"C5");bpcGetJSONP(a)}function bpcSend(c,a){var b=bpcGetURL(c,a);bpcGetJSONP(b)}}jp.co.intel.sot.b=new jp.co.intel.sot.Blogbadge();jp.co.intel.sot.b.publish();