<!-- CODIGO JAVASCRIPT PARA ORDER ON LINE--!>

<!-- FUNCIONES GENERALES--!>

var nav4 = window.Event ? true : false;
var miPopup;
var array_items  = new Array();

//function acceptNum(evt){	
// NOTE: Backspace = 8, Enter = 13, '0' = 48, '9' = 57	
//var key = nav4 ? evt.which : evt.keyCode;	
//return (key <= 13 || (key >= 48 && key <= 57));
//}


function acceptNum(e)
{
var tecla;
tecla = (document.all) ? e.keyCode : e.which;
if(tecla == 8)
{return true;}
var patron;
//patron = /[abcdefghijklmnñopqrstuvwxyzABCDEFGHIJKLMNÑOPQRSTUV WXYZ0123456789]/
patron = /\d/; //solo acepta numeros
var te;
te = String.fromCharCode(tecla);
return patron.test(te);
}



function press_enter(form,e) 
{
  tecla = (document.all) ? e.keyCode : e.which;
  if (tecla==13) 
  {validarusuario(form);}
}

function press_enter_1(form,e) 
{
  tecla = (document.all) ? e.keyCode : e.which;
  if (tecla==13) 
  {Chekea_orden1(form);}
}



function vacio(q) 
{
        for ( i = 0; i < q.length; i++ ) 
		{
                if ( q.charAt(i) != " " ) 
				{
                        return true;
                }
        }
        return false;
}

function borrarp(id,op)
{
      if(confirm("Desea eliminar este producto de su orden ?")) 
	  { 
		  location.href="borrarp.php?id="+id+"&op="+op;	  
	   }
     else 
	 {
          return false;
     } 
}
<!-- FUNCIONES index.php--!>

function espacios(q) 
{
		for ( i = 0; i < q.length; i++ ) 
		{
                if ((q.charAt(i)==" " ) && (i<q.length))
				{
                        return true;
                }
        }
        return false;
}


function validarusuario(form)
{
	if (vacio(form.txusuario1.value)===false)
 	{ 
	   alert("Favor ingresar el usuario"); form.txusuario1.focus(); return; 
	}
	if (vacio(form.txpassword1.value)===false)
 	{ 
	   alert("Favor ingresar su clave"); form.txpassword1.focus(); return; 
	}	
	form.registrarse.value="1";
	form.submit();
}


function validardb(form)
{
	if  (vacio(form.txnombre.value)===false || form.txnombre.value.length<=2)
		{ alert("Favor ingresar el Nombre"); form.txnombre.focus(); return; }
	else
	    {form.txnombre.value=form.txnombre.value.toUpperCase();}
		
	if  (vacio(form.txapellido.value)===false || form.txapellido.value.length<=2)
		{ alert("Favor ingresar el Apellido"); form.txapellido.focus(); return; }
	else
	    {form.txapellido.value=form.txapellido.value.toUpperCase();}		

	if  (vacio(form.txtelefono.value)===false ||  isNaN(form.txtelefono.value))
		{ alert("Favor ingresar el telefono"); form.txtelefono.focus(); return; }	

	if (vacio(form.txemail.value)===false)
 	{   alert("Favor ingresar el E-mail"); form.txemail.focus(); return; }	
	else
	{
		var valor=form.txemail.value;
		if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(valor)){} 
		else {alert("Email Incorrecto");form.txemail.focus(); return; }
		
//		if (form.txemail.value!=form.txconfirmar_email.value)
//		   { alert("Favor Confirmar Email"); form.txconfirmar_email.focus(); return; }
	}

	if(espacios(form.txusuario.value)===true)
	{
	   alert("Usuario no puede contener espacios"); form.txusuario.focus(); return; 
	}
	
	if (vacio(form.txusuario.value)===false || form.txusuario.value.length<=5)
 	{ 
	   alert("Favor ingresar el usuario"); form.txusuario.focus(); return; 
	}

	if (vacio(form.txclave.value)===false|| form.txclave.value.length<=5)
 	{ 
	   alert("Favor ingresar su clave"); form.txclave.focus(); return; 
	}	
	else
	{
		if (form.txclave.value!=form.txconfirmar_clave.value)
		   { alert("Favor Confirmar Clave o clave incorrecta"); form.txconfirmar_clave.focus(); return; }
	}
    form.registrarse.value="2";
	form.submit();
}
<!-- FIN index.php --!>

<!-- FUNCIONES pizzaform0.php--!>

function concatener_dir(form)
{
	form.txdireccion_completa.value="";
	form.txdireccion_completa.value=form.direccion_tipo.value+" "+form.direccion_numero.value+form.txdireccionletra.value+form.direccion_cardinalidad.value+"  #"+form.numero1.value+form.numero_letra.value+form.numero_cardinalidad.value+"-"+form.numero2.value+" - "+form.txmunicipio.value;
	if(form.direccion_cardinalidad.value!="")
	   { form.numero_cardinalidad.value=""; }

	if(form.numero_cardinalidad.value!="")
	   { form.direccion_cardinalidad.value=""; }
}


function concatener_urb(form)
{
	form.txnombre_urbanizacion.value="";
	form.txnombre_urbanizacion.value=form.vivienda_tipo.value+" "+form.vivienda_numero.value+" "+form.distribucion_tipo.value+" "+form.distribucion_numero.value+" "+form.urbanizacion_nombre.value+" "+form.urbanizacion_numero.value;
}


function desactivar_direcciones(form)
{
    form.txdesactivar.value="";
	var txtaco=document.getElementsByName("txeliminar");
	var limite=txtaco.length;
	for (k=0;k<limite;k++)
	{
	   if(txtaco[k].checked===true)
	   {
         tmp=txtaco[k].value;
         tmp=tmp.concat("X");
	     form.txdesactivar.value=form.txdesactivar.value+tmp;
		}
	}

}



function validardb1(form)
{
	if  (form.direccion_tipo.value=="0")
	{ alert("Favor ingresar el tipo de direccion. ej. Calle Carrera"); form.direccion_tipo.focus(); return; }
 
	if  (vacio(form.direccion_numero.value)===false)
		{ alert("Favor ingresar el Numero"); form.direccion_numero.focus(); return; }
		
	if  (vacio(form.numero1.value)===false)
		{ alert("Favor ingresar el Primer Numero"); form.numero1.focus(); return; }

	if  (vacio(form.numero2.value)===false)
		{ alert("Favor ingresar el Segundo Numero"); form.numero2.focus(); return; }

	if  (form.txmunicipio.value=="0")
		{ alert("Favor seleccionar el Municipio"); form.txmunicipio.focus(); return; }		
		
	if  (vacio(form.txbarrio.value)===false)
		{ alert("Favor ingresar el Barrio"); form.txbarrio.focus(); return; }				


	concatener_dir(form);
	concatener_urb(form);
	form.txcontrolDireccion.value="si"; 
	form.submit(); 
}


function eliminar_direcciones(form)
{
	var validar=desactivar_direcciones(form);
	var elegir;
	
	if(vacio(form.txdesactivar.value)===true)
	{
	   elegir=(confirm("Desea eliminar la(s) direcciones seleccionadas?"));
	   if(elegir===false) 
	   { 
		 form.txdesactivar.value="";
		 form.submit(); 
	   }
	   else
	   {
	     form.submit(); 
	   }
   }
   else
   {
	  alert("Ninguna direccion se encuentra seleccionada, o la lista esta vacia");  
	  return;
   }
   
}

<!-- FIN pizzaform0.php --!>

<!-- FUNCIONES pizzaform1.php--!>

function canal(form)
{
	if(form.escogercanal[0].checked)
	{
//		alert("123");
//		alert(form.recoger_domicilio.value);
//		alert("123");
	   	document.getElementById("tmp_recoger").style.display = "none"; 
		document.getElementById("tmp_domicilio").style.display = "block"; 
	   	document.getElementById("tmp_domicilio2").style.display = "block"; 
	   	document.getElementById("tmp_domicilio3").style.display = "none"; 
	   	document.getElementById("tmp_obligatorios").style.display = "block"; 
	   	document.getElementById("tmp_envio").style.display = "block"; 
	   	document.getElementById("tmp_boton").style.display = "block"; 
		form.txcanal.value="D";
	   	form.tmp_tipo_orden.value="D";
		form.recoger_domicilio.value="D";    
		form.recoger_domicilio2.value="D";    
//		alert(form.recoger_domicilio.value);
}
	 else
    {
		document.getElementById("tmp_recoger").style.display = "block"; 	
	  	document.getElementById("tmp_domicilio").style.display = "none"; 	
	  	document.getElementById("tmp_domicilio2").style.display = "none"; 		
	  	document.getElementById("tmp_domicilio3").style.display = "none"; 		
	   	document.getElementById("tmp_obligatorios").style.display = "block"; 
	   	document.getElementById("tmp_envio").style.display = "block";
	   	document.getElementById("tmp_boton").style.display = "block"; 	
		form.txcanal.value="R";
 	  	form.tmp_tipo_orden.value="R";
		form.recoger_domicilio.value="R";
		form.recoger_domicilio2.value="R";		
	}
	
}



function recogerOdomicilio($rec_dom)
{
//alert("onload");	
//alert($rec_dom); 
 if($rec_dom=="D")


{
//		alert("123");
//		alert(form.recoger_domicilio.value);
//		alert("123");
	   	document.getElementById("tmp_recoger").style.display = "none"; 
		document.getElementById("tmp_domicilio").style.display = "block"; 
	   	document.getElementById("tmp_domicilio2").style.display = "block"; 
	   	document.getElementById("tmp_domicilio3").style.display = "none"; 
	   	document.getElementById("tmp_obligatorios").style.display = "block"; 
	   	document.getElementById("tmp_envio").style.display = "block"; 
	   	document.getElementById("tmp_boton").style.display = "block"; 
//		form.txcanal.value="D";
//	   	form.tmp_tipo_orden.value="D";
//		form.recoger_domicilio.value="D";    
//		alert(form.recoger_domicilio.value);
}
	 else
    {
		document.getElementById("tmp_recoger").style.display = "block"; 	
	  	document.getElementById("tmp_domicilio").style.display = "none"; 	
	  	document.getElementById("tmp_domicilio2").style.display = "none"; 		
	  	document.getElementById("tmp_domicilio3").style.display = "none"; 		
	   	document.getElementById("tmp_obligatorios").style.display = "block"; 
	   	document.getElementById("tmp_envio").style.display = "block";
	   	document.getElementById("tmp_boton").style.display = "block"; 	
//		form.txcanal.value="R";
// 	  	form.tmp_tipo_orden.value="R";
//		form.recoger_domicilio.value="R";		
	}
	
}




function Logearse(form)
{
	form.txcontrol.value="Logearse"; 
	form.submit(); 
}




function Recuperar_observacion(form)
{
	form.txdireccion_orden.value="";
	mdireccion="";
	murbanizacion="";
	mobservacion = "";
	mid="";
	sw=0;
	str = form.txdireccion.value;
	for (i = 0; i <= str.length; i++)
		{
			if (str.substring(i, i+1)=="§")
			{
				sw=sw+1;
			}
			else
			{
				if (sw===0)
					{mid = mid+str.substring(i, i+1);}
				if (sw==1)
					{mdireccion = mdireccion+str.substring(i, i+1);  }
				if (sw==2)
					{murbanizacion = murbanizacion+str.substring(i, i+1);	}				
				if (sw==3)
					{mobservacion = mobservacion+str.substring(i, i+1);}		
			}
		}
	form.txobservacion.value = mobservacion;
	form.txiddireccion.value = mid;
	form.txdireccionc.value = mdireccion;
	form.txurbanizacionc.value=murbanizacion;
    form.txdireccion_orden.value=mdireccion+" "+murbanizacion;
}

function validarform1(form)
{
	if(form.tmp_tipo_orden.value=="D")
	{
		if ((vacio(form.txdireccion_orden.value)===false) && (vacio(form.txdireccionc.value)===false))
		{ 
		   alert("Favor ingresar la direccion"); form.txdireccion_orden.focus(); return; 
		}
	}
	else
	{
		if (form.txpv.value==="0") 
		{
		   alert("Favor ingresar el punto de venta"); form.txpv.focus(); return; 
		}		
	}
    
	if (vacio(form.txtelefono.value)===false)
 	{ 
	   alert("Favor ingresar telefono de contacto"); form.txdireccion_orden.focus(); return; 
	}	
	form.txcontrol.value="si";
	form.registrarsef1.value="1";
	form.submit();
}

<!-- FIN pizzaform1.php --!>

<!-- FUNCIONES pizzaform2.php--!>

function calcularpizza1(form)
{
	
	form.masa1.value=form.tmp_tamano1.value+form.nropizza.value+form.tmp_masa1.value;
    form.masa2.value=form.tmp_tamano2.value+form.nropizza.value+form.tmp_masa2.value;
}

function adiciones(form,pi)
{
    if (pi==1)
	     {inicio=1; tfinal=31; form.adiciones1.value=""; }
	if (pi==2)
         {inicio=101; tfinal=131; form.adiciones2.value=""; }

  
  for(i=inicio;i<=tfinal;i++)
  {
    var txtadi=document.getElementsByName(i);
	var limite=txtadi.length;
	for (k=0;k<limite;k++)
	{
	   if(txtadi[k].checked===true)
	   {
         tmp=form.tmp_tamano1.value;
         tmp=tmp.concat(form.nropizza.value);		 
         tmp=tmp.concat(txtadi[k].value);
         tmp=tmp.concat("X");
	     if (pi==1) { form.adiciones1.value=form.adiciones1.value.concat(tmp);}
		 if (pi==2) { form.adiciones2.value=form.adiciones2.value.concat(tmp);}
	    }
	}
  }
}

function ocultar_tmp(op)
{
  var tmp;
  if(op==1)
  { 
	for (var i=1; i<=31; i++)
	{
	  tmp = document.getElementsByName(i);
	  tmp[1].style.display = 'block';
	  tmp[2].style.display = 'block';
	}	
  }
  else
  {
	  for (i=1; i<=31; i++)	
	  {
		  tmp = document.getElementsByName(i);

// 	activar para solo unicas mitad y midad (dobble NO aplicaria mitad mitad)
//		  tmp[1].style.display = 'none';
//		  tmp[2].style.display = 'none';

		  tmp[1].style.display = 'block';
		  tmp[2].style.display = 'block';
	  }	
  
		for (var k = 101; k <= 131; k++ )
		{
		  tmp = document.getElementsByName(k);


// 	activar para solo unicas mitad y midad (dobble NO aplicaria mitad mitad)
//		  tmp[1].style.display = 'none';
//		  tmp[2].style.display = 'none';

		  tmp[1].style.display = 'block';
		  tmp[2].style.display = 'block';
	    }
   }	
}

function ocultar(cadena)
{
	var tmp = document.getElementsByName(cadena);
	for (var i = 0; i < tmp.length; i++ )
	{
	  tmp[i].style.display = "none";
	}	
}

function mostrar(cadena)
{
	var tmp = document.getElementsByName(cadena);
	for (var i = 0; i < tmp.length; i++ )
	{
	  tmp[i].style.display = "block";
	}	
}

function SeleccionarUD(form,valor)
{

  if(valor.value==1)
  {
    document.getElementById("pizzaunoArriba").style.display = "block"; 
    document.getElementById("pizzaunoAbajo").style.display = "block"; 
	document.getElementById("pizzadosArriba").style.display = "none"; 
    document.getElementById("pizzadosAbajo").style.display = "none"; 
	document.getElementById("tmp_lado_der1").style.display = "block"; 
	document.getElementById("tmp_lado_izq1").style.display = "block"; 
	ocultar_tmp(1);	mostrar("der"); mostrar("izq");
  }
  else
  {
    document.getElementById("pizzaunoArriba").style.display = "block"; 
    document.getElementById("pizzaunoAbajo").style.display = "block"; 
	document.getElementById("pizzadosArriba").style.display = "block"; 
	document.getElementById("pizzadosAbajo").style.display = "block"; 

	
// 	activar para solo unicas mitad y midad (dobble NO aplicaria mitad mitad)
// 	document.getElementById("tmp_lado_der1").style.display = "none"; 
// 	document.getElementById("tmp_lado_izq1").style.display = "none";
// 	document.getElementById("tmp_lado_der2").style.display = "none"; 
// 	document.getElementById("tmp_lado_izq2").style.display = "none";	
// 	ocultar("der"); ocultar("izq");	ocultar("der2"); ocultar("izq2");

	document.getElementById("tmp_lado_der1").style.display = "block"; 
	document.getElementById("tmp_lado_izq1").style.display = "block";
	document.getElementById("tmp_lado_der2").style.display = "block"; 
	document.getElementById("tmp_lado_izq2").style.display = "block";	
	mostrar("der"); mostrar("izq");	mostrar("der2"); mostrar("izq2");


	ocultar_tmp(2);
  }
  form.nropizza.value="";
  form.nropizza.value=valor.value;
  calcularpizza1(form);
	document.getElementById('pizzaunoArriba').scrollIntoView(true);
}

function SeleccionarT(form,valor)
{
    var t = form.nropizza.value;
	var t2 = valor.value-1;

	form.tmp_tamano1.value="";
	form.tmp_tamano2.value="";
    if (t==1)  
	{

		form.tmp_tamano1.value=valor.value;
		switch(valor.value)
		{
			case "1":
				//personal 4
				//alert("UNICA Personal 4Porciones  ///   DOBBLE Personal  8Porciones")
				document.getElementById("imagePizza4").style.background='url(\'pizza-dobble-pizza-files/images/Pizza4.png\') no-repeat left top';
				document.getElementById("imagePizza6").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza8").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza10").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				break;		
			case "2":
				document.getElementById("imagePizza4").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza6").style.background='url(\'pizza-dobble-pizza-files/images/Pizza6.png\') no-repeat left top';
				document.getElementById("imagePizza8").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza10").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				break;		
			case "3":
				document.getElementById("imagePizza4").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza6").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza8").style.background='url(\'pizza-dobble-pizza-files/images/Pizza8.png\') no-repeat left top';
				document.getElementById("imagePizza10").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				break;		
			case "4":
				document.getElementById("imagePizza4").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza6").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza8").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza10").style.background='url(\'pizza-dobble-pizza-files/images/Pizza10.png\') no-repeat left top';
				break;		
	
		}	
	
	}
	
	
    if (t==2)  
	{    
		form.tmp_tamano1.value=valor.value;  
		form.tmp_tamano2.value=valor.value;  
		form.tamano2[t2].checked=true;
		form.tamano[t2].checked=true;

		
		switch(valor.value)
		{
			case "1":
				//personal 4
				//alert("UNICA Personal 4Porciones  ///   DOBBLE Personal  8Porciones")
				document.getElementById("imagePizza4").style.background='url(\'pizza-dobble-pizza-files/images/Pizza4.png\') no-repeat left top';
				document.getElementById("imagePizza6").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza8").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza10").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';

				document.getElementById("image2Pizza4").style.background='url(\'pizza-dobble-pizza-files/images/Pizza4.png\') no-repeat left top';
				document.getElementById("image2Pizza6").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("image2Pizza8").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("image2Pizza10").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';

				break;		
			case "2":
				document.getElementById("imagePizza4").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza6").style.background='url(\'pizza-dobble-pizza-files/images/Pizza6.png\') no-repeat left top';
				document.getElementById("imagePizza8").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza10").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';

				document.getElementById("image2Pizza4").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("image2Pizza6").style.background='url(\'pizza-dobble-pizza-files/images/Pizza6.png\') no-repeat left top';
				document.getElementById("image2Pizza8").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("image2Pizza10").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';

				break;		
			case "3":
				document.getElementById("imagePizza4").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza6").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza8").style.background='url(\'pizza-dobble-pizza-files/images/Pizza8.png\') no-repeat left top';
				document.getElementById("imagePizza10").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';

				document.getElementById("image2Pizza4").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("image2Pizza6").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("image2Pizza8").style.background='url(\'pizza-dobble-pizza-files/images/Pizza8.png\') no-repeat left top';
				document.getElementById("image2Pizza10").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';

				break;		
			case "4":
				document.getElementById("imagePizza4").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza6").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza8").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("imagePizza10").style.background='url(\'pizza-dobble-pizza-files/images/Pizza10.png\') no-repeat left top';

				document.getElementById("image2Pizza4").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("image2Pizza6").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("image2Pizza8").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
				document.getElementById("image2Pizza10").style.background='url(\'pizza-dobble-pizza-files/images/Pizza10.png\') no-repeat left top';

				break;		
	
		}	
		
		


	}
    calcularpizza1(form);
	
	

	
	
}

function SeleccionarM(form,valor,m)
{
//  alert("hola "+valor);
 // alert("hola "+valor.value);

 if (m==1)
  
  {
     form.tmp_masa1.value="";
     form.tmp_masa1.value=valor.value;
	switch(valor.value)
	{
		case "90":
			//italiana
			document.getElementById("imageMasaItaliana").style.background='url(\'pizza-dobble-pizza-files/images/MasaItaliana.png\') no-repeat left top';
			document.getElementById("imageMasaBorde").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
//			document.getElementById("imageMasaAmericana").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
			break;		
		case "91":
			//borde relleno
			document.getElementById("imageMasaItaliana").style.background='url(\'pizza-dobble-pizza-files/images/transparent.png\') no-repeat left top';
			document.getElementById("imageMasaBorde").style.background='url(\'pizza-dobble-pizza-files/images/MasaBorde.png\') no-repeat left top';
//			document.getElementById("imageMasaAmericana").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
			break;		
//		case "92":
//			//americana
//			document.getElementById("imageMasaItaliana").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
//			document.getElementById("imageMasaBorde").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
//			document.getElementById("imageMasaAmericana").style.background='url(\'pizza-dobble-pizza-files/images/MasaAmericana.png\') no-repeat left top';
//			break;		
			
	}	
	
  }
  if (m==2)
  {
     form.tmp_masa2.value="";
     form.tmp_masa2.value=valor.value;
	switch(valor.value)
	{
		case "90":
			//italiana
			document.getElementById("image2MasaItaliana").style.background='url(\'pizza-dobble-pizza-files/images/MasaItaliana.png\') no-repeat left top';
			document.getElementById("image2MasaBorde").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
//			document.getElementById("imageMasaAmericana").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
			break;		
		case "91":
			//borde relleno
			document.getElementById("image2MasaItaliana").style.background='url(\'pizza-dobble-pizza-files/images/transparent.png\') no-repeat left top';
			document.getElementById("image2MasaBorde").style.background='url(\'pizza-dobble-pizza-files/images/MasaBorde.png\') no-repeat left top';
//			document.getElementById("imageMasaAmericana").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
			break;		
//		case "92":
//			//americana
//			document.getElementById("imageMasaItaliana").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
//			document.getElementById("imageMasaBorde").style.background='url(\'pizza-dobble-pizza-files/images/transparente.png\') no-repeat left top';
//			document.getElementById("imageMasaAmericana").style.background='url(\'pizza-dobble-pizza-files/images/MasaAmericana.png\') no-repeat left top';
//			break;		
			
	}	

  }
  calcularpizza1(form);
}




function validarcon(form,valor,e)
{
    var txtDerecha;
	var txtIzquierda;
	if (e==1)
	{
		txtDerecha=document.getElementsByName("der");
		txtIzquierda=document.getElementsByName("izq");
		txtDerecha[0].checked=true; 
		txtIzquierda[0].checked=true;
		form.especial1.value="";
		form.especial1.value=form.tmp_tamano1.value+form.nropizza.value+valor.value;
		seleccionarInsumos(form,valor.value,1,1);
	}
    if (e==2)
	{
		txtDerecha=document.getElementsByName("der2");
		txtIzquierda=document.getElementsByName("izq2");
		txtDerecha[0].checked=true;
		txtIzquierda[0].checked=true;
		form.especial2.value="";
		form.especial2.value=form.tmp_tamano2.value+form.nropizza.value+valor.value;
		seleccionarInsumos(form,valor.value,2,1);
	}
}

function validarder(form,valor,e)
{
    var txtCon;
	if (e==1)
	{
		txtCon=document.getElementsByName("con");
		txtCon[0].checked=true;
		// saber de igualdad izq = der entonces con
		txtDerecha=document.getElementsByName("der");
		txtIzquierda=document.getElementsByName("izq");
		var encontreI=0	
		var limite=txtIzquierda.length;
		for (k=0;k<limite;k++)
		{
		   if(txtIzquierda[k].checked===true)
		   {
			encontreI=k		
		   }
		}
		var encontreD=0	
		var limite=txtDerecha.length;
		for (k=0;k<limite;k++)
		{
		   if(txtDerecha[k].checked===true)
		   {
			encontreD=k		
		   }
		}
		if( encontreD == encontreI )
		{
			txtCon[encontreD].checked=true;
			txtIzquierda[encontreD].checked = false;			
			txtDerecha[encontreD].checked = false;			

			txtIzquierda[0].checked = true;			
			txtDerecha[0].checked = true;			

			validarcon(form,valor,e);
		}else{
		
			// lo normal ke habia
			form.especial1.value="";
			form.especial1.value=form.tmp_tamano1.value+form.nropizza.value+valor.value;
			seleccionarInsumos(form,valor.value,1,2);
		}
	}
	if (e==2)
	{
		txtCon=document.getElementsByName("con2");
		txtCon[0].checked=true;
		// saber de igualdad izq = der entonces con
		txtDerecha=document.getElementsByName("der2");
		txtIzquierda=document.getElementsByName("izq2");
		var encontreI=0	
		var limite=txtIzquierda.length;
		for (k=0;k<limite;k++)
		{
		   if(txtIzquierda[k].checked===true)
		   {
			encontreI=k		
		   }
		}
		var encontreD=0	
		var limite=txtDerecha.length;
		for (k=0;k<limite;k++)
		{
		   if(txtDerecha[k].checked===true)
		   {
			encontreD=k		
		   }
		}
		if( encontreD == encontreI )
		{
			txtCon[encontreD].checked=true;
			txtIzquierda[encontreD].checked = false;			
			txtDerecha[encontreD].checked = false;			

			txtIzquierda[0].checked = true;			
			txtDerecha[0].checked = true;			

			validarcon(form,valor,e);
			
		} else {
			// lo normal ke habia
			form.especial2.value="";
			form.especial2.value=form.tmp_tamano2.value+form.nropizza.value+valor.value;
			seleccionarInsumos(form,valor.value,2,2);
		}
	}
	
}

function validarizq(form,valor,e)
{
    var txtCon;
	if (e==1)
	{
		txtCon=document.getElementsByName("con");
		txtCon[0].checked=true;
		// saber de igualdad izq = der entonces con
		txtDerecha=document.getElementsByName("der");
		txtIzquierda=document.getElementsByName("izq");
		var encontreI=0	
		var limite=txtIzquierda.length;
		for (k=0;k<limite;k++)
		{
		   if(txtIzquierda[k].checked===true)
		   {
			encontreI=k		
		   }
		}
		var encontreD=0	
		var limite=txtDerecha.length;
		for (k=0;k<limite;k++)
		{
		   if(txtDerecha[k].checked===true)
		   {
			encontreD=k		
		   }
		}
		if( encontreD == encontreI )
		{
			txtCon[encontreD].checked=true;
			txtIzquierda[encontreD].checked = false;			
			txtDerecha[encontreD].checked = false;			

			txtIzquierda[0].checked = true;			
			txtDerecha[0].checked = true;			

			validarcon(form,valor,e);
			
		} else {
			// lo normal ke habia
			form.especial12.value="";
			form.especial12.value=form.tmp_tamano1.value+form.nropizza.value+valor.value;
			seleccionarInsumos(form,valor.value,1,3);
		}
    }
	if (e==2)
	{
		txtCon=document.getElementsByName("con2");
		txtCon[0].checked=true;
		// saber de igualdad izq = der entonces con
		txtDerecha=document.getElementsByName("der2");
		txtIzquierda=document.getElementsByName("izq2");
		var encontreI=0	
		var limite=txtIzquierda.length;
		for (k=0;k<limite;k++)
		{
		   if(txtIzquierda[k].checked===true)
		   {
			encontreI=k		
		   }
		}
		var encontreD=0	
		var limite=txtDerecha.length;
		for (k=0;k<limite;k++)
		{
		   if(txtDerecha[k].checked===true)
		   {
			encontreD=k		
		   }
		}
		if( encontreD == encontreI )
		{
			txtCon[encontreD].checked=true;
			txtIzquierda[encontreD].checked = false;			
			txtDerecha[encontreD].checked = false;			

			txtIzquierda[0].checked = true;			
			txtDerecha[0].checked = true;			

			validarcon(form,valor,e);
			
		} else {
			// lo normal ke habia
			form.especial22.value="";
			form.especial22.value=form.tmp_tamano2.value+form.nropizza.value+valor.value;
			seleccionarInsumos(form,valor.value,2,3);
		}
	}
}



function chequear(op,tmp_lado)
{
	var tmp_chequeo=document.getElementsByName(op);
	switch (tmp_lado)
	{
	  case 1: tmp_chequeo[0].checked=true;
	  		  break;
	  
	  case 2: if(tmp_chequeo[2].checked===true || tmp_chequeo[0].checked===true) 
	             {tmp_chequeo[0].checked=true;  }
			  else  
			     {tmp_chequeo[1].checked=true; }

	  		  break;
	  
	  case 3: if(tmp_chequeo[1].checked===true || tmp_chequeo[0].checked===true) 
	  			  {tmp_chequeo[0].checked=true;} 
			  else 
	  		      {tmp_chequeo[2].checked=true;}
	  		  break;
	}
}

function limpiar(limpiar_lado,pi)
{
    var y,inicio,tfinal;

	if (pi==1)
	     {inicio=1; tfinal=31;}
	if (pi==2)
         {inicio=101; tfinal=131;}

	for(y=inicio;y<=tfinal;y++)
	{
	var tmp_cheque=document.getElementsByName(y);
	switch (limpiar_lado)
	{
	  case 1: tmp_cheque[0].checked=false;
	          tmp_cheque[1].checked=false;
	  		  tmp_cheque[2].checked=false; 	
	  		  tmp_cheque[3].checked=false; 	
			  tmp_cheque[4].checked=false; 	
			  break;
	  case 2: tmp_cheque[0].checked=false;
	          tmp_cheque[1].checked=false;
	  		  tmp_cheque[3].checked=false; 	
			  tmp_cheque[4].checked=false;
	  		  break;
	  case 3: tmp_cheque[0].checked=false;
              tmp_cheque[2].checked=false;
			  tmp_cheque[3].checked=false; 	
			  tmp_cheque[4].checked=false;
	  		  break;
				
	 }
	}
}


function limpiarImagenes(limpiar_lado,pi)
{
	if (pi==1)
	{
	// queso queso extra
	// una pizza sin queso????????
	
	// salsa napolitano  2x
	// salsa pina        2x
	// salsa bbq         2x
	// salsa buffalo     2x
	// sin salsa         2x
	
	
		//Jamon
		document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Salami
		document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageSalami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pepperoni
		document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloDesmechado
		document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloBBQ
		document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloBuffalo
		document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Tocineta
		document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Cabano
		document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Anchoas
		document.getElementById("imageAnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imageAnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageAnchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pina
		document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Champinon
		document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Maicitos
		document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageMaicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//TomatePicado
		document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//TomateNapolitano
		document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pimenton
		document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Cebolla
		document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Albahaca
		document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageAlbahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
	}
	if (pi==2)
    {
		//Jamon
		document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Salami
		document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Salami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pepperoni
		document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloDesmechado
		document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloBBQ
		document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloBuffalo
		document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Tocineta
		document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Tocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Cabano
		document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Anchoas
		document.getElementById("image2AnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2AnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Anchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pina
		document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Champinon
		document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Maicitos
		document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Maicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//TomatePicado
		document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//TomateNapolitano
		document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2TomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pimenton
		document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Cebolla
		document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Albahaca
		document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		document.getElementById("image2Albahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
	
	}
}


function limpiarIzq(limpiar_lado,pi)
{
	if (pi==1)
	{
	// queso queso extra
	// una pizza sin queso????????
	
	// salsa napolitano  2x
	// salsa pina        2x
	// salsa bbq         2x
	// salsa buffalo     2x
	// sin salsa         2x
	
	
		//Jamon
		document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Salami
		document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pepperoni
		document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloDesmechado
		document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloBBQ
		document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloBuffalo
		document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Tocineta
		document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Cabano
		document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Anchoas
		document.getElementById("imageAnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pina
		document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Champinon
		document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Maicitos
		document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//TomatePicado
		document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//TomateNapolitano
		document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pimenton
		document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Cebolla
		document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Albahaca
		document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
	}
	if (pi==2)
    {
		//Jamon
		document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Salami
		document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pepperoni
		document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloDesmechado
		document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloBBQ
		document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//PolloBuffalo
		document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Tocineta
		document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Cabano
		document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Anchoas
		document.getElementById("image2AnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pina
		document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Champinon
		document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Maicitos
		document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//TomatePicado
		document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//TomateNapolitano
		document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Pimenton
		document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Cebolla
		document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		//Albahaca
		document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
	
	}
}


function limpiarDer(limpiar_lado,pi)
{
	if (pi==1)
	{
	// queso queso extra
	// una pizza sin queso????????
	
	// salsa napolitano  2x
	// salsa pina        2x
	// salsa bbq         2x
	// salsa buffalo     2x
	// sin salsa         2x
	
	
		//Jamon
		document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Salami
		document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Pepperoni
		document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//PolloDesmechado
		document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//PolloBBQ
		document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//PolloBuffalo
		document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Tocineta
		document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Cabano
		document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Anchoas
		document.getElementById("imageAnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Pina
		document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Champinon
		document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Maicitos
		document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//TomatePicado
		document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//TomateNapolitano
		document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Pimenton
		document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Cebolla
		document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Albahaca
		document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
	}
	if (pi==2)
    {
		//Jamon
		document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Salami
		document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Pepperoni
		document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//PolloDesmechado
		document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//PolloBBQ
		document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//PolloBuffalo
		document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Tocineta
		document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Cabano
		document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Anchoas
		document.getElementById("image2AnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Pina
		document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Champinon
		document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Maicitos
		document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//TomatePicado
		document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//TomateNapolitano
		document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Pimenton
		document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Cebolla
		document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
		//Albahaca
		document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';

	}
}


function seleccionarInsumos(form,valor,pi,lado)
{
   if(pi==1)
    { 
	  a=1; b=2; c=3; d=4; e=5; f=6; g=7; h=8; i=9; j=10; k=11; l=12; m=13; n=14; o=15;
	  p=16; q=17;r=18;s=19;t=20;u=21;v=22;w=23;x=24;y=25;z=26; aa=27;ab=28;ac=29;ad=30;ae=31;
	}
   if(pi==2)
    { 
	  a=101; b=102; c=103; d=104; e=105; f=106; g=107; h=108; i=109; j=110; k=111; l=112; m=113; n=114; o=115;
	  p=116; q=117;r=118;s=119;t=120;u=121;v=122;w=123;x=124;y=125;z=126; aa=127;ab=128;ac=129;ad=130;ae=131;
	}

  var La=lado;

  limpiar(La,pi);

  
  
  // BORRAO DE LAS TODOS LOS INSUMOS ANTERIORE???????????????
  //limpiarImagenes(La,pi);

  // borrar por lados pero dejar el contrario
	switch (lado)
	{
		case 1:	
		// Completa
			limpiarImagenes(La,pi);		
		   break;	   
		case 3:	
		// mitad izq
			limpiarIzq(La,pi);		
		   break;	   
		case 2:	
		// mitad derecha
			limpiarDer(La,pi);				   
		   break;	   
	}
  
   
  var especial= valor.substr(0,2);

//alert("hola wilson");
  switch (especial) 
  {
  case "60":
// NO SIN ESPECIALIDAD
	// este es limPiar todo los insumos  Y YA SE HACE ARRIBA
       chequear(a,La);chequear(b,La);





       break;
  case "61":
  // HAWIANA
		chequear(a,La);chequear(c,La);chequear(f,La);chequear(q,La);
		//  ini new aqui arriba se adiciono imagen

		// UNION DE VARIOS INSUMOS
        if(pi==1)
		{ 
			switch (lado)
			{
				case 1:	
				// Completa
					// JAMON
					document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/PinaIzq.png\') no-repeat left top';
					document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/PinaDer.png\') no-repeat right top';
					document.getElementById("imagePina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PINA
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					
					
				   break;	   
				case 3:	
				// mitad izq
					// JAMON
					document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/PinaIzq.png\') no-repeat left top';
					document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PINA
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';


					break;	   
				case 2:	
				// mitad derecha
					// JAMON
					document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/PinaDer.png\') no-repeat right top';
					document.getElementById("imagePina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PINA
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// JAMON
					document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PINA
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// JAMON
					document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePina2X").style.background='url(\'pizza-dobble-pizza-files/images/Pina2X.png\') no-repeat left top';
					//PINA
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Jamon2X.png\') no-repeat left top';
				   break;	   
			}
			break;
		}
        if(pi==2)
		{ 
			switch (lado)
			{
				case 1:	
				// Completa
					// JAMON
					document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/PinaIzq.png\') no-repeat left top';
					document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/PinaDer.png\') no-repeat right top';
					document.getElementById("image2Pina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PINA
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					
					
				   break;	   
				case 3:	
				// mitad izq
					// JAMON
					document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/PinaIzq.png\') no-repeat left top';
					document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PINA
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';


					break;	   
				case 2:	
				// mitad derecha
					// JAMON
					document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/PinaDer.png\') no-repeat right top';
					document.getElementById("image2Pina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PINA
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// JAMON
					document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PINA
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// JAMON
					document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pina2X").style.background='url(\'pizza-dobble-pizza-files/images/Pina2X.png\') no-repeat left top';
					//PINA
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Jamon2X.png\') no-repeat left top';
				   break;	   
			}
			break;
		}

//  fin aqui arriba se adiciono imagen
       break;	   
  case "62":
		//62 MX MIXTA
       chequear(a,La);chequear(l,La);chequear(f,La);chequear(r,La);
	   chequear(x,La);chequear(u,La);chequear(b,La);chequear(w,La);
		//  ini new aqui se arma la especialidad
		// UNION DE VARIOS INSUMOS
		if (pi==1)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					//Cebolla
					document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
					document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
					document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
					document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
					document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
					document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
					document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Cebolla
					document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
					document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
					document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
					document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Cebolla
					document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
					document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
					document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
					document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Cebolla
					document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente..png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Cebolla
					document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente..png\') no-repeat right top';
					document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Cebolla2X.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
					//Pimenton
					document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Pimenton2X.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicado2X.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Cabano2X.png\') no-repeat left top';
					//Jamon
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Jamon2X.png\') no-repeat left top';
				   break;	   
			}
		}
		if (pi==2)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					//Cebolla
					document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
					document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
					document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
					document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
					document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
					document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
					document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Cebolla
					document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
					document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
					document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
					document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Cebolla
					document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
					document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
					document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
					document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Cebolla
					document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente..png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Cebolla
					document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente..png\') no-repeat right top';
					document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Cebolla2X.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
					//Pimenton
					document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Pimenton2X.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicado2X.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Cabano2X.png\') no-repeat left top';
					//Jamon
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Jamon2X.png\') no-repeat left top';
				   break;	   
			}
		}

		// fin de armado de imagenes	
       break;	   
  
  case "63":
  //63 MZ MAZZETA
       chequear(a,La);chequear(k,La);chequear(l,La);chequear(s,La);chequear(b,La);
		//  ini new aqui se arma la especialidad
		// UNION DE VARIOS INSUMOS
		if (pi==1)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// Tocineta
					document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaIzq.png\') no-repeat left top';
					document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaDer.png\') no-repeat right top';
					document.getElementById("imageTocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Maicitos
					document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosIzq.png\') no-repeat left top';
					document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosDer.png\') no-repeat right top';
					document.getElementById("imageMaicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Tocineta
					document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaIzq.png\') no-repeat left top';
					document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Maicitos
					document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosIzq.png\') no-repeat left top';
					document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageMaicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Tocineta
					document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaDer.png\') no-repeat right top';
					document.getElementById("imageTocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Maicitos
					document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosDer.png\') no-repeat right top';
					document.getElementById("imageMaicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Tocineta
					document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Maicitos
					document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageMaicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Tocineta
					document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Tocineta2X.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Cabano2X.png\') no-repeat left top';
					//Maicitos
					document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageMaicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Maicitos2X.png\') no-repeat left top';
				   break;	   
			}
		}
		if (pi==2)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// Tocineta
					document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaIzq.png\') no-repeat left top';
					document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaDer.png\') no-repeat right top';
					document.getElementById("image2Tocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Maicitos
					document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosIzq.png\') no-repeat left top';
					document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosDer.png\') no-repeat right top';
					document.getElementById("image2Maicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Tocineta
					document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaIzq.png\') no-repeat left top';
					document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Tocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Maicitos
					document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosIzq.png\') no-repeat left top';
					document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Maicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Tocineta
					document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaDer.png\') no-repeat right top';
					document.getElementById("image2Tocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Maicitos
					document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosDer.png\') no-repeat right top';
					document.getElementById("image2Maicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Tocineta
					document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Tocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Maicitos
					document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Maicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Tocineta
					document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Tocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Tocineta2X.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Cabano2X.png\') no-repeat left top';
					//Maicitos
					document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Maicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Maicitos2X.png\') no-repeat left top';
				   break;	   
			}
		}
		// fin de armado de imagenes	
       
	   break;	   
  case "64":
  //64 BQ POLLO BBQ
       chequear(a,La);chequear(j,La);chequear(d,La);
		//  ini new aqui se arma la especialidad
		// UNION DE VARIOS INSUMOS
		if (pi==1)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBBQ
					document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQIzq.png\') no-repeat left top';
					document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQDer.png\') no-repeat right top';
					document.getElementById("imagePolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBBQ
					document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQIzq.png\') no-repeat left top';
					document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBBQ
					document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQDer.png\') no-repeat right top';
					document.getElementById("imagePolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBBQ
					document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
					//PolloBBQ
					document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQ2X.png\') no-repeat left top';
				   break;	   
			}
		}
		if (pi==2)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBBQ
					document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQIzq.png\') no-repeat left top';
					document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQDer.png\') no-repeat right top';
					document.getElementById("image2PolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBBQ
					document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQIzq.png\') no-repeat left top';
					document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2PolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBBQ
					document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQDer.png\') no-repeat right top';
					document.getElementById("image2PolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBBQ
					document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2PolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
					//PolloBBQ
					document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2PolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQ2X.png\') no-repeat left top';
				   break;	   
			}
		}
		// fin de armado de imagenes	

       break;	   
  case "66":
  //66 DM POLLO CHAMP
       chequear(a,La);chequear(i,La);chequear(r,La);chequear(b,La);
		//  ini new aqui se arma la especialidad
		// UNION DE VARIOS INSUMOS
		if (pi==1)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloDesmechado
					document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoIzq.png\') no-repeat left top';
					document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoDer.png\') no-repeat right top';
					document.getElementById("imagePolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloDesmechado
					document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoIzq.png\') no-repeat left top';
					document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloDesmechado
					document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoDer.png\') no-repeat right top';
					document.getElementById("imagePolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloDesmechado
					document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
					//PolloDesmechado
					document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechado2X.png\') no-repeat left top';
				   break;	   
			}
		}
		if (pi==2)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloDesmechado
					document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoIzq.png\') no-repeat left top';
					document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoDer.png\') no-repeat right top';
					document.getElementById("image2PolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloDesmechado
					document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoIzq.png\') no-repeat left top';
					document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2PolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloDesmechado
					document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoDer.png\') no-repeat right top';
					document.getElementById("image2PolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloDesmechado
					document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2PolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
					//PolloDesmechado
					document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2PolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechado2X.png\') no-repeat left top';
				   break;	   
			}
		}
		// fin de armado de imagenes	
	   
       break;	
  
  case "68":
  //case "72":
  //kkkkkkk
   //64 BQ POLLO BBQ
//       chequear(a,La);chequear(j,La);chequear(d,La);
	   
       chequear(a,La);chequear(b,La);chequear(r,La);chequear(n,La);	
	   

	   
	   //chequear(i,La);chequear(r,La);
	   
	   
// asi sera pollo bufalo

		//  ini new aqui se arma la especialidad
		// UNION DE VARIOS INSUMOS
		if (pi==1)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBuffalo
					document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloIzq.png\') no-repeat left top';
					document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloDer.png\') no-repeat right top';
					document.getElementById("imagePolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBuffalo
					document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloIzq.png\') no-repeat left top';
					document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 4:	
				// mitad derecha
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBuffalo
					document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloDer.png\') no-repeat right top';
					document.getElementById("imagePolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBuffalo
					document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
					//PolloBuffalo
					document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffalo2X.png\') no-repeat left top';
				   break;	   
			}
		}
		if (pi==2)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBuffalo
					document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloIzq.png\') no-repeat left top';
					document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloDer.png\') no-repeat right top';
					document.getElementById("image2PolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBuffalo
					document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloIzq.png\') no-repeat left top';
					document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2PolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 4:	
				// mitad derecha
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBuffalo
					document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloDer.png\') no-repeat right top';
					document.getElementById("image2PolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//PolloBuffalo
					document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2PolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
					//PolloBuffalo
					document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2PolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffalo2X.png\') no-repeat left top';
				   break;	   
			}
		}
		// fin de armado de imagenes	
       break;	 

   case "65":
  //65 JM JAMCHAMP
       chequear(a,La);chequear(f,La);chequear(r,La);chequear(b,La);
		//  ini new aqui se arma la especialidad
		// UNION DE VARIOS INSUMOS
		if (pi==1)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// JAMON
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// JAMON
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// JAMON
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// JAMON
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// JAMON
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Jamon2X.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
				   break;	   
			}
		}	
		if (pi==2)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// JAMON
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// JAMON
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// JAMON
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// JAMON
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// JAMON
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Jamon2X.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
				   break;	   
			}
		}	
		// fin de armado de imagenes	
       break;	   
  case "67":
  //67 XC CARNNES
       chequear(a,La);chequear(f,La);chequear(l,La);chequear(g,La);
	   chequear(h,La);chequear(b,La);
		//  ini new aqui se arma la especialidad
		// UNION DE VARIOS INSUMOS
		if (pi==1)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					//Pepperoni
					document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniIzq.png\') no-repeat left top';
					document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniDer.png\') no-repeat right top';
					document.getElementById("imagePepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Salami
					document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/SalamiIzq.png\') no-repeat left top';
					document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/SalamiDer.png\') no-repeat right top';
					document.getElementById("imageSalami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Pepperoni
					document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniIzq.png\') no-repeat left top';
					document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Salami
					document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/SalamiIzq.png\') no-repeat left top';
					document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageSalami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Pepperoni
					document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniDer.png\') no-repeat right top';
					document.getElementById("imagePepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Salami
					document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/SalamiDer.png\') no-repeat right top';
					document.getElementById("imageSalami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Pepperoni
					document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Salami
					document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageSalami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Pepperoni
					document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Pepperoni2X.png\') no-repeat left top';
					//Cabano
					document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Cabano2X.png\') no-repeat left top';
					//Jamon
					document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Jamon2X.png\') no-repeat left top';
					//Salami
					document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageSalami2X").style.background='url(\'pizza-dobble-pizza-files/images/Salami2X.png\') no-repeat left top';
				   break;	   
			}
		}
		if (pi==2)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					//Pepperoni
					document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniIzq.png\') no-repeat left top';
					document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniDer.png\') no-repeat right top';
					document.getElementById("image2Pepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Salami
					document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/SalamiIzq.png\') no-repeat left top';
					document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/SalamiDer.png\') no-repeat right top';
					document.getElementById("image2Salami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Pepperoni
					document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniIzq.png\') no-repeat left top';
					document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Salami
					document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/SalamiIzq.png\') no-repeat left top';
					document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Salami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Pepperoni
					document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniDer.png\') no-repeat right top';
					document.getElementById("image2Pepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Salami
					document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/SalamiDer.png\') no-repeat right top';
					document.getElementById("image2Salami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Pepperoni
					document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Jamon
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Salami
					document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Salami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Pepperoni
					document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Pepperoni2X.png\') no-repeat left top';
					//Cabano
					document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Cabano2X.png\') no-repeat left top';
					//Jamon
					document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Jamon2X.png\') no-repeat left top';
					//Salami
					document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Salami2X").style.background='url(\'pizza-dobble-pizza-files/images/Salami2X.png\') no-repeat left top';
				   break;	   
			}
		}

		// fin de armado de imagenes	
       break;	 
 // case "68":
  //68 MEXICANA  ya no existe
     //  chequear(a,La);chequear(u,La);chequear(e,La);chequear(ad,La);
	   //chequear(m,La);chequear(ab,La);
   //    break;	
  case "69":
  //69 VG VEGETARIANA
       chequear(a,La);chequear(r,La);chequear(u,La);chequear(x,La);
	   chequear(w,La);chequear(b,La);
  		//  ini new aqui se arma la especialidad
		// UNION DE VARIOS INSUMOS
		if (pi==1)
		{
		switch (lado)
			{

				case 1:	
				// Completa
					//Cebolla
					document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
					document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
					document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
					document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
					document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
					document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
					document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Cebolla
					document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
					document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
					document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
					document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Cebolla
					document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
					document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
					document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
					document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Cebolla
					document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente..png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Cebolla
					document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente..png\') no-repeat right top';
					document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Cebolla2X.png\') no-repeat left top';
					//Champinon
					document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
					//Pimenton
					document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Pimenton2X.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicado2X.png\') no-repeat left top';
				   break;	   
			}
		}
		if (pi==2)
		{
		switch (lado)
			{
				case 1:	
				// Completa
					//Cebolla
					document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
					document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
					document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
					document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
					document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
					document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
					document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// Cebolla
					document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
					document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
					document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
					document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// Cebolla
					document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
					document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
					document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
					document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// Cebolla
					document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente..png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Pimenton
					document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// Cebolla
					document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente..png\') no-repeat right top';
					document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Cebolla2X.png\') no-repeat left top';
					//Champinon
					document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
					//Pimenton
					document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Pimenton2X.png\') no-repeat left top';
					//TomatePicado
					document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicado2X.png\') no-repeat left top';
				   break;	   
			}
		}
		// fin de armado de imagenes	
     break;
  case "70":
  //70 XY NAPOLITANA
       chequear(a,La);chequear(v,La);chequear(ae,La);chequear(b,La);
		//  ini new aqui se arma la especialidad
		// UNION DE VARIOS INSUMOS
		if (pi==1)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// TomateNapolitano
					document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoIzq.png\') no-repeat left top';
					document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoDer.png\') no-repeat right top';
					document.getElementById("imageTomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Albahaca
					document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaIzq.png\') no-repeat left top';
					document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaDer.png\') no-repeat right top';
					document.getElementById("imageAlbahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// TomateNapolitano
					document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoIzq.png\') no-repeat left top';
					document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Albahaca
					document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaIzq.png\') no-repeat left top';
					document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageAlbahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// TomateNapolitano
					document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoDer.png\') no-repeat right top';
					document.getElementById("imageTomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Albahaca
					document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaDer.png\') no-repeat right top';
					document.getElementById("imageAlbahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// TomateNapolitano
					document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Albahaca
					document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageAlbahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// TomateNapolitano
					document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageTomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitano2X.png\') no-repeat left top';
					//Albahaca
					document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("imageAlbahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Albahaca2X.png\') no-repeat left top';
				   break;	   
			}
		}
		if (pi==2)
		{
			switch (lado)
			{
				case 1:	
				// Completa
					// TomateNapolitano
					document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoIzq.png\') no-repeat left top';
					document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoDer.png\') no-repeat right top';
					document.getElementById("image2TomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Albahaca
					document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaIzq.png\') no-repeat left top';
					document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaDer.png\') no-repeat right top';
					document.getElementById("image2Albahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 3:	
				// mitad izq
					// TomateNapolitano
					document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoIzq.png\') no-repeat left top';
					document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2TomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Albahaca
					document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaIzq.png\') no-repeat left top';
					document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Albahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					break;	   
				case 2:	
				// mitad derecha
					// TomateNapolitano
					document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoDer.png\') no-repeat right top';
					document.getElementById("image2TomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Albahaca
					document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaDer.png\') no-repeat right top';
					document.getElementById("image2Albahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 4:	
				// completa SIN
					// TomateNapolitano
					document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2TomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					//Albahaca
					document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Albahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				   break;	   
				case 5:	
				// DOBBLE insumo
					// TomateNapolitano
					document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2TomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitano2X.png\') no-repeat left top';
					//Albahaca
					document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
					document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
					document.getElementById("image2Albahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Albahaca2X.png\') no-repeat left top';
				   break;	   
			}
		}
		// fin de armado de imagenes	
       break;	   
  case "71":
  //71 ANTIOQUENA ya no existe 
       chequear(a,La);chequear(m,La);chequear(t,La);chequear(n,La);
	   chequear(s,La);chequear(ac,La);chequear(b,La);
       break;	   
//  ini aqui arriba se adiciono imagen
  //case "101":
// QUESO
    //   break;	   
// nuevas especiliades que no existen
  //case "101":
// QUESO
  //    break;	   
//  case "":
// sin codigo aun 
    //  break;	   
  } 

document.getElementById('pizzaunoArriba').scrollIntoView(true);

}


function seleccionarImagen(form,valor,pi,lado)
{
  var La=lado;
//alert("hola lado"+lado);
    var Ingrediente= valor.value.substr(0,2);
//alert("Ingrediente elegido numero"+Ingrediente);


switch (Ingrediente)
 {
    case "10":
	// queso
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 2:	
			// mitad izq
		       break;	   
			case 3:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;

    case "15":
	// jamon
	if (pi==1)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
				document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
				document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
				document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
				document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imageJamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageJamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageJamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Jamon2X.png\') no-repeat left top';
		       break;	   
		}
		break;
    }
	if (pi==2)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
				document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
				document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/JamonIzq.png\') no-repeat left top';
				document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/JamonDer.png\') no-repeat right top';
				document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2JamonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2JamonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Jamon2X").style.background='url(\'pizza-dobble-pizza-files/images/Jamon2X.png\') no-repeat left top';
		       break;	   
		}
		break;
    }	
	break
    case "11":
	// Salsa Nap. 
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 4:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;




    case "12":
	// Salsa Pi&ntilde;a
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 2:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;



    case "13":
	//  Salsa BBQ
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 2:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;



    case "14":
	// Salsa Mex 
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 2:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;





    case "16":
	// Salami
	if (pi==1)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/SalamiIzq.png\') no-repeat left top';
				document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/SalamiDer.png\') no-repeat  right top';
				document.getElementById("imageSalami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/SalamiIzq.png\') no-repeat left top';
				document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageSalami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/SalamiDer.png\') no-repeat right top';
				document.getElementById("imageSalami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageSalami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imageSalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageSalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageSalami2X").style.background='url(\'pizza-dobble-pizza-files/images/Salami2X.png\') no-repeat left top';
		       break;	
		}		
	}
	if (pi==2)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/SalamiIzq.png\') no-repeat left top';
				document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/SalamiDer.png\') no-repeat  right top';
				document.getElementById("image2Salami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/SalamiIzq.png\') no-repeat left top';
				document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Salami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/SalamiDer.png\') no-repeat right top';
				document.getElementById("image2Salami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Salami2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2SalamiIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2SalamiDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Salami2X").style.background='url(\'pizza-dobble-pizza-files/images/Salami2X.png\') no-repeat left top';
		       break;	   
		}
	}	
		break;

	
	case "17":
		// Peperoni
	if (pi==1)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniIzq.png\') no-repeat left top';
				document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniDer.png\') no-repeat right top';
				document.getElementById("imagePepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniIzq.png\') no-repeat left top';
				document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniDer.png\') no-repeat right top';
				document.getElementById("imagePepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imagePepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Pepperoni2X.png\') no-repeat left top';
		       break;	   
		}
	}
	if (pi==2)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniIzq.png\') no-repeat left top';
				document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniDer.png\') no-repeat right top';
				document.getElementById("image2Pepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniIzq.png\') no-repeat left top';
				document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/PepperoniDer.png\') no-repeat right top';
				document.getElementById("image2Pepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2PepperoniIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PepperoniDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pepperoni2X").style.background='url(\'pizza-dobble-pizza-files/images/Pepperoni2X.png\') no-repeat left top';
		       break;	   
		}
	}
		break;


    case "18":
	// Pollo desm.
	if (pi==1)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoIzq.png\') no-repeat left top';
				document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoDer.png\') no-repeat right top';
				document.getElementById("imagePolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoIzq.png\') no-repeat left top';
				document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoDer.png\') no-repeat right top';
				document.getElementById("imagePolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imagePolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechado2X.png\') no-repeat left top';
		       break;	   
		}
		break;
	}
	if (pi==2)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoIzq.png\') no-repeat left top';
				document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoDer.png\') no-repeat right top';
				document.getElementById("image2PolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoIzq.png\') no-repeat left top';
				document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechadoDer.png\') no-repeat right top';
				document.getElementById("image2PolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2PolloDesmechadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PolloDesmechadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloDesmechado2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloDesmechado2X.png\') no-repeat left top';
		       break;	   
		}
	}
	break;


    case "19":
	// Pollo BBQ
	if (pi==1)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQIzq.png\') no-repeat left top';
				document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQDer.png\') no-repeat right top';
				document.getElementById("imagePolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQIzq.png\') no-repeat left top';
				document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQDer.png\') no-repeat right top';
				document.getElementById("imagePolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imagePolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQ2X.png\') no-repeat left top';
		       break;	   
		}
	}
	if (pi==2)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQIzq.png\') no-repeat left top';
				document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQDer.png\') no-repeat right top';
				document.getElementById("image2PolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQIzq.png\') no-repeat left top';
				document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQDer.png\') no-repeat right top';
				document.getElementById("image2PolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2PolloBBQIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PolloBBQDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloBBQ2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloBBQ2X.png\') no-repeat left top';
		       break;	   
		}
	}
		break;


    case "23":
	// Pollo antes chicarron a hoy es pollo buffalo ch
	if (pi==1)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloIzq.png\') no-repeat left top';
				document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloDer.png\') no-repeat right top';
				document.getElementById("imagePolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloIzq.png\') no-repeat left top';
				document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloDer.png\') no-repeat right top';
				document.getElementById("imagePolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imagePolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffalo2X.png\') no-repeat left top';
		       break;	   
		}
	}
	if (pi==2)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloIzq.png\') no-repeat left top';
				document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloDer.png\') no-repeat right top';
				document.getElementById("image2PolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloIzq.png\') no-repeat left top';
				document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffaloDer.png\') no-repeat right top';
				document.getElementById("image2PolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2PolloBuffaloIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PolloBuffaloDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2PolloBuffalo2X").style.background='url(\'pizza-dobble-pizza-files/images/PolloBuffalo2X.png\') no-repeat left top';
		       break;	   
		}
	}
		break;




    case "20":
	// Tocineta
	if (pi==1)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaIzq.png\') no-repeat left top';
				document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaDer.png\') no-repeat right top';
				document.getElementById("imageTocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaIzq.png\') no-repeat left top';
				document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaDer.png\') no-repeat right top';
				document.getElementById("imageTocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imageTocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageTocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Tocineta2X.png\') no-repeat left top';
		       break;	   
		}
		break;
	}
	if (pi==2)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaIzq.png\') no-repeat left top';
				document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaDer.png\') no-repeat right top';
				document.getElementById("image2Tocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaIzq.png\') no-repeat left top';
				document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Tocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/TocinetaDer.png\') no-repeat right top';
				document.getElementById("image2Tocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Tocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2TocinetaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2TocinetaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Tocineta2X").style.background='url(\'pizza-dobble-pizza-files/images/Tocineta2X.png\') no-repeat left top';
		       break;	   
		}
		break;
	}

    case "21":
	// C&aacute;bano
	if (pi==1)
	{	
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
				document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
				document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
				document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
				document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imageCabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageCabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageCabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Cabano2X.png\') no-repeat left top';
		       break;	   
		}
	}
	if (pi==2)
	{	
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
				document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
				document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/CabanoIzq.png\') no-repeat left top';
				document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/CabanoDer.png\') no-repeat right top';
				document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2CabanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2CabanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Cabano2X").style.background='url(\'pizza-dobble-pizza-files/images/Cabano2X.png\') no-repeat left top';
		       break;	   
		}
	}
		break;



    case "22":
	// Chorizo
	if (pi==1)
	{
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 2:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;
	}





    case "24":
	// Anchoas
	if (pi==1)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imageAnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/AnchoasIzq.png\') no-repeat left top';
				document.getElementById("imageAnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/AnchoasDer.png\') no-repeat right top';
				document.getElementById("imageAnchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imageAnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/AnchoasIzq.png\') no-repeat left top';
				document.getElementById("imageAnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageAnchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imageAnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageAnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/AnchoasDer.png\') no-repeat right top';
				document.getElementById("imageAnchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imageAnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageAnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageAnchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imageAnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageAnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageAnchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Anchoas2X.png\') no-repeat left top';
		       break;	   
		}
	}
	if (pi==2)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2AnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/AnchoasIzq.png\') no-repeat left top';
				document.getElementById("image2AnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/AnchoasDer.png\') no-repeat right top';
				document.getElementById("image2Anchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2AnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/AnchoasIzq.png\') no-repeat left top';
				document.getElementById("image2AnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Anchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2AnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2AnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/AnchoasDer.png\') no-repeat right top';
				document.getElementById("image2Anchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2AnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2AnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Anchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2AnchoasIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2AnchoasDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Anchoas2X").style.background='url(\'pizza-dobble-pizza-files/images/Anchoas2X.png\') no-repeat left top';
		       break;	   
		}
	}
		break;



    case "25":
	// Serrano
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 2:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;

    case "26":
	// piña
	if (pi==1)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/PinaIzq.png\') no-repeat left top';
				document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/PinaDer.png\') no-repeat right top';
				document.getElementById("imagePina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/PinaIzq.png\') no-repeat left top';
				document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/PinaDer.png\') no-repeat right top';
				document.getElementById("imagePina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imagePinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePina2X").style.background='url(\'pizza-dobble-pizza-files/images/Pina2X.png\') no-repeat left top';
		       break;	   
		}
		break;
	}
	if (pi==2)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/PinaIzq.png\') no-repeat left top';
				document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/PinaDer.png\') no-repeat right top';
				document.getElementById("image2Pina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/PinaIzq.png\') no-repeat left top';
				document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/PinaDer.png\') no-repeat right top';
				document.getElementById("image2Pina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pina2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2PinaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PinaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pina2X").style.background='url(\'pizza-dobble-pizza-files/images/Pina2X.png\') no-repeat left top';
		       break;	   
		}
	}
		break;

    case "27":
	// Champi&ntilde;&oacute;n
	if (pi==1)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
				document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
				document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
				document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
				document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imageChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageChampinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
		       break;	   
		}
	}
	if (pi==2)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
				document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
				document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonIzq.png\') no-repeat left top';
				document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/ChampinonDer.png\') no-repeat right top';
				document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2ChampinonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2ChampinonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Champinon2X").style.background='url(\'pizza-dobble-pizza-files/images/Champinon2X.png\') no-repeat left top';
		       break;	   
		}
	}

	break;



    case "28":
	// Maicitos
	if (pi==1)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosIzq.png\') no-repeat left top';
				document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosDer.png\') no-repeat right top';
				document.getElementById("imageMaicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosIzq.png\') no-repeat left top';
				document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageMaicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosDer.png\') no-repeat right top';
				document.getElementById("imageMaicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageMaicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imageMaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageMaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageMaicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Maicitos2X.png\') no-repeat left top';
		       break;	   
		}
	}	
	if (pi==2)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosIzq.png\') no-repeat left top';
				document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosDer.png\') no-repeat right top';
				document.getElementById("image2Maicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosIzq.png\') no-repeat left top';
				document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Maicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/MaicitosDer.png\') no-repeat right top';
				document.getElementById("image2Maicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Maicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2MaicitosIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2MaicitosDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Maicitos2X").style.background='url(\'pizza-dobble-pizza-files/images/Maicitos2X.png\') no-repeat left top';
		       break;	   
		}
	}	
		
		break;



    case "29":
	// Maduritos
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 2:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;



    case "30":
	// Tom.picado
	if (pi==1)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
				document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
				document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
				document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
				document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imageTomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageTomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicado2X.png\') no-repeat left top';
		       break;	   
		}
	}
	if (pi==2)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
				document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
				document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoIzq.png\') no-repeat left top';
				document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicadoDer.png\') no-repeat right top';
				document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2TomatePicadoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2TomatePicadoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2TomatePicado2X").style.background='url(\'pizza-dobble-pizza-files/images/TomatePicado2X.png\') no-repeat left top';
		       break;	   
		}
	}
	break;



    case "31":
	// Tom.napolit
	if (pi==1)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoIzq.png\') no-repeat left top';
				document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoDer.png\') no-repeat right top';
				document.getElementById("imageTomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoIzq.png\') no-repeat left top';
				document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoDer.png\') no-repeat right top';
				document.getElementById("imageTomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imageTomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageTomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageTomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitano2X.png\') no-repeat left top';
		       break;	   
		}
	}
	if (pi==2)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoIzq.png\') no-repeat left top';
				document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoDer.png\') no-repeat right top';
				document.getElementById("image2TomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoIzq.png\') no-repeat left top';
				document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2TomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitanoDer.png\') no-repeat right top';
				document.getElementById("image2TomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2TomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2TomateNapolitanoIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2TomateNapolitanoDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2TomateNapolitano2X").style.background='url(\'pizza-dobble-pizza-files/images/TomateNapolitano2X.png\') no-repeat left top';
		       break;	   
		}
	}
		break;



    case "32":
	// Piment&oacute;n
	if (pi==1)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
				document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
				document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
				document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
				document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imagePimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imagePimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imagePimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Pimenton2X.png\') no-repeat left top';
		       break;	   
		}
	}
	if (pi==2)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
				document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
				document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/PimentonIzq.png\') no-repeat left top';
				document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/PimentonDer.png\') no-repeat right top';
				document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2PimentonIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2PimentonDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Pimenton2X").style.background='url(\'pizza-dobble-pizza-files/images/Pimenton2X.png\') no-repeat left top';
		       break;	   
		}
	}
		break;



    case "33":
	// Cebolla
	if (pi==1)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
				document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
				document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
				document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
				document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imageCebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageCebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageCebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Cebolla2X.png\') no-repeat left top';
		       break;	   
		}
	}	
	if (pi==2)
	{
		switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
				document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
				document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/CebollaIzq.png\') no-repeat left top';
				document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/CebollaDer.png\') no-repeat right top';
				document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2CebollaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2CebollaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Cebolla2X").style.background='url(\'pizza-dobble-pizza-files/images/Cebolla2X.png\') no-repeat left top';
		       break;	   
		}
	}	
	break;



    case "34":
	// Jalape&ntilde;os
		break;




    case "35":
	// Aceitunas
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 2:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;



    case "36":
	// Frijo Ant.
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 2:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;



    case "37":
	// Frijol Refr.
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 2:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;



    case "38":
	// Aguacate
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 2:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;



    case "39":
	// Guacamole
		switch (lado)
		{
			case 1:	
			// Completa
		       break;	   
			case 3:	
			// mitad izq
		       break;	   
			case 2:	
			// mitad derecha
		       break;	   
			case 4:	
			// completa SIN
		       break;	   
			case "5":	
			// DOBBLE insumo
		       break;	   
		}
		break;



    case "40":
	// Albahaca
	if (pi==1)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaIzq.png\') no-repeat left top';
				document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaDer.png\') no-repeat right top';
				document.getElementById("imageAlbahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaIzq.png\') no-repeat left top';
				document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageAlbahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaDer.png\') no-repeat right top';
				document.getElementById("imageAlbahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageAlbahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("imageAlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("imageAlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("imageAlbahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Albahaca2X.png\') no-repeat left top';
		       break;	   
		}
	}	
	if (pi==2)
	{
	switch (lado)
		{
			case 1:	
			// Completa
				document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaIzq.png\') no-repeat left top';
				document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaDer.png\') no-repeat right top';
				document.getElementById("image2Albahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 3:	
			// mitad izq
				document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaIzq.png\') no-repeat left top';
				document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Albahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				break;	   
			case 2:	
			// mitad derecha
				document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/AlbahacaDer.png\') no-repeat right top';
				document.getElementById("image2Albahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 4:	
			// completa SIN
				document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Albahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
		       break;	   
			case 5:	
			// DOBBLE insumo
				document.getElementById("image2AlbahacaIzq").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat left top';
				document.getElementById("image2AlbahacaDer").style.background='url(\'pizza-dobble-pizza-files/images/Transparente.png\') no-repeat right top';
				document.getElementById("image2Albahaca2X").style.background='url(\'pizza-dobble-pizza-files/images/Albahaca2X.png\') no-repeat left top';
		       break;	   
		}
	}	
		break;

} 

document.getElementById('pizzaunoArriba').scrollIntoView(true);
}








function validar(form)
{
  if  (vacio(form.nropizza.value)===false)
		{ alert("Favor seleccionar Arriba si desea Unica(1)/DOBBLES(2) pizzas."); form.nropizza.focus(); return; }

  if (vacio(form.tmp_tamano1.value)===false)
	  	 { alert("Favor seleccionar el tamaño de su 1ra pizza"); form.tmp_tamano1.focus(); return; }
	   
  if (vacio(form.tmp_masa1.value)===false)
	  	 { alert("Favor seleccionar tipo de masa de su 1ra pizza"); form.tmp_masa1.focus(); return; }

  if (vacio(form.especial1.value)===false)
	  	{  form.especial1.value=form.tmp_tamano1.value+form.nropizza.value+"601"; }

  if(form.especial1.value.length<=4)
        {  form.especial1.value=form.tmp_tamano1.value.concat(form.especial1.value); }
		
  if((form.especial12.value.length>=2) && (form.especial12.value.length<=4))
        {  form.especial12.value=form.tmp_tamano1.value.concat(form.especial12.value); }

  form.masa1.value=form.tmp_tamano1.value+form.nropizza.value+form.tmp_masa1.value;
  adiciones(form,1);

  if(form.nropizza.value==2)
  {
 	  if (vacio(form.tmp_masa2.value)===false)
			 { alert("Favor seleccionar tipo de masa de su 2da pizza"); form.tmp_masa2.focus(); return; }
	
	  if (vacio(form.especial2.value)===false)
			{  form.especial2.value=form.tmp_tamano1.value+form.nropizza.value+"601"; }

      if(form.especial2.value.length<=4)
	     {form.especial2.value=form.tmp_tamano1.value.concat(form.especial2.value);}
		 
  if((form.especial22.value.length>=2) && (form.especial22.value.length<=4))
        {  form.especial22.value=form.tmp_tamano1.value.concat(form.especial22.value); }		 

	form.masa2.value=form.tmp_tamano1.value+form.nropizza.value+form.tmp_masa2.value;
	adiciones(form,2);
  }

  form.txcontrol.value="si";
  form.submit();  
}  

<!-- FIN pizzaform2.php --!>

<!-- FUNCIONES pizzaform3.php--!>

function crear_items()
{
  for(i=0;i<=20;i++)
  {
     array_items[i]="AB"+i;
  }
}

function validarab(form)
{
    var txtaco=document.getElementsByName("txcantidad");
	var limite=txtaco.length;
	for (k=0;k<limite;k++)
	{
	   if(txtaco[k].value!="0")
	   {
         tmp=array_items[k];
         tmp=tmp.concat(",");
         tmp=tmp.concat(txtaco[k].value);
         tmp=tmp.concat("X");
	    form.txproducto.value=form.txproducto.value+tmp;
		}
		
	}
  form.txcontrol.value="si";
  form.submit();  
}

<!-- FIN pizzaform3.php --!>

<!-- FUNCIONES pizzaform4.php--!>

function mostrar_cupones()
{
	miPopup = window.open("aplicar_cupon.php","Cupones","width=600,height=400,scrollbars=yes");
}

function popupTerminosUso()
{
	miPopup = window.open("terminos.html","Terminos de Uso","width=600,height=400,scrollbars=yes");
}

function validarvamosxellas(form)
{
    var txtaco=document.getElementsByName("tmp_vamosxellas");
	var limite=txtaco.length;
	for (k=0;k<limite;k++)
	{
	   if(txtaco[k].value=="1")
	   {
			alert("lo logre");
		}
	}
}







function enviarorden(form)
{


// si es domicilio
	if(form.tmp_tipo_orden.value=="D")
	{
		//cuando se logeen no valida
		if (form.LogearseOK.value=="1")
		{
		}
		else
		// cuando no se logean debe entrar
		{
		
			if  (form.direccion_tipo.value=="0")
			{ alert("Favor ingresar el tipo de direccion. ej. Calle Carrera"); form.direccion_tipo.focus(); return; }
		 
			if  (vacio(form.direccion_numero.value)===false)
				{ alert("Favor ingresar el Numero"); form.direccion_numero.focus(); return; }
				
			if  (vacio(form.numero1.value)===false)
				{ alert("Favor ingresar el Primer Numero"); form.numero1.focus(); return; }
		
			if  (vacio(form.numero2.value)===false)
				{ alert("Favor ingresar el Segundo Numero"); form.numero2.focus(); return; }
	//alert("123b");	
			if  (form.txmunicipio.value=="0")
				{ alert("Favor seleccionar el Municipio"); form.txmunicipio.focus(); return; }		
				
			if  (vacio(form.txbarrio.value)===false)
				{ alert("Favor ingresar el Barrio"); form.txbarrio.focus(); return; }		
				
			if(form.chkdf.checked===true)
				{
				   form.txdatahora.value=form.txdatahora.value+"\nLlevar DATAFONO.";
				}
			if(form.chkdf.checked===false)
				{
				   form.txdatahora.value=form.txdatahora.value.replace("\nLlevar DATAFONO.","");
				}	
		
			concatener_dir(form);
			concatener_urb(form);	}
	}
	else
	{
//		if (form.txpv.value==="0") 
//		{
//		   alert("Favor ingresar el punto de venta"); form.txpv.focus(); return; 
//		}		
	}


//lert("1230bb");

	if  (vacio(form.txnombre.value)===false || form.txnombre.value.length<=2)
		{ alert("Favor ingresar el Nombre"); form.txnombre.focus(); return; }
	else
	    {form.txnombre.value=form.txnombre.value.toUpperCase();}
//alert("1230bbb");		
	if  (vacio(form.txapellido.value)===false || form.txapellido.value.length<=2)
		{ alert("Favor ingresar el Apellido"); form.txapellido.focus(); return; }
	else
	    {form.txapellido.value=form.txapellido.value.toUpperCase();}		
//alert("1230bbbxx");

//alert (document.getElementById("txphone").value);
//var txphone=""
//txphone=document.getElementById("txphone").value;
//alert (txphone);
if  (vacio(form.txphone.value)===false ||  isNaN(form.txphone.value))
		{ alert("Favor ingresar el telefono"); form.txphone.focus(); return; }	
//alert("1230bbbb09");
//alert (txphone);	
	if (vacio(form.txemail.value)===false)
 	{   
	     alert("Favor ingresar el E-mail"); form.txemail.focus(); return; 
    }	
	else
	{   

	var valor=trim(form.txemail.value);
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(valor)){} 
	else {alert("Email Incorrecto");form.txemail.focus(); return; }
			
	}
//alert("1230bbbbb1");
	if(form.tmp_tipo_orden.value=="R")
	{
		if ((form.txpv.value)==="0") 
		{
		   alert("Favor ingresar el punto de venta"); form.txpv.focus(); return; 
		}	
	}

    var txtaco=document.getElementsByName("tmp_vamosxellas");
	var limite=txtaco.length;
//alert("123a");
	for (k=0;k<limite;k++)
	{
	   if(txtaco[k].value=="1")
	   {
            
          form.vamosxellas.value="1";
		}
	}
	
//alert("123b");
	if(form.pedido.value=="0")
	{ 
	     alert("Ningun producto en su pedido, favor verificar"); return; 
	}	
	
    if(form.sub_total.value<10000)
    { 
	   alert("Lo sentimos pero su orden debe ser superior a $10.000"); return; 
	}

	if ((vacio(form.txvalorcupon.value)===true) && (vacio(form.txcodefacebook.value)===true))
	{ 
	     alert("No puede aplicar cupon y codigo Facebook al mismo tiempo"); 
		 form.txcodefacebook.value=""; form.txvalorcupon.value="";
		 return; 
	}
    
<!--	alert("Valor cupon "+form.txvalorcupon.value);
<!--  alert("Vamos x ellas "+form.vamosxellas.value); return;
//alert("1234");
    if(parseInt(form.txvalorcupon.value)==13412) 
	{
	    if(form.vamosxellas.value=="0")
		{
			alert("Lo sentimos pero su cupon no aplica a la orden"); form.txvalorcupon.value=""; return; 
		}	
		else
		{ 
			form.txdescuento.value=form.txvalorcupon.value;
		}
	}
    else	
	{
		if(parseInt(form.txvalorcupon.value) > parseInt(form.tmp_cupon.value))
		{ 
		   alert("Lo sentimos pero su cupon no aplica a la orden"); form.txvalorcupon.value=""; return; 
		}	
		else
		{ 
			form.txdescuento.value=form.txvalorcupon.value;
		}
	}
	
//alert("1235");
	if(vacio(form.txcodefacebook.value)===true)
	{ 
		if (form.txcodefacebook.value!="facebook2680808")
		{ 
		   alert("Lo sentimos pero su codigo es incorrecto"); form.txcodefacebook.value=" "; form.txvalidface.value="0"; return; 
		}
		else
		{ 
		    form.txvalidface.value="1";
		}		
    }



//alert("1236aa");
  if(vacio(form.txhora.value)===true)
  {
     form.txdatahora.value=form.txdatahora.value+"\nHora de entrega: "+form.txhora.value+" "+form.txampm.value;	  
  }
//alert("1236a");

	if(form.txcondimentos.value!="0")
  {
     form.txdatahora.value=form.txdatahora.value+"\nCondimento: "+form.txcondimentos.value;	  
  }
//  alert("1236b");
  if(form.txdevuelta.value!="0")
  {
     form.txdatahora.value=form.txdatahora.value+"\nDevuelta de: "+form.txdevuelta.value;	  
  } 
  
  form.txcontrol.value="si";
  form.submit();
}

function llevar_cupon(cupon)
{
	opener.document.forma4.tmp_des.value=cupon;
	opener.document.forma4.txvalorcupon.value=cupon;
	window.close();
}

function gotoaddrees()
{
    location.href="pizzaform0.php";	  
}

<!-- FIN pizzaform4.php --!>

<!-- FUNCIONES codigos_main.php--!>

function validar_codigo(form)
{
	   
	if  (vacio(form.txcode1.value)==false ||  isNaN(form.txcode1.value) || form.txcode1.value.length!=4)
		{ alert("Codigo 1 no puede estar en blanco"); form.txcode1.focus(); return; }
		
	if  (vacio(form.txcode2.value)==false ||  isNaN(form.txcode2.value) || form.txcode2.value.length!=4)
		{ alert("Codigo 2 no puede estar en blanco"); form.txcode2.focus(); return; }
		
	if  (vacio(form.txcode3.value)==false ||  isNaN(form.txcode3.value) || form.txcode3.value.length!=4)
		{ alert("Codigo 3 no puede estar en blanco"); form.txcode3.focus(); return; }	
		
	if  (vacio(form.txcode4.value)==false ||  isNaN(form.txcode4.value)|| form.txcode4.value.length!=4)
		{ alert("Codigo 4 no puede estar en blanco"); form.txcode4.focus(); return; }		
		
	
	form.codevalidator.value=form.txcode1.value+form.txcode2.value+form.txcode3.value+form.txcode4.value;
    form.txcontrol.value="si";
	form.submit();
}
<!-- FIN codigos_main.php --!>


<!-- FUNCIONES chekea1.php--!>

function Chekea_orden1(form)
{
	   
	if  (vacio(form.txcode1.value)==false ||  isNaN(form.txcode1.value) || form.txcode1.value.length!=7)
		{ alert("Telefono no puede estar en blanco o menor de 7 digitos"); form.txcode1.focus(); return; }
		
		
	form.TelefonoValidator.value=form.txcode1.value;
    form.txcontrol.value="si";
	form.submit();
	
}
<!-- FIN chekea1.php --!>





<!-- FUNCIONES Actualizar_datos.php--!>
function validarac(form)
{
	if  (vacio(form.txnombre.value)===false || form.txnombre.value.length<=2)
		{ alert("Favor ingresar el Nombre"); form.txnombre.focus(); return; }
	else
	    {form.txnombre.value=form.txnombre.value.toUpperCase();}
		
	if  (vacio(form.txapellido.value)===false || form.txapellido.value.length<=2)
		{ alert("Favor ingresar el Apellido"); form.txapellido.focus(); return; }
	else
	    {form.txapellido.value=form.txapellido.value.toUpperCase();}		

	if  (vacio(form.txtelefono.value)===false ||  isNaN(form.txtelefono.value))
		{ alert("Favor ingresar el telefono"); form.txtelefono.focus(); return; }	

	
	if (vacio(form.txemail.value)===false)
 	{   
	     alert("Favor ingresar el E-mail"); form.txemail.focus(); return; 
    }	
	else
	{   
	    if(form.tmp_mail.value!=form.txemail.value)
		{
			var valor=form.txemail.value;
			if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(valor)){} 
			else {alert("Email Incorrecto");form.txemail.focus(); return; }
			
//			if (form.txemail.value!=form.txconfirmar_email.value)
//			   { alert("Favor Confirmar Email"); form.txconfirmar_email.focus(); return; }
		}
	}

	if(vacio(form.txclave2.value)===true)
	{
		if(form.txclave2.value==form.txclave.value)
		{
			alert("La clave actual y la nueva son iguales"); form.txclave2.focus(); return; 
		}
		else
		{
			if (vacio(form.txclave.value)===false|| form.txclave.value.length<=5)
			{ 
			   alert("Favor ingresar su clave"); form.txclave.focus(); return; 
			}	
			else
			{
				if (form.txclave.value!=form.txconfirmar_clave.value)
				   { alert("Favor Confirmar Clave o clave incorrecta"); form.txconfirmar_clave.focus(); return; }
			}
		}
	}
    form.registrarse.value="1";
	form.submit();
}

<!-- FIN ACTUAILIZAR DATOS.php --!>



<!-- FUNCIONES Actualizar_datos.php--!>
function enviar_comentario(form)
{
	if  (form.txtipoopinion.value=="0")
		{ alert("Favor selecciones su tipo de opinion"); form.txtipoopinion.focus(); return; }		

	if  (vacio(form.txopinion.value)===false)
		{ alert("Favor ingresar su "+form.txtipoopinion.value); form.txopinion.focus(); return; }	

    form.txcontrol.value="si";
	form.submit();
}

// funcion confirmar salida de onbeforeunload
//function confirmarSalida(){
//        var msg = "Si realizo alguna seleccion debe ADICIONAR su pedido a la orden (Boton ABAJO)\n\n";
//        msg += "ya que al abandonar esta pagina, perdera los datos seleccionados.\n\n";
//		msg += "presione(OK)para abandomar sin salvar cambios,(CANCEL)para ir a guardar cambios ABAJO.";	
//        return msg;
//    }
	
function verTrack(valor,formulario)
{
	orden=valor.value;
	miPopup = window.open("track.php?codigo="+orden,"Cupones","width=520,height=520,scrollbars=no");
}

function cerrar_ventana()
{
	window.close();
}



// Removes leading whitespaces
function LTrim( value ) {
	
	var re = /\s*((\S+\s*)*)/;
	return value.replace(re, "$1");
	
}

// Removes ending whitespaces
function RTrim( value ) {
	
	var re = /((\s*\S+)*)\s*/;
	return value.replace(re, "$1");
	
}

// Removes leading and ending whitespaces
function trim( value ) {
	
	return LTrim(RTrim(value));
	
}



function Cargando_con_Espera2()

{
	document.getElementById("Cargando").style.display='none';
	document.getElementById("Dos_O_Una").style.display='block';
}

function Cargando_con_Espera4()

{
	document.getElementById("Cargando").style.display='none';
	document.getElementById("EscogerCanal_DR").style.display='block';
}

function Cargando_con_EsperaPromo1()

{
	document.getElementById("Cargando").style.display='none';
	document.getElementById("pizzaunoAbajo").style.display='block';
	document.getElementById("pizzadosAbajo").style.display='block';
}








function validaraSinLimites(form,valor)

{
	//mandar la pagina con el parametro tal
}



function validara2Ing(form,valor)

{
	//mandar la pagina con el parametro tal
}


function validarAlitas(form,valor)

{
	//mandar la pagina con el parametro tal
}



function validarSuperCombo(form,valor)

{
	//mandar la pagina con el parametro tal
}


//function (form,valor)

//{
	//mandar la pagina con el parametro tal
//}
