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


// Show Elements
bottle.visible = true;
scissor.visible = true;
mg.visible = true;
fiali.visible = true;
spirto.visible = true;
light.visible = true;
// fiali_area.visible = true;

// Hidden Elements
bottle2.visible = false;
bottle3.visible = false;
bubbles.visible = false;
scissor_ribbon.visible = false;
fiali2.visible = false;

// Labels
bottle_label.visible = false;
scissor_label.visible = false;
spirto_label.visible = false;
mg_label.visible = false;
fiali_label.visible = false;


// Debugging
log = document.getElementById("log");

// Update Stage
stage.update();

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