lightbox.handleArrowKeyPress(evtRightArrow); 
lightbox.handleArrowKeyPress(fluid.testUtils.createEvtRightArrow()); 
function testHandleArrowKeyPressForLeftAndRight()	 {	var lightbox = createLightbox();  lightbox.selectActiveItem();		isItemFocusedTest("Initially ", firstImageId);	isItemDefaultTest("Initially ", secondImageId);	// Test: right arrow to the second image	lightbox.handleArrowKeyPress(evtRightArrow);	isItemFocusedTest("After right arrow ", secondImageId);	isItemDefaultTest("After right arrow ", firstImageId);	// Test: right arrow to the last image	for (focusPosition = 2; focusPosition < numOfImages; focusPosition++ ) {		lightbox.handleArrowKeyPress(evtRightArrow);	}	isItemFocusedTest("Right arrow to last ", lastImageId);	isItemDefaultTest("Right arrow to last ", firstImageId);	isItemDefaultTest("Right arrow to last ", secondImageId);		// Test: left arrow to the previous image	lightbox.handleArrowKeyPress(evtLeftArrow);	isItemFocusedTest("Left arrow to second last ", secondLastImageId);	isItemDefaultTest("Left arrow to second last ", firstImageId);	isItemDefaultTest("Left arrow to second last ", lastImageId);		// Test: right arrow past the last image - expect wrap to the first image	lightbox.handleArrowKeyPress(evtRightArrow);	lightbox.handleArrowKeyPress(evtRightArrow);	isItemFocusedTest("Right arrow wrap ", firstImageId);	isItemDefaultTest("Right arrow wrap ", secondImageId);	isItemDefaultTest("Right arrow wrap ", lastImageId);	// Test: left arrow on the first image - expect wrap to the last image	lightbox.handleArrowKeyPress(evtLeftArrow);	isItemFocusedTest("Left arrow wrap ", lastImageId);	isItemDefaultTest("Left arrow wrap ", firstImageId);	isItemDefaultTest("Left arrow wrap ", secondImageId);}
6971	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6971/f87e8ccec00b37b75d2f170b2bd7a0f7625b114c/LightboxTests.js/buggy/src/webapp/component-templates/test/tests/LightboxTests.js