/* --------------------------------------------------
Author: Anastasios Pallas / tcpallas@gmail.com
Version 1.0
Last Update: 2024-02-18
-------------------------------------------------- */


// Show Elements
scissor.visible = true;
spoon[0].visible = true;
plate.visible = true;
bottle1[0].visible = true;
bottle2[0].visible = true;
tube_base.visible = true;
tube[0].visible = true;
gas.visible = true;

// Hidden Elements
spoon[1].visible = false;
tube[1].visible = false;
bottle1[1].visible = false;
bottle1[2].visible = false;
bottle1[3].visible = false;
bottle1[4].visible = false;
bottle1[5].visible = false;
bottle2[1].visible = false;
bottle2[2].visible = false;
bottle2[3].visible = false;
bottle2[4].visible = false;
bottle2[5].visible = false;
flame.visible = false;


labels.visible = false;


// Update Stage
stage.update();

$(document).ready(function() {
	// display a random lab scene
	var rnd = Math.floor(Math.random() * 6);	// 0 to 5
	$('.theme-blue-sea #oer_canvas').css("background", "url('images/chemistry-lab-bg" + rnd + ".png') no-repeat");
	$('.theme-blue-sea #oer_canvas').css("background-size", "contain");
	
	// Hide next steps
	$("#help_step2").hide();
	$("#help_step3").hide();
	$("#help_step4").hide();
	$("#help_step5").hide();
	$("#help_step6").hide();
	$("#help_step7").hide();

	// show_step(5);


});