﻿function redirect(dropDown) {
    if (dropDown.selectedIndex > 0)
        location.href = dropDown.value;
}

function removeEmptyParagraphs(containerID) {
    var val;
    $('#' + containerID).find('p').each(function(index) {
        val = $.trim($(this).html())
        if (val == '' || val == '&nbsp;') {
            $(this).remove();
            //$(this).css('padding','0');
            //$(this).css('margin','0');
            //alert($(this).html());
        }
    });
}