
var partialmode = 0,
opt_editor = {
	plugins: "undo",
	format: "bbcode",
	bbcodeTrim: false,
	style: "https://forums.woodnet.net/jscripts/sceditor/styles/jquery.sceditor.mybb.css?ver=1823",
	rtl: 0,
	locale: "mybblang",
	width: "100%",
	enablePasteFiltering: true,
	autoUpdate: true,
	emoticonsEnabled: true,
	emoticons: {
		// Emoticons to be included in the dropdown
		dropdown: {
			":)": "https://forums.woodnet.net/images/graemlins/yellowsmile.gif",";)": "https://forums.woodnet.net/images/graemlins/yellowwink.gif",":cool:": "https://forums.woodnet.net/images/graemlins/yellowcool.gif",":D": "https://forums.woodnet.net/images/graemlins/yellowbiggrin.gif",":yes:": "https://forums.woodnet.net/images/graemlins/yellowyes.gif",":laugh:": "https://forums.woodnet.net/images/graemlins/yellowlaugh.gif",":winkgrin:": "https://forums.woodnet.net/images/graemlins/yellowsmilewinkgrin.gif",":smirk:": "https://forums.woodnet.net/images/graemlins/smirk.gif",":sleep:": "https://forums.woodnet.net/images/graemlins/yellowsleep.gif",":rolleyes:": "https://forums.woodnet.net/images/graemlins/yellowrolleyes.gif",":s": "https://forums.woodnet.net/images/graemlins/yellowconfused.gif",":crazy:": "https://forums.woodnet.net/images/graemlins/crazy.gif",":sarcasm:": "https://forums.woodnet.net/images/graemlins/yellownone.gif",":raised:": "https://forums.woodnet.net/images/graemlins/raised.gif",":no:": "https://forums.woodnet.net/images/graemlins/yellowno.gif",":@": "https://forums.woodnet.net/images/graemlins/yellowmad.gif",":mad:": "https://forums.woodnet.net/images/graemlins/yellowmad.gif",":(": "https://forums.woodnet.net/images/graemlins/yellowsad.gif",":uhoh:": "https://forums.woodnet.net/images/graemlins/yellowuhoh.gif",":upset:": "https://forums.woodnet.net/images/graemlins/yellowupset.gif",		},
		// Emoticons to be included in the more section
		more: {
			":slap:": "https://forums.woodnet.net/images/graemlins/slap.gif",":dead:": "https://forums.woodnet.net/images/graemlins/yellowdead.gif",":razz:": "https://forums.woodnet.net/images/graemlins/yellowrazz.gif",":eek:": "https://forums.woodnet.net/images/graemlins/yelloweek.gif",":bigeek:": "https://forums.woodnet.net/images/graemlins/yellowbigeek.gif",":P": "https://forums.woodnet.net/images/graemlins/tongue.gif",":shy:": "https://forums.woodnet.net/images/graemlins/yellowshy.gif",":blush:": "https://forums.woodnet.net/images/graemlins/blush.gif",":sigh:": "https://forums.woodnet.net/images/graemlins/yellowsigh.gif",":-/": "https://forums.woodnet.net/images/smilies/undecided.png",":sick:": "https://forums.woodnet.net/images/smilies/sick.png",":dodgy:": "https://forums.woodnet.net/images/smilies/dodgy.png",":angel:": "https://forums.woodnet.net/images/smilies/angel.png",":pray:": "https://forums.woodnet.net/images/smilies/prayer.png",		},
		// Emoticons that are not shown in the dropdown but will still be converted. Can be used for things like aliases
		hidden: {
			":prayer:": "https://forums.woodnet.net/images/smilies/prayer.png",		}
	},
	emoticonsCompat: true,
	toolbar: "bold,italic,underline,strike|left,center,right,justify|font,size,color,removeformat|horizontalrule,image,email,link,unlink|video,emoticon|bulletlist,orderedlist|code,php,quote|maximize,source",
};
(function ($) {
$.sceditor.locale["mybblang"] = {
	"Bold": "Bold",
	"Italic": "Italic",
	"Underline": "Underline",
	"Strikethrough": "Strikethrough",
	"Subscript": "Subscript",
	"Superscript": "Superscript",
	"Align left": "Align left",
	"Center": "Center",
	"Align right": "Align right",
	"Justify": "Justify",
	"Font Name": "Font Name",
	"Font Size": "Font Size",
	"Font Color": "Font Color",
	"Remove Formatting": "Remove Formatting",
	"Cut": "Cut",
	"Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X": "Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X",
	"Copy": "Copy",
	"Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C": "Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C",
	"Paste": "Paste",
	"Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V": "Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V",
	"Paste your text inside the following box:": "Paste your text inside the following box:",
	"PasteText": "Paste Text",
	"Numbered list": "Numbered list",
	"Bullet list": "Bullet list",
	"Undo": "Undo",
	"Redo": "Redo",
	"Rows:": "Rows:",
	"Cols:": "Cols:",
	"Insert a table": "Insert a table",
	"Insert a horizontal rule": "Insert a horizontal rule",
	"Code": "Code",
	"Width (optional):": "Width (optional):",
	"Height (optional):": "Height (optional):",
	"Insert an image": "Insert an image",
	"E-mail:": "E-mail:",
	"Insert an email": "Insert an email",
	"URL:": "URL:",
	"Insert a link": "Insert a link",
	"Unlink": "Unlink",
	"More": "More",
	"Insert an emoticon": "Insert an emoticon",
	"Video URL:": "Video URL:",
	"Video Type:": "Video Type:",
	"Insert": "Insert",
	"Insert a YouTube video": "Insert a YouTube video",
	"Insert current date": "Insert current date",
	"Insert current time": "Insert current time",
	"Print": "Print",
	"View source": "View source",
	"Description (optional):": "Description (optional):",
	"Enter the image URL:": "Enter the image URL:",
	"Enter the e-mail address:": "Enter the e-mail address:",
	"Enter the displayed text:": "Enter the displayed text:",
	"Enter URL:": "Enter URL:",
	"Enter the YouTube video URL or ID:": "Enter the YouTube video URL or ID:",
	"Insert a Quote": "Insert a Quote",
	"Invalid YouTube video": "Invalid YouTube video",
	"Dailymotion": "Dailymotion",
	"MetaCafe": "MetaCafe",
	"Mixer": "Mixer",
	"Vimeo": "Vimeo",
	"Youtube": "Youtube",
	"Facebook": "Facebook",
	"LiveLeak": "LiveLeak",
	"Insert a video": "Insert a video",
	"PHP": "PHP",
	"Maximize": "Maximize"
}})(jQuery);$(function() {
	$("#message, #signature").sceditor(opt_editor);

	MyBBEditor = $("#message, #signature").sceditor("instance");
	});