function widgetClicked(imgEle)
{
   var account_id = imgEle.getAttribute('accountid');
   var currentHref = location.href;
   var groups = currentHref.match(/^(http|https):\/\/([\w-\.]*)\//i);
   var targetHref = 'http://blogger.sharedbook.com/';
   if (groups)
      targetHref += 'bridge.html?blog_domain=' + escape(groups[2]) + '&account_id=' + account_id;
   window.open(targetHref);
}
