function vin(type)
{
if(xmlHttp.readyState==4 || xmlHttp.readyState==0)
{
xmlHttp.open("GET","lis_mod.php?type="+type+"&ms="+new Date().getTime(),true);
xmlHttp.onreadystatechange = handleServerSec1;
xmlHttp.send(null);
}
else
{
alert("Problema con la comunicacion en el Servidor");
}
function handleServerSec1()
{
	if(xmlHttp.readyState==4)
	{
		if(xmlHttp.status==200)
		{
			Texto=xmlHttp.responseText;
			cuerpo='listcl';
			document.getElementById(cuerpo).innerHTML=Texto;
		}
		else
		{
			alert("Existe un problema en la obtencion de datos");
		}
	}
}
}

function alb()
{
if(xmlHttp.readyState==4 || xmlHttp.readyState==0)
{
xmlHttp.open("GET","album.php?t=cr&ms="+new Date().getTime(),true);
xmlHttp.onreadystatechange = handleServerSec1;
xmlHttp.send(null);
}
else
{
alert("Problema con la comunicacion en el Servidor");
}
function handleServerSec1()
{
	if(xmlHttp.readyState==4)
	{
		if(xmlHttp.status==200)
		{
			Texto=xmlHttp.responseText;
			cuerpo='listcl';
			document.getElementById(cuerpo).innerHTML=Texto;
		}
		else
		{
			alert("Existe un problema en la obtencion de datos");
		}
	}
}
}

function sal()
{
if(xmlHttp.readyState==4 || xmlHttp.readyState==0)
{
pal = document.getElementById("nalb").value;
xmlHttp.open("GET","album.php?t=sa&no="+pal+"&ms="+new Date().getTime(),true);
xmlHttp.onreadystatechange = handleServerSec1;
xmlHttp.send(null);
}
else
{
alert("Problema con la comunicacion en el Servidor");
}
function handleServerSec1()
{
	if(xmlHttp.readyState==4)
	{
		if(xmlHttp.status==200)
		{
			Texto=xmlHttp.responseText;
			cuerpo='listcl';
			document.getElementById(cuerpo).innerHTML=Texto;
		}
		else
		{
			alert("Existe un problema en la obtencion de datos");
		}
	}
}
}

function ual(cod)
{
if(xmlHttp.readyState==4 || xmlHttp.readyState==0)
{
xmlHttp.open("GET","album.php?t=up0&co="+cod+"&ms="+new Date().getTime(),true);
xmlHttp.onreadystatechange = handleServerSec1;
xmlHttp.send(null);
}
else
{
alert("Problema con la comunicacion en el Servidor");
}
function handleServerSec1()
{
	if(xmlHttp.readyState==4)
	{
		if(xmlHttp.status==200)
		{
			Texto=xmlHttp.responseText;
			cuerpo='listcl';
			document.getElementById(cuerpo).innerHTML=Texto;
		}
		else
		{
			alert("Existe un problema en la obtencion de datos");
		}
	}
}
}

function ual2(cod)
{
if(xmlHttp.readyState==4 || xmlHttp.readyState==0)
{
pal = document.getElementById("nalb2").value;
xmlHttp.open("GET","album.php?t=up&co="+cod+"&no="+pal+"&ms="+new Date().getTime(),true);
xmlHttp.onreadystatechange = handleServerSec1;
xmlHttp.send(null);
}
else
{
alert("Problema con la comunicacion en el Servidor");
}
function handleServerSec1()
{
	if(xmlHttp.readyState==4)
	{
		if(xmlHttp.status==200)
		{
			Texto=xmlHttp.responseText;
			cuerpo='listcl';
			document.getElementById(cuerpo).innerHTML=Texto;
		}
		else
		{
			alert("Existe un problema en la obtencion de datos");
		}
	}
}
}


function dal(cod)
{
if(xmlHttp.readyState==4 || xmlHttp.readyState==0)
{
xmlHttp.open("GET","album.php?t=de&co="+cod+"&ms="+new Date().getTime(),true);
xmlHttp.onreadystatechange = handleServerSec1;
xmlHttp.send(null);
}
else
{
alert("Problema con la comunicacion en el Servidor");
}
function handleServerSec1()
{
	if(xmlHttp.readyState==4)
	{
		if(xmlHttp.status==200)
		{
			Texto=xmlHttp.responseText;
			cuerpo='listcl';
			document.getElementById(cuerpo).innerHTML=Texto;
		}
		else
		{
			alert("Existe un problema en la obtencion de datos");
		}
	}
}
}

function alb2()
{
if(xmlHttp.readyState==4 || xmlHttp.readyState==0)
{
xmlHttp.open("GET","album2.php?t=cr&ms="+new Date().getTime(),true);
xmlHttp.onreadystatechange = handleServerSec1;
xmlHttp.send(null);
}
else
{
alert("Problema con la comunicacion en el Servidor");
}
function handleServerSec1()
{
	if(xmlHttp.readyState==4)
	{
		if(xmlHttp.status==200)
		{
			Texto=xmlHttp.responseText;
			cuerpo='listcl';
			document.getElementById(cuerpo).innerHTML=Texto;
		}
		else
		{
			alert("Existe un problema en la obtencion de datos");
		}
	}
}
}


function ualb(cod)
{
if(xmlHttp.readyState==4 || xmlHttp.readyState==0)
{
xmlHttp.open("GET","album2.php?t=up0&co="+cod+"&ms="+new Date().getTime(),true);
xmlHttp.onreadystatechange = handleServerSec1;
xmlHttp.send(null);
}
else
{
alert("Problema con la comunicacion en el Servidor");
}
function handleServerSec1()
{
	if(xmlHttp.readyState==4)
	{
		if(xmlHttp.status==200)
		{
			Texto=xmlHttp.responseText;
			cuerpo='listcl';
			document.getElementById(cuerpo).innerHTML=Texto;
		}
		else
		{
			alert("Existe un problema en la obtencion de datos");
		}
	}
}
}

function ualb2(cod)
{
if(xmlHttp.readyState==4 || xmlHttp.readyState==0)
{
pal = document.getElementById("nalb2").value;
xmlHttp.open("GET","album.php?t=up&co="+cod+"&no="+pal+"&ms="+new Date().getTime(),true);
xmlHttp.onreadystatechange = handleServerSec1;
xmlHttp.send(null);
}
else
{
alert("Problema con la comunicacion en el Servidor");
}
function handleServerSec1()
{
	if(xmlHttp.readyState==4)
	{
		if(xmlHttp.status==200)
		{
			Texto=xmlHttp.responseText;
			cuerpo='listcl';
			document.getElementById(cuerpo).innerHTML=Texto;
		}
		else
		{
			alert("Existe un problema en la obtencion de datos");
		}
	}
}
}

function salb()
{
if(xmlHttp.readyState==4 || xmlHttp.readyState==0)
{
pal = document.getElementById("nalb").value;
xmlHttp.open("GET","album2.php?t=sa&no="+pal+"&ms="+new Date().getTime(),true);
xmlHttp.onreadystatechange = handleServerSec1;
xmlHttp.send(null);
}
else
{
alert("Problema con la comunicacion en el Servidor");
}
function handleServerSec1()
{
	if(xmlHttp.readyState==4)
	{
		if(xmlHttp.status==200)
		{
			Texto=xmlHttp.responseText;
			cuerpo='listcl';
			document.getElementById(cuerpo).innerHTML=Texto;
		}
		else
		{
			alert("Existe un problema en la obtencion de datos");
		}
	}
}
}

function dalb(cod)
{
if(xmlHttp.readyState==4 || xmlHttp.readyState==0)
{
xmlHttp.open("GET","album2.php?t=de&co="+cod+"&ms="+new Date().getTime(),true);
xmlHttp.onreadystatechange = handleServerSec1;
xmlHttp.send(null);
}
else
{
alert("Problema con la comunicacion en el Servidor");
}
function handleServerSec1()
{
	if(xmlHttp.readyState==4)
	{
		if(xmlHttp.status==200)
		{
			Texto=xmlHttp.responseText;
			cuerpo='listcl';
			document.getElementById(cuerpo).innerHTML=Texto;
		}
		else
		{
			alert("Existe un problema en la obtencion de datos");
		}
	}
}
}
