﻿/*
    Created By : Angelo Pardinas
    Date : 12/01/2009
    Description : Javascript that's used exclusively by the ArticleRenderer.cs page. This javascript file
                    contains mostly JQuery codes needed by the renderer.
*/
$(document).ready(function() {
    // AP : Sprint M7 : Item 784 : Add popup box to ask users whether they want to page breaks or not when printing.
    if ($('div[@class=PageBreak]').length > 0)
    {
        if(!confirm('To insert page breaks in between articles when printing click OK.\nOtherwise, to print articles without page breaks in between click Cancel.'))
        {
            $('div[@class=PageBreak]').attr('class','');
        }
    }
});
