{"id":15419,"date":"2024-10-01T13:07:24","date_gmt":"2024-10-01T11:07:24","guid":{"rendered":"https:\/\/www.benatur.eu\/?page_id=15419"},"modified":"2025-11-27T15:24:09","modified_gmt":"2025-11-27T14:24:09","slug":"my-daily-dose-of-ionic-spray","status":"publish","type":"page","link":"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/","title":{"rendered":"My daily dose of Ionic spray"},"content":{"rendered":"\n<form id=\"healthCalcForm\" class=\"formaENG\" style=\"margin-bottom: 70px;\">\n<div style=\"display:flex; flex-direction: row; gap:20px\">\n    <div style=\"width: 50%; margin-bottom: 24px;\">\n\n        <label for=\"weight\">Body weight (kg)*<\/label>\n        <input type=\"number\" id=\"weight\" placeholder=\"Enter your weight\" required min=\"1\" max=\"200\">\n        <span id=\"weightError\" style=\"color:red; display:none;\">Please enter weight in kg.<\/span>\n\n    <\/div>\n\n    <div style=\"width: 50%; margin-bottom: 24px;\">\n        <label for=\"age\">Age*<\/label>\n        <input type=\"number\" id=\"age\" placeholder=\"Enter your age\" required min=\"1\" max=\"99\">\n        <span id=\"ageError\" style=\"color:red; display:none;\">Please enter an age between 1 and 99 years.<\/span>\n    <\/div>\n<\/div>\n<div style=\"display:flex; flex-direction: row; gap:20px\">\n    <div style=\"width: 100%; margin-bottom: 24px;\">\n        <label>Do you have chronic illnesses, acute problems, or painful spots?*<\/label><br>\n        <input type=\"radio\" id=\"chronicYes\" name=\"chronic\" value=\"Yes\">\n        <label for=\"chronicYes\">Yes<\/label><br>\n        <input type=\"radio\" id=\"chronicNo\" name=\"chronic\" value=\"No\">\n        <label for=\"chronicNo\">No<\/label>\n        <span id=\"chronicError\" style=\"color:red; display:none;\">Please select an answer.<\/span>\n    <\/div>\n\n    <div style=\"width: 100%; margin-bottom: 24px;\">\n        <label>Are you stressed or exposed to significant physical exertion?*<\/label><br>\n        <input type=\"radio\" id=\"stressYes\" name=\"stress\" value=\"Yes\">\n        <label for=\"stressYes\">Yes<\/label><br>\n        <input type=\"radio\" id=\"stressNo\" name=\"stress\" value=\"No\">\n        <label for=\"stressNo\">No<\/label>\n        <span id=\"stressError\" style=\"color:red; display:none;\">Please select an answer.<\/span>\n    <\/div>\n<\/div>\n\n<div style=\"display:flex; flex-direction: row; gap:20px\">\n<div style=\"width: 100%; margin-bottom: 24px;\">\n    <label>Are you a professional athlete or actively involved in sports?*<\/label><br>\n    <input type=\"radio\" id=\"athleteYes\" name=\"athlete\" value=\"Yes\">\n    <label for=\"athleteYes\">Yes<\/label><br>\n    <input type=\"radio\" id=\"athleteNo\" name=\"athlete\" value=\"No\">\n    <label for=\"athleteNo\">No<\/label>\n    <span id=\"athleteError\" style=\"color:red; display:none;\">Please select an answer.<\/span>\n<\/div>\n\n<div style=\"width: 100%; margin-bottom: 24px;\">\n    <label>Are you pregnant or breastfeeding?*<\/label><br>\n    <input type=\"radio\" id=\"pregnantYes\" name=\"pregnant\" value=\"Yes\">\n    <label for=\"pregnantYes\">Yes<\/label><br>\n    <input type=\"radio\" id=\"pregnantNo\" name=\"pregnant\" value=\"No\">\n    <label for=\"pregnantNo\">No<\/label>\n    <span id=\"pregnantError\" style=\"color:red; display:none;\">Please select an answer.<\/span>\n<\/div>\n<\/div>\n\n\n<div style=\"margin-bottom: 10px; margin-right: 15px; display:inline-block;\">\n    <button type=\"button\" onclick=\"calculate()\">Calculate<\/button>\n<\/div>\n\n<div style=\"margin-bottom: 10px;; display: none;\" id=\"clearButtonWrapper\">\n    <button type=\"button\" onclick=\"clearForm()\">Clear<\/button>\n<\/div>\n\n<!-- Result is hidden initially -->\n<p id=\"resultWrapper\" style=\"display: none; font-size: 24px; margin-top: 20px; font-weight: 400;\">Your recommended dose is <span id=\"result\" style=\"color:#016292;font-weight: 600;\"><\/span>.<br><span id=\"morningEveningDose\" style=\"color:#016292;font-weight: 600;\"><\/span> reps in the morning and the same number of reps in the evening.<\/p>\n\n<\/form>\n\n<script>\nfunction calculate() {\n    \/\/ Reset error messages\n    document.getElementById('weightError').style.display = \"none\";\n    document.getElementById('ageError').style.display = \"none\";\n    document.getElementById('chronicError').style.display = \"none\";\n    document.getElementById('stressError').style.display = \"none\";\n    document.getElementById('athleteError').style.display = \"none\";\n    document.getElementById('pregnantError').style.display = \"none\";\n\n    var valid = true;\n    \n    \/\/ Validate weight\n    var weight = parseFloat(document.getElementById('weight').value);\n    if (isNaN(weight) || weight <= 0) {\n        document.getElementById('weightError').style.display = \"block\";\n        valid = false;\n    }\n    \n    \/\/ Validate age\n    var age = parseInt(document.getElementById('age').value);\n    if (isNaN(age) || age < 1 || age > 99) {\n        document.getElementById('ageError').style.display = \"block\";\n        valid = false;\n    }\n    \n    \/\/ Validate chronic illness\n    var chronic = document.querySelector('input[name=\"chronic\"]:checked');\n    if (!chronic) {\n        document.getElementById('chronicError').style.display = \"block\";\n        valid = false;\n    }\n    \n    \/\/ Validate stress\n    var stress = document.querySelector('input[name=\"stress\"]:checked');\n    if (!stress) {\n        document.getElementById('stressError').style.display = \"block\";\n        valid = false;\n    }\n    \n    \/\/ Validate athlete\n    var athlete = document.querySelector('input[name=\"athlete\"]:checked');\n    if (!athlete) {\n        document.getElementById('athleteError').style.display = \"block\";\n        valid = false;\n    }\n\n    \/\/ Validate pregnancy or breastfeeding\n    var pregnant = document.querySelector('input[name=\"pregnant\"]:checked');\n    if (!pregnant) {\n        document.getElementById('pregnantError').style.display = \"block\";\n        valid = false;\n    }\n\n    \/\/ Perform calculation if all fields are valid\n    if (valid) {\n        var totalResult = Math.round(weight \/ 3); \/\/ Base calculation\n        var multiplier = 1; \/\/ Default multiplier\n\n        \/\/ Check if age is greater than 60, or if any \"Yes\" answers are selected\n        if (age > 60 || chronic.value === \"Yes\" || stress.value === \"Yes\" || athlete.value === \"Yes\") {\n            multiplier = 2;\n        }\n\n        \/\/ Apply double dose if pregnant or breastfeeding\n        if (pregnant.value === \"Yes\") {\n            multiplier = 2;\n        }\n\n        totalResult = totalResult * multiplier; \/\/ Apply multiplier if conditions are met\n        var halfResult = Math.round(totalResult \/ 2); \/\/ Divide by 2 for morning\/evening doses\n\n        document.getElementById('result').innerText = totalResult;\n        document.getElementById('morningEveningDose').innerText = halfResult;\n        document.getElementById('resultWrapper').style.display = \"block\"; \/\/ Show result\n        \n        \/\/ Show \"Clear\" button after calculation\n        document.getElementById('clearButtonWrapper').style.display = \"inline-block\";\n    }\n}\n\nfunction clearForm() {\n    \/\/ Reset form fields\n    document.getElementById('healthCalcForm').reset();\n\n    \/\/ Hide result and clear button\n    document.getElementById('resultWrapper').style.display = \"none\";\n    document.getElementById('clearButtonWrapper').style.display = \"none\";\n    \n    \/\/ Hide error messages\n    document.getElementById('weightError').style.display = \"none\";\n    document.getElementById('ageError').style.display = \"none\";\n    document.getElementById('chronicError').style.display = \"none\";\n    document.getElementById('stressError').style.display = \"none\";\n    document.getElementById('athleteError').style.display = \"none\";\n    document.getElementById('pregnantError').style.display = \"none\";\n}\n<\/script>\n\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Body weight (kg)* Please enter weight in kg. Age* Please enter an age between 1 and 99 years. Do you have chronic illnesses, acute problems, or painful spots?* Yes No Please select an answer. Are you stressed or exposed to significant physical exertion?* Yes No Please select an answer. Are you a professional athlete or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":14700,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-15419","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>My daily dose of Ionic spray - BeNatur<\/title>\n<meta name=\"robots\" content=\"noindex, nofollow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"My daily dose of Ionic spray - BeNatur\" \/>\n<meta property=\"og:description\" content=\"Body weight (kg)* Please enter weight in kg. Age* Please enter an age between 1 and 99 years. Do you have chronic illnesses, acute problems, or painful spots?* Yes No Please select an answer. Are you stressed or exposed to significant physical exertion?* Yes No Please select an answer. Are you a professional athlete or [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/\" \/>\n<meta property=\"og:site_name\" content=\"BeNatur\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-27T14:24:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.benatur.eu\/wp-content\/uploads\/2024\/07\/cropped-Logo-profilna-recenzija-bez-natpisa.png\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/\",\"url\":\"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/\",\"name\":\"My daily dose of Ionic spray - BeNatur\",\"isPartOf\":{\"@id\":\"https:\/\/www.benatur.eu\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.benatur.eu\/wp-content\/uploads\/2024\/07\/cropped-Logo-profilna-recenzija-bez-natpisa.png\",\"datePublished\":\"2024-10-01T11:07:24+00:00\",\"dateModified\":\"2025-11-27T14:24:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/#primaryimage\",\"url\":\"https:\/\/www.benatur.eu\/wp-content\/uploads\/2024\/07\/cropped-Logo-profilna-recenzija-bez-natpisa.png\",\"contentUrl\":\"https:\/\/www.benatur.eu\/wp-content\/uploads\/2024\/07\/cropped-Logo-profilna-recenzija-bez-natpisa.png\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Po\u010detna stranica\",\"item\":\"https:\/\/www.benatur.eu\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"My daily dose of Ionic spray\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.benatur.eu\/en\/#website\",\"url\":\"https:\/\/www.benatur.eu\/en\/\",\"name\":\"BeNatur\",\"description\":\"Isprobajte i osjetite razliku\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.benatur.eu\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"My daily dose of Ionic spray - BeNatur","robots":{"index":"noindex","follow":"nofollow"},"og_locale":"en_US","og_type":"article","og_title":"My daily dose of Ionic spray - BeNatur","og_description":"Body weight (kg)* Please enter weight in kg. Age* Please enter an age between 1 and 99 years. Do you have chronic illnesses, acute problems, or painful spots?* Yes No Please select an answer. Are you stressed or exposed to significant physical exertion?* Yes No Please select an answer. Are you a professional athlete or [&hellip;]","og_url":"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/","og_site_name":"BeNatur","article_modified_time":"2025-11-27T14:24:09+00:00","og_image":[{"width":512,"height":512,"url":"https:\/\/www.benatur.eu\/wp-content\/uploads\/2024\/07\/cropped-Logo-profilna-recenzija-bez-natpisa.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/","url":"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/","name":"My daily dose of Ionic spray - BeNatur","isPartOf":{"@id":"https:\/\/www.benatur.eu\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/#primaryimage"},"image":{"@id":"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/#primaryimage"},"thumbnailUrl":"https:\/\/www.benatur.eu\/wp-content\/uploads\/2024\/07\/cropped-Logo-profilna-recenzija-bez-natpisa.png","datePublished":"2024-10-01T11:07:24+00:00","dateModified":"2025-11-27T14:24:09+00:00","breadcrumb":{"@id":"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/#primaryimage","url":"https:\/\/www.benatur.eu\/wp-content\/uploads\/2024\/07\/cropped-Logo-profilna-recenzija-bez-natpisa.png","contentUrl":"https:\/\/www.benatur.eu\/wp-content\/uploads\/2024\/07\/cropped-Logo-profilna-recenzija-bez-natpisa.png","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/www.benatur.eu\/en\/my-daily-dose-of-ionic-spray\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Po\u010detna stranica","item":"https:\/\/www.benatur.eu\/en\/"},{"@type":"ListItem","position":2,"name":"My daily dose of Ionic spray"}]},{"@type":"WebSite","@id":"https:\/\/www.benatur.eu\/en\/#website","url":"https:\/\/www.benatur.eu\/en\/","name":"BeNatur","description":"Isprobajte i osjetite razliku","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.benatur.eu\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.benatur.eu\/en\/wp-json\/wp\/v2\/pages\/15419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benatur.eu\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.benatur.eu\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.benatur.eu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benatur.eu\/en\/wp-json\/wp\/v2\/comments?post=15419"}],"version-history":[{"count":0,"href":"https:\/\/www.benatur.eu\/en\/wp-json\/wp\/v2\/pages\/15419\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.benatur.eu\/en\/wp-json\/wp\/v2\/media\/14700"}],"wp:attachment":[{"href":"https:\/\/www.benatur.eu\/en\/wp-json\/wp\/v2\/media?parent=15419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}