lightbox.domNode.focus(); 
lightbox.selectActiveItem(); 
function testPersistFocus () {	var lightbox = createLightbox();	isItemDefaultTest("Initially ", firstImageId);	lightbox.domNode.focus();	// first thumb nail should be focused initially.	isItemFocusedTest("When lightbox has focus ", firstImageId);	isItemDefaultTest("When lightbox has focus ", secondImageId);		// Change focus to the input1, then back to the lightbox	dojo.byId ("input1").focus();	lightbox.domNode.blur();	isItemDefaultTest("After blur ", firstImageId);		focusLightboxNode(lightbox, lightbox.domNode);		// check that the first thumb nail is still moveable.	isItemFocusedTest("When lightbox has focus again ", firstImageId);	isItemDefaultTest("When lightbox has focus again ", secondImageId);		// set focus to another image.	lightbox.focusItem(dojo.byId(secondImageId));	isItemFocusedTest("Changed focus to second ", secondImageId);	isItemDefaultTest("Changed focus to second ", firstImageId);		// Change focus to the input1, then back to the lightbox	dojo.byId ("input1").focus();	focusLightboxNode(lightbox, lightbox.domNode);		// check that the second thumb nail is still moveable.	lightbox.focusItem(dojo.byId(secondImageId));	isItemFocusedTest("Lightbox refocused with second selected ", secondImageId);	isItemDefaultTest("Lightbox refocused with second selected ", firstImageId);		lightbox.getElementToFocus(lightbox.domNode).blur();	isItemDefaultTest("Lightbox blur with second selected ", secondImageId);	// test persistance of focus between page navigation / page loads?	}
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