<!--

var addthis_pub="4a0874c03b75547e";

function footerLinks(){ // Builds Links for Footer bottom right
	var footLinks = "";
	var footLinksDiv = document.getElementById("footerLinks");
	
	footLinks += "<div id=\"footlinks\">";
	
	// Add this
	footLinks += "<a href=\"http://www.addthis.com/bookmark.php?v=20\" onmouseover=\"return addthis_open(this, '', '[URL]', '[TITLE]')\"  ";
       footLinks += "onmouseout=\"addthis_close()\" onclick=\"return addthis_sendto()\"> ";
       footLinks += "<img src=\"/_images/top_butt_share.jpg\" width=\"71\" height=\"22\" alt=\"Bookmark and Share\" /></a>";;
	
	// MacMillian Lynch
	//footLinks += "<a href=\"http://mlmedia.ca\" title=\"Designed by MacMillan LYNCH\" onclick=\"extLink(this.href, this.title); return false;\" ";
    //   footLinks += "onmouseover=\"MM_swapImage('fmlm','','/_images/icons/sml_red.gif',1);\" onmouseout=\"MM_swapImgRestore();\">";	
      // footLinks += "<img id=\"fmlm\" src=\"" + "/_images/icons/sml_wht.gif" + "\"  width=\"95\" height=\"14\" />";
	//footLinks += "</a>";
	footLinks += "</div>";
	
	footLinksDiv.innerHTML = "";
	footLinksDiv.innerHTML = footLinks;
    };
	

function URLEncode (clearString) {  //URL Encodes a String
    var output = "";
    var x = 0;
	var regex = /(^[a-zA-Z0-9_.]*)/;
    clearString = clearString.toString();
    
    while (x < clearString.length) {
      var match = regex.exec(clearString.substr(x));
      if (match != null && match.length > 1 && match[1] != "") {
        output += match[1];
        x += match[1].length;
        } else {
        if (clearString[x] == " ") {
          output += "+";
		  } else {
          var charCode = clearString.charCodeAt(x);
          var hexVal = charCode.toString(16);
          output += "%" + ( hexVal.length < 2 ? "0" : "" ) + hexVal.toUpperCase();
          }
        x++;
        }
      }
    return output;
    };

//-->