<!--
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function openCentered(theURL,winName,winWidth,winHeight,features) {
  var w = (screen.width - winWidth)/2;
  var h = (screen.height - winHeight)/2 - 60;
  features = features+',width='+winWidth+',height='+winHeight+',top='+h+',left='+w;
  window.open(theURL,winName,features);
}

var popNameWindow = null;  // This must be declared as a global
function MakePop(width,height) {
closePop();
var features = 'width=' + width + ',height=' + height;

 popNameWindow = window.open('','HMX',features);
 popNameWindow.focus();
 }

function openNewWindow(URLtoOpen, windowName, windowFeatures)
{
	closePop();
	popNameWindow=window.open(URLtoOpen, windowName, windowFeatures);

 popNameWindow.focus();
 }
function closePop() {
    if ( ( popNameWindow != null ) && ( !popNameWindow.closed ))  {
        // window is still open -> close it
        popNameWindow.close();
        popNameWindow = null;
    }
}

function zoom() {
	imanew = document.getElementById('imgo').innerHTML;
	//alert(imanew);
	opCt('zoom.asp?im='+imanew,'popfoto','530','530');
}
function opCt(theURL,winName,winWidth,winHeight,features) {
  var w = (screen.width - winWidth)/2;
  var h = (screen.height - winHeight)/2 - 60;
  features = features+',width='+winWidth+',height='+winHeight+',top='+h+',left='+w;
  window.open(theURL,winName,features);
}
//-->