if(window.tinyMCE){
	tinyMCE.init({
		// General options
		mode: "textareas",
		theme : "advanced",
		editor_selector : "tinymce",
		width: 506,
		height: 300,
	    mode: "specific_textareas",
	    language: "en",
	    //skin: "o2k7",
	    dialog_type: "modal",
	    object_resizing: true,
	    cleanup_on_startup: true,
	    forced_root_block: "p",
	    remove_trailing_nbsp: true,
	    theme_advanced_toolbar_location: "top",
	    theme_advanced_toolbar_align: "left",
	    theme_advanced_statusbar_location: "none",
	    theme_advanced_buttons1: "fullscreen,|,cut,paste,pasteword,copy,|,bold,italic,underline,bullist,numlist,undo,redo,link,unlink,image,media,code,visualchars,search,replace,charmap,postcut",
	    theme_advanced_buttons2: "",
	    theme_advanced_buttons3: "",
		theme_advanced_blockformats:"p,h4,h5,h6",
	    theme_advanced_path: false,
		theme_advanced_resizing : true,
	    plugins: "advimage,tinybrowser,advlink,fullscreen,visualchars,paste,searchreplace,media",
	    jstimage_styles: "Linksbündig neben Text=img_left;Rechtsbündig neben Text=img_right;Eigener Block=img_block",
	    advlink_styles: "internal (sehmaschine.net)=internal;external (link to an external site)=external",
	    jstimage_update_dimensions_onchange: true,
	    file_browser_callback : "tinyBrowser",
	    relative_urls: false,
		inline_styles : true,
	    valid_elements : "" +
	    "-p," +
	    "a[href|target=_blank|class]," +
	    "-strong/-b," +
	    "-em/-i," +
	    "-u," +
	    "-ol," +
	    "-ul," +
	    "-li," +
	    "br," +
	    "img[class|src|alt=|width|height|style]," +
	    "-h2,-h3,-h4," +
	    "-pre," +
	    "-code,",
	    extended_valid_elements: "" +
	    "a[name|class|href|target|title|onclick]," +
	    "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|style]," +
	    "br[clearfix]," +
	    "-p[class<clearfix?summary?code]," +
	    "h2[class<clearfix],h3[class<clearfix],h4[class<clearfix]," +
	    "ul[class<clearfix],ol[class<clearfix]," +
	    //"div[class]," +
		"object[width|height|classid|codebase|type|data]," +
		"param[name|value]," +
		"embed[src|quality|salign|wmode|width|height|name|align|allowScriptAccess|type|pluginspage],"

	});
}

