rem: document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;" onmouseover="helpline(\'s\');"  onmouseout="helpline(\'tip\');"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>'); 
add: document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>'); 
context: function colorPalette(dir, width, height){	var r = 0, g = 0, b = 0;	var numberList = new Array(6);	var color = '';	numberList[0] = '00';	numberList[1] = '40';	numberList[2] = '80';	numberList[3] = 'BF';	numberList[4] = 'FF';	document.writeln('<table cellspacing="1" cellpadding="0" border="0">');	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="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;" onmouseover="helpline(\'s\');"  onmouseout="helpline(\'tip\');"><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: 2692	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2692/09c9a3e7a10d36dc7cbfa7d48f8c533f6a2fd107/editor.js/buggy/styles/prosilver/template/editor.js