function Tutorials(){
	var _lastSection = "basics"
	var _self = this;
	this.showTutorials = function(section){
		document.getElementById("main_tutorials_div").style.display ="block";
		_self.showSection(section);
	}
	this.showSection = function(section){
		if(section==undefined || section == null)section ="basics";
		document.getElementById("tut_section_"+_lastSection).style.display = "none";
		var newSection = document.getElementById("tut_section_"+section);
		if(newSection != undefined && newSection!=null){ 
			newSection.style.display = "block";
			_lastSection = section;
		}
	}
	this.showElementHelp = function(){
		var element = _elementsManager.getCurrentElement();
		switch(element.properties["type"]){
			case "undefined": break;
			default: _self.showTutorials(element.properties["type"]);
		}
	}
	this.hideTutorials = function(){
		document.getElementById("main_tutorials_div").style.display ="none";
	}
}
