﻿(function($) {
    $.fn.ldkkTableHeaderFirst = function() {
        return this.each(function() {
            var $this = $(this);
            parentObj = this.parentNode;
            var parentDiv = document.createElement("DIV");
            parentDiv.setAttribute("class", "thContainerDiv");
            parentDiv.setAttribute("id", this.id + "_parent");
            var childDiv = document.createElement("DIV");
            childDiv.setAttribute("class", "thBackgroundDiv");
            childDiv.setAttribute("id", this.id + "_back");
            parentDiv.appendChild(childDiv);

            this.appendChild(parentDiv);

        });
    }
})(jQuery);
