if (document.images) {
  mapa1on = new Image();
  mapa1on.src = "../pix/mapa2.png";
  mapa1off = new Image();
  mapa1off.src = "../pix/mapa1.png";
}

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");
    }
  }
}


// Script Source: CodeLifter.com
// Copyright 2003,2006
// Do not remove this notice.

// MODIFIED: Timed closure added 04.05.2006 - etLux

// SETUPS:
// ===============================

// Set the horizontal and vertical position for the popup

PositionX = 100;
PositionY = 100;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 500;
defaultHeight = 500;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

// Set the value in milliseconds to close the window
// automatically after this amount of time
// 1000 milliseconds equals one second

var closeTime =10000;

// Do not edit below this line...
// ================================
var closeCode = ";setTimeout('self.close()',"+closeTime+")";
if (parseInt(navigator.appVersion.charAt(0))>=4){
	var isNN=(navigator.appName=="Netscape")?1:0;
	var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;
}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;


function popImage(imageNAME){
	if (isNN){imgWin=window.open('../show.php?'+imageNAME,'',optNN);}
	if (isIE){imgWin=window.open('http://www.katana-3d.info/show.php?'+imageNAME,'',optIE);}
}

