function equalHeight(group) {
	var tallest = 0;
	group.each(function() {
		var thisHeight = $(this).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
}

$(document).ready(function() {
	equalHeight($(".eq1"));
        $(".rounded").corner("10px");
        $("img.rounded").load(function() {
            $(this).before(function(){
              //return '<span class="' + $(this).attr('class') + '" style="background:url(' + $(this).attr('src') + ') no-repeat center center; width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px;" />';
              return '<div class="rounded imagehack" style="background:url(' + $(this).attr('src') + ') no-repeat center center; width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px;" ></div>';
            });
            $(this).css("display","none");
            $(".rounded").corner("10px");
        });
        $("#fulltext_input").click(function (e) { $(this).val('') })
       
       
  $(".addtextfunc").click(function(){
      $addtext = $("#addtextfield").val();
      $(".hiddenfield").each(function(){
       $(this).val($addtext);
      });
      return true;
  });       

});



