 var item; name = name.toLowerCase(); for(var i=0;i<this._registeredHandlers.length;i++){ item = this._registeredHandlers[i](name); if(item){ return item; } } 
 var item; name = name.toLowerCase(); for(var i=0;i<this._registeredHandlers.length;i++){ item = this._registeredHandlers[i](name); if(item){ return item; } } 
	getToolbarItem: function(/*String*/name){		// summary: return a toobar item with the given name		var item;		name = name.toLowerCase();		for(var i=0;i<this._registeredHandlers.length;i++){			item = this._registeredHandlers[i](name);			if(item){				return item;			}		}		switch(name){			//button for builtin functions			case 'bold':			case 'copy':			case 'cut':			case 'delete':			case 'indent':			case 'inserthorizontalrule':			case 'insertorderedlist':			case 'insertunorderedlist':			case 'italic':			case 'justifycenter':			case 'justifyfull':			case 'justifyleft':			case 'justifyright':			case 'outdent':			case 'paste':			case 'redo':			case 'removeformat':			case 'selectall':			case 'strikethrough':			case 'subscript':			case 'superscript':			case 'underline':			case 'undo':			case 'unlink':			case 'createlink':			case 'insertimage':			//extra simple buttons			case 'htmltoggle':				item = new dojo.widget.Editor2ToolbarButton(name);				break;			case 'forecolor':			case 'hilitecolor':				item = new dojo.widget.Editor2ToolbarColorPaletteButton(name);				break;			case 'plainformatblock':				item = new dojo.widget.Editor2ToolbarFormatBlockPlainSelect("formatblock");				break;			case 'formatblock':				item = new dojo.widget.Editor2ToolbarFormatBlockSelect("formatblock");				break;			case 'fontsize':				item = new dojo.widget.Editor2ToolbarFontSizeSelect("fontsize");				break;			case 'fontname':				item = new dojo.widget.Editor2ToolbarFontNameSelect("fontname");				break;			case 'inserttable':			case 'insertcell':			case 'insertcol':			case 'insertrow':			case 'deletecells':			case 'deletecols':			case 'deleterows':			case 'mergecells':			case 'splitcell':				dojo.debug(name + " is implemented in dojo.widget.Editor2Plugin.TableOperation, please require it first.");				break;			//TODO:			case 'inserthtml':			case 'blockdirltr':			case 'blockdirrtl':			case 'dirltr':			case 'dirrtl':			case 'inlinedirltr':			case 'inlinedirrtl':				dojo.debug("Not yet implemented toolbar item: "+name);				break;			default:				dojo.debug("dojo.widget.Editor2ToolbarItemManager.getToolbarItem: Unknown toolbar item: "+name);		}		return item;	}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js