function loadbus(){
	new Ajax.Updater($('pageContent'), 'megabus.php', {
		method: 'post',
		parameters:{
			from: 'start'
		},
	}
	);
}

function loadcity(city){
	new Ajax.Updater($('pageContent'), 'megabus.php', {
		method: 'post',
		parameters:{
			from: city
		},
	}
	);
}

function showCollated(collated_id){
	new Ajax.Updater($('confirmBus'), 'megabus.php', {
		method: 'post',
		parameters:{
			from: 'ticketConfirm',
			collated_id: collated_id
		},
	}
	);
}

function reserveTicket(collatedID){
	new Ajax.Updater($('reserveButton'), 'megabusReserve.php', {
		method: 'post',
		parameters:{
			reserveID: collatedID
		},
	}
	);
}