var lCurrentStep = 0
var lStepCount = 0

function showStep(lStepID){
	lCurrentStep = lStepID
	
	for (var i = 1; i <= lStepCount; i++){
		if (i == lStepID){
			showElement('Step' + i)
		}else{
			hideElement('Step' + i)
		}
	}
}

function jumpToStep(lStepID){
	lCurrentStep = lStepID
	showElement('Step' + lStepID)
}

function gotoNextStep(){
	lCurrentStep++
	showStep(lCurrentStep)
}

function gotoPreviousStep(){
	lCurrentStep--
	showStep(lCurrentStep)
}