

                        return txt;
                } else if (obj.selectionStart >= 0) {
                        // FireFox & Safari
                        var start = obj.selectionStart;
                        var end    = obj.selectionEnd;
                        var txt    = obj.value.substr(start, end-start);

                        return txt;
                } else {
                        return '';
		}
	}

	// end custom for comment editor
	
	// Insert Image Dropdown Menu
	fu