document.writeln("分享恰比天文台到：<a href=\"javascript:void(0);\" title=\"发送给好友\" onClick=\"copyToClipBoard();\"><img src=\"\/images\/weibo\/text.gif\" border=\"0\" alt=\"发送给好友\" width=\"16px\" height=\"16px\" \/><\/a>&nbsp;<a href=\"javascript:void((function(s,d,e){try{}catch(e){}var f=\'http:\/\/service.weibo.com\/share\/share.php?\',u=d.location.href,p=[\'url=\',e(u),\'&title=\',e(d.title),\'&appkey=\'].join(\'\');function a(){if(!window.open([f,p].join(\'\'),\'mb\',[\'toolbar=0,status=0,resizable=1,width=620,height=450,left=\',(s.width-620)\/2,\',top=\',(s.height-450)\/2].join(\'\')))u.href=[f,p].join(\'\');};if(\/Firefox\/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})(screen,document,encodeURIComponent));\" title=\"转播到新浪微博\"><img src=\"\/images\/weibo\/sinat.gif\" border=\"0\" alt=\"转播到新浪微博\" width=\"16px\" height=\"16px\" \/><\/a>&nbsp;<a href=\"javascript:void(0);\" onclick=\"window.open(\'http:\/\/v.t.qq.com\/share\/share.php?title=\'+encodeURIComponent(document.title)+\'&site=http:\/\/www.qqtwt.com&pic=&url=\'+encodeURIComponent(document.location.href)+\'\');return false;\" title=\"转播到腾讯微博\"><img src=\"\/images\/weibo\/qqt.gif\" border=\"0\" alt=\"转播到腾讯微博\" width=\"16px\" height=\"16px\" \/><\/a>&nbsp;<a href=\"javascript:void(0);\" onclick=\"window.open(\'http:\/\/sns.qzone.qq.com\/cgi-bin\/qzshare\/cgi_qzshare_onekey?url=\'+encodeURIComponent(document.location.href));return false;\" title=\"分享到QQ空间\"><img src=\"\/images\/weibo\/qzone.gif\" border=\"0\" alt=\"分享到QQ空间\" width=\"16px\" height=\"16px\" \/><\/a>");function copyToClipBoard()
{      
    var clipBoardContent="";   
    clipBoardContent+=document.title;  
    clipBoardContent+="\r\n";  
    clipBoardContent+=this.location.href; 
    window.clipboardData.setData("Text",clipBoardContent);  
    alert("您已经成功复制本文地址，可以发送给QQ/MSN上的好友啦！ *^_^*　");    
}
