WRIGHT-PATTERSON AIR FORCE BASE, Ohio —
‘ +
‘
‘ +
‘
‘;
}
else {
caption += $(this).find(‘figcaption’).html() +
getDetailsURL($(this).parent()) +
getDownloadURL($(this).parent()) +
showFBShare();
}
}
return caption;
},
afterLoad: function (instance, current) {
//initial desktop view
$(“.fancybox-caption__body”).addClass(“a2a_kit”).addClass(“a2a_default_style”);
if (isMobile())
$(“.fancybox-caption__body”).addClass(“mobile”);
},
afterShow: function (instance, current) {
var $currentSlide = $(“.fancybox-slide.fancybox-slide–current.fancybox-slide–image”).parent().parent();
if (isMobile())
$currentSlide.find(“.fancy-detail-link”).on(“touchstart”, function() { captionToggle(); });
},
afterClose: function () {
}
}));
let debounceTimer;
$(window).on(“resize”, function (event) {
if (isMobile())
return;
if ($(“.af3-caption-body”).length > 0 && $(“.af3-caption-body”).css(“height”) != undefined) {
event.stopImmediatePropagation();
$(“.fancybox-caption__body”).removeClass(“half”);
isDesktopInit = false;
captionToggle();
debounceTimer = setTimeout(function () {
clearTimeout(debounceTimer);
debounceTimer = null;
recalculateImageSize();
}, 1000);
}
});
function recalculateImageSize() {
// Fancy box miscalculates because of race conditions with new layout
var origImgWth = $(“.fancybox-image”).prop(“naturalWidth”);
var origImgHgt = $(“.fancybox-image”).prop(“naturalHeight”);
var winWth = $(window).innerWidth();
var winHgt = $(window).innerHeight()
var ratio = Math.min(winWth / origImgWth,
winHgt / origImgHgt);
var newImgWth = (origImgWth * ratio);
var newImgHgt = (origImgHgt * ratio);
var dstTop = Math.floor((winHgt – newImgHgt)) / 2;
var dstLeft = Math.floor((winWth – newImgWth)) / 2;
$(“.fancybox-content”).removeAttr(“style”);
$(“.fancybox-content”).css(“width”, newImgWth + “px”);
$(“.fancybox-content”).css(“height”, newImgHgt + “px”);
$(“.fancybox-content”).css(“transform”,
“translate(” + dstLeft + “px, ” + dstTop + “px)”);
}
function captionToggle() {
if ($(“.fancybox-caption__body”).hasClass(“af3-caption-body”)) {
$(“.af3-caption-body”).stop(true, false).animate({ height: “0vh” }, 800, function () {
// Animation complete.
closeDetails();
});
$(“.fancy-photo-detail-link”).html($(“.fancy-photo-detail-link”).html().replace(“CLOSE”, “SHOW”));
}
else {
$(“.fancybox-caption__body”).addClass(“af3-caption-body”);
$(“.af3-caption-body”).addClass(detailSize);
$(“.af3-caption-body”).animate({ height: displayhgt }, 800);
$(“.fancybox-caption”).addClass(“af3-caption-bg”);
$(“.base-caption-info”).addClass(“full-height”);
$(“.fancy-photo-detail-link”).addClass(“photo-detail-gradient”);
$(“.fancybox-button”).css(“display”, “none”);
$(“.fancy-photo-detail-link”).html($(“.fancy-photo-detail-link”).html().replace(“SHOW”, “CLOSE”));
$(“.fancybox-caption__body”).prepend(prependClosing());
$(“.closing-box, .closingx”).on(“touchstart”, function() { captionToggle(); });
}
}
function getDetailsURL(fbObj) {
return ‘DETAILS’;
}
function getDownloadURL(fbObj) {
return ‘DOWNLOAD’;
}
function showFBShare() {
return ‘SHARE’;
}
function closeDetails() {
$(“.af3-caption-body”).removeClass(detailSize);
$(“.fancybox-caption__body”).removeClass(“af3-caption-body”);
$(“.fancybox-caption”).removeClass(“af3-caption-bg”);
$(“.base-caption-info”).removeClass(“full-height”);
$(“.fancy-photo-detail-link”).removeClass(“photo-detail-gradient”);
$(“.fancybox-button”).css(“display”, “block”);
if (detailSize === “half”) {
detailSize = “full”;
displayhgt = “90vh”;
$(“.fancybox-caption”).removeClass(“desktop-init”);
}
}
function prependClosing() {
return ”
}
function isMobile() {
var isMobile = false; //initiate as false
// device detection
if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)
|| /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0, 4))) {
isMobile = true;
}
return isMobile;
}
});
February is American Heart Month. Focusing on your heart health has never been more important. Heart disease is the leading cause of death in the United States.
You can help prevent heart disease by following a heart-healthy lifestyle. Here are strategies to help you protect your heart.
Choose Heart-Healthy foods. These foods are the foundation of a heart -healthy eating plan.
- Eat more vegetables and fruits. Vegetables and fruits are a good source of vitamins and minerals. Vegetables and fruits are also low in calories and rich in dietary fiber. The best way to get all the vitamins, minerals, and nutrients you need is to eat a variety of colorful fruits and vegetables. Examples of how to add color to your diet:
- Green- broccoli, collard greens, green beans, pears, romaine lettuce, spinach, zucchini
- Red- apples, beets, cranberries, grapes, strawberries, tomatoes, watermelon
- Orange & Yellow- apricots, cantaloupe, carrots, oranges, peaches, sweet potatoes
- Blue & Purple- blackberries, blueberries, eggplant, grapes, plums, prunes, raisins
- White- bananas, cauliflower, mushrooms, onions, potatoes
- Select whole grains. Whole grains are good sources of fiber and other nutrients that play a role in regulating blood pressure and heart health. Grain products to choose include:
- 100% whole wheat bread or 100% whole-grain bread
- High fiber cereal with 5 grams or more fiber per serving
- Whole grains such as brown rice, barley, and buckwheat
- Whole-grain pasta
- Choose low-fat protein sources. Lean meat, poultry and fish, low-fat dairy products, and eggs are some of the best sources of protein. Legumes- beans, peas, and lentils- are also good, low-fat sources of protein and contain no cholesterol, making them good substitutes for meat.
Proteins to choose include:
- Fish such as salmon, tuna, trout, and sardines
- Skinless poultry such as chicken and turkey
- Lean meats such as 95% lean ground beef or pork tenderloin
- Low-fat dairy products such as skim or low-fat (1%) milk, yogurt, and cheese
- Eggs
- Nuts such as walnuts, almonds, and pine nuts
- Seeds such as sesame, pumpkin, or flax
- Soybeans and soy products (tofu)
Maintain a healthy weight. People with overweight or obesity have a higher risk for heart disease. Carrying extra weight can put more stress on the heart and blood vessels. Your heart must work extra hard to pump blood through the body. The harder your heart pumps, the higher your blood pressure, which can cause heart disease and stroke. Losing weight can lower your blood pressure.
The body mass index (BMI) uses height and weight to find out whether a person is overweight or obese. A BMI of 25 or higher is considered overweight.
BMI doesn’t take into account your muscle mass, bone density, or body composition. Even if two people have the same BMI, their amount of excess body fat may differ.
To find out if your weight is in a healthy range, calculate your BMI here.
Get regular physical activity. Regular physical activity can help you lose excess weight, improve your physical fitness, lower many heart disease risk factors, and manage high blood pressure. Over time, regular physical activity conditions the heart to pump blood more efficiently throughout the body.
Participate in aerobic exercise (brisk walking, running, biking, or swimming) for at least a few minutes at a time throughout the week. The U.S. Department of Health and Human Services’ Physical Activity Guidelines for Americans recommends that adults get at least 150 minutes per week of moderate-intensity aerobic activity or 75 minutes per week of vigorous aerobic activity (or a combination of both), preferably spread throughout the week. Also, include muscle-strengthening activity (like bodyweight resistance or weight training) at least twice a week.
Don’t smoke and avoid secondhand smoke. Cigarette smoking is a major risk factor for heart disease. The chemicals you inhale when you smoke cause damage to your heart and blood vessels that makes you more likely to develop atherosclerosis, or plaque buildup in the arteries.
Nonsmokers are up to 30% more likely to develop heart disease or lung cancer from secondhand smoke exposure at home or work, according to a U.S. Surgeon General report.
If you smoke cigarettes, you can find resources to help you on your journey to living a smoke-free life at Smokefree.gov..
Comprehensive information on how to prevent heart disease can be found at the Centers for Disease Control and Prevention website at cdc.gov.