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


// Show Elements
beaker.visible = true;
pipette[0].visible = true;
ribbon.visible = true;
tube_base.visible = true;
tube1[0].visible = true;
tube2[1].visible = true;
tube3[2].visible = true;
tube4[3].visible = true;
tube5[4].visible = true;
tube1_area.visible = true;
beaker_area.visible = true;

// Hidden Elements
pipette[1].visible = false;
tube1[1].visible = false;
tube1[2].visible = false;
tube1[3].visible = false;
tube1[4].visible = false;
tube1[5].visible = false;
tube2[0].visible = false;
tube2[2].visible = false;
tube2[3].visible = false;
tube2[4].visible = false;
tube2[5].visible = false;
tube2[6].visible = false;
tube3[0].visible = false;
tube3[1].visible = false;
tube3[3].visible = false;
tube3[4].visible = false;
tube3[5].visible = false;
tube3[6].visible = false;
tube3[7].visible = false;
tube4[0].visible = false;
tube4[1].visible = false;
tube4[2].visible = false;
tube4[4].visible = false;
tube4[5].visible = false;
tube4[6].visible = false;
tube4[7].visible = false;
tube4[8].visible = false;
tube5[0].visible = false;
tube5[1].visible = false;
tube5[2].visible = false;
tube5[3].visible = false;
tube5[5].visible = false;
tube5[6].visible = false;
tube5[7].visible = false;
tube5[8].visible = false;
tube5[9].visible = false;
tube5[10].visible = false;

tube2_area.visible = true;
tube3_area.visible = true;
tube4_area.visible = true;
tube5_area.visible = true;

drops.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");
	*/

	$('#oer_canvas').css("background", "url('images/chemistry-lab-bg.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();

	// show_step(4);
});