﻿
    function callTrackingFunction(url, title) {
        dcsMultiTrack('DCS.dcssip', 'sharepoint.microsoft.com', 'DCS.dcsuri', url, 'WT.ti', title, 'WT.dl', '0');
    }
      
      
      
      function insertSocialNetworkingBookmarks(divId, url, title) {
                                var htmlValue = "";
                                htmlValue = htmlValue + "<a onclick='callTrackingFunction(\"{0}\",\"Facebook - {1}\")' href='http://www.facebook.com/sharer.php?u={0}&title={1}' target='_blank'><img src='http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif' border=0 alt='Share on Facebook'></a>&nbsp;".replace("{0}", url).replace("{1}", encodeURI(title));
                                htmlValue = htmlValue + "<a onclick='callTrackingFunction(\"{0}\",\"Del.icio.us - {1}\")' href='http://del.icio.us/post?v=4&noui&jump=close&url={0}&title={1}' target='_blank'><img src='http://static.delicious.com/img/delicious.small.gif' border=0 height='14' width='14' alt='Bookmark with Delicious'></a>&nbsp;".replace("{0}", url).replace("{1}", encodeURI(title));
                                htmlValue = htmlValue + "<a onclick='callTrackingFunction(\"{0}\",\"Digg - {1}\")' href='http://digg.com/submit?url={0}&title={1}' target='_blank'><img src='http://digg.com/img/badges/16x16-digg-guy.png' border=0 height='16' width='16' alt='Digg!'></a>&nbsp;".replace("{0}", encodeURI(url)).replace("{1}", encodeURI(title));
                                htmlValue = htmlValue + "<a onclick='callTrackingFunction(\"{0}\",\"Stumbleupon - {1}\")'   href='http://www.stumbleupon.com/submit.php?url={0}&title={1}' target='_blank'><img src='http://cdn.stumble-upon.com/images/16x16_su_3d.gif' border=0 height='16' width='16' alt='Review on StumbleUpon'></a>&nbsp;".replace("{0}", url).replace("{1}", encodeURI(title));
                                document.getElementById(divId).innerHTML = htmlValue;
                            }
                   