/** 
* @fileoverview 
*
*/
(function ($) {
    $(function () {
        /*
        * Rendering the icons into headlines and move the tooltip markup to the icon
        */
        var RenderHeadlineIcons = (function () {
            var $header = $('.header.toolTip.icon')
				.each(function (index) {
				    var $this = $(this),
						title = $this.attr('title'),
						$icon = $('<span />', {
						    className: 'toolTipIcon toolTip',
						    title: title
						});

				    $this
						.append($icon)
						.removeClass('toolTip')
						.removeAttr('title');
				});
        } ());
        /*
        * Configuration of the jQuery plugin TipTip
        * See http://code.drewwilson.com/entry/tiptip-jquery-plugin for details.
        */

        $('.toolTip').tipTip({
            maxWidth: '222px',
            position: 'top center',
            edgeOffset: 0
        });
    });
} (jQuery));
