function SwapJpg(daImage){
  var objStr,obj;

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      var path = "images/"
      var ext = ".jpg"
      obj.src = path + daImage + ext;
    } else if ((typeof(daImage) == 'object') && daImage) {
      daImage.src = path + daImage + ext;
    }
  }
}



function SwapGif(daImage){
  var objStr,obj;

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      var path = "images/"
      var ext = ".gif"
      obj.src = path + daImage + ext;
    } else if ((typeof(daImage) == 'object') && daImage) {
      daImage.src = path + daImage + ext;
    }
  }
}




// blocking()
// Source: www.xs4all.nl/~ppk

var supported = (document.getElementById || document.all);

if (supported)
{
	document.write("<style type='text/css'>");
	document.write(".dropdown { display:none; }");
	document.write("</style>");

	var max = 100;
	var shown = new Array();

//	for (var i=1;i<=max;i++)
//	{
//		shown[i+1] = false;
//	}

}



function blocking(name)
{
	
	if (!supported)
	{
		alert('This link does not work in your browser.');
		return;
	}
	
	var section = '"' + name + '"';
	
	
	shown[section] = (shown[section]) ? false : true;
	

	current = (shown[section]) ? 'block' : 'none';
	

	if (document.getElementById)
	{
		document.getElementById(name).style.display = current;
	}
	else if (document.all)
	{
		document.all[name].style.display = current;	
	}

}
