rem: if (!document.selection && !is_gecko) { return false; } imageFile = escapeQuotesHTML(imageFile); speedTip = escapeQuotesHTML(speedTip); tagOpen = escapeQuotes(tagOpen); tagClose = escapeQuotes(tagClose); sampleText = escapeQuotes(sampleText); var mouseOver = "";  document.write("<a href=\"javascript:insertTags"); document.write("('"+tagOpen+"','"+tagClose+"','"+sampleText+"');\">"); document.write("<img width=\"23\" height=\"22\" src=\""+imageFile+"\" border=\"0\" alt=\""+speedTip+"\" title=\""+speedTip+"\""+mouseOver+">"); document.write("</a>"); return; 
add: mwEditButtons[mwEditButtons.length] = {"imageFile": imageFile, "speedTip": speedTip, "tagOpen": tagOpen, "tagClose": tagClose, "sampleText": sampleText}; 
context: function addButton(imageFile, speedTip, tagOpen, tagClose, sampleText) {	// Don't generate buttons for browsers which don't fully	// support it.	if (!document.selection && !is_gecko) {		return false;	}	imageFile = escapeQuotesHTML(imageFile);	speedTip = escapeQuotesHTML(speedTip);	tagOpen = escapeQuotes(tagOpen);	tagClose = escapeQuotes(tagClose);	sampleText = escapeQuotes(sampleText);	var mouseOver = "";	document.write("<a href=\"javascript:insertTags");	document.write("('"+tagOpen+"','"+tagClose+"','"+sampleText+"');\">");	document.write("<img width=\"23\" height=\"22\" src=\""+imageFile+"\" border=\"0\" alt=\""+speedTip+"\" title=\""+speedTip+"\""+mouseOver+">");	document.write("</a>");	return;}
meta: 7642	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7642/a6fc8f799b26e65648c7027ce2bb804d37893890/wikibits.js/clean/skins/common/wikibits.js