function pop_image(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	var dl = imageWidth
	var wys = imageHeight
	newWindow = window.open("","newWindow","width="+dl+",height="+wys+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#000000" style="margin:0px" onBlur="self.close()">'); 
	newWindow.document.write('<center><img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'></center>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
function ShowHide(layer_open, layer_close) {
  if (layer_open != '') {
    expandLayer(layer_open);
  }
  if (layer_close != '') {
    expandLayer(layer_close);
  }
}

function expandLayer(name) {
  var itm = null;

  if (document.getElementById) {
    itm = document.getElementById(name);
  } else if (document.all) {
    itm = document.all[name];
  } else if (document.layers) {
    itm = document.layers[name];
  }
  
  if (!itm) {
  } else if (itm.style) {
    if (itm.style.display == "none") {
      itm.style.display = "";
    } else {
      itm.style.display = "none";
    }
  } else {
    itm.visibility = "show";
  }
}
