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


// Show Elements
beaker_ki[0].visible = true;
beaker_pb[0].visible = true;
orthostatis[0].visible = true;
tube_area.visible = true;


// Hidden Elements
orthostatis[1].visible = false;
orthostatis[2].visible = false;
orthostatis[3].visible = false;
orthostatis[4].visible = false;
orthostatis[5].visible = false;
orthostatis[6].visible = false;
orthostatis[7].visible = false;
beaker_ki[1].visible = false;
beaker_ki[2].visible = false;
beaker_pb[1].visible = false;
beaker_pb[2].visible = false;

// Labels
labels.visible = false;

// statuses
anim_step = 0;

// 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");
	$('#oer_canvas').css("background-position-y", "86px");
	
	// Hide next steps
	$("#help_step2").hide();
	$("#help_step3").hide();
	$("#help_step4").hide();
});