/*
* Autor: Bernardo Morales
* Fecha: 01/Octubre/2003
* Site.: Antigua Guatemala Ciudad Colonial
*        Copyright (c) 1999-2004. All right reserved.
*/ 

work = 'I'
if (work == 'I') { lugar = "http://www.antiguaguatemalaonline.com/" }
else { lugar = "/antiguaguatemalaonline/" }


function ventana(pagina) 
{ 
	if (ventana.arguments.length > 0) {	

	if (screen.availWidth <= 800) {
		ventanaInt = window.open(lugar + "agencias/"+ pagina + '/index.html','pagina',"top=0,left=0,height=540,width=790,status=no,toolbar=no,menubar=no,location=no,resizable=yes,channelmode=no,scrollbars=yes"); 
	}
	else if (screen.availWidth >= 1024) {
		ventanaInt = window.open(lugar + "agencias/"+ pagina + '/index.html','pagina',"top=0,left=0,height=700,width=1015,status=no,toolbar=no,menubar=no,location=no,resizable=yes,channelmode=no,scrollbars=yes"); 
	}
	else {
		ventanaInt = window.open(lugar + "agencias/"+ pagina + '/index.html','pagina' ,"top=0,left=0,height=540,width=790,status=no,toolbar=no,menubar=no,location=no,resizable=yes,channelmode=no,scrollbars=yes"); 
	}
	window.alert=false
	}
}


/*
* Autor: Bernardo Morales
* Fecha: 01/Octubre/2003
* Site.: Antigua Guatemala Ciudad Colonial
*        Copyright (c) 1999-2004. All right reserved.
*/ 
