function hideTickets() {
	document.getElementById('buy_season').style.display = 'none';
	document.getElementById('buy_package').style.display = 'none';
}

function showTickets(ticketID) {
	hideTickets();
	document.getElementById(ticketID).style.display = 'block';
}

function hidePackages() {
	document.getElementById('tixgroup').style.display = 'none';
	document.getElementById('tixpartial').style.display = 'none';
	document.getElementById('tixspartacus').style.display = 'none';
	document.getElementById('tixwarrior').style.display = 'none';
	document.getElementById('tixfriday').style.display = 'none';
	document.getElementById('tixfamily').style.display = 'none';
	document.getElementById('tixbirthday').style.display = 'none';
	document.getElementById('tixkids').style.display = 'none';
}

function showPackage(packageID) {
	hidePackages();
	document.getElementById(packageID).style.display = 'block';
}

function hideOption(optionID) {
	document.getElementById(optionID).style.display = 'none';
}

function showOption(optionID) {
	document.getElementById(optionID).style.display = 'block';
}

function changePakType() {
	var dropdownIndex = document.getElementById('paktype').selectedIndex;
	var dropdownValue = document.getElementById('paktype')[dropdownIndex].value;
	showPackage("tix" + dropdownValue);
	if(dropdownValue == "group") {
		showOption("tiktype");
		showOption("tiknum");
		showOption("tikgame");
	}
	if(dropdownValue == "partial") {
		showOption("tiktype");
		showOption("tiknum");
		hideOption("tikgame");
	} 
	if(dropdownValue == "spartacus") {
		hideOption("tiktype");
		hideOption("tiknum");
		showOption("tikgame");
	} 
	if(dropdownValue == "warrior") {
		hideOption("tiktype");
		hideOption("tiknum");
		showOption("tikgame");
	} 
	if(dropdownValue == "family") {
		hideOption("tiktype");
		hideOption("tiknum");
		showOption("tikgame");
	} 
	if(dropdownValue == "friday") {
		hideOption("tiktype");
		showOption("tiknum");
		showOption("tikgame");
	}
	if(dropdownValue == "birthday") {
		hideOption("tiktype");
		showOption("tiknum");
		showOption("tikgame");
	}
	if(dropdownValue == "kids") {
		hideOption("tiktype");
		showOption("tiknum");
		showOption("tikgame");
	}
}