while ( parent && parent != elem ) try { parent = parent.parentNode } catch(error) { parent = elem; }; 
while ( parent && parent != elem ) try { parent = parent.parentNode; } catch(error) { parent = elem; } 
var withinElement = function(event, elem) {	// Check if mouse(over|out) are still within the same parent element	var parent = event.relatedTarget;	// Traverse up the tree	while ( parent && parent != elem ) try { parent = parent.parentNode } catch(error) { parent = elem; };	// Return true if we actually just moused on to a sub-element	return parent == elem;};
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/87d6bcec31046d84d1b4518d0888f1715e15e60b/event.js/buggy/src/event.js