// JavaScript Document
var backColor = new Array(); 



backColor[0] = '#043174';
backColor[1] = '#FFDB0A';


var letraColor = new Array(); 


letraColor[0] = '#feff0d';
letraColor[1] = '#043174';






function changeBG(mix,whichColor){
 element = document.getElementById(mix); 
 element.style.background= backColor[whichColor];
 element.style.color = letraColor[whichColor];
 chpointr(mix);
}







var backColor2 = new Array(); 


backColor2[0] = '#f1f1f1';
backColor2[1] = '#ffffff';
backColor2[2] = '#043174';
backColor2[3] = '#043174';






function changeBG2(mix2,whichColor2){
 element2 = document.getElementById(mix2); 
 element2.style.background= backColor2[whichColor2];
 chpointr(mix2);
}


function chpointr(mixi){
element2 = document.getElementById(mixi);
element2.style.cursor = "pointer";
}




var cartColor3 = new Array(); 


cartColor3[0] = 'images/cart_blue.png';
cartColor3[1] = 'images/cart_gray.png';






function changeBG3(mix3,whichColor3){
 element3 = document.getElementById("catalog"); 
 element3.style.background= backColor[whichColor3];
 element3.style.color = letraColor[whichColor3];
 element4 = document.getElementById("catalogcart"); 
 element4.style.background= backColor[whichColor3];
 element4.style.color = letraColor[whichColor3];
 element4.style.backgroundImage= "url("+cartColor3[whichColor3]+")";
 element4.style.backgroundRepeat="no-repeat";
 element4.style.backgroundPosition="right"
 
 chpointr(mix3);
}

var cartColor = new Array(); 


cartColor[0] = '';
cartColor[1] = '';






function changeBG5(mix5,whichColor5){
 element5 = document.getElementById(mix5);
 element5.style.background= backColor[whichColor5];
 element5.style.color = letraColor[whichColor5];
 element5.style.backgroundImage= "url("+cartColor[whichColor5]+")";
 element5.style.backgroundRepeat="no-repeat";
 element5.style.backgroundPosition="left"
 
 chpointr(mix5);
}

var cartColor2 = new Array(); 


cartColor2[0] = '';
cartColor2[1] = '';






function changeBG6(mix6,whichColor6){
 element6 = document.getElementById(mix6);
 element6.style.background= backColor[whichColor6];
 element6.style.color = letraColor[whichColor6];
 element6.style.backgroundImage= "url("+cartColor2[whichColor6]+")";
 element6.style.backgroundRepeat="no-repeat";
 element6.style.backgroundPosition="right"
 
 chpointr(mix6);
}


