rem: alert(Mail.lastSelected.index + " > " + Mail.groupStart.index); 
context: 	onSummaryMouseUp : function(event) {		event = mousePos.update(event);				var dragIndicator = Mail.dragIndicator;		if (dragIndicator != null) {			dragIndicator.style.display = "none";		}				if (Mail.lastSelected.pendingHighlight) {			if (event.ctrlKey) {				if (Mail.lastSelected.selected) {					/* Toggle if selected */					Mail.summaryUnhighlight(Mail.lastSelected);					Mail.resetLastSelected();				}				else {					Mail.summaryHighlight(Mail.lastSelected, true);					Mail.groupStart = Mail.lastSelected;				}			}			else if (event.shiftKey) {				if (Mail.groupStart == null) {					/* Try to find group */					Mail.groupStart = Mail.findLastSelected();				}								Mail.summaryHighlight(Mail.lastSelected, true);				if (Mail.groupStart == null) {					/* Unable to find group start. Set to current */					Mail.groupStart = Mail.lastSelected;				}				else {					var nextObj;					var searchDown = true;					var lastSelected = Mail.lastSelected;										alert(Mail.lastSelected.index + " > " + Mail.groupStart.index);					if (Mail.lastSelected.index > Mail.groupStart.index) {						searchDown = false;					}										nextObj = searchDown ? Mail.lastSelected.next : Mail.lastSelected.prev;										while (nextObj != Mail.groupStart) {						Mail.summaryHighlight(nextObj, event.shiftKey);						nextObj = searchDown ? nextObj.next : nextObj.prev;					}										Mail.lastSelected = lastSelected;				}			}			else {				Mail.summaryUnhighlightAll();				Mail.groupStart = Mail.lastSelected;				Mail.summaryHighlight(Mail.lastSelected);			}		}				document.onmousemove = null;		document.onmouseup = null;						if (Mail.dragging) {			//Mail.checkFolderLocation(new Coordinate());			Mail.dragToFolder(mousePos);			Mail.dragging = false;		}	},
meta: 10143	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10143/0484db4a74f3e06bf925862641e40a8d9d81cabf/mail.js/clean/portal-web/docroot/html/js/portlet/mail.js