
<!--

if (document.images) {

  image1off = new Image();
  image1off.src = "http://www.phillytour.com/images/home1.gif";

  image1on = new Image();
  image1on.src = "http://www.phillytour.com/images/home2.gif";

  image2off = new Image();
  image2off.src = "http://www.phillytour.com/images/about1.gif";

  image2on = new Image();
  image2on.src = "http://www.phillytour.com/images/about2.gif";

  image3off = new Image();
  image3off.src = "http://www.phillytour.com/images/whats1.gif";

  image3on = new Image();
  image3on.src = "http://www.phillytour.com/images/whats2.gif";

  image4off = new Image();
  image4off.src = "http://www.phillytour.com/images/tours1.gif";

  image4on = new Image();
  image4on.src = "http://www.phillytour.com/images/tours2.gif";

  image5off = new Image();
  image5off.src = "http://www.phillytour.com/images/equip1.gif";

  image5on = new Image();
  image5on.src = "http://www.phillytour.com/images/equip2.gif";

  image6off = new Image();
  image6off.src = "http://www.phillytour.com/images/faq1.gif";

  image6on = new Image();
  image6on.src = "http://www.phillytour.com/images/faq2.gif";

  image7off = new Image();
  image7off.src = "http://www.phillytour.com/images/sitemap1.gif";

  image7on = new Image();
  image7on.src = "http://www.phillytour.com/images/sitemap2.gif";

  image8off = new Image();
  image8off.src = "http://www.phillytour.com/images/contact1.gif";

  image8on = new Image();
  image8on.src = "http://www.phillytour.com/images/contact2.gif";

  image9off = new Image();
  image9off.src = "http://www.phillytour.com/images/emp1.gif";

  image9on = new Image();
  image9on.src = "http://www.phillytour.com/images/emp2.gif";

  image10off = new Image();
  image10off.src = "http://www.phillytour.com/images/use1.gif";

  image10on = new Image();
  image10on.src = "http://www.phillytour.com/images/use2.gif";

  image11off = new Image();
  image11off.src = "http://www.phillytour.com/images/search1.gif";

  image11on = new Image();
  image11on.src = "http://www.phillytour.com/images/search2.gif";

  image12off = new Image();
  image12off.src = "http://www.phillytour.com/images/checkout1.gif";

  image12on = new Image();
  image12on.src = "http://www.phillytour.com/images/checkout2.gif";

}

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 PopSized(url, width, height, scrollbars, name) {
	var windowWidth = width;
	var windowHeight = height;
	var positionX = (screen.width-windowWidth)/2;
	var positionY = (screen.height-windowHeight)/2;	

	var newWindow = window.open(url, name, "left="+positionX+",top="+positionY+",width="+windowWidth+",height="+windowHeight+",scrollbars="+scrollbars+",resizable=no");
	newWindow.focus();
	return false;
}

function alterCate(elm, onoff)
{
	if (typeof(onoff) == "undefined" )
	{
		onoff = "blur";
	}

	if (!elm.base)
	{
		elm.base = elm.value;
	}

	if (elm.value == elm.base && onoff != "blur")
	{
		elm.value = "";
	}
	else if (elm.value == "" && onoff == "blur")
	{
		elm.value = elm.base;
	}
}


  // -->