var SquigglyCreateTool = function(docViewer) {
Tools.TextAnnotationCreateTool.call(this, docViewer, Annotations.TextSquigglyAnnotation);
};
SquigglyCreateTool.prototype = new Tools.TextAnnotationCreateTool();
$(document).on('documentLoaded', function() {
$("#toolModePicker").append('<li id="annot-button-custom-squiggly" class="glyphicons image-icon" data-toolmode="AnnotationCreateSquiggly" title="Squiggly Annotation"><img src="custom_squiggly_image.png"/></li>');
readerControl.toolModeMap['AnnotationCreateSquiggly'] = SquigglyCreateTool;
});