	tinyMCE.init({
		height: '200px',
		width: '400px',
		mode : "textareas",
		language : "nl",
		
		// General options
		skin : "cirkuit",
		theme : "advanced",
		plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",

		// Theme options
		theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect,|, attribs",
		theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,image,cleanup,code,|,forecolor,backcolor",
		theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,charmap,emotions,iespell,media,advhr,|,fullscreen",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true,

		editor_selector : "text_editor",
		file_browser_callback : "tinyBrowser",

		remove_script_host : false,
        relative_urls : false,
        urlconvertor_callback: "convLinkVC"

	});

	function convLinkVC(strUrl, node, on_save) {
		var domainName = GetDomainName();
		strUrl=strUrl.replace("http://www."+domainName,"");
		strUrl=strUrl.replace("http://"+domainName,"");
		return strUrl;
	}
	
	function GetDomainName() {

		var url = window.location.href;

		var url_parts = url.split("/");

		var domain_name_parts = url_parts[2].split(":");

		var domain_name = domain_name_parts[0];

		return domain_name;

	}
