jQuery.fn.resizehandle = function() {  return this.each(function() {    var me = jQuery(this);    me.after(      jQuery('<div class="resizehandle"></div>')      .bind('mousedown', function(e) {        var h = me.height();        var y = e.clientY;        var moveHandler = function(e) {          me          .height(Math.max(20, e.clientY + h - y));        };        var upHandler = function(e) {          jQuery('html')          .unbind('mousemove',moveHandler)          .unbind('mouseup',upHandler);        };        jQuery('html')        .bind('mousemove', moveHandler)        .bind('mouseup', upHandler);      })    );  });}

$(document).ready(function(){  $("textarea")  .resizehandle();
  
  	$("#textile").jTagEditor({			tagSet:"media/jq4backend/textile/textile-tags.js",		tagMask:"",		insertOnShiftEnter:"",		insertOnCtrlEnter:"",		previewParser:"media/jq4backend/textile/textile-parser.php"	}); });


$(document).ready(function() {  $('div.demo-show3:eq(0)> div').hide();  $('div.demo-show3:eq(0)> h3').click(function() {	$(this).next().slideToggle('slow');  });
  
  
  $('div.demo-show2:eq(0)> div');  $('div.demo-show2:eq(0)> h3').click(function() {	$(this).next().slideToggle('slow');  });
  
  
  $('div.demo-show:eq(0)> div').hide();  $('div.demo-show:eq(0)> h3').click().toggle(function() {
		$(this).next().animate({			height: 'show',			opacity: 'show'
		}, 'slow');  } ,function() {		$(this).next().animate({			height: 'hide',			opacity: 'hide'		}, 'slow');	});});
