// JavaScript Document
tinyMCE.init({
	mode : "exact",
	elements : "short_desc,erloes,erw_infos",
	language : "de",
	theme : "advanced",
	
	skin : "o2k7",
	skin_variant : "silver",
	
	plugins : "paste",
	
	theme_advanced_disable : "styleselect,formatselect,code,help",
	theme_advanced_layout_manager : "SimpleLayout",
  theme_advanced_toolbar_location : "bottom",
  
  theme_advanced_buttons1_add : "numlist,|,undo,redo,|,forecolor",
	theme_advanced_buttons2 : "",
	theme_advanced_buttons3 : "",
	
  content_css : "css/style.css?" + new Date().getTime(),
  valid_elements : "a[href|target=_blank],strong/b,div[align],br,p[style],em/i,u,ol,li,span[style]",
  valid_styles : {
  	'*' : 'text-decoration,text-align,color'
  }
});

tinyMCE.init({
	mode : "exact",
	elements : "mainContentBasar",
	language : "de",
	theme : "advanced",
	
	skin : "o2k7",
	skin_variant : "silver",
	
	plugins : "table,paste,contextmenu",
	
	theme_advanced_disable : "styleselect,formatselect,code,help,bullist",
	
	theme_advanced_layout_manager : "SimpleLayout",
	
	theme_advanced_buttons3_add_before : "cut,copy,paste,pastetext,pasteword,|",
	theme_advanced_buttons1_add : "forecolor,backcolor",
	
  theme_advanced_toolbar_location : "top",
  theme_advanced_toolbar_align : "left",
  theme_advanced_path_location : "bottom",
  
  theme_advanced_resize_horizontal : false,
  theme_advanced_resizing : true,
  
  valid_styles : {
  	'*' : 'color,font-size,font-family,background-color,font-weight,font-style,text-decoration,text-align,padding-left'
  },
  
  content_css : "css/style.css?" + new Date().getTime()
})
