lightbox.domNode.focus(); 
lightbox.selectActiveItem(); 
function testHandleArrowKeyPressForCtrlLeftAndCtrlRight() {		var lightbox = createLightbox();	lightbox.domNode.focus();		// Test: ctrl right arrow - expect first and second image to swap	lightbox.handleArrowKeyPress(evtCtrlRightArrow);	var lightboxDOMNode = dojo.byId(lightboxRootId);	var thumbArray = lightboxDOMNode.getElementsByTagName("img");	assertEquals("after ctrl-right-arrow, expect second image to be first", "fluid.img.second", thumbArray[0].id);	assertEquals("after ctrl-right-arrow, expect first image to be second", "fluid.img.first", thumbArray[1].id);	assertEquals("after ctrl-right-arrow, expect last image to be last", "fluid.img.last", thumbArray[numOfImages - 1].id);		// Test: ctrl left arrow - expect first and second image to swap back to original order	lightbox.handleArrowKeyPress(evtCtrlLeftArrow);	itemsInOriginalPositionTest("after ctrl-left-arrow", lightboxDOMNode);	// Test: ctrl left arrow - expect first image to move to last place,	//       second image to move to first place and last image to move to second-last place	lightbox.handleArrowKeyPress(evtCtrlLeftArrow);	thumbArray = lightboxDOMNode.getElementsByTagName("img");;	assertEquals("after ctrl-left-arrow on first image, expect first last to be last", "fluid.img.first", thumbArray[numOfImages - 1].id);	assertEquals("after ctrl-left-arrow on first image, expect second to be first", "fluid.img.second", thumbArray[0].id);	assertEquals("after ctrl-left-arrow on first image, expect last to be second-last", "fluid.img.last", thumbArray[numOfImages - 2].id);	// Test: ctrl right arrow - expect first image to move back to first place,	//       second image to move to back second place and thumbLast to move to back last place	lightbox.handleArrowKeyPress(evtCtrlRightArrow);	itemsInOriginalPositionTest("after ctrl-left-arrow", lightboxDOMNode);}
6971	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6971/899a3056d774d41748785567a8104716128620b7/LightboxTests.js/buggy/src/webapp/component-templates/test/tests/LightboxTests.js