function blogit(str) { if (document.getElementById('postitem')) { var postitem = document.getElementById('postitem'); var NewNode = document.createElement('div'); postitem.appendChild(NewNode); NewNode.innerHTML = str; } } function deliciousPost(URL, title) { q = URL; p = title; void(open('http://del.icio.us/login' + '?v=2&noui=yes&jump=close&url=' + encodeURIComponent(q) + '&title=' + encodeURIComponent(p),'delicious', 'toolbar=no, width=400, height=480')); } function load_blogit() { t = document.title; u = location.href; d = document; e = document.selection ? (document.selection.type != 'None' ? document.selection.createRange().text : '') : (document.getSelection ? document.getSelection() : ''); blogit("添加到网摘:" + "[del.icio.us]  " + "[新浪 VIVI]  " + "[365key]  " + "[YouNote]  " + "[博采中心]  " + "[Poco]  " + "[SOHU狐摘]  " + "[天极网摘]  " + "[和讯网摘]  "); } if (document.all) { attachEvent('onload', load_blogit); } else { addEventListener('load', load_blogit, false); }