// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	editor_selector : "mceEditor"
  
});

$(function(){
  $("#post_post_date").datepicker();
  $(".hide").hide();
  $("#edit_link_link").toggle(
    function(e) { $(this).text("Cancel").parent().find("form").show();},
    function(e) { $(this).text("Add").parent().find("form").hide(); });
});