code: function(elem) {
  				var picker = elem.attr('id') == 'stroke_color' ? 'stroke' : 'fill';
  //				var opacity = (picker == 'stroke' ? $('#stroke_opacity') : $('#fill_opacity'));
  				var paint = paintBox[picker].paint;
  				var title = (picker == 'stroke' ? 'Pick a Stroke Paint and Opacity' : 'Pick a Fill Paint and Opacity');
  				// var was_none = false; // Currently unused
  				var pos = elem.offset();
  				$('#color_picker')
  					.draggable({cancel: '.jGraduate_tabs, .jGraduate_colPick, .jGraduate_gradPick, .jPicker', containment: 'window'})
  					.css(curConfig.colorPickerCSS || {'left': pos.left-140, 'bottom': 40})
  					.jGraduate(
  					{
  						paint: paint,
  						window: { pickerTitle: title },
  						images: { clientPath: curConfig.jGraduatePath },
  						newstop: 'inverse'
  					},
  					function(p) {
  						paint = new $.jGraduate.Paint(p);
  						paintBox[picker].setPaint(paint);
  						svgCanvas.setPaint(picker, paint);
  						$('#color_picker').hide();
  					},
  					function() {
  						$('#color_picker').hide();
  					});
  			}
docs: TODO: go back to the color boxes having white background-color and then setting background-image to none.png (otherwise partially transparent gradients look weird)