// JavaScript Document
function ventanaSecundaria(URL,opciones){ 
	window.open(URL,"ventana1",opciones);
}

function big(lyr) {
document.getElementById(lyr).style.height='220px'; 
}

function small(lyr) {
document.getElementById(lyr).style.height='47px';
}

function start() {
document.getElementById("Layer1").style.height='47px';
var i; 
var imagenes = new Array("img/conocenos-on.jpg","img/equipo-on.jpg","img/tradicion-on.jpg","/img/camping.jpg","img/restaurante.jpg","img/catering.jpg","casarural.jpg","hotel.jpg"); 
var lista_imagenes = new Array(); 
for(i in imagenes){ 
lista_imagenes[i] = new Image(); 
lista_imagenes[i].src = imagenes[i]; 
} 
}
function verofertas(variable,capa){
	if(variable=='1')
		document.getElementById(capa).style.display='block';
	else
		document.getElementById(capa).style.display='none';
}

function cambiar(opcion,estado){
enlace="enlace"+opcion;
boton="bt"+opcion;
	if(estado==1){
		document.getElementById(boton).className="botones2b-2";
		document.getElementById(enlace).style.color="#007282";
	}else{
		document.getElementById(boton).className="botones2b-1";
		document.getElementById(enlace).style.color="#FFFFFF";
	}
}
function cambiar2(opcion,estado){
enlace="enlace"+opcion;
boton="bt"+opcion;
	if(estado==1){
		document.getElementById(boton).className="botones2-2";
		document.getElementById(enlace).style.color="#007282";
	}else{
		document.getElementById(boton).className="botones2-1";
		document.getElementById(enlace).style.color="#FFFFFF";
	}
}

function vercapa(capa){
	if(document.getElementById(capa).style.display=="none"){
		document.getElementById(capa).style.display="block";
		document.getElementById(capa+"i").src="img/menos.jpg";
	}else{
		document.getElementById(capa).style.display="none";
		document.getElementById(capa+"i").src="img/mas.jpg";
	}
}


//-- !>


// funciones scroll

<!-- 
defaultStep=1 ;
step=defaultStep ;
var timerDown;
var timerUp;

function toTop(id){ 
document.getElementById(id).scrollTop=0 ;
} 

function scrollDivDown(id){ 
document.getElementById(id).scrollTop+=step ;
timerDown=setTimeout("scrollDivDown('"+id+"')",10) ;
} 

function scrollDivUp(id){ 
document.getElementById(id).scrollTop-=step ;
timerUp=setTimeout("scrollDivUp('"+id+"')",10) ;
} 

function toBottom(id){ 
document.getElementById(id).scrollTop=document.getElementById(id).scrollHeight ;
} 

function toPoint(id){ 
document.getElementById(id).scrollTop=100 ;
} 

//-- !>



