/* begin Page */

/* Generated with Artisteer version 2.3.0.25189, file checksum is AD3FBA36. */



/*			var imagen;
imagen = "img/Linea.JPG";*/

function ocultar_scroll()
{
 document.body.style.overflow = 'hidden';	
}



function ocultar(elemento)
{
elemento.style.visibility= 'hidden'; 
 document.body.style.overflowY= 'visible';
}

function mostrar()
{
document.getElementById("inferior").style.visibility= 'visible'; 
 document.body.style.overflow= 'hidden';
}

function mostrar_interior()
{
document.getElementById("inferior").style.visibility= 'visible'; 

}

function imagen(){
			loadImage = new Image(); 
loadImage.src = "img/loading.gif";

var imgs = document.getElementsByTagName('img');
for(i in imgs) {
	imgs[i].onload = function() {
		this.className = "loaded";
	}
}
}




function cambiar(a){
vareva=a.name;
		switch(vareva){
			
			
			
			case 'torta':
			document.getElementById('background').src = 'templates/myriamcamhi/images/Page-BgTexture.jpg';
			document.getElementById('background').style.position= 'fixed'; 
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='';
			/*document.body.style.overflow= "hidden";*/
   			imagen();
	
			
			break;	
			
			case 'sal':
			
			document.getElementById('background').src = 'templates/myriamcamhi/images/Page-BgTexture.jpg';
			document.getElementById('background').style.position= 'fixed'; 
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='';
			/*document.body.style.overflow= "hidden";*/
   			imagen();
			break;
			
			case 'ocasiones_especiales':
			
			document.getElementById('background').src = 'templates/myriamcamhi/images/Page-BgTexture.jpg';
			document.getElementById('background').style.position= 'fixed';
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='';
			/*document.body.style.overflow= "hidden";*/
   			imagen();
			break;
			
			
			case 'bodas':
			
			document.getElementById('background').src = 'templates/myriamcamhi/images/Page-BgTexture.jpg';
			document.getElementById('background').style.position= 'fixed'; 
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='';
			/*document.body.style.overflow= "hidden";*/
   			imagen();
			break;
			
			
			case 'cathering_eventos':
			
			document.getElementById('background').src = 'templates/myriamcamhi/images/Page-BgTexture.jpg';
			document.getElementById('background').style.position= 'fixed';
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='';
			/*document.body.style.overflow= "hidden";*/
   			imagen();
			break;
			
			
			case 'recetas':
			document.getElementById('background').src = 'templates/myriamcamhi/images/Page-BgTexture.jpg';
			document.getElementById('background').style.position= 'fixed';
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='';
			/*document.body.style.overflow= "hidden";*/
   			imagen();
			break;
			
			
			case 'infantil':
			document.getElementById('background').src = 'templates/myriamcamhi/images/Page-BgTexture.jpg';
			document.getElementById('background').style.position= 'fixed'; 
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='';
			/*document.body.style.overflow= "hidden";*/
   			imagen();
			break;
			
			}

}
	
			
	

	function cambiar2(a){
	  
		vareva=a.name;
		//vareva=a;
		
		switch(vareva){
			
					
			case 'torta':
			document.getElementById('background').src = 'img/tortas.jpg';
			document.getElementById('background').style.position= 'fixed'; 
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='none';
			//document.body.style.overflow= "hidden";
			
   			imagen();
			//document.body.style.backgroundImage="url('img/tortas.png')";
			//document.body.style.backgroundRepeat= "no-repeat";
			//document.body.style.width="100"+'%';
			//document.body.style.height= "100"+'%';
			//document.body.style.position= "absolute";
			
			break;	
			
			case 'sal':
			
			document.getElementById('background').src = 'img/sal.jpg';
			document.getElementById('background').style.position= 'fixed'; 
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='none';
   			imagen();
			/*
			document.body.style.backgroundImage="url('img/sal.png')";
			document.body.style.backgroundRepeat= "no-repeat";
			document.body.style.width="100"+'%';
			document.body.style.height= "100"+'%';
			document.body.style.position= "absolute";
			document.body.style.overflow= "hidden";
			*/
			
			break;
			
			case 'ocasiones_especiales':
			
			document.getElementById('background').src = 'img/ocasiones_especiales.jpg'; 
			document.getElementById('background').style.position= 'fixed';
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='none';
			//document.body.style.overflow= "hidden";
   			imagen();
			/*
			document.body.style.backgroundImage="url('img/ocaciones_especiales.png')";
			document.body.style.backgroundRepeat= "no-repeat";
			document.body.style.width="100"+'%';
			document.body.style.height= "100"+'%';
			document.body.style.position= "absolute";
			document.body.style.overflow= "hidden";
			*/
			break;
			
			
			case 'bodas':
			
			document.getElementById('background').src = 'img/ocasiones_especiales.jpg';
			document.getElementById('background').style.position= 'fixed'; 
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='none';
			//document.body.style.overflow= "hidden";
   			imagen();
			/*
			document.body.style.backgroundImage="url('img/ocaciones_especiales.png')";
			document.body.style.backgroundRepeat= "no-repeat";
			document.body.style.width="100"+'%';
			document.body.style.height= "100"+'%';
			document.body.style.position= "absolute";
			document.body.style.overflow= "hidden";
			*/
			break;
			
			
			case 'cathering_eventos':
			
			document.getElementById('background').src = 'img/eventos.jpg'; 
			document.getElementById('background').style.position= 'fixed';
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='none';
			//document.body.style.overflow= "hidden";
   			imagen();
			/*
			document.body.style.backgroundImage="url('img/eventos.png')";
			document.body.style.backgroundRepeat= "no-repeat";
			document.body.style.width="100"+'%';
			document.body.style.height= "100"+'%';
			document.body.style.position= "absolute";
			document.body.style.overflow= "hidden";
			*/
			break;
			
			
			case 'recetas':
			document.getElementById('background').src = 'img/recetas.jpg'; 
			document.getElementById('background').style.position= 'fixed';
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='none';
			//document.body.style.overflow= "hidden";
   			imagen();
			/*
			document.body.style.backgroundImage="url('img/recetas.png')";
			document.body.style.backgroundRepeat= "no-repeat";
			document.body.style.width="100"+'%';
			document.body.style.height= "100"+'%';
			document.body.style.position= "absolute";
			document.body.style.overflow= "hidden";
			*/
			break;
			
			
			case 'infantil':
			document.getElementById('background').src = 'img/infantil.jpg';
			document.getElementById('background').style.position= 'fixed'; 
			document.getElementById('background').className= 'loading';
			document.getElementById('slideshow').style.display='none';
			//document.body.style.overflow= "hidden";
   			imagen();
			/*
			document.body.style.backgroundImage="url('img/recetas.png')";
			document.body.style.backgroundRepeat= "no-repeat";
			document.body.style.width="100"+'%';
			document.body.style.height= "100"+'%';
			document.body.style.position= "absolute";
			document.body.style.overflow= "hidden";
			*/
			break;
			
			}
	}	
	
	


