// JavaScript Document

$(document).ready(function() {// hides the slickbox as soon as the DOM is ready (a little sooner than page load)
 
 //IMPORTANTE
 //para tener completa esta funcion debemos conocer la cantidad de elementos para esconder.
 //$('#subcategoria11').hide();
 //alert('assdas');
	for (var x = 1; x <= 10; x++){
		for (var y = 1; y <= 10; y++){
			div = x+'-'+y;
			if (div != document.divCaida){
				$('#subcategoria'+div).hide();
			}
		}
	}
					//alert ("asd");	
	//caffa
	for (var x = 1; x <= 10; x++){
		for (var y = 1; y <= 10; y++){
			for (var z = 1; z <= 10; z++){
				div = x+'-'+y+'-'+z;
				
				if (div != document.divLCaida){
					//alert (div);
					$('#linea'+div).hide();
				}
			}
		}
	}

});



function showHideB(id) { //v2.0
	$('#subcategoria'+id).slideToggle(400);
}

function showHideL(id) { //v2.0
	$('#linea'+id).slideToggle(400);
}
