// para la primer imagen
imagenA=new Image
imagenB=new Image
imagenC=new Image
imagenD=new Image
imagenE=new Image
imagenF=new Image
imagenAA=new Image
imagenBB=new Image
imagenCC=new Image
imagenDD=new Image
imagenEE=new Image
imagenFF=new Image
imagenA.src="imgplantilla/tango.gif"
imagenB.src="imgplantilla/colon.gif"
imagenC.src="imgplantilla/obelisco.gif"
imagenD.src="imgplantilla/casarosada.gif"
imagenE.src="imgplantilla/laboca.gif"
imagenF.src="imgplantilla/bandoneon.gif"
imagenAA.src="imgplantilla/tango1.gif"
imagenBB.src="imgplantilla/colon1.gif"
imagenCC.src="imgplantilla/obelisco1.gif"
imagenDD.src="imgplantilla/casarosada1.gif"
imagenEE.src="imgplantilla/laboca1.gif"
imagenFF.src="imgplantilla/bandoneon1.gif"
var a=1;
var b=1;
var c=1;
var d=1;
var e=1;
var f=1;
//////////////////////// CAMBIAR A PRIMERA FOTO /////////////////////////////
function cambiarA() {
if (a == 1)
{
document.images['fotoA'].src=imagenAA.src
a=2;
}
else
{
document.images['fotoA'].src=imagenA.src;
a=1;
}
}
//////////////////////// CAMBIAR B SEGUNDA FOTO /////////////////////////////
function cambiarB() {
if (b == 1)
{
document.images['fotoB'].src=imagenBB.src
b=2;
}
else
{
document.images['fotoB'].src=imagenB.src;
b=1;
}
}
//////////////////////// CAMBIAR C TERCERA FOTO /////////////////////////////
function cambiarC() {
if (c == 1)
{
document.images['fotoC'].src=imagenCC.src
c=2;
}
else
{
document.images['fotoC'].src=imagenC.src;
c=1;
}
}
//////////////////////// CAMBIAR D CUARTA FOTO /////////////////////////////
function cambiarD() {
if (d == 1)
{
document.images['fotoD'].src=imagenDD.src
d=2;
}
else
{
document.images['fotoD'].src=imagenD.src;
d=1;
}
}
//////////////////////// CAMBIAR E QUINTA FOTO /////////////////////////////
function cambiarE() {
if (e == 1)
{
document.images['fotoE'].src=imagenEE.src
e=2;
}
else
{
document.images['fotoE'].src=imagenE.src;
e=1;
}
}
//////////////////////// CAMBIAR F SEXTA FOTO /////////////////////////////
function cambiarF() {
if (f == 1)
{
document.images['fotoF'].src=imagenFF.src
f=2;
}
else
{
document.images['fotoF'].src=imagenF.src;
f=1;
}
}