<!--
ord=Math.random()*10000000000000000;
if(typeof(wlrcmd)=="undefined"){var wlrcmd="";}

tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	plugins : "save,emotions,preview",
	editor_selector : "mce-full",
	language : "nl",
	theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink",
	theme_advanced_buttons2 : "cut,copy,paste,separator,outdent,indent,separator,emotions,separator,preview",
	theme_advanced_buttons3 : "",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_path_location : "hidden",
	extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
});
tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	plugins : "save,emotions,preview",
	editor_selector : "mce-email",
	language : "nl",
	theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink",
	theme_advanced_buttons2 : "cut,copy,paste,separator,outdent,indent,separator,emotions,separator,preview",
	theme_advanced_buttons3 : "",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_path_location : "hidden",
	extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
});
tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	plugins : "save,emotions,preview",
	editor_selector : "mce-lite",
	language : "nl",
	theme_advanced_buttons1 : "bold,italic,underline,separator,cut,copy,paste,separator,undo,redo",
	theme_advanced_buttons2 : "",
	theme_advanced_buttons3 : "",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_path_location : "hidden",
	extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
});
/*
tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu",
	theme_advanced_buttons1_add_before : "save,separator",
	theme_advanced_buttons1_add : "fontsizeselect",
	theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor",
	theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
	theme_advanced_buttons3_add_before : "tablecontrols,separator",
	theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_path_location : "bottom",
	plugin_insertdate_dateFormat : "%Y-%m-%d",
	plugin_insertdate_timeFormat : "%H:%M:%S",
	extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
	external_link_list_url : "example_data/example_link_list.js",
	external_image_list_url : "example_data/example_image_list.js",
	flash_external_list_url : "example_data/example_flash_list.js"
}); */

function autoinit() {
	// headlines
	ChangeHeadlines(1);

	// focus on window (for links in email and popups)
	window.focus();
	
	// focus on first form element if exists
	// excluding button, submit, hidden, select, checkbox, radio and disabled form element
	if (document.forms.length > 0) {
		for (f=0;f<document.forms.length;f++) {
			if (document.forms[f].length > 0) // avoid empty forms
			{
				for (e=0;e<document.forms[f].length;e++) {
					if (document.forms[f].elements[e].type == "text") {
						document.forms[f].elements[e].focus();
						break;
					}
				}
			}
		}
	}

	if (typeof window.autoinit=="function") {
	}
}


// -->