var inputs = dojo.query(selector);  
 var inputs = FluidProject.seekNodesById(reorderform, "input", FluidProject.deriveCellBase(namebase, ".*") + "reorder-index"); 
	initLightboxClient: function(namebase, count, messageNamebase, tagName, tagNameIndex) {	  var reorderform = FluidProject.Utilities.findForm(document.getElementById(namebase));	  // An <input> tag nested within our root namebase tag, which has an id which 	  // begins with the  namebase:lightbox-cell:: prefix, and ends with "reorder-index" trail.	  // Very hard to imagine any perversity which may lead to this picking any stray stuff :P	  	  // An approach based on the "sourceIndex" DOM property would be much more efficient,	  // but this is only supported in IE. Dojo prides itself on the speed of its CSS3 queries...	  var selector = "#" + FluidProject.Utilities.escapeSelector(namebase) 	     //+ " input[id^=\"" + FluidProject.Utilities.escapeSelector(namebase + "lightbox-cell::") + "\"]"	     //+ "[id$=\"reorder-index\"]"	     ;//	  alert("selector: " + selector);	  var orderChangedCallback = function() {	    var inputs = dojo.query(selector);//	    alert("Found " + inputs.length + " nodes");	  	    for (var i = 0; i < inputs.length; ++ i) {//	      alert("Index " +i +" old value " + inputs[i].value);	      inputs[i].node.value = i;	      }	    	    // dojo.io.bind is gone: http://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/io-transports-ajax	    if (reorderform.action) {	      dojo.xhrPost({          url: reorderform.action,          form: reorderform,          load: function(type, data, evt){ /* No-op response */ },          });        };	    };			  var lightbox = new fluid.Lightbox(	    {tagNameToFocus: tagName,	     tagNameIndexToFocus : tagNameIndex,	     messageNamebase : messageNamebase,	     orderChangedCallback: orderChangedCallback	    }, 	    namebase);    }
6971	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6971/899a3056d774d41748785567a8104716128620b7/Lightbox.js/clean/src/webapp/component-templates/js/fluid/Lightbox.js