function setEffectiveDate(departCity, departStop, arriveCity, arriveStop, specialFareID, returnDateType, scheduleLimiter, dayLimits) {
	var url = '/shortcut-date.asp?d=' + departCity + '&a=' + arriveCity + '&ds=' + departStop + '&ras=' + departStop +
		'&as=' + arriveStop + '&rds=' + arriveStop + '&drn=-999&rrn=-999';
	if (specialFareID) url += '&f=' + specialFareID;
	switch (returnDateType) {
	case 1: url += '&rd='; break;   // need separate return date
	case 2: url += '&rd=dd'; break; // re-use depart date
	}
	if (scheduleLimiter) url += '&s=' + scheduleLimiter;
	if (dayLimits) url += '&dl=' + parseInt(dayLimits);
	var w = window.open(url, 'dateWin', 'width=300,height=275');
	if (w && !w.closed) return false;
	return true;
}
