 rand = gen.nextInt(); num = Math.abs(rand % all.length); lookUp = set.indexOf(new Integer(num)); 
    num = Math.floor(Math.random() * all.length); lookUp = index_of(set, num); 
	doRandomize: function (ioCluster)	{		// Make sure this is a cluster		if (ioCluster.getChildren(true) != null)		{			// todo: check this			Random gen = new Random();			var all = ioCluster.getChildren(false);			var set = null;						var ok = false;			var rand = 0;			var num = 0;			var lookUp = 0;						// Reorder the 'selected' child set if neccessary			if (ioCluster.getReorderChildren())			{				var reorder = new Array();				set = new Array();								for (var i = 0; i < all.length; i++)				{					// Pick an unselected child					ok = false;					while (!ok)					{						// todo: check this						rand = gen.nextInt();						num = Math.abs(rand % all.length);						lookUp = set.indexOf(new Integer(num));												if (lookUp == -1)						{							set[set.length] = num;							reorder[reorder.length] = all[num];							ok = true;						}					}				}								// Assign the current set of active children to this cluster				ioCluster.setChildren(reorder, false);			}		}	},
6251	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6251/9a61eaa66de0d3d4142429f2960cc6a4b80b98e5/ADLSequencer.js/clean/Modules/Scorm2004/scripts/adl2js/ADLSequencer.js