-1){
return _arr[i][1];
}
}
}
return _ralateUid;
}
(function () {
var _summary = detail.summary,
_image = detail.image;
if ((!_image || _image.length < 5) && $('artical_real')) {
var _docNode = $('artical_real');
var _imgs = _docNode.getElementsByTagName('img');
for (var i = 0; i < _imgs.length; i++) {
var _img = _imgs[i];
if ((_img.offsetHeight > 100) && (_img.offsetWidth > 100)) {
_image = _img.src;
break;
}
}
}
if (_summary.length > 90) {
_summary = _summary.substring(0, 90) + "...";
}
var _titleSum = "【" + detail.docName + "】 " + _summary;
bds_config['bdText'] = _titleSum;
if(!_image ||_image.length<5){
_image = "http://y2.ifengimg.com/2012/06/24/23063562.gif";
}
bds_config['bdPic'] = _image;
})();
document.getElementById('bdshell_js').src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();