/****************************************************************
/ Nombre: getHTTPObject
/ Implentacion: 
/ Revision: 301106
/ Descripcion: Manejo del AJAX
'***************************************************************/
function getHTTPObject() {
	var xmlhttp;      
  
  /*@cc_on
  @if (@_jscript_version >= 5)
	try {
	  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	} catch (e) {
	  try {
		xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	  } catch (E) {
		xmlhttp = false;
	  }
	}
  @else
  xmlhttp = false;
  @end @*/
  
	if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {  
		try {
		  xmlhttp = new XMLHttpRequest();
		} catch (e) {
		  xmlhttp = false;
		}
	}
	return xmlhttp;
}
    
//--
var http = getHTTPObject(); 


function handleHttpResponseIdioma() {
	if (http.readyState == 4) {    //alert(http.responseText)
		document.getElementById("capaFotos").innerHTML = http.responseText;
		
		$(document).ready(function(){
		$('a[@rel*=lightbox]').lightBox({
			imageLoading: 'images/lightbox-ico-loading.gif',
			imageBtnClose: 'images/closelabel.gif',
			imageBtnPrev: 'images/prev.gif',
			imageBtnNext: 'images/next.gif',
			imageBlank: 'images/lightbox-blank.gif',
			txtImage: 'Imagen',
			txtOf: 'de'
   		});
	});
	}    
}