
	function initSlideShow() {
		document.getElementById('currentId').value = 1;
	}

	function slide(action) {
		var current = document.getElementById('currentId').value;
	
		for (i = 1; i < 7; i++) { 										// loop through all slides and set display to none
			document.getElementById(i).style.display = 'none';
		}
		if(action == 'info') {
		document.getElementById('7').style.display = 'block';	
		}	
		else if (action == 'minus') {  										// if action eq minus;
			current--;													// reduce current with one;
			if (current < 1) {											// if current < 1;
				var current = 6; 										// set current to 5;
			}
			document.getElementById(current).style.display = 'block';	// set current display to block;
			document.getElementById('currentId').value = current;		// set form value currentId to current
		}	
		else {															// if action eq plus;
			current++;
			if (current > 6) { var current = 1; }
			document.getElementById(current).style.display = 'block';
			document.getElementById('currentId').value = current;
		}
	}
