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


// Show Elements
gas.visible = true;
scissor.visible = true;
mg.visible = true;
plate.visible = true;

// Hidden Elements
flame.visible = false;
light.visible = false;
scissor_ribbon.visible = false;
dust.visible = false;
mg_dust.visible = false;

// Labels
scissor_label.visible = false;
gas_label.visible = false;
mg_label.visible = false;
plate_label.visible = false;


// 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();
});