

function share(title, url, imgroot) {
    //QQ空间
    document.write(" &nbsp;<a href='http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?title=" + title + "&url=" + url + "' target='_blank'><img src='" + imgroot + "/ico_Qzone.png' alt='QQ空间' title='分享到QQ空间' border='0' /></a>");
    //新浪
    document.write(" &nbsp;<a href='http://v.t.sina.com.cn/share/share.php?title=" + title + "&url=" + url + "' target='_blank'><img src='" + imgroot + "/ico_sina.gif' alt='新浪微博' title='分享到新浪微博' border='0' /></a>");
    //搜狐
    document.write(" &nbsp;<a href='http://t.sohu.com/third/post.jsp?content=utf-8&title=" + title + "&url=" + url + "' target='_blank'><img src='" + imgroot + "/ico_sohu.gif' alt='搜狐微博' title='分享到搜狐微博' border='0'></a>");
    //人人 
    document.write(" &nbsp;<a href='http://share.renren.com/share/buttonshare.do?title=" + title + "&link=" + url + "' target='_blank'><img src='" + imgroot + "/ico_renren.gif' alt='人人网' title='分享到人人网' border='0'></a>");
    //腾讯
    document.write(" &nbsp;<a href='http://v.t.qq.com/share/share.php?title=" + title + "&url=" + url + "' target='_blank'><img src='" + imgroot + "/ico_qq_t.png' alt='腾讯微博' title='分享到腾讯微博' border='0'/></a>");
    //开心
    document.write(" &nbsp;<a href='http://www.kaixin001.com/repaste/share.php?rtitle=" + title + "&rurl=" + url + "' target='_blank'><img src='" + imgroot + "/ico_kaixin.gif' alt='开心网' title='分享到开心网' border='0'></a>");
}