// JavaScript Document

// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this notice.

// SETUPS:
// ===============================

// Set the horizontal and vertical position for the popup

PositionX = 100;
PositionY = 10;

// 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;

// Do not edit below this line...
// ================================
var isNN=(navigator.appName=="Netscape")?1:0;
var isSafari=(navigator.appVersion.toLowerCase().indexOf("safari")!=-1)?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;
var optSafari='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;

function popup(imageURL,imageTitle,y,x){
	var imagen = window.open(imageURL,"imagen","width="+y+", height="+x+",scrollbars=0");	
	imagen.onBlur=function(){
		imagen.close();
	}
}


