
function clientSideInclude(id, url) {
  var req = false;
  // For Safari, Firefox, and other non-MS browsers
  if (window.XMLHttpRequest) {
    try {
      req = new XMLHttpRequest();
    } catch (e) {
      req = false;
    }
  } else if (window.ActiveXObject) {
    // For Internet Explorer on Windows
    try {
      req = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (e) {
      try {
        req = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (e) {
        req = false;
      }
    }
  }
 var element = document.getElementById(id);
 if (!element) {
  alert("Bad id " + id + 
   "passed to clientSideInclude." +
   "You need a div or span element " +
   "with this id in your page.");
  return;
 }
  if (req) {
    // Synchronous request, wait till we have it all
    req.open('GET', url, false);
    req.send(null);
    element.innerHTML = req.responseText;
  } else {
    element.innerHTML =
   "Sorry, your browser does not support " +
      "XMLHTTPRequest objects. This page requires " +
      "Internet Explorer 5 or better for Windows, " +
      "or Firefox for any system, or Safari. Other " +
      "compatible browsers may also exist.";
  }
}



var blank = "images/spacer.gif";

//topedge = 10;  // location of news box from top of page
//leftedge = 5;  // location of news box from left edge
var whitespaceheight;  // height of empty space
speed = 40;

//boxwidth = 100;  // width of news box
//scrollheight = 240; // total height of all data to be scrolled
var news;
//  End -->

function imageOver(x) {
	x.firstChild.firstChild.firstChild.firstChild.nextSibling.firstChild.nextSibling.src="images/menu_selected.gif";
	//x.firstChild.firstChild.firstChild.firstChild.nextSibling.innerHTML = "<br><img src='images/menu_selected.gif' border=0>";
}
function imageOut(x) {
	//x.firstChild.firstChild.firstChild.firstChild.nextSibling.innerHTML = "<br><img src='images/menu_unselected.gif' border=0>";
	x.firstChild.firstChild.firstChild.firstChild.nextSibling.firstChild.nextSibling.src="images/menu_unselected.gif";
}
	var ProdWin;
function newWindow(page, width, height) {

	width = width + 20;
	height = height + 25;
	if (ProdWin != null)
		ProdWin.close();
	ProdWin = this.open(page, "ImageWindow", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width="+width+",height="+height);
	ProdWin.focus();
}