function consultaContenido(identificador)
{
	document.getElementById('divHome').style.display = 'none';
	document.getElementById('divFlash').style.display = 'none';
	document.getElementById('divContenido').style.display = '';
	
	new Ajax.Updater(
		"divContenido", 
		'divContenido.php', 
		{
			parameters: 
			{
				identificador: identificador 
			}, 
			onFailture: function()
			{
				alert('Ocurrio un error')
			}, 
			method: 'get'
		}
	);
}
function consultaContenidoJuguete(identificador)
{
	document.getElementById('divHome').style.display = 'none';
	document.getElementById('divFlash').style.display = 'none';
	document.getElementById('divContenido').style.display = '';
	
	new Ajax.Updater(
		"divContenido", 
		'divContenidoJuguete.php', 
		{
			parameters: 
			{
				identificador: identificador 
			}, 
			onFailture: function()
			{
				alert('Ocurrio un error')
			}, 
			method: 'get'
		}
	);
}
function consultaCategoria(identificador,uno)
{
	
	
	new Ajax.Updater(
		"divCategoria", 
		'divCategoria.php', 
		{
			parameters: 
			{
				identificador: identificador, 
				uno: uno
			}, 
			onFailture: function()
			{
				alert('Ocurrio un error')
			}, 
			method: 'get'
		}
	);
}
function consultaHome(identificador)
{
	document.getElementById('divContenido').style.display = 'none';
	document.getElementById('divFlash').style.display = 'none';
	document.getElementById('divHome').style.display = '';
	
	new Ajax.Updater(
		"divHome", 
		'divHome.php', 
		{
			parameters: 
			{
				identificador: identificador 
			}, 
			onFailture: function()
			{
				alert('Ocurrio un error')
			}, 
			method: 'get'
		}
	);
}
function consultaFlash(identificador)
{
	document.getElementById('divContenido').style.display = 'none';
	document.getElementById('divHome').style.display = 'none';
	document.getElementById('divFlash').style.display = '';
	
	new Ajax.Updater(
		"divFlash", 
		'divFlash.php', 
		{
			parameters: 
			{
				identificador: identificador 
			}, 
			onFailture: function()
			{
				alert('Ocurrio un error')
			}, 
			method: 'get'
		}
	);
}
function consultaFlash2(identificador2)
{
	document.getElementById('divContenido').style.display = 'none';
	document.getElementById('divHome').style.display = 'none';
	document.getElementById('divFlash').style.display = '';
	
	new Ajax.Updater(
		"divFlash", 
		'divFlash.php', 
		{
			parameters: 
			{
				identificador2: identificador2 
			}, 
			onFailture: function()
			{
				alert('Ocurrio un error')
			}, 
			method: 'get'
		}
	);
}
function consultaFlash3(identificador,categoria)
{
	document.getElementById('divContenido').style.display = 'none';
	document.getElementById('divHome').style.display = 'none';
	document.getElementById('divFlash').style.display = '';
	
	new Ajax.Updater(
		"divFlash", 
		'divFlash.php', 
		{
			parameters: 
			{
				identificador: identificador,
				categoria: categoria
			}, 
			onFailture: function()
			{
				alert('Ocurrio un error')
			}, 
			method: 'get'
		}
	);
}