-->
`;
const embedded = createRawHtml(rawHtml);
embedded.appendChild(appendScript("https://platform.twitter.com/widgets.js"));
return embedded;
}
function processSingleContentElement(contentElement) {
switch (contentElement.displayType) {
case 'section': return contentElement.elements.map(it => processSingleContentElement(it));
case 'paragraph': return createSimpleTextElement(contentElement.text);
case 'header': return createSimpleTextElement(contentElement.text, 'h' + contentElement.level);
case 'image': return createImage(contentElement);
case 'twitter': return createTwitter(contentElement);
case 'youtube': return createYoutube(contentElement);
default: return createSimpleTextElement(JSON.stringify(contentElement));
}
}
function fillContentIntoElement(createdElement, htmlEl) {
try {
console.log(createdElement, htmlEl);
if (createdElement.length) {
createdElement.forEach(ch => htmlEl.appendChild(ch));
} else {
htmlEl.appendChild(createdElement);
}
} catch (e) {
console.error(e.message);
}
}
function fillContent(contentElementsList, htmlElements) {
const contentElements = Array.from(contentElementsList);
console.log(contentElements);
const lastElementIndex = htmlElements.length - 1;
htmlElements.forEach((htmlEl, index) => {
htmlEl.innerHTML = '';
if(contentElements.length > index) {
if(index === lastElementIndex) {
contentElements.slice(index).forEach(ce => fillContentIntoElement(processSingleContentElement(ce),htmlEl))
} else {
const createdElement = processSingleContentElement(contentElements[index]);
fillContentIntoElement(createdElement, htmlEl);
}
}
});
}
function createSlides(slides) {
const templateWrapper = document.getElementById('slide-template');
const template = templateWrapper.content.querySelector(".slide-template");
return slides.map((it, index) => {
const cloned = template.cloneNode(true);
const contentPlaceholders = cloned.querySelectorAll(".content-placeholder");
fillContent(it.elements, contentPlaceholders)
if (infiniteLayout) {
cloned.querySelectorAll(".adslot").forEach(slot => {
slot.id = slot.id + '_' + index;
});
}
return cloned;
});
}
var slides = [{"elements":[{"text":"If you avoid the sun, have milk allergies, or follow a strict vegan diet, you may be deficient in vitamin D. ","level":3,"displayType":"header"},{"imageUrl":"/static/8e466b5b-b2d7-4e11-9725-11c7ea519d7e.jpeg","caption":"Pixabay","displayType":"image"},{"elements":[{"text":"The body produces vitamin D, sometimes known as the sunshine vitamin, in reaction to skin contact with sunlight. It is required for appropriate bone mineralization and development and plays a crucial part in the functioning of organ systems through its impact on calcium levels. It improves the body's use of calcium from the diet.","level":0,"displayType":"paragraph"},{"text":"Vitamin D deficiency has become increasingly common, impacting a substantial portion of the world's population. As a result, several academics throughout the world have referred to vitamin D deficiency as an \"invisible epidemic.\"","level":0,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"What is the significance of Vitamin D?","level":2,"displayType":"header"},{"elements":[{"text":"Enhances Calcium Absorption: It helps in calcium absorption from your diet. Vitamin D, together with calcium, helps in maintaining bone density and bone health. Weak bones can cause osteoporosis, a decrease in bone density that can result in fractures. Healthy bones also protect you from a variety of diseases, including rickets. Rickets is a condition that causes children's bones to be weak and fragile.","level":0,"displayType":"paragraph"},{"text":"Working with the parathyroid glands: The parathyroid glands work with the kidneys, intestines, and skeleton to regulate the calcium in the blood. When there is enough calcium in the diet and enough active Vitamin D, dietary calcium is absorbed and used effectively throughout the body. If calcium intake is insufficient or vitamin D levels are low, the parathyroid glands will 'take' calcium from the skeleton to maintain blood calcium levels normal.","level":0,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"What does Vitamin D deficiency do to our bodies?","level":2,"displayType":"header"},{"elements":[{"text":"Vitamin D deficiency symptoms include bone pain and muscular weakness. The symptoms are subtle for many people. Even if no symptoms exist, a lack of vitamin D can be dangerous. ","level":0,"displayType":"paragraph"},{"text":"Some of the complications vitamin D deficiency can cause are:","level":0,"displayType":"paragraph"},{"text":"1. Heart disease","level":0,"displayType":"paragraph"},{"text":"2. High blood pressure","level":0,"displayType":"paragraph"},{"text":"3. Diabetes","level":0,"displayType":"paragraph"},{"text":"4. Multiple sclerosis","level":0,"displayType":"paragraph"},{"text":"5. Cancer such as breast, colon, and prostate","level":0,"displayType":"paragraph"},{"text":"6. Infections","level":0,"displayType":"paragraph"},{"text":"7. Decrease in bone density","level":0,"displayType":"paragraph"},{"text":"8. Immune system disorders","level":0,"displayType":"paragraph"},{"text":"9. Severe asthma","level":0,"displayType":"paragraph"},{"text":"10. Cognitive impairment in old age","level":0,"displayType":"paragraph"},{"text":"11. Neurological diseases","level":0,"displayType":"paragraph"},{"text":"12. Pregnancy complications","level":0,"displayType":"paragraph"},{"text":"13. Higher chances of depression","level":0,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"Who is at more risk?","level":2,"displayType":"header"},{"elements":[{"text":"People with less sun exposure: People who live in northern latitudes or in polluted environments, work night shifts, or are housebound","level":0,"displayType":"paragraph"},{"text":"Older people: With aging, the skin's capacity of producing vitamin D declines.","level":0,"displayType":"paragraph"},{"text":"Skin color: Skin pigmentation reduces the body's capacity to absorb UVB (ultraviolet B) photons from the sun. Sunlight absorption is required for the skin to synthesize vitamin D.","level":0,"displayType":"paragraph"},{"text":"Babies: Infants on breastfeeding have limited sources of vitamin D.","level":0,"displayType":"paragraph"},{"text":"Obese people: Excess body fat might impair the body's capacity to absorb vitamin D from the skin.","level":0,"displayType":"paragraph"},{"text":"People who have had a gastric bypass: This treatment bypasses a section of the upper intestine that absorbs a lot of vitamin D. This bypass may result in a deficiency.","level":0,"displayType":"paragraph"},{"text":"People with kidney problems: As people get older, their kidneys become less capable of converting vitamin D to its active form, increasing their risk of vitamin D deficiency.","level":0,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"Sources of Vitamin D","level":2,"displayType":"header"}]},{"elements":[{"text":"Sun Exposure","level":3,"displayType":"header"},{"elements":[{"text":"As previously stated, vitamin D3 is produced in the skin by direct sunshine (UVB) exposure and absorbed from meals. Sometimes under the sun can be beneficial. However, knowing that excessive sun exposure can cause skin cancer, food may be a better source.","level":0,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"Dietary Sources","level":3,"displayType":"header"},{"elements":[{"text":"There are few foods that are naturally high in vitamin D3. The meat of fatty fish and fish liver oils are the finest sources. Egg yolks, cheese, and beef liver all contain trace quantities. Certain mushrooms contain vitamin D2; moreover, some commercially marketed mushrooms contain increased levels of D2 as a result of being purposely exposed to high levels of UV radiation. Dairy products and cereals are vitamin D enriched.","level":0,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"Supplements","level":3,"displayType":"header"},{"elements":[{"text":"Supplements are another way to get vitamin D. Vitamin D3 (cholecalciferol) or D2 (ergocalciferol) is commonly (but not always) present in multivitamin formulations. When purchasing vitamin D pills, you may find two types: vitamin D2 and vitamin D3. Vitamin D2 is derived from plants and may be found in fortified meals as well as certain supplements. Vitamin D3 is created naturally in the human body and is also present in animal diets.","level":0,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"Can higher intake of Vitamin D cause toxicity?","level":2,"displayType":"header"},{"elements":[{"text":"The most common cause of vitamin D toxicity is supplementation. The vitamin levels in food are unlikely to reach hazardous levels, and excessive sun exposure does not induce toxicity since excess heat on the skin hinders D3 formation. It is not recommended to consume more than 4,000 IU of vitamin D per day except under the guidance of your doctor.","level":0,"displayType":"paragraph"},{"text":"- Toxic symptoms include:","level":0,"displayType":"paragraph"},{"text":"- Anorexia","level":0,"displayType":"paragraph"},{"text":"- Loss of weight","level":0,"displayType":"paragraph"},{"text":"Heartbeat irregularity","level":0,"displayType":"paragraph"},{"text":"Increased calcium levels in the blood cause hardening of blood vessels and tissues, potentially causing heart and kidney damage.","level":0,"displayType":"paragraph"}],"displayType":"section"}]}];
var slide_index = parseInt(0);
var slide_json = createSlides(slides);
var initial_slide = slide_index;
var initial_url = location.pathname + location.search;
var base_url = '/why-is-vitamin-d-deficiency-becoming-more-common-and-what-can-we-do-about-it';
var next_gallery = '/spoiled-pets';
var first_load = true;
var has_scrolled = false;
var title = "Why Is Vitamin D Deficiency Becoming More Common And What Can We Do About It?";
var path = base_url
var utm_campaign, utm_subid, utm_source, utm_content, utm_term = 'n/a';
// try {
// var url = new URL(window.location.href);
// utm_campaign = encodeURIComponent(url.searchParams.get("utm_campaign"));
// utm_source = encodeURIComponent(url.searchParams.get("utm_source"));
// utm_content = encodeURIComponent(url.searchParams.get("utm_content"));
// utm_term = encodeURIComponent(url.searchParams.get("utm_term"));
// utm_medium = encodeURIComponent(url.searchParams.get("utm_medium"));
// if (utm_content && utm_campaign){
// var googletag = googletag || {};
// googletag.cmd = googletag.cmd || [];
// googletag.cmd.push(function() {
// googletag.pubads().setTargeting("utm_subid", utm_term);
// googletag.pubads().setTargeting("utm_subid_c", utm_campaign);
// });
// }
// } catch (e) {
// }