function selectChurch(id, lang){
	var newLocation = window.location.protocol + '//' + window.location.host + '/' + lang +'/seminar/dates.html' + '?';
	$_GET['orgId'] = id;
	jQuery.each($_GET, function(i, val){
		if( i != "submit") {
			newLocation += i + '=' + val + '&';
		}
	});
	newLocation = newLocation.substr(0, (newLocation.length - 1));
	window.location = newLocation;
}

function selectSeminar(eventId, lang){
	var newLocation = window.location.protocol + '//' + window.location.host + '/' + lang +'/seminar/enroll.html' + '?';
	$_GET['eventId'] = eventId;
	jQuery.each($_GET, function(i, val){
		if( i != "submit") {
			newLocation += i + '=' + val + '&';
		}
	});
	newLocation = newLocation.substr(0, (newLocation.length - 1));
	window.location = newLocation;
}
