function popup(url, width, height) {
     var popup_window;
     var popup_window = window.open(url, "Popup", "scrollbars=yes," + "width=" + width + ",height=" + height);
}

function popup2(url, width, height) {
     var popup_window;
     var popup_window = window.open(url, "Popup", "scrollbars=yes," + "width=" + width + ",height=" + height);
}
  
function nothing() {
}

if (document.images) {
  image1on = new Image(62,23);
  image1on.src = "/imgs/facebook/facebook.png";
  image1off = new Image(62,23);
  image1off.src = "/imgs/facebook/facebook_0.png";

  image2on = new Image(150,25);
  image2on.src = "/imgs/buttons/donate_1.png";
  image2off = new Image(150,25);
  image2off.src = "/imgs/buttons/donate_0.png";

  image3on = new Image(150,25);
  image3on.src = "/imgs/buttons/adopt_1.png";
  image3off = new Image(150,25);
  image3off.src = "/imgs/buttons/adopt_0.png";
}

function changeImages() {
  if (document.images) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
	}
  }
}

function ONMOUSEOVER(object) {
        if (document.images) {
        document [object].src=eval(object + "_1").src;
        }
}
                
function ONMOUSEOUT(object) {
        if (document.images) {
        document [object].src=eval(object + "_0").src;
        }
}

flashfix = function() {
theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
}
if (window.attachEvent)
window.attachEvent("onload", flashfix)
else
window.onload=flashfix;
}

/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

function Windowclose()
{
window.close()
self.close()
close()
}
