// BOOKMARK FUNCTION
function bookmark(theurl, thetitle){
 if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
 window.external.AddFavorite(theurl,thetitle);
 } else if (navigator.appName == "Netscape") {
 window.sidebar.addPanel(thetitle,theurl,"");
} else {
 alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
 }
}

// ADD TO DELICIOUS FUNCTION
function goDelicious(strLocation, strTitle) { 
   window.location = "http://del.icio.us/post?v=2&url=" + encodeURIComponent(strLocation) + '&title=' + encodeURIComponent(strTitle);
}

// ADD TO DIGG FUNCTION
function goDigg(strLocation) { 
   window.location = "http://digg.com/submit?phase=2&url=" + encodeURIComponent(strLocation);
}