/*
 * Another In Place Editor - a jQuery edit in place plugin
 *
 * Copyright (c) 2009 Dave Hauenstein
 *
 * License:
 * This source file is subject to the BSD license bundled with this package.
 * Available online: {@link http://www.opensource.org/licenses/bsd-license.php}
 * If you did not receive a copy of the license, and are unable to obtain it,
 * email davehauenstein@gmail.com,
 * and I will send you a copy.
 *
 * Project home:
 * http://code.google.com/p/jquery-in-place-editor/
 *
 */
$(document).ready(function(){

    // This example shows how to call the function and display a textarea
    // instead of a regular text box. A few other options are set as well,
    // including an image saving icon, rows and columns for the textarea,
    // and a different rollover color.
	
	var element = $(this);
	//Find the id of the link that was clicked
	var video_id = element.attr("id");

    $(".editme2").editInPlace({
        url: "./editinplace.php",
        bg_over: "#cff",
        field_type: "textarea",
        textarea_rows: "6",
        textarea_cols: "22",
		element_id: video_id,
        saving_image: "./images/ajax.gif",
		show_buttons: true
    });

});
