﻿
function initNieuwsPortalWebPart()
{
    $(".NieuwsItem, .NieuwsItemTop").hover(function()
        {
            $(this).addClass("NieuwsItemSelected");
        },
        function()
        {
            $(this).removeClass("NieuwsItemSelected");
        }
    );
}

function showNieuwsItem() {
    if (jQuery.support.opacity)
    {
        $(".NieuwsberichtOuter").fadeIn("fast");
		Cufon.replace('h1');
		Cufon.replace('.home-content-title');
		Cufon.replace('#home-grid2 .title');
		Cufon.replace('.slideshow-description');
		Cufon.replace('.NieuwsListItemLinkExtended');
		Cufon.replace('.NieuwsberichtTitelBottom');
		}

    else
    {
    //$(".NieuwsberichtOuter").fadeIn("fast", function() {this.style.removeAttribute("filter");}); 
        $(".NieuwsberichtOuter").fadeIn("fast", function () { $(this).removeAttr("filter"); });
		Cufon.replace('h1');
		Cufon.replace('.home-content-title');
		Cufon.replace('#home-grid2 .title');
		Cufon.replace('.slideshow-description');
		Cufon.replace('.NieuwsListItemLinkExtended');
		Cufon.replace('.NieuwsberichtTitelBottom');
		}

}


