 
var arrayData = new Array(); 

arrayData[0]	= 'Fridge|-- select --|'  
arrayData[1]	= 'Fridge|Small|' 
arrayData[2]	= 'Fridge|----------|'
arrayData[3]	= 'Fridge|Medium Standard|'  
arrayData[4]	= 'Fridge|Medium Narrow|'
arrayData[5]	= 'Fridge|----------|' 
arrayData[6]	= 'Fridge|Large Standard|' 
arrayData[7]	= 'Fridge|Large Narrow|' 

arrayData[8]	= 'Freezer|Large Standard|'  
arrayData[9]	= 'Chest Freezer (220L)|220 Litre|'

arrayData[10]	= '-- select --|-- select unit above --|'
 
function populateData2( name ) { 
 
	select	= window.document.chilli.size; 
	string	= ""; 
 
		// 0 - will display the new options only 
		// 1 - will display the first existing option plus the new options 
 
	count	= 0; 
 
		// Clear the old list (above element 0) 
 
	select.options.length = count; 
 
		// Place all matching categories into Options. 
 
	for( i = 0; i < arrayData.length; i++ ) { 
		string = arrayData[i].split( "|" ); 
		if( string[0] == name ) { 
			select.options[count++] = new Option( string[1] ); 
		} 
	} 
 
		// Set which option from subcategory is to be selected 
 
//	select.options.selectedIndex = 2; 
 
		// Give subcategory focus and select it 
 
//	select.focus(); 
 
} 