function show_step (number){
	$("div#step"+number).toggle("slow");
}
function show (iden){
	
	if(iden=='#worm_content'){
	document.getElementById('backyard_content').style.display='none';
	}
	if(iden=='#backyard_content'){
	document.getElementById('worm_content').style.display='none';
	}
	
	$(iden).toggle('slow');
}
function dispose (number,quant){
	
		var i = 1;
	
		for(i = 0; (i <= quant); i++){
			$('#dispose'+i).hide();
		}
	
		$('#dispose'+number).toggle('slow');
}


function showXmas (number,quant){
	
		$('#xmas1').hide();
		$('#xmas2').hide();
		$('#xmas3').hide();
		$('#xmas4').hide();
		$('#xmas5').hide();
		$('#xmas6').hide();
		$('#xmas7').hide();
		$('#xmas8').hide();
		
	
		$('#xmas'+number).toggle('slow');
}
function showValentine (number,quant){
	
		$('#valentine1').hide();
		$('#valentine2').hide();
		$('#valentine3').hide();
		$('#valentine4').hide();
		$('#valentine5').hide();
		
	
		$('#valentine'+number).toggle('slow');
}
function zero_waste_link (mode){
	if(mode==true){$('#zerowaste_ul').show('slow'); document.getElementById('zerowaste_linkk').style.background='url(images/zerowaste_on.jpg)';}
	if(mode==false){$('#zerowaste_ul').hide('slow'); document.getElementById('zerowaste_linkk').style.background='url(images/zerowaste_off.jpg)';}
}
var over = 0;
		function Abrir(nombre, ancho, alto, dir, barras) {
			if (barras != 1 )
				barras = 0;
				
			var option = "toolbar=0,directories=0,status=0,menubar=0,scrollbars=" + barras + ",resizable=false ,width=" + ancho + ",height=" + alto +",left=0,ScreenX=0,top=0,ScreenY=0";
			window.open(dir,nombre, option);
		}


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
