rem: for(g = 0; g < 5; g++) 
add:  for (g = 0; g < 5; g++) 
context: function colorPalette(dir, width, height){	var r = 0, g = 0, b = 0;	var numberList = new Array(6);	numberList[0] = "00";	numberList[1] = "40";	numberList[2] = "80";	numberList[3] = "BF";	numberList[4] = "FF";	document.writeln('<table class="type2">');	for(r = 0; r < 5; r++)	{		if (dir == 'h')		{			document.writeln('<tr>');		}		for(g = 0; g < 5; g++)		{			if (dir == 'v')			{				document.writeln('<tr>');			}			for(b = 0; b < 5; b++)			{				color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);				document.write('<td bgcolor="#' + color + '">');				document.write('<a href="javascript:bbfontstyle(\'[color=#' + color + ']\', \'[/color]\');" onmouseover="helpline(\'s\');"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');				document.writeln('</td>');			}			if (dir == 'v')			{				document.writeln('</tr>');			}		}		if (dir == 'h')		{			document.writeln('</tr>');		}	}	document.writeln('</table>');}
meta: 632	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/632/dd9ad539fdab80badedf801a816b8a0beafbbf5c/editor.js/buggy/phpBB/adm/style/editor.js