function hoverColor(id)
{
  
document.getElementById(id).className = "itemPhoto"

}
function outColor(id)
{

document.getElementById(id).className = "itemPhoto2"
}
/************************************************************/
function objetoAjax(){
	var xmlhttp=false;
	try {
		xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	} catch (e) {
		try {
		   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		} catch (E) {
			xmlhttp = false;
  		}
	}

	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
		xmlhttp = new XMLHttpRequest();
	}
	return xmlhttp;
}
/************************************************************/
function cargarCliente(uniqueid, categoria){
	ajax = objetoAjax();
	resultado = document.getElementById('gallery');
	ajax.open("POST", "ajax/ajax_CargarCliente.php",true);
	ajax.onreadystatechange=function() {
		if (ajax.readyState==4) {
			resultado.innerHTML = ajax.responseText;
		}
	}
	ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
	ajax.send("uniqueid="+uniqueid+"&categoria="+categoria);
}
/*************************************************************/
function cargarClienteInicio(categoria){
	ajax = objetoAjax();
	resultado = document.getElementById('gallery');
	ajax.open("POST", "ajax/ajax_CargarClienteInicio.php",true);
	ajax.onreadystatechange=function() {
		if (ajax.readyState==4) {
			resultado.innerHTML = ajax.responseText;
		}
	}
	ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
	ajax.send("categoria="+categoria);
}
/*************************************************************/