// /java/myjava.js         This works 2006/02/13


// BookMark - Uses Variables for Exact-Page-URL & Page-Title
// configure the two variables below to match yoursite's own info
// var bookmarkurl=" "
// var bookmarktitle=" "

<!-- This line Required

function bookmark()
{
var bookmarkurl=document.location.href
var bookmarktitle=document.title
if (document.all)
   window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

// Bookmrkf - HardCoded to single URL & Page
function bookmrkf()
{
var bookmarkfurl="http://www.emcarthur.com"
var bookmarkftitle="E.McArthur & Associates"
if (document.all)
   window.external.AddFavorite(bookmarkfurl,bookmarkftitle)
}



// prevent site from being loaded in frames...
if (top.location != self.location) {
  top.location = self.location
}




// Bookmark at Del.icou.us

function bookdelicious()
{
     window.location="http://del.icio.us/post?url=" + encodeURIComponent(document.location.href)                   
                                                    + "&title="
                                                    + encodeURIComponent(document.title)
}


// Bookmark at Myweb2.Yahoo,com            NOTE: This does not work right, it does not pass the URL correctly 2006/03/14

function bookmyyahoo()
{
     window.location="http://myweb2.search.yahoo.com/myresults/bookmarklet?t=" + encodeURIComponent(document.title)
                                                                               + "u="
                                                                               + encodeURIComponent(document.location.href)
}

// -->

