  //toogle a div's state (hidden/visible) d=div's unique ID
  function toogleDiv(d) {
  var $j = jQuery.noConflict();
   /* normal old toogle 
    if(d.length < 1) { return; }
    if(document.getElementById(d).style.display == 'none') 
        { document.getElementById(d).style.display = 'block'; }
    else 
    { document.getElementById(d).style.display = 'none'; }
    ** switched with jQuery cool One */
    $j(document).ready(function()
        {
    $j('#' + d).slideToggle(500);
       });

  }
  
function add_smiley(smiley)
{
var $j = jQuery.noConflict();
    $j('#comment-textarea').val($j('#comment-textarea').val()+ smiley + " ");
    //document.comment_form.comment.value += " " + smiley + " ";
    //comment_form.comment.focus();
}

 function initCorners() {
    var settings = {
      tl: { radius: 16 },
      tr: { radius: 0 },
      bl: { radius: 16 },
      br: { radius: 0 },
      antiAlias: true
    }

    curvyCorners(settings, ".sub-title");
  }
  
