﻿//Add event listeners for imgElem to create rollover effect with image at url overSrc on mouseover, and outSrc on mouseout
//imgElem can be image object or id of image object
function addRolloverImage(imgElem, outSrc, overSrc) {
    $(imgElem).observe('mouseover', function(event) { Event.element(event).src = overSrc });
    $(imgElem).observe('mouseout', function(event) { Event.element(event).src = outSrc });
}

function addBookmark() {
    try {
        if (navigator.userAgent.indexOf("MSIE") != -1) {
            window.external.AddFavorite("http://www.showyourhelpinghand.com/", "Show Your Helping Hand");
        }
        else { alert("Your browser does not support adding a bookmark with JavaScript. Please use your browser to add a bookmark to http://www.showyourhelpinghand.com and come back."); }
    }
    catch(err) {
        alert("Your browser does not support adding a bookmark with JavaScript. Please use your browser to add a bookmark to http://www.showyourhelpinghand.com and come back.");
    }
}

//AddThis config variables
var addthis_pub="eliasechols";
//var addthis_brand = "Show Your Helping Hand";
//var addthis_offset_top = 40;
//var addthis_offset_left = 60;
//var addthis_options = 'email, favorites, digg, delicious, myspace, google, facebook, reddit, live, more';
/*aim, ask, backflip, ballhype, bebo, blogmarks, buzz, delicious, 
digg, diigo, email, facebook, favorites, fark, feedmelinks, friendfeed, google, 
kaboodle, kirtsy, linkedin, live, misterwong, mixx, multiply, myaol, myspace, 
netvouz, newsvine, print, propeller, reddit, segnalo, simpy, slashdot, spurl, stumbleupon, 
stylehive, tailrank, technorati, thisnext, twitter, yardbarker, yahoobkm, more

If you don't include "more" in the list, then users won't have the ability to choose from the other services.
Since everybody has email it is the most popular option. We recommend putting email first.*/