lightbox.selectActiveItem(); 
lightbox.selectActiveItem(); 
function testHandleKeyUpAndHandleKeyDownChangesState() {	var lightbox = createLightbox();  lightbox.selectActiveItem();	// check that none of the images are currently being moved.	isItemFocusedTest("Initially ", firstImageId);	isItemDefaultTest("Initially ", secondImageId);	isItemDefaultTest("Initially ", secondLastImageId);		// focus the first thumb	lightbox.focusItem(dojo.byId(firstImageId));		// ctrl down - expect dragging state to start	lightbox.handleKeyDown(evtCTRL);	isItemDraggedTest("After ctrl-down, should be in move state ", firstImageId);	isItemDefaultTest("After ctrl-down, ", secondImageId);	isItemDefaultTest("After ctrl-down, ", secondLastImageId);			// right arrow down - all the dragging states should remain the same	lightbox.handleKeyDown(evtRightArrow);	isItemDraggedTest("After ctrl-down right arrow down, should be in move state ", firstImageId);	isItemDefaultTest("After ctrl-down right arrow down, ", secondImageId);	isItemDefaultTest("After ctrl-down right arrow down, ", secondLastImageId);	// right arrow with key-up event handler. The dragging states should remain the same.	lightbox.handleKeyUp(evtRightArrow);	isItemDraggedTest("After ctrl-down right arrow up, should be in move state ", firstImageId);	isItemDefaultTest("After ctrl-down right arrow up, ", secondImageId);	isItemDefaultTest("After ctrl-down right arrow up, ", secondLastImageId);    // ctrl up - expect dragging to end	lightbox.handleKeyUp(evtCTRL);	isItemFocusedTest("After ctrl-up ", firstImageId);	isItemDefaultTest("After ctrl-up ", secondImageId);	isItemDefaultTest("After ctrl-up ", secondLastImageId);}
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