if(typeof(is_elu_ad) == "undefined"){
  loadMeebo();
}

function loadMeebo(){
window.Meebo||function(c){function p(){return["<",i,' onload="var d=',g,";d.getElementsByTagName('head')[0].",
j,"(d.",h,"('script')).",k,"='//cim.meebo.com/cim?iv=",a.v,"&",q,"=",c[q],c[l]?
"&"+l+"="+c[l]:"",c[e]?"&"+e+"="+c[e]:"","'\"></",i,">"].join("")}var f=window,
a=f.Meebo=f.Meebo||function(){(a._=a._||[]).push(arguments)},d=document,i="body",
m=d[i],r;if(!m){r=arguments.callee;return setTimeout(function(){r(c)},100)}a.$=
{0:+new Date};a.T=function(u){a.$[u]=new Date-a.$[0]};a.v=4;var j="appendChild",
h="createElement",k="src",l="lang",q="network",e="domain",n=d[h]("div"),v=n[j](d[h]("m")),
b=d[h]("iframe"),g="document",o,s=function(){a.T("load");a("load")};f.addEventListener?
f.addEventListener("load",s,false):f.attachEvent("onload",s);n.style.display="none";
m.insertBefore(n,m.firstChild).id="meebo";b.frameBorder="0";b.id="meebo-iframe";
b.allowTransparency="true";v[j](b);try{b.contentWindow[g].open()}catch(w){c[e]=
d[e];o="javascript:var d="+g+".open();d.domain='"+d.domain+"';";b[k]=o+"void(0);"}try{var t=
b.contentWindow[g];t.write(p());t.close()}catch(x){b[k]=o+'d.write("'+p().replace(/"/g,
'\\"')+'");d.close();'}a.T(1)}({network:"zdnetjapan_zo48no"});
}

function setMeebo(){
  Meebo("domReady");
  addMeeboBtns();
}

function addMeeboBtns(){
  // Additional Buttons
  Meebo('addButton',{
    id: "custom_button1",
    type: "action",
    icon: "",
    label: "製品解説",
    onClick: function(){
      window.location = "/analysis/";
    }
  });
  
  Meebo('addButton',{
    id: "custom_button2",
    type: "action",
    icon: "",
    label: "特集",
    onClick: function(){
      window.location = "/sp/";
    }
  });
  
  Meebo('addButton',{
    id: "custom_widget1",
    type: "widget",
    icon: "",
    label: "CNET Japan",
    width: 300,
    height: 250,
    iframe: "/meebo/latest_cnet_stories.htm"
  });
  
  Meebo('addButton',{
    id: "custom_button3",
    type: "action",
    icon: "",
    label: "サイトマップ",
    onClick: function(){
      window.location = "/info/sitemap/";
    }
  });
  
  Meebo('addButton',{
    id: "custom_button4",
    type: "action",
    icon: "",
    label: "RSS",
    onClick: function(){
      window.location = "/info/feed/";
    }
  });
  
  Meebo('addButton',{
    id: "custom_button5",
    type: "action",
    icon: "",
    label: "CNET_ID",
    onClick: function(){
      window.location = "/membership/";
    }
  });
}
