jQuery.fn.niftycube = function(p_corner) 
{
  return this.each(function()
  {
    var v_el;    
    var v_id;
    var v_class;
    
    v_id = jQuery(this).attr("id");
    v_class = jQuery(this).attr("class");
    
    v_el = this.tagName;
    if (typeof(v_id) != "undefined")
    {
      v_el = v_el+"#"+v_id;
    }
    else if (typeof(v_class) != "undefined")
    {
      v_el = v_el+"."+v_class;
    }
         
    Nifty(v_el,p_corner);
  });
};
