def extractRSS_VSIZE(line1, line2, record_number):
	""" 
	>>> extractRSS_VSIZE("%MSG-w MemoryCheck:  PostModule 19-Jun-2009 13:06:08 CEST Run: 1 Event: 1", \
			     "MemoryCheck: event : VSIZE 923.07 0 RSS 760.25 0")
	(('1', '760.25'), ('1', '923.07'))
	"""

	if ("Run" in line1) and  ("Event" in line1): # the first line
		event_number = line1.split('Event:')[1].strip()	
	else: return False

	""" it's first or second MemoryCheck line """
	if ("VSIZE" in line2) and ("RSS" in line2): # the second line
		RSS = line2.split("RSS")[1].strip().split(" ")[0].strip() #changed partition into split for backward compatability with py2.3
		VSIZE = line2.split("RSS")[0].strip().split("VSIZE")[1].strip().split(" ")[0].strip()
		#Hack to return the record number instea of event number for now... can always switch back of add event number on top
		#return ((event_number, RSS), (event_number, VSIZE))
		return ((record_number, RSS), (record_number, VSIZE))
	else: return False