
    function urlencode1(str) 
    {
        return escape(str).replace('+', '%2B').replace('%20', '+').replace('*', '%2A').replace('/', '%2F').replace('@', '%40');
    }
    
    function urlencode(str) 
    {
        str = escape(str);
        str = str.replace('+', '%2B');
        str = str.replace('%20', '+');
        str = str.replace('*', '%2A');
        str = str.replace('/', '%2F');
        str = str.replace('@', '%40');
        return str;
    }
    
    function faceBook_click() 
    {
        u='http://www.facebook.com/pages/Sage-Ireland/126001260776848';
        window.open(u);
        return false;
    }

    function linkedIn_click() 
    {
        u='http://www.linkedin.com/groupRegistration?gid=3249150';
        t=document.title;
        s='Sage Applications';
        url='http://www.linkedin.com/shareArticle?mini=true&url='+encodeURIComponent(u)+'&title='+encodeURIComponent(t)+'&summary='+encodeURIComponent(s);
        window.open(url);
        return false;
    }

    function google_click() 
    {
        h=location.href;
        t=document.title;
        url='http://google.com/bookmarks/mark?op=edit&bkmk='+encodeURIComponent(h)+'&title='+encodeURIComponent(t);
        window.open(url);
        return false;                
    }
