Uploaded by David Segovia

HA Flashcards Test 3

advertisement
#separator:tab
#html:true
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-1-Q.svg""></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-5-A.svg""></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-6-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-6-A.svg""></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-7-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-7-A.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-8-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-8-A.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-9-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ad36cfe3783a48e4b45b8e67956a6c60-ao-9-A.svg"" /></div>
<div id=""io-original""><img src=""tmpt86bb8pm.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b0f8109f59214f5eb69640489d2ecbbe-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp35dpzvjn.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b0f8109f59214f5eb69640489d2ecbbe-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmp35dpzvjn.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b0f8109f59214f5eb69640489d2ecbbe-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp35dpzvjn.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b0f8109f59214f5eb69640489d2ecbbe-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmp35dpzvjn.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b0f8109f59214f5eb69640489d2ecbbe-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp35dpzvjn.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b0f8109f59214f5eb69640489d2ecbbe-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmp35dpzvjn.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b0f8109f59214f5eb69640489d2ecbbe-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp35dpzvjn.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b0f8109f59214f5eb69640489d2ecbbe-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmp35dpzvjn.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b0f8109f59214f5eb69640489d2ecbbe-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp35dpzvjn.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b0f8109f59214f5eb69640489d2ecbbe-ao-5-A.svg""></div>
<div id=""io-original""><img src=""tmp35dpzvjn.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""8196dafc30a642deb1ae2636617a393c-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp8j8ovsvm.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""8196dafc30a642deb1ae2636617a393c-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmp8j8ovsvm.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""8196dafc30a642deb1ae2636617a393c-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp8j8ovsvm.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""8196dafc30a642deb1ae2636617a393c-ao-2-A.svg""></div>
<div id=""io-original""><img src=""tmp8j8ovsvm.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""a73fc91d491749ec9464b5bc3a4f8d34-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpcu0ext6p.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""a73fc91d491749ec9464b5bc3a4f8d34-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpcu0ext6p.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""a73fc91d491749ec9464b5bc3a4f8d34-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpcu0ext6p.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""a73fc91d491749ec9464b5bc3a4f8d34-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpcu0ext6p.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""60cf54980ec94c4887f3e17ce72b0954-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpk2zqylu5.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""60cf54980ec94c4887f3e17ce72b0954-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpk2zqylu5.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""60cf54980ec94c4887f3e17ce72b0954-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpk2zqylu5.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""60cf54980ec94c4887f3e17ce72b0954-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpk2zqylu5.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""60cf54980ec94c4887f3e17ce72b0954-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpk2zqylu5.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""60cf54980ec94c4887f3e17ce72b0954-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmpk2zqylu5.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""845cc40057d34463abbc3fd7e8e892ef-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpyqp9vn7d.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""845cc40057d34463abbc3fd7e8e892ef-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmpyqp9vn7d.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""845cc40057d34463abbc3fd7e8e892ef-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpyqp9vn7d.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""845cc40057d34463abbc3fd7e8e892ef-ao-2-A.svg""></div>
<div id=""io-original""><img src=""tmpyqp9vn7d.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-4-A.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-5-A.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-6-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-6-A.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-7-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-7-A.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-8-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-8-A.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-9-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-9-A.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-10-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-10-A.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-11-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""b8ffb727f84340419377bc616171204c-ao-11-A.svg"" /></div>
<div id=""io-original""><img src=""tmpp3k9c1hl.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""059c8409ebab41c0b47b4900b45c7f3e-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpewm9enys.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""059c8409ebab41c0b47b4900b45c7f3e-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpewm9enys.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""059c8409ebab41c0b47b4900b45c7f3e-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpewm9enys.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""059c8409ebab41c0b47b4900b45c7f3e-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpewm9enys.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""059c8409ebab41c0b47b4900b45c7f3e-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpewm9enys.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""059c8409ebab41c0b47b4900b45c7f3e-ao-3-A.svg"" /></div>
<div id=""io-original""><img src=""tmpewm9enys.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""059c8409ebab41c0b47b4900b45c7f3e-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpewm9enys.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""059c8409ebab41c0b47b4900b45c7f3e-ao-4-A.svg"" /></div>
<div id=""io-original""><img src=""tmpewm9enys.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""0417f972ecda4e669eb45b1e8507c853-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpgxl2_459.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""0417f972ecda4e669eb45b1e8507c853-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpgxl2_459.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""0417f972ecda4e669eb45b1e8507c853-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpgxl2_459.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""0417f972ecda4e669eb45b1e8507c853-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpgxl2_459.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9ca20d6810f14552b50400afb1648373-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpez_fx3h8.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9ca20d6810f14552b50400afb1648373-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpez_fx3h8.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9ca20d6810f14552b50400afb1648373-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpez_fx3h8.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9ca20d6810f14552b50400afb1648373-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpez_fx3h8.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9ca20d6810f14552b50400afb1648373-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpez_fx3h8.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9ca20d6810f14552b50400afb1648373-ao-3-A.svg"" /></div>
<div id=""io-original""><img src=""tmpez_fx3h8.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9ca20d6810f14552b50400afb1648373-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpez_fx3h8.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9ca20d6810f14552b50400afb1648373-ao-4-A.svg"" /></div>
<div id=""io-original""><img src=""tmpez_fx3h8.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9ca20d6810f14552b50400afb1648373-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpez_fx3h8.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9ca20d6810f14552b50400afb1648373-ao-5-A.svg"" /></div>
<div id=""io-original""><img src=""tmpez_fx3h8.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"<div>Evaluation of the gastrointestinal system includes preoperative determination of the presence of </div><div><ul><li><span class=""cloze"" data-cloze=""nausea and vomiting"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""diarrhea"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""occult or overt gastrointestinal bleeding"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""abdominal or referred pain"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""abdominal distention"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""palpable masses"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""dysphagia"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""gastric hyperacidity with or without reflux"" data-ordinal=""1"">[...]</span></li></ul></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Evaluation of the gastrointestinal system includes preoperative determination of the presence of </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">nausea and vomiting</span></li><li><span class=""cloze"" data-ordinal=""1"">diarrhea</span></li><li><span class=""cloze"" data-ordinal=""1"">occult or overt gastrointestinal bleeding</span></li><li><span class=""cloze"" data-ordinal=""1"">abdominal or referred pain</span></li><li><span class=""cloze"" data-ordinal=""1"">abdominal distention</span></li><li><span class=""cloze"" data-ordinal=""1"">palpable masses</span></li><li><span class=""cloze"" data-ordinal=""1"">dysphagia</span></li><li><span class=""cloze"" data-ordinal=""1"">gastric hyperacidity with or without reflux</span></li></ul></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Evaluation of the gastrointestinal system includes preoperative determination of the presence of </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">nausea and vomiting</span></li><li><span class=""cloze"" data-ordinal=""1"">diarrhea</span></li><li><span class=""cloze"" data-ordinal=""1"">occult or overt gastrointestinal bleeding</span></li><li><span class=""cloze"" data-ordinal=""1"">abdominal or referred pain</span></li><li><span class=""cloze"" data-ordinal=""1"">abdominal distention</span></li><li><span class=""cloze"" data-ordinal=""1"">palpable masses</span></li><li><span class=""cloze"" data-ordinal=""1"">dysphagia</span></li><li><span class=""cloze"" data-ordinal=""1"">gastric hyperacidity with or without reflux</span></li></ul></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>The hematocrit value may be <span class=""cloze"" data-cloze=""falsely elevated"" data-ordinal=""1"">[...]</span> as a result of hemoconcentration in patients with acute or chronic bleeding.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>The hematocrit value may be <span class=""cloze"" data-ordinal=""1"">falsely elevated</span> as a result of hemoconcentration in patients with acute or chronic bleeding.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>The hematocrit value may be <span class=""cloze"" data-ordinal=""1"">falsely elevated</span> as a result of hemoconcentration in patients with acute or chronic bleeding.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Preoperative evaluation of the hepatobiliary system includes screening for the presence of acute or chronic liver parenchymal disease such as</div>
<div><ul><li><span class=""cloze"" data-cloze=""hepatitis "" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""cirrhosis"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""cholestatic liver disease"" data-ordinal=""1"">[...]</span></li></ul></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Preoperative evaluation of the hepatobiliary system includes screening for the presence of acute or chronic liver parenchymal disease such as</div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">hepatitis </span></li><li><span class=""cloze"" data-ordinal=""1"">cirrhosis</span></li><li><span class=""cloze"" data-ordinal=""1"">cholestatic liver disease</span></li></ul></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Preoperative evaluation of the hepatobiliary system includes screening for the presence of acute or chronic liver parenchymal disease such as</div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">hepatitis </span></li><li><span class=""cloze"" data-ordinal=""1"">cirrhosis</span></li><li><span class=""cloze"" data-ordinal=""1"">cholestatic liver disease</span></li></ul></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Elective surgery is postponed until a definitive diagnosis and treatment are established and indicators of active inflammation (e.g., </div><div><ul><li><span class=""cloze"" data-cloze=""transaminase levels"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""cellular infiltration on liver biopsy)"" data-ordinal=""1"">[...]</span> ...</li></ul></div><div>have subsided.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Elective surgery is postponed until a definitive diagnosis and treatment are established and indicators of active inflammation (e.g., </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">transaminase levels</span></li><li><span class=""cloze"" data-ordinal=""1"">cellular infiltration on liver biopsy)</span> ...</li></ul></div><div>have subsided.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Elective surgery is postponed until a definitive diagnosis and treatment are established and indicators of active inflammation (e.g., </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">transaminase levels</span></li><li><span class=""cloze"" data-ordinal=""1"">cellular infiltration on liver biopsy)</span> ...</li></ul></div><div>have subsided.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d347ea81b5b9417d9d34c51db59ba0b8-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpgfp298ie.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d347ea81b5b9417d9d34c51db59ba0b8-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpgfp298ie.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d347ea81b5b9417d9d34c51db59ba0b8-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpgfp298ie.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d347ea81b5b9417d9d34c51db59ba0b8-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpgfp298ie.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d347ea81b5b9417d9d34c51db59ba0b8-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpgfp298ie.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d347ea81b5b9417d9d34c51db59ba0b8-ao-3-A.svg"" /></div>
<div id=""io-original""><img src=""tmpgfp298ie.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"<div>The acid-base balance, electrolyte status, and extent of hepatorenal reserve may be determined by </div>
<div><ul><li><span class=""cloze"" data-cloze=""liver function tests"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""arterial blood gas analysis"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""serum multiphasic profiles"" data-ordinal=""1"">[...]</span></li></ul></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>The acid-base balance, electrolyte status, and extent of hepatorenal reserve may be determined by </div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">liver function tests</span></li><li><span class=""cloze"" data-ordinal=""1"">arterial blood gas analysis</span></li><li><span class=""cloze"" data-ordinal=""1"">serum multiphasic profiles</span></li></ul></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>The acid-base balance, electrolyte status, and extent of hepatorenal reserve may be determined by </div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">liver function tests</span></li><li><span class=""cloze"" data-ordinal=""1"">arterial blood gas analysis</span></li><li><span class=""cloze"" data-ordinal=""1"">serum multiphasic profiles</span></li></ul></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Commonly measured hepatocellularv enzymes also distributed throughout cells of the lungs, heart, kidneys, and skeletal muscles are:</div><div><div><ul><li><span class=""cloze"" data-cloze=""alanine transaminase (ALT)"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""lactate dehydrogenase (LDH)"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""Aspartate transaminase (AST)"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""serum glutamic pyruvic transaminase (SGPT)"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""serum glutamic oxaloacetate transaminase (SGOT)"" data-ordinal=""1"">[...]</span></li></ul></div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Commonly measured hepatocellularv enzymes also distributed throughout cells of the lungs, heart, kidneys, and skeletal muscles are:</div><div><div><ul><li><span class=""cloze"" data-ordinal=""1"">alanine transaminase (ALT)</span></li><li><span class=""cloze"" data-ordinal=""1"">lactate dehydrogenase (LDH)</span></li><li><span class=""cloze"" data-ordinal=""1"">Aspartate transaminase (AST)</span></li><li><span class=""cloze"" data-ordinal=""1"">serum glutamic pyruvic transaminase (SGPT)</span></li><li><span class=""cloze"" data-ordinal=""1"">serum glutamic oxaloacetate transaminase (SGOT)</span></li></ul></div></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Commonly measured hepatocellularv enzymes also distributed throughout cells of the lungs, heart, kidneys, and skeletal muscles are:</div><div><div><ul><li><span class=""cloze"" data-ordinal=""1"">alanine transaminase (ALT)</span></li><li><span class=""cloze"" data-ordinal=""1"">lactate dehydrogenase (LDH)</span></li><li><span class=""cloze"" data-ordinal=""1"">Aspartate transaminase (AST)</span></li><li><span class=""cloze"" data-ordinal=""1"">serum glutamic pyruvic transaminase (SGPT)</span></li><li><span class=""cloze"" data-ordinal=""1"">serum glutamic oxaloacetate transaminase (SGOT)</span></li></ul></div></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>When acute parenchymal injury is evident, prolongation of <span class=""cloze"" data-cloze=""prothrombin time"" data-ordinal=""1"">[...]</span> offers the most rapid and reliable hallmark of liver dysfunction and is shown to have prognostic significance.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>When acute parenchymal injury is evident, prolongation of <span class=""cloze"" data-ordinal=""1"">prothrombin time</span> offers the most rapid and reliable hallmark of liver dysfunction and is shown to have prognostic significance.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>When acute parenchymal injury is evident, prolongation of <span class=""cloze"" data-ordinal=""1"">prothrombin time</span> offers the most rapid and reliable hallmark of liver dysfunction and is shown to have prognostic significance.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Hepatotoxic drugs may then be discontinuedor avoided before surgery. These drugs commonly include</div>
<div><ul><li><span class=""cloze"" data-cloze=""acetaminophen&nbsp&#x3B;"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""NSAIDs"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""methyldopa"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""isoniazid"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""rifampin"" data-ordinal=""1"">[...]</span></li></ul></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Hepatotoxic drugs may then be discontinuedor avoided before surgery. These drugs commonly include</div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">acetaminophen </span></li><li><span class=""cloze"" data-ordinal=""1"">NSAIDs</span></li><li><span class=""cloze"" data-ordinal=""1"">methyldopa</span></li><li><span class=""cloze"" data-ordinal=""1"">isoniazid</span></li><li><span class=""cloze"" data-ordinal=""1"">rifampin</span></li></ul></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Hepatotoxic drugs may then be discontinuedor avoided before surgery. These drugs commonly include</div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">acetaminophen </span></li><li><span class=""cloze"" data-ordinal=""1"">NSAIDs</span></li><li><span class=""cloze"" data-ordinal=""1"">methyldopa</span></li><li><span class=""cloze"" data-ordinal=""1"">isoniazid</span></li><li><span class=""cloze"" data-ordinal=""1"">rifampin</span></li></ul></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Finally a diagnosis of infectious hepatitis should be pursued in patients with hepatobiliary disease of unknown cause and in patients considered to be at high risk, which includes those with a history of </div><div><ul><li><span class=""cloze"" data-cloze=""hemodialysis"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""multiple blood transfusions"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""intravenous drug abuse."" data-ordinal=""1"">[...]</span></li></ul></div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Finally a diagnosis of infectious hepatitis should be pursued in patients with hepatobiliary disease of unknown cause and in patients considered to be at high risk, which includes those with a history of </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">hemodialysis</span></li><li><span class=""cloze"" data-ordinal=""1"">multiple blood transfusions</span></li><li><span class=""cloze"" data-ordinal=""1"">intravenous drug abuse.</span></li></ul></div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Finally a diagnosis of infectious hepatitis should be pursued in patients with hepatobiliary disease of unknown cause and in patients considered to be at high risk, which includes those with a history of </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">hemodialysis</span></li><li><span class=""cloze"" data-ordinal=""1"">multiple blood transfusions</span></li><li><span class=""cloze"" data-ordinal=""1"">intravenous drug abuse.</span></li></ul></div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d8879e310f6f44e888db0e6590034b44-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp95aqx95z.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d8879e310f6f44e888db0e6590034b44-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmp95aqx95z.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d8879e310f6f44e888db0e6590034b44-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp95aqx95z.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d8879e310f6f44e888db0e6590034b44-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmp95aqx95z.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"<div><div>For example, preoperative dehydration may be evident with symptoms such as</div><div><ul><li><span class=""cloze"" data-cloze=""tachycardia"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""dry mucous membranes"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""postural hypotension"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""increased capillary refill time"" data-ordinal=""1"">[...]</span></li></ul></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>For example, preoperative dehydration may be evident with symptoms such as</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">tachycardia</span></li><li><span class=""cloze"" data-ordinal=""1"">dry mucous membranes</span></li><li><span class=""cloze"" data-ordinal=""1"">postural hypotension</span></li><li><span class=""cloze"" data-ordinal=""1"">increased capillary refill time</span></li></ul></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>For example, preoperative dehydration may be evident with symptoms such as</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">tachycardia</span></li><li><span class=""cloze"" data-ordinal=""1"">dry mucous membranes</span></li><li><span class=""cloze"" data-ordinal=""1"">postural hypotension</span></li><li><span class=""cloze"" data-ordinal=""1"">increased capillary refill time</span></li></ul></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><div><span class=""cloze"" data-cloze=""Polyuria"" data-ordinal=""1"">[...]</span>, when not attributed to diuretics, may reflect <span class=""cloze"" data-cloze=""glycosuria"" data-ordinal=""1"">[...]</span> or, rarely, inadequate secretion of <span class=""cloze"" data-cloze=""</div><div>antidiuretic hormone (diabetes insipidus)"" data-ordinal=""1"">[...]</span>. <span class=""cloze-inactive"" data-ordinal=""2"">Urinary retention</span> and other signs of neurogenic bladder may be caused by a spinal cord injury or long-standing <span class=""cloze-inactive"" data-ordinal=""2"">diabetes mellitus</span>.</div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div><span class=""cloze"" data-ordinal=""1"">Polyuria</span>, when not attributed to diuretics, may reflect <span class=""cloze"" data-ordinal=""1"">glycosuria</span> or, rarely, inadequate secretion of <span class=""cloze"" data-ordinal=""1""></div><div>antidiuretic hormone (diabetes insipidus)</span>. <span class=""cloze-inactive"" data-ordinal=""2"">Urinary retention</span> and other signs of neurogenic bladder may be caused by a spinal cord injury or long-standing <span class=""cloze-inactive"" data-ordinal=""2"">diabetes mellitus</span>.</div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div><span class=""cloze"" data-ordinal=""1"">Polyuria</span>, when not attributed to diuretics, may reflect <span class=""cloze"" data-ordinal=""1"">glycosuria</span> or, rarely, inadequate secretion of <span class=""cloze"" data-ordinal=""1""></div><div>antidiuretic hormone (diabetes insipidus)</span>. <span class=""cloze-inactive"" data-ordinal=""2"">Urinary retention</span> and other signs of neurogenic bladder may be caused by a spinal cord injury or long-standing <span class=""cloze-inactive"" data-ordinal=""2"">diabetes mellitus</span>.</div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><div><span class=""cloze-inactive"" data-ordinal=""1"">Polyuria</span>, when not attributed to diuretics, may reflect <span class=""cloze-inactive"" data-ordinal=""1"">glycosuria</span> or, rarely, inadequate secretion of <span class=""cloze-inactive"" data-ordinal=""1""></div><div>antidiuretic hormone (diabetes insipidus)</span>. <span class=""cloze"" data-cloze=""Urinary retention"" data-ordinal=""2"">[...]</span> and other signs of neurogenic bladder may be caused by a spinal cord injury or long-standing <span class=""cloze"" data-cloze=""diabetes mellitus"" data-ordinal=""2"">[...]</span>.</div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div><span class=""cloze-inactive"" data-ordinal=""1"">Polyuria</span>, when not attributed to diuretics, may reflect <span class=""cloze-inactive"" data-ordinal=""1"">glycosuria</span> or, rarely, inadequate secretion of <span class=""cloze-inactive"" data-ordinal=""1""></div><div>antidiuretic hormone (diabetes insipidus)</span>. <span class=""cloze"" data-ordinal=""2"">Urinary retention</span> and other signs of neurogenic bladder may be caused by a spinal cord injury or long-standing <span class=""cloze"" data-ordinal=""2"">diabetes mellitus</span>.</div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div><span class=""cloze-inactive"" data-ordinal=""1"">Polyuria</span>, when not attributed to diuretics, may reflect <span class=""cloze-inactive"" data-ordinal=""1"">glycosuria</span> or, rarely, inadequate secretion of <span class=""cloze-inactive"" data-ordinal=""1""></div><div>antidiuretic hormone (diabetes insipidus)</span>. <span class=""cloze"" data-ordinal=""2"">Urinary retention</span> and other signs of neurogenic bladder may be caused by a spinal cord injury or long-standing <span class=""cloze"" data-ordinal=""2"">diabetes mellitus</span>.</div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><div>Unfortunately, clinical evidence of renal insufficiency may not be apparent until at least <span class=""cloze"" data-cloze=""70"" data-ordinal=""1"">[...]</span>% of nephrons are nonfunctional.</div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div>Unfortunately, clinical evidence of renal insufficiency may not be apparent until at least <span class=""cloze"" data-ordinal=""1"">70</span>% of nephrons are nonfunctional.</div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div>Unfortunately, clinical evidence of renal insufficiency may not be apparent until at least <span class=""cloze"" data-ordinal=""1"">70</span>% of nephrons are nonfunctional.</div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><div>Acute kidney injury where there is rapid deterioration in kidney function is defined by elevated creatinine of greater than <span class=""cloze"" data-cloze=""26.4"" data-ordinal=""1"">[...]</span> μmol/L within <span class=""cloze"" data-cloze=""48"" data-ordinal=""1"">[...]</span></div>
<div>hours; elevated serum creatinine of greater than 1.5 times baseline, which is known or presumed to have occurred within the previous <span class=""cloze"" data-cloze=""7"" data-ordinal=""1"">[...]</span> days; and urine output less than <span class=""cloze"" data-cloze=""0.5"" data-ordinal=""1"">[...]</span> mL/kg for <span class=""cloze"" data-cloze=""6"" data-ordinal=""1"">[...]</span> hours.</div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div>Acute kidney injury where there is rapid deterioration in kidney function is defined by elevated creatinine of greater than <span class=""cloze"" data-ordinal=""1"">26.4</span> μmol/L within <span class=""cloze"" data-ordinal=""1"">48</span></div>
<div>hours; elevated serum creatinine of greater than 1.5 times baseline, which is known or presumed to have occurred within the previous <span class=""cloze"" data-ordinal=""1"">7</span> days; and urine output less than <span class=""cloze"" data-ordinal=""1"">0.5</span> mL/kg for <span class=""cloze"" data-ordinal=""1"">6</span> hours.</div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div>Acute kidney injury where there is rapid deterioration in kidney function is defined by elevated creatinine of greater than <span class=""cloze"" data-ordinal=""1"">26.4</span> μmol/L within <span class=""cloze"" data-ordinal=""1"">48</span></div>
<div>hours; elevated serum creatinine of greater than 1.5 times baseline, which is known or presumed to have occurred within the previous <span class=""cloze"" data-ordinal=""1"">7</span> days; and urine output less than <span class=""cloze"" data-ordinal=""1"">0.5</span> mL/kg for <span class=""cloze"" data-ordinal=""1"">6</span> hours.</div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><div>The serum levels of creatinine, a byproduct of <span class=""cloze"" data-cloze=""skeletal muscle metabolism"" data-ordinal=""1"">[...]</span>, can reflect the <span class=""cloze"" data-cloze=""muscle mass"" data-ordinal=""1"">[...]</span> and <span class=""cloze"" data-cloze=""catabolic state"" data-ordinal=""1"">[...]</span> of each patient.</div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div>The serum levels of creatinine, a byproduct of <span class=""cloze"" data-ordinal=""1"">skeletal muscle metabolism</span>, can reflect the <span class=""cloze"" data-ordinal=""1"">muscle mass</span> and <span class=""cloze"" data-ordinal=""1"">catabolic state</span> of each patient.</div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div>The serum levels of creatinine, a byproduct of <span class=""cloze"" data-ordinal=""1"">skeletal muscle metabolism</span>, can reflect the <span class=""cloze"" data-ordinal=""1"">muscle mass</span> and <span class=""cloze"" data-ordinal=""1"">catabolic state</span> of each patient.</div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><div>Normal serum creatinine levels may be higher in a <span class=""cloze"" data-cloze=""muscular man"" data-ordinal=""1"">[...]</span> than in a <span class=""cloze"" data-cloze=""woman"" data-ordinal=""1"">[...]</span>. Conversely, serum creatinine levels can remain within the normal range in the <span class=""cloze"" data-cloze=""elderly"" data-ordinal=""1"">[...]</span> patient despite a progressive decline in glomerular function because of the decrease in muscle mass associated with <span class=""cloze"" data-cloze=""aging"" data-ordinal=""1"">[...]</span>.</div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div>Normal serum creatinine levels may be higher in a <span class=""cloze"" data-ordinal=""1"">muscular man</span> than in a <span class=""cloze"" data-ordinal=""1"">woman</span>. Conversely, serum creatinine levels can remain within the normal range in the <span class=""cloze"" data-ordinal=""1"">elderly</span> patient despite a progressive decline in glomerular function because of the decrease in muscle mass associated with <span class=""cloze"" data-ordinal=""1"">aging</span>.</div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div>Normal serum creatinine levels may be higher in a <span class=""cloze"" data-ordinal=""1"">muscular man</span> than in a <span class=""cloze"" data-ordinal=""1"">woman</span>. Conversely, serum creatinine levels can remain within the normal range in the <span class=""cloze"" data-ordinal=""1"">elderly</span> patient despite a progressive decline in glomerular function because of the decrease in muscle mass associated with <span class=""cloze"" data-ordinal=""1"">aging</span>.</div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><div>The most commonly used endogenous marker of renal reserve or GFR is <span class=""cloze-inactive"" data-ordinal=""1"">creatinine clearance</span>, which reflects the ability of <span class=""cloze"" data-cloze=""glomeruli to excrete creatinine into the urine at a given blood concentration."" data-ordinal=""2"">[...]</span></div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div>The most commonly used endogenous marker of renal reserve or GFR is <span class=""cloze-inactive"" data-ordinal=""1"">creatinine clearance</span>, which reflects the ability of <span class=""cloze"" data-ordinal=""2"">glomeruli to excrete creatinine into the urine at a given blood concentration.</span></div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div>The most commonly used endogenous marker of renal reserve or GFR is <span class=""cloze-inactive"" data-ordinal=""1"">creatinine clearance</span>, which reflects the ability of <span class=""cloze"" data-ordinal=""2"">glomeruli to excrete creatinine into the urine at a given blood concentration.</span></div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><div>The most commonly used endogenous marker of renal reserve or GFR is <span class=""cloze"" data-cloze=""creatinine clearance"" data-ordinal=""1"">[...]</span>, which reflects the ability of <span class=""cloze-inactive"" data-ordinal=""2"">glomeruli to excrete creatinine into the urine at a given blood concentration.</span></div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div>The most commonly used endogenous marker of renal reserve or GFR is <span class=""cloze"" data-ordinal=""1"">creatinine clearance</span>, which reflects the ability of <span class=""cloze-inactive"" data-ordinal=""2"">glomeruli to excrete creatinine into the urine at a given blood concentration.</span></div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div>The most commonly used endogenous marker of renal reserve or GFR is <span class=""cloze"" data-ordinal=""1"">creatinine clearance</span>, which reflects the ability of <span class=""cloze-inactive"" data-ordinal=""2"">glomeruli to excrete creatinine into the urine at a given blood concentration.</span></div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-5-A.svg"" /></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-6-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-6-A.svg"" /></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-7-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""ac8f9e7511614bdfa88dbd224d97257c-ao-7-A.svg""></div>
<div id=""io-original""><img src=""tmpr9ykcadj.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"<div><div><div>Fluid overload may also be evidenced by </div><div><ul><li><span class=""cloze"" data-cloze=""bibasilar rales"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""jugular vein distention"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""peripheral and periorbital edema"" data-ordinal=""1"">[...]</span></li></ul></div><div><br></div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div>Fluid overload may also be evidenced by </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">bibasilar rales</span></li><li><span class=""cloze"" data-ordinal=""1"">jugular vein distention</span></li><li><span class=""cloze"" data-ordinal=""1"">peripheral and periorbital edema</span></li></ul></div><div><br></div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div>Fluid overload may also be evidenced by </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">bibasilar rales</span></li><li><span class=""cloze"" data-ordinal=""1"">jugular vein distention</span></li><li><span class=""cloze"" data-ordinal=""1"">peripheral and periorbital edema</span></li></ul></div><div><br></div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><div>Preoperative measurement of serum potassium concentration is recommended within <span class=""cloze"" data-cloze=""6"" data-ordinal=""1"">[...]</span> to <span class=""cloze"" data-cloze=""8"" data-ordinal=""1"">[...]</span> hours of surgery regardless of whether dialysis is performed, because unexpected hyperkalemia with its adverse cardiac effects is known to occur rapidly.</div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div>Preoperative measurement of serum potassium concentration is recommended within <span class=""cloze"" data-ordinal=""1"">6</span> to <span class=""cloze"" data-ordinal=""1"">8</span> hours of surgery regardless of whether dialysis is performed, because unexpected hyperkalemia with its adverse cardiac effects is known to occur rapidly.</div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div>Preoperative measurement of serum potassium concentration is recommended within <span class=""cloze"" data-ordinal=""1"">6</span> to <span class=""cloze"" data-ordinal=""1"">8</span> hours of surgery regardless of whether dialysis is performed, because unexpected hyperkalemia with its adverse cardiac effects is known to occur rapidly.</div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><div>When extreme <span class=""cloze"" data-cloze=""fatigue"" data-ordinal=""1"">[...]</span> and <span class=""cloze"" data-cloze=""pallor"" data-ordinal=""1"">[...]</span>, <span class=""cloze"" data-cloze=""limited exercise tolerance"" data-ordinal=""1"">[...]</span>, and persistent <span class=""cloze"" data-cloze=""tachycardia"" data-ordinal=""1"">[...]</span> are evident before major surgery, the transfusion of packed red blood cells may be necessary.</div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div>When extreme <span class=""cloze"" data-ordinal=""1"">fatigue</span> and <span class=""cloze"" data-ordinal=""1"">pallor</span>, <span class=""cloze"" data-ordinal=""1"">limited exercise tolerance</span>, and persistent <span class=""cloze"" data-ordinal=""1"">tachycardia</span> are evident before major surgery, the transfusion of packed red blood cells may be necessary.</div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div>When extreme <span class=""cloze"" data-ordinal=""1"">fatigue</span> and <span class=""cloze"" data-ordinal=""1"">pallor</span>, <span class=""cloze"" data-ordinal=""1"">limited exercise tolerance</span>, and persistent <span class=""cloze"" data-ordinal=""1"">tachycardia</span> are evident before major surgery, the transfusion of packed red blood cells may be necessary.</div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d65fbf1f53f54094970f54c3795ec9fa-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpv9c3p57c.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d65fbf1f53f54094970f54c3795ec9fa-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmpv9c3p57c.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d65fbf1f53f54094970f54c3795ec9fa-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpv9c3p57c.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d65fbf1f53f54094970f54c3795ec9fa-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpv9c3p57c.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"<div><div><div><span class=""cloze"" data-cloze=""Diabetes mellitus"" data-ordinal=""1"">[...]</span> is the most common endocrine disorder</div></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><div><span class=""cloze"" data-ordinal=""1"">Diabetes mellitus</span> is the most common endocrine disorder</div></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><div><span class=""cloze"" data-ordinal=""1"">Diabetes mellitus</span> is the most common endocrine disorder</div></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Diabetic patients are also prone to the development of severe end-organ complications including </div><div><ul><li><span class=""cloze"" data-cloze=""nephropathy"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""cataract formation"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""diabetic retinopathy&nbsp&#x3B;"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""somatic and autonomic insufficiency (orthostatic hypotension, bradycardia, gastroparesis)"" data-ordinal=""1"">[...]</span><br></li></ul></div>
</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Diabetic patients are also prone to the development of severe end-organ complications including </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">nephropathy</span></li><li><span class=""cloze"" data-ordinal=""1"">cataract formation</span></li><li><span class=""cloze"" data-ordinal=""1"">diabetic retinopathy </span></li><li><span class=""cloze"" data-ordinal=""1"">somatic and autonomic insufficiency (orthostatic hypotension, bradycardia, gastroparesis)</span><br></li></ul></div>
</div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Diabetic patients are also prone to the development of severe end-organ complications including </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">nephropathy</span></li><li><span class=""cloze"" data-ordinal=""1"">cataract formation</span></li><li><span class=""cloze"" data-ordinal=""1"">diabetic retinopathy </span></li><li><span class=""cloze"" data-ordinal=""1"">somatic and autonomic insufficiency (orthostatic hypotension, bradycardia, gastroparesis)</span><br></li></ul></div>
</div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Because of acquired abnormalities in the macrovasculature, patients with type 2 diabetes are more likely to have</div>
<div><ul><li><span class=""cloze"" data-cloze=""hypertension"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""coronary artery disease&nbsp&#x3B;"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""peripheral vascular disease"" data-ordinal=""1"">[...]</span></li></ul></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Because of acquired abnormalities in the macrovasculature, patients with type 2 diabetes are more likely to have</div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">hypertension</span></li><li><span class=""cloze"" data-ordinal=""1"">coronary artery disease </span></li><li><span class=""cloze"" data-ordinal=""1"">peripheral vascular disease</span></li></ul></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Because of acquired abnormalities in the macrovasculature, patients with type 2 diabetes are more likely to have</div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">hypertension</span></li><li><span class=""cloze"" data-ordinal=""1"">coronary artery disease </span></li><li><span class=""cloze"" data-ordinal=""1"">peripheral vascular disease</span></li></ul></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>There continues to be discussion as to optimal levels; however, a safe goal of perioperative insulin therapy is to maintain the serum glucose level at less than <span class=""cloze"" data-cloze=""180"" data-ordinal=""1"">[...]</span> mg/dL, while avoiding hypoglycemia.</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>There continues to be discussion as to optimal levels; however, a safe goal of perioperative insulin therapy is to maintain the serum glucose level at less than <span class=""cloze"" data-ordinal=""1"">180</span> mg/dL, while avoiding hypoglycemia.</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>There continues to be discussion as to optimal levels; however, a safe goal of perioperative insulin therapy is to maintain the serum glucose level at less than <span class=""cloze"" data-ordinal=""1"">180</span> mg/dL, while avoiding hypoglycemia.</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Patients should not take a short-acting insulin bolus the morning of the procedure unless the blood glucose level is greater than <span class=""cloze"" data-cloze=""200"" data-ordinal=""1"">[...]</span> mg/dL, and more than <span class=""cloze"" data-cloze=""3"" data-ordinal=""1"">[...]</span> hours preoperatively.</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Patients should not take a short-acting insulin bolus the morning of the procedure unless the blood glucose level is greater than <span class=""cloze"" data-ordinal=""1"">200</span> mg/dL, and more than <span class=""cloze"" data-ordinal=""1"">3</span> hours preoperatively.</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Patients should not take a short-acting insulin bolus the morning of the procedure unless the blood glucose level is greater than <span class=""cloze"" data-ordinal=""1"">200</span> mg/dL, and more than <span class=""cloze"" data-ordinal=""1"">3</span> hours preoperatively.</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9bd4d457b6b54d09bf43e6125eb3b612-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp6vrqsffh.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9bd4d457b6b54d09bf43e6125eb3b612-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmp6vrqsffh.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9bd4d457b6b54d09bf43e6125eb3b612-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp6vrqsffh.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9bd4d457b6b54d09bf43e6125eb3b612-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmp6vrqsffh.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9bd4d457b6b54d09bf43e6125eb3b612-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp6vrqsffh.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9bd4d457b6b54d09bf43e6125eb3b612-ao-3-A.svg"" /></div>
<div id=""io-original""><img src=""tmp6vrqsffh.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"<div><div>Hyperthyroidism is caused by an excess secretion of thyroid hormones 3,5,3′-triiodothyronine (<span class=""cloze"" data-cloze=""T3"" data-ordinal=""1"">[...]</span>) and tetraiodothyronine <span class=""cloze"" data-cloze=""(thyroxine or T4"" data-ordinal=""1"">[...]</span>).</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Hyperthyroidism is caused by an excess secretion of thyroid hormones 3,5,3′-triiodothyronine (<span class=""cloze"" data-ordinal=""1"">T3</span>) and tetraiodothyronine <span class=""cloze"" data-ordinal=""1"">(thyroxine or T4</span>).</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Hyperthyroidism is caused by an excess secretion of thyroid hormones 3,5,3′-triiodothyronine (<span class=""cloze"" data-ordinal=""1"">T3</span>) and tetraiodothyronine <span class=""cloze"" data-ordinal=""1"">(thyroxine or T4</span>).</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Hyperthyroidism is evident in such conditions as </div><div><ul><li><span class=""cloze"" data-cloze=""Graves disease"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""thyroid carcinoma"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""toxic goiter (multinodular, single)"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""pituitary tumors that oversecrete thyroid-stimulating hormone (TSH)"" data-ordinal=""1"">[...]</span></li></ul></div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Hyperthyroidism is evident in such conditions as </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">Graves disease</span></li><li><span class=""cloze"" data-ordinal=""1"">thyroid carcinoma</span></li><li><span class=""cloze"" data-ordinal=""1"">toxic goiter (multinodular, single)</span></li><li><span class=""cloze"" data-ordinal=""1"">pituitary tumors that oversecrete thyroid-stimulating hormone (TSH)</span></li></ul></div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Hyperthyroidism is evident in such conditions as </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">Graves disease</span></li><li><span class=""cloze"" data-ordinal=""1"">thyroid carcinoma</span></li><li><span class=""cloze"" data-ordinal=""1"">toxic goiter (multinodular, single)</span></li><li><span class=""cloze"" data-ordinal=""1"">pituitary tumors that oversecrete thyroid-stimulating hormone (TSH)</span></li></ul></div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Hyperthyroidism Signs and symptoms reflect a hypermetabolic state with sympathetic overactivity including </div><div><ul><li><span class=""cloze"" data-cloze=""tachycardia"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""atrial fibrillation"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""fever"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""tremor&nbsp&#x3B;&nbsp&#x3B;"" data-ordinal=""1"">[...]</span></li></ul></div><div>resulting from the primary effects of thyroid hormones on the adenylate cyclase system</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Hyperthyroidism Signs and symptoms reflect a hypermetabolic state with sympathetic overactivity including </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">tachycardia</span></li><li><span class=""cloze"" data-ordinal=""1"">atrial fibrillation</span></li><li><span class=""cloze"" data-ordinal=""1"">fever</span></li><li><span class=""cloze"" data-ordinal=""1"">tremor  </span></li></ul></div><div>resulting from the primary effects of thyroid hormones on the adenylate cyclase system</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Hyperthyroidism Signs and symptoms reflect a hypermetabolic state with sympathetic overactivity including </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">tachycardia</span></li><li><span class=""cloze"" data-ordinal=""1"">atrial fibrillation</span></li><li><span class=""cloze"" data-ordinal=""1"">fever</span></li><li><span class=""cloze"" data-ordinal=""1"">tremor  </span></li></ul></div><div>resulting from the primary effects of thyroid hormones on the adenylate cyclase system</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>The preoperative preparation of the hyperthyroid patient is aimed at attaining a <span class=""cloze"" data-cloze=""euthyroid state"" data-ordinal=""1"">[...]</span>. This may be accomplished through administration of antithyroid drugs such as <span class=""cloze-inactive"" data-ordinal=""2"">methimazole</span> or <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> for <span class=""cloze-inactive"" data-ordinal=""3"">6</span> to <span class=""cloze-inactive"" data-ordinal=""3"">8</span> weeks, followed by iodine for <span class=""cloze-inactive"" data-ordinal=""3"">7</span> to <span class=""cloze-inactive"" data-ordinal=""3"">14</span> days. Not only does <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> decrease the overall synthesis of thyroxine, but it also lessens its conversion into the more potent T3.</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>The preoperative preparation of the hyperthyroid patient is aimed at attaining a <span class=""cloze"" data-ordinal=""1"">euthyroid state</span>. This may be accomplished through administration of antithyroid drugs such as <span class=""cloze-inactive"" data-ordinal=""2"">methimazole</span> or <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> for <span class=""cloze-inactive"" data-ordinal=""3"">6</span> to <span class=""cloze-inactive"" data-ordinal=""3"">8</span> weeks, followed by iodine for <span class=""cloze-inactive"" data-ordinal=""3"">7</span> to <span class=""cloze-inactive"" data-ordinal=""3"">14</span> days. Not only does <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> decrease the overall synthesis of thyroxine, but it also lessens its conversion into the more potent T3.</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>The preoperative preparation of the hyperthyroid patient is aimed at attaining a <span class=""cloze"" data-ordinal=""1"">euthyroid state</span>. This may be accomplished through administration of antithyroid drugs such as <span class=""cloze-inactive"" data-ordinal=""2"">methimazole</span> or <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> for <span class=""cloze-inactive"" data-ordinal=""3"">6</span> to <span class=""cloze-inactive"" data-ordinal=""3"">8</span> weeks, followed by iodine for <span class=""cloze-inactive"" data-ordinal=""3"">7</span> to <span class=""cloze-inactive"" data-ordinal=""3"">14</span> days. Not only does <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> decrease the overall synthesis of thyroxine, but it also lessens its conversion into the more potent T3.</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>The preoperative preparation of the hyperthyroid patient is aimed at attaining a <span class=""cloze-inactive"" data-ordinal=""1"">euthyroid state</span>. This may be accomplished through administration of antithyroid drugs such as <span class=""cloze"" data-cloze=""methimazole"" data-ordinal=""2"">[...]</span> or <span class=""cloze"" data-cloze=""propylthiouracil"" data-ordinal=""2"">[...]</span> for <span class=""cloze-inactive"" data-ordinal=""3"">6</span> to <span class=""cloze-inactive"" data-ordinal=""3"">8</span> weeks, followed by iodine for <span class=""cloze-inactive"" data-ordinal=""3"">7</span> to <span class=""cloze-inactive"" data-ordinal=""3"">14</span> days. Not only does <span class=""cloze"" data-cloze=""propylthiouracil"" data-ordinal=""2"">[...]</span> decrease the overall synthesis of thyroxine, but it also lessens its conversion into the more potent T3.</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>The preoperative preparation of the hyperthyroid patient is aimed at attaining a <span class=""cloze-inactive"" data-ordinal=""1"">euthyroid state</span>. This may be accomplished through administration of antithyroid drugs such as <span class=""cloze"" data-ordinal=""2"">methimazole</span> or <span class=""cloze"" data-ordinal=""2"">propylthiouracil</span> for <span class=""cloze-inactive"" data-ordinal=""3"">6</span> to <span class=""cloze-inactive"" data-ordinal=""3"">8</span> weeks, followed by iodine for <span class=""cloze-inactive"" data-ordinal=""3"">7</span> to <span class=""cloze-inactive"" data-ordinal=""3"">14</span> days. Not only does <span class=""cloze"" data-ordinal=""2"">propylthiouracil</span> decrease the overall synthesis of thyroxine, but it also lessens its conversion into the more potent T3.</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>The preoperative preparation of the hyperthyroid patient is aimed at attaining a <span class=""cloze-inactive"" data-ordinal=""1"">euthyroid state</span>. This may be accomplished through administration of antithyroid drugs such as <span class=""cloze"" data-ordinal=""2"">methimazole</span> or <span class=""cloze"" data-ordinal=""2"">propylthiouracil</span> for <span class=""cloze-inactive"" data-ordinal=""3"">6</span> to <span class=""cloze-inactive"" data-ordinal=""3"">8</span> weeks, followed by iodine for <span class=""cloze-inactive"" data-ordinal=""3"">7</span> to <span class=""cloze-inactive"" data-ordinal=""3"">14</span> days. Not only does <span class=""cloze"" data-ordinal=""2"">propylthiouracil</span> decrease the overall synthesis of thyroxine, but it also lessens its conversion into the more potent T3.</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>The preoperative preparation of the hyperthyroid patient is aimed at attaining a <span class=""cloze-inactive"" data-ordinal=""1"">euthyroid state</span>. This may be accomplished through administration of antithyroid drugs such as <span class=""cloze-inactive"" data-ordinal=""2"">methimazole</span> or <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> for <span class=""cloze"" data-cloze=""6"" data-ordinal=""3"">[...]</span> to <span class=""cloze"" data-cloze=""8"" data-ordinal=""3"">[...]</span> weeks, followed by iodine for <span class=""cloze"" data-cloze=""7"" data-ordinal=""3"">[...]</span> to <span class=""cloze"" data-cloze=""14"" data-ordinal=""3"">[...]</span> days. Not only does <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> decrease the overall synthesis of thyroxine, but it also lessens its conversion into the more potent T3.</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>The preoperative preparation of the hyperthyroid patient is aimed at attaining a <span class=""cloze-inactive"" data-ordinal=""1"">euthyroid state</span>. This may be accomplished through administration of antithyroid drugs such as <span class=""cloze-inactive"" data-ordinal=""2"">methimazole</span> or <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> for <span class=""cloze"" data-ordinal=""3"">6</span> to <span class=""cloze"" data-ordinal=""3"">8</span> weeks, followed by iodine for <span class=""cloze"" data-ordinal=""3"">7</span> to <span class=""cloze"" data-ordinal=""3"">14</span> days. Not only does <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> decrease the overall synthesis of thyroxine, but it also lessens its conversion into the more potent T3.</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>The preoperative preparation of the hyperthyroid patient is aimed at attaining a <span class=""cloze-inactive"" data-ordinal=""1"">euthyroid state</span>. This may be accomplished through administration of antithyroid drugs such as <span class=""cloze-inactive"" data-ordinal=""2"">methimazole</span> or <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> for <span class=""cloze"" data-ordinal=""3"">6</span> to <span class=""cloze"" data-ordinal=""3"">8</span> weeks, followed by iodine for <span class=""cloze"" data-ordinal=""3"">7</span> to <span class=""cloze"" data-ordinal=""3"">14</span> days. Not only does <span class=""cloze-inactive"" data-ordinal=""2"">propylthiouracil</span> decrease the overall synthesis of thyroxine, but it also lessens its conversion into the more potent T3.</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>β-antagonist drugs such as <span class=""cloze"" data-cloze=""propranolol"" data-ordinal=""1"">[...]</span> and <span class=""cloze"" data-cloze=""atenolol"" data-ordinal=""1"">[...]</span> daily are also useful adjuncts in the management of hyperthyroidism. The goal of oral beta blocker therapy should be to maintain a heart rate of less than <span class=""cloze"" data-cloze=""80"" data-ordinal=""1"">[...]</span>.</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>β-antagonist drugs such as <span class=""cloze"" data-ordinal=""1"">propranolol</span> and <span class=""cloze"" data-ordinal=""1"">atenolol</span> daily are also useful adjuncts in the management of hyperthyroidism. The goal of oral beta blocker therapy should be to maintain a heart rate of less than <span class=""cloze"" data-ordinal=""1"">80</span>.</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>β-antagonist drugs such as <span class=""cloze"" data-ordinal=""1"">propranolol</span> and <span class=""cloze"" data-ordinal=""1"">atenolol</span> daily are also useful adjuncts in the management of hyperthyroidism. The goal of oral beta blocker therapy should be to maintain a heart rate of less than <span class=""cloze"" data-ordinal=""1"">80</span>.</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>All drugs used to manage hyperthyroidism, including propylthiouracil and propranolol, should be <span class=""cloze"" data-cloze=""continued perioperatively"" data-ordinal=""1"">[...]</span>, including the <span class=""cloze"" data-cloze=""morning of surgery"" data-ordinal=""1"">[...]</span>, and elective surgery is postponed until the patient is rendered euthyroid.</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>All drugs used to manage hyperthyroidism, including propylthiouracil and propranolol, should be <span class=""cloze"" data-ordinal=""1"">continued perioperatively</span>, including the <span class=""cloze"" data-ordinal=""1"">morning of surgery</span>, and elective surgery is postponed until the patient is rendered euthyroid.</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>All drugs used to manage hyperthyroidism, including propylthiouracil and propranolol, should be <span class=""cloze"" data-ordinal=""1"">continued perioperatively</span>, including the <span class=""cloze"" data-ordinal=""1"">morning of surgery</span>, and elective surgery is postponed until the patient is rendered euthyroid.</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>If emergency surgery cannot be delayed for a patient with symptomatic hyperthyroidism, a continuous infusion of <span class=""cloze"" data-cloze=""esmolol"" data-ordinal=""1"">[...]</span> (<span class=""cloze-inactive"" data-ordinal=""2"">100</span>–<span class=""cloze-inactive"" data-ordinal=""2"">300</span> μg/kg/min) may be initiated to control unwanted tachycardia (goal heart rate <span class=""cloze-inactive"" data-ordinal=""2""><90</span> beats/min).</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>If emergency surgery cannot be delayed for a patient with symptomatic hyperthyroidism, a continuous infusion of <span class=""cloze"" data-ordinal=""1"">esmolol</span> (<span class=""cloze-inactive"" data-ordinal=""2"">100</span>–<span class=""cloze-inactive"" data-ordinal=""2"">300</span> μg/kg/min) may be initiated to control unwanted tachycardia (goal heart rate <span class=""cloze-inactive"" data-ordinal=""2""><90</span> beats/min).</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>If emergency surgery cannot be delayed for a patient with symptomatic hyperthyroidism, a continuous infusion of <span class=""cloze"" data-ordinal=""1"">esmolol</span> (<span class=""cloze-inactive"" data-ordinal=""2"">100</span>–<span class=""cloze-inactive"" data-ordinal=""2"">300</span> μg/kg/min) may be initiated to control unwanted tachycardia (goal heart rate <span class=""cloze-inactive"" data-ordinal=""2""><90</span> beats/min).</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>If emergency surgery cannot be delayed for a patient with symptomatic hyperthyroidism, a continuous infusion of <span class=""cloze-inactive"" data-ordinal=""1"">esmolol</span> (<span class=""cloze"" data-cloze=""100"" data-ordinal=""2"">[...]</span>–<span class=""cloze"" data-cloze=""300"" data-ordinal=""2"">[...]</span> μg/kg/min) may be initiated to control unwanted tachycardia (goal heart rate <span class=""cloze"" data-cloze=""&lt&#x3B;90"" data-ordinal=""2"">[...]</span> beats/min).</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>If emergency surgery cannot be delayed for a patient with symptomatic hyperthyroidism, a continuous infusion of <span class=""cloze-inactive"" data-ordinal=""1"">esmolol</span> (<span class=""cloze"" data-ordinal=""2"">100</span>–<span class=""cloze"" data-ordinal=""2"">300</span> μg/kg/min) may be initiated to control unwanted tachycardia (goal heart rate <span class=""cloze"" data-ordinal=""2""><90</span> beats/min).</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>If emergency surgery cannot be delayed for a patient with symptomatic hyperthyroidism, a continuous infusion of <span class=""cloze-inactive"" data-ordinal=""1"">esmolol</span> (<span class=""cloze"" data-ordinal=""2"">100</span>–<span class=""cloze"" data-ordinal=""2"">300</span> μg/kg/min) may be initiated to control unwanted tachycardia (goal heart rate <span class=""cloze"" data-ordinal=""2""><90</span> beats/min).</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Hypothyroidism represents several conditions, such as chronic <span class=""cloze"" data-cloze=""thyroiditis"" data-ordinal=""1"">[...]</span> or <span class=""cloze"" data-cloze=""Hashimoto disease"" data-ordinal=""1"">[...]</span>, in which tissues are exposed to decreased circulating concentrations of T3 and T4.</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Hypothyroidism represents several conditions, such as chronic <span class=""cloze"" data-ordinal=""1"">thyroiditis</span> or <span class=""cloze"" data-ordinal=""1"">Hashimoto disease</span>, in which tissues are exposed to decreased circulating concentrations of T3 and T4.</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Hypothyroidism represents several conditions, such as chronic <span class=""cloze"" data-ordinal=""1"">thyroiditis</span> or <span class=""cloze"" data-ordinal=""1"">Hashimoto disease</span>, in which tissues are exposed to decreased circulating concentrations of T3 and T4.</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Steroids administration for prolonged periods or their excess levels in circulating glucocorticoid hormones characteristically result in <span class=""cloze-inactive"" data-ordinal=""2"">Cushing syndrome</span>. This syndrome is clinically manifested as <span class=""cloze"" data-cloze=""hypertension"" data-ordinal=""1"">[...]</span> and <span class=""cloze"" data-cloze=""hypovolemia"" data-ordinal=""1"">[...]</span>, <span class=""cloze"" data-cloze=""truncal obesity"" data-ordinal=""1"">[...]</span> with an accumulation of interscapular fat (“<span class=""cloze"" data-cloze=""buffalo hump"" data-ordinal=""1"">[...]</span>”), abdominal and gluteal <span class=""cloze"" data-cloze=""striae"" data-ordinal=""1"">[...]</span>, plethoric facial appearance (<span class=""cloze"" data-cloze=""moon facies"" data-ordinal=""1"">[...]</span>), easy <span class=""cloze"" data-cloze=""bruising"" data-ordinal=""1"">[...]</span>, <span class=""cloze"" data-cloze=""osteoporosis"" data-ordinal=""1"">[...]</span>, personality changes, <span class=""cloze"" data-cloze=""menstrual"" data-ordinal=""1"">[...]</span> irregularities, and <span class=""cloze"" data-cloze=""hirsutism"" data-ordinal=""1"">[...]</span>.</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Steroids administration for prolonged periods or their excess levels in circulating glucocorticoid hormones characteristically result in <span class=""cloze-inactive"" data-ordinal=""2"">Cushing syndrome</span>. This syndrome is clinically manifested as <span class=""cloze"" data-ordinal=""1"">hypertension</span> and <span class=""cloze"" data-ordinal=""1"">hypovolemia</span>, <span class=""cloze"" data-ordinal=""1"">truncal obesity</span> with an accumulation of interscapular fat (“<span class=""cloze"" data-ordinal=""1"">buffalo hump</span>”), abdominal and gluteal <span class=""cloze"" data-ordinal=""1"">striae</span>, plethoric facial appearance (<span class=""cloze"" data-ordinal=""1"">moon facies</span>), easy <span class=""cloze"" data-ordinal=""1"">bruising</span>, <span class=""cloze"" data-ordinal=""1"">osteoporosis</span>, personality changes, <span class=""cloze"" data-ordinal=""1"">menstrual</span> irregularities, and <span class=""cloze"" data-ordinal=""1"">hirsutism</span>.</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Steroids administration for prolonged periods or their excess levels in circulating glucocorticoid hormones characteristically result in <span class=""cloze-inactive"" data-ordinal=""2"">Cushing syndrome</span>. This syndrome is clinically manifested as <span class=""cloze"" data-ordinal=""1"">hypertension</span> and <span class=""cloze"" data-ordinal=""1"">hypovolemia</span>, <span class=""cloze"" data-ordinal=""1"">truncal obesity</span> with an accumulation of interscapular fat (“<span class=""cloze"" data-ordinal=""1"">buffalo hump</span>”), abdominal and gluteal <span class=""cloze"" data-ordinal=""1"">striae</span>, plethoric facial appearance (<span class=""cloze"" data-ordinal=""1"">moon facies</span>), easy <span class=""cloze"" data-ordinal=""1"">bruising</span>, <span class=""cloze"" data-ordinal=""1"">osteoporosis</span>, personality changes, <span class=""cloze"" data-ordinal=""1"">menstrual</span> irregularities, and <span class=""cloze"" data-ordinal=""1"">hirsutism</span>.</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Hyperaldosteronism an excess of mineralocorticoid hormones may be manifested as <span class=""cloze"" data-cloze=""hypertension"" data-ordinal=""1"">[...]</span> in association with marked <span class=""cloze"" data-cloze=""hypokalemia"" data-ordinal=""1"">[...]</span></div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Hyperaldosteronism an excess of mineralocorticoid hormones may be manifested as <span class=""cloze"" data-ordinal=""1"">hypertension</span> in association with marked <span class=""cloze"" data-ordinal=""1"">hypokalemia</span></div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Hyperaldosteronism an excess of mineralocorticoid hormones may be manifested as <span class=""cloze"" data-ordinal=""1"">hypertension</span> in association with marked <span class=""cloze"" data-ordinal=""1"">hypokalemia</span></div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Hyperaldosteronism an excess of mineralocorticoid hormones may be manifested as <span class=""cloze"" data-cloze=""hypertension"" data-ordinal=""1"">[...]</span> in association with marked <span class=""cloze"" data-cloze=""hypokalemia"" data-ordinal=""1"">[...]</span> Its major alterations involve <span class=""cloze"" data-cloze=""sodium"" data-ordinal=""1"">[...]</span> and <span class=""cloze"" data-cloze=""water"" data-ordinal=""1"">[...]</span> retention, <span class=""cloze"" data-cloze=""potassium"" data-ordinal=""1"">[...]</span> depletion, and <span class=""cloze"" data-cloze=""metabolic alkalosis"" data-ordinal=""1"">[...]</span>.</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Hyperaldosteronism an excess of mineralocorticoid hormones may be manifested as <span class=""cloze"" data-ordinal=""1"">hypertension</span> in association with marked <span class=""cloze"" data-ordinal=""1"">hypokalemia</span> Its major alterations involve <span class=""cloze"" data-ordinal=""1"">sodium</span> and <span class=""cloze"" data-ordinal=""1"">water</span> retention, <span class=""cloze"" data-ordinal=""1"">potassium</span> depletion, and <span class=""cloze"" data-ordinal=""1"">metabolic alkalosis</span>.</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Hyperaldosteronism an excess of mineralocorticoid hormones may be manifested as <span class=""cloze"" data-ordinal=""1"">hypertension</span> in association with marked <span class=""cloze"" data-ordinal=""1"">hypokalemia</span> Its major alterations involve <span class=""cloze"" data-ordinal=""1"">sodium</span> and <span class=""cloze"" data-ordinal=""1"">water</span> retention, <span class=""cloze"" data-ordinal=""1"">potassium</span> depletion, and <span class=""cloze"" data-ordinal=""1"">metabolic alkalosis</span>.</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Adrenocortical insufficiency Clinical signs:</div><div><ul><li><span class=""cloze"" data-cloze=""weight loss"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""hypotension"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""hypoglycemia"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""hyponatremia"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""hyperkalemia"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""muscle wasting"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""hyperpigmentation"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""intravascular volume depletion"" data-ordinal=""1"">[...]</span></li></ul></div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Adrenocortical insufficiency Clinical signs:</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">weight loss</span></li><li><span class=""cloze"" data-ordinal=""1"">hypotension</span></li><li><span class=""cloze"" data-ordinal=""1"">hypoglycemia</span></li><li><span class=""cloze"" data-ordinal=""1"">hyponatremia</span></li><li><span class=""cloze"" data-ordinal=""1"">hyperkalemia</span></li><li><span class=""cloze"" data-ordinal=""1"">muscle wasting</span></li><li><span class=""cloze"" data-ordinal=""1"">hyperpigmentation</span></li><li><span class=""cloze"" data-ordinal=""1"">intravascular volume depletion</span></li></ul></div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Adrenocortical insufficiency Clinical signs:</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">weight loss</span></li><li><span class=""cloze"" data-ordinal=""1"">hypotension</span></li><li><span class=""cloze"" data-ordinal=""1"">hypoglycemia</span></li><li><span class=""cloze"" data-ordinal=""1"">hyponatremia</span></li><li><span class=""cloze"" data-ordinal=""1"">hyperkalemia</span></li><li><span class=""cloze"" data-ordinal=""1"">muscle wasting</span></li><li><span class=""cloze"" data-ordinal=""1"">hyperpigmentation</span></li><li><span class=""cloze"" data-ordinal=""1"">intravascular volume depletion</span></li></ul></div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Glucocorticoid or mineralocorticoid replacement therapy is also continued perioperatively. Patients are at risk for depression of the hypothalamic-pituitary-</div>
<div>adrenal (HPA) axis if they have </div><div>(1) received <span class=""cloze"" data-cloze=""20"" data-ordinal=""1"">[...]</span> mg or more of prednisone for <span class=""cloze"" data-cloze=""5"" data-ordinal=""1"">[...]</span> or more days</div><div> (2) been treated for <span class=""cloze"" data-cloze=""1"" data-ordinal=""1"">[...]</span> month or more</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Glucocorticoid or mineralocorticoid replacement therapy is also continued perioperatively. Patients are at risk for depression of the hypothalamic-pituitary-</div>
<div>adrenal (HPA) axis if they have </div><div>(1) received <span class=""cloze"" data-ordinal=""1"">20</span> mg or more of prednisone for <span class=""cloze"" data-ordinal=""1"">5</span> or more days</div><div> (2) been treated for <span class=""cloze"" data-ordinal=""1"">1</span> month or more</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Glucocorticoid or mineralocorticoid replacement therapy is also continued perioperatively. Patients are at risk for depression of the hypothalamic-pituitary-</div>
<div>adrenal (HPA) axis if they have </div><div>(1) received <span class=""cloze"" data-ordinal=""1"">20</span> mg or more of prednisone for <span class=""cloze"" data-ordinal=""1"">5</span> or more days</div><div> (2) been treated for <span class=""cloze"" data-ordinal=""1"">1</span> month or more</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9c50e7fcc2f0416ebedc90f101676d81-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp38gnthi1.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9c50e7fcc2f0416ebedc90f101676d81-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmp38gnthi1.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9c50e7fcc2f0416ebedc90f101676d81-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp38gnthi1.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""9c50e7fcc2f0416ebedc90f101676d81-ao-2-A.svg""></div>
<div id=""io-original""><img src=""tmp38gnthi1.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""fd3835e20238430f9b035e1e94aade1a-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpk753etbn.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""fd3835e20238430f9b035e1e94aade1a-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpk753etbn.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""554e71cc32d043c5aa69a8a7c75616aa-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpj_mcc60q.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""554e71cc32d043c5aa69a8a7c75616aa-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmpj_mcc60q.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""554e71cc32d043c5aa69a8a7c75616aa-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpj_mcc60q.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""554e71cc32d043c5aa69a8a7c75616aa-ao-2-A.svg""></div>
<div id=""io-original""><img src=""tmpj_mcc60q.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""554e71cc32d043c5aa69a8a7c75616aa-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpj_mcc60q.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""554e71cc32d043c5aa69a8a7c75616aa-ao-3-A.svg"" /></div>
<div id=""io-original""><img src=""tmpj_mcc60q.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""554e71cc32d043c5aa69a8a7c75616aa-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpj_mcc60q.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""554e71cc32d043c5aa69a8a7c75616aa-ao-4-A.svg"" /></div>
<div id=""io-original""><img src=""tmpj_mcc60q.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-2-A.svg""></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-5-A.svg""></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-6-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-6-A.svg""></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-8-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""1887545408004ea9b2944d92bcd7533c-ao-8-A.svg"" /></div>
<div id=""io-original""><img src=""tmp9cuhgssk.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""093d0e2ed4a340b3a679b3fc6eb39d0b-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpwmdmajpq.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""093d0e2ed4a340b3a679b3fc6eb39d0b-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpwmdmajpq.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""a8506b8bd9954cb29437e2c8d36f4310-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpr0gwn9h5.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""a8506b8bd9954cb29437e2c8d36f4310-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpr0gwn9h5.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d4da1a5169d94f608ea9c225b11f1d7c-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmphhi6408q.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d4da1a5169d94f608ea9c225b11f1d7c-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmphhi6408q.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d4da1a5169d94f608ea9c225b11f1d7c-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmphhi6408q.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d4da1a5169d94f608ea9c225b11f1d7c-ao-2-A.svg""></div>
<div id=""io-original""><img src=""tmphhi6408q.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d4da1a5169d94f608ea9c225b11f1d7c-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmphhi6408q.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d4da1a5169d94f608ea9c225b11f1d7c-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmphhi6408q.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d4da1a5169d94f608ea9c225b11f1d7c-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmphhi6408q.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""d4da1a5169d94f608ea9c225b11f1d7c-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmphhi6408q.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa2403487d104faea65a56982cc0d33a-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpxl03q_9t.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa2403487d104faea65a56982cc0d33a-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpxl03q_9t.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
<div class=""io-extra-entry"">
<div class=""io-field-descr"">Remarks</div><div><div><div><b>borborygmi</b></div></div></div><ol><li><div><div><div><div><div><div><div>a <span style=""text-decoration-line: underline;"">rumbling</span> or <span style=""text-decoration-line: underline;"">gurgling</span> noise made by the movement of fluid and gas in the <span style=""text-decoration-line: underline;"">intestines</span>.</div></div></div></div></div></div></div></li></ol>
</div>
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-4-A.svg"" /></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-5-A.svg"" /></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-6-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-6-A.svg""></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-7-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-7-A.svg""></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-8-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""cd219771ddc84e5cbec4a8911caed849-ao-8-A.svg"" /></div>
<div id=""io-original""><img src=""tmpmi_jxteu.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""c45dbee761044b00a47ee3efcb37633a-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp1803jozv.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""c45dbee761044b00a47ee3efcb37633a-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmp1803jozv.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""c45dbee761044b00a47ee3efcb37633a-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp1803jozv.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""c45dbee761044b00a47ee3efcb37633a-ao-2-A.svg""></div>
<div id=""io-original""><img src=""tmp1803jozv.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""321c97c6735b4ae4a550ce0b41dde3f2-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpkv2pqzie.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""321c97c6735b4ae4a550ce0b41dde3f2-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpkv2pqzie.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""3606adef28e34b5796c7527229c1a491-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpkv2pqzie.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""3606adef28e34b5796c7527229c1a491-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpkv2pqzie.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""e3e449ede26848229f28ef8a62b49e6d-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp2frva6xc.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""e3e449ede26848229f28ef8a62b49e6d-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmp2frva6xc.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""e3e449ede26848229f28ef8a62b49e6d-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp2frva6xc.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""e3e449ede26848229f28ef8a62b49e6d-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmp2frva6xc.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""e3e449ede26848229f28ef8a62b49e6d-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp2frva6xc.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""e3e449ede26848229f28ef8a62b49e6d-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmp2frva6xc.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""e3e449ede26848229f28ef8a62b49e6d-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp2frva6xc.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""e3e449ede26848229f28ef8a62b49e6d-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmp2frva6xc.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""76d71ab955f74ac2ba314c29ca352aa3-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmprc2bappb.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""76d71ab955f74ac2ba314c29ca352aa3-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmprc2bappb.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""76d71ab955f74ac2ba314c29ca352aa3-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmprc2bappb.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""76d71ab955f74ac2ba314c29ca352aa3-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmprc2bappb.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""76d71ab955f74ac2ba314c29ca352aa3-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmprc2bappb.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""76d71ab955f74ac2ba314c29ca352aa3-ao-4-A.svg"" /></div>
<div id=""io-original""><img src=""tmprc2bappb.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""76d71ab955f74ac2ba314c29ca352aa3-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmprc2bappb.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""76d71ab955f74ac2ba314c29ca352aa3-ao-5-A.svg""></div>
<div id=""io-original""><img src=""tmprc2bappb.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa3b0f39814a4dfdbadea1612977ea50-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpb7ia7z03.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa3b0f39814a4dfdbadea1612977ea50-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpb7ia7z03.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa3b0f39814a4dfdbadea1612977ea50-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpb7ia7z03.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa3b0f39814a4dfdbadea1612977ea50-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmpb7ia7z03.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa3b0f39814a4dfdbadea1612977ea50-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpb7ia7z03.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa3b0f39814a4dfdbadea1612977ea50-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmpb7ia7z03.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa3b0f39814a4dfdbadea1612977ea50-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpb7ia7z03.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa3b0f39814a4dfdbadea1612977ea50-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmpb7ia7z03.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa3b0f39814a4dfdbadea1612977ea50-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpb7ia7z03.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""aa3b0f39814a4dfdbadea1612977ea50-ao-5-A.svg""></div>
<div id=""io-original""><img src=""tmpb7ia7z03.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-2-A.svg""></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-3-A.svg"" /></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-6-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-6-A.svg"" /></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-7-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""7dd044a1896e45159261e3e76536c483-ao-7-A.svg"" /></div>
<div id=""io-original""><img src=""tmpn733ykag.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""20ff11f22f8f4a45ad9c52c731e5a2ec-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp_f6brcat.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""20ff11f22f8f4a45ad9c52c731e5a2ec-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmp_f6brcat.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""20ff11f22f8f4a45ad9c52c731e5a2ec-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp_f6brcat.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""20ff11f22f8f4a45ad9c52c731e5a2ec-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmp_f6brcat.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""20ff11f22f8f4a45ad9c52c731e5a2ec-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp_f6brcat.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""20ff11f22f8f4a45ad9c52c731e5a2ec-ao-3-A.svg"" /></div>
<div id=""io-original""><img src=""tmp_f6brcat.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""6ec202c7db014db18ef7aabc7ec6ac07-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp1i9omqtz.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""6ec202c7db014db18ef7aabc7ec6ac07-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmp1i9omqtz.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""6ec202c7db014db18ef7aabc7ec6ac07-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp1i9omqtz.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""6ec202c7db014db18ef7aabc7ec6ac07-ao-2-A.svg"" /></div>
<div id=""io-original""><img src=""tmp1i9omqtz.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""6ec202c7db014db18ef7aabc7ec6ac07-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp1i9omqtz.jpg""></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""6ec202c7db014db18ef7aabc7ec6ac07-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmp1i9omqtz.jpg""></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""6ec202c7db014db18ef7aabc7ec6ac07-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmp1i9omqtz.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""6ec202c7db014db18ef7aabc7ec6ac07-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmp1i9omqtz.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"<div>Primary headaches include:</div><div><ul><li><span class=""cloze"" data-cloze=""migraine"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""tension"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""cluster"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""chronic daily headaches"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""trigeminal autonomic cephalalgias&nbsp&#x3B;"" data-ordinal=""1"">[...]</span></li></ul></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Primary headaches include:</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">migraine</span></li><li><span class=""cloze"" data-ordinal=""1"">tension</span></li><li><span class=""cloze"" data-ordinal=""1"">cluster</span></li><li><span class=""cloze"" data-ordinal=""1"">chronic daily headaches</span></li><li><span class=""cloze"" data-ordinal=""1"">trigeminal autonomic cephalalgias </span></li></ul></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Primary headaches include:</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">migraine</span></li><li><span class=""cloze"" data-ordinal=""1"">tension</span></li><li><span class=""cloze"" data-ordinal=""1"">cluster</span></li><li><span class=""cloze"" data-ordinal=""1"">chronic daily headaches</span></li><li><span class=""cloze"" data-ordinal=""1"">trigeminal autonomic cephalalgias </span></li></ul></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Secondary headaches arise from underlying</div>
<div><ul><li><span class=""cloze"" data-cloze=""structural"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""systemic"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""infectious&nbsp&#x3B;"" data-ordinal=""1"">[...]</span></li></ul></div><div>causes such as <span class=""cloze-inactive"" data-ordinal=""2"">meningitis</span> or <span class=""cloze-inactive"" data-ordinal=""2"">subarachnoid hemorrhage</span></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Secondary headaches arise from underlying</div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">structural</span></li><li><span class=""cloze"" data-ordinal=""1"">systemic</span></li><li><span class=""cloze"" data-ordinal=""1"">infectious </span></li></ul></div><div>causes such as <span class=""cloze-inactive"" data-ordinal=""2"">meningitis</span> or <span class=""cloze-inactive"" data-ordinal=""2"">subarachnoid hemorrhage</span></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Secondary headaches arise from underlying</div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">structural</span></li><li><span class=""cloze"" data-ordinal=""1"">systemic</span></li><li><span class=""cloze"" data-ordinal=""1"">infectious </span></li></ul></div><div>causes such as <span class=""cloze-inactive"" data-ordinal=""2"">meningitis</span> or <span class=""cloze-inactive"" data-ordinal=""2"">subarachnoid hemorrhage</span></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Secondary headaches arise from underlying</div>
<div><ul><li><span class=""cloze-inactive"" data-ordinal=""1"">structural</span></li><li><span class=""cloze-inactive"" data-ordinal=""1"">systemic</span></li><li><span class=""cloze-inactive"" data-ordinal=""1"">infectious </span></li></ul></div><div>causes such as <span class=""cloze"" data-cloze=""meningitis"" data-ordinal=""2"">[...]</span> or <span class=""cloze"" data-cloze=""subarachnoid hemorrhage"" data-ordinal=""2"">[...]</span></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Secondary headaches arise from underlying</div>
<div><ul><li><span class=""cloze-inactive"" data-ordinal=""1"">structural</span></li><li><span class=""cloze-inactive"" data-ordinal=""1"">systemic</span></li><li><span class=""cloze-inactive"" data-ordinal=""1"">infectious </span></li></ul></div><div>causes such as <span class=""cloze"" data-ordinal=""2"">meningitis</span> or <span class=""cloze"" data-ordinal=""2"">subarachnoid hemorrhage</span></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Secondary headaches arise from underlying</div>
<div><ul><li><span class=""cloze-inactive"" data-ordinal=""1"">structural</span></li><li><span class=""cloze-inactive"" data-ordinal=""1"">systemic</span></li><li><span class=""cloze-inactive"" data-ordinal=""1"">infectious </span></li></ul></div><div>causes such as <span class=""cloze"" data-ordinal=""2"">meningitis</span> or <span class=""cloze"" data-ordinal=""2"">subarachnoid hemorrhage</span></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><span class=""cloze"" data-cloze=""Subarachnoid hemorrhage"" data-ordinal=""1"">[...]</span> classically presents as ""the worst headache of my life"" with instantaneous onset.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><span class=""cloze"" data-ordinal=""1"">Subarachnoid hemorrhage</span> classically presents as ""the worst headache of my life"" with instantaneous onset.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><span class=""cloze"" data-ordinal=""1"">Subarachnoid hemorrhage</span> classically presents as ""the worst headache of my life"" with instantaneous onset.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Severe headache and stiff neck accompany <span class=""cloze"" data-cloze=""meningitis"" data-ordinal=""1"">[...]</span></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Severe headache and stiff neck accompany <span class=""cloze"" data-ordinal=""1"">meningitis</span></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Severe headache and stiff neck accompany <span class=""cloze"" data-ordinal=""1"">meningitis</span></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Dull headache increased by coughing and sneezing, especially when recurring in the same location, occurs in mass lesions from <span class=""cloze"" data-cloze=""brain tumors"" data-ordinal=""1"">[...]</span> or <span class=""cloze"" data-cloze=""abscess"" data-ordinal=""1"">[...]</span></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Dull headache increased by coughing and sneezing, especially when recurring in the same location, occurs in mass lesions from <span class=""cloze"" data-ordinal=""1"">brain tumors</span> or <span class=""cloze"" data-ordinal=""1"">abscess</span></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Dull headache increased by coughing and sneezing, especially when recurring in the same location, occurs in mass lesions from <span class=""cloze"" data-ordinal=""1"">brain tumors</span> or <span class=""cloze"" data-ordinal=""1"">abscess</span></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Migraine headache is often preceded by an aura or prodrome, and is highly likely if three of the five ""POUND"" features are present: </div><div><b>P</b><span class=""cloze"" data-cloze=""ulsatile or throbbing&#x3B;"" data-ordinal=""1"">[...]</span></div>
<div><b>O</b><span class=""cloze"" data-cloze=""ne-day duration, or lasts 4 to 72 hours if untreated&#x3B;"" data-ordinal=""1"">[...]</span></div>
<div><b>U</b><span class=""cloze"" data-cloze=""nilateral&#x3B;&nbsp&#x3B;"" data-ordinal=""1"">[...]</span></div><div><b>N</b><span class=""cloze"" data-cloze=""ausea or vomiting&#x3B;&nbsp&#x3B;"" data-ordinal=""1"">[...]</span></div><div><b>D</b><span class=""cloze"" data-cloze=""isabling or intensity causing interruption of daily activity."" data-ordinal=""1"">[...]</span></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Migraine headache is often preceded by an aura or prodrome, and is highly likely if three of the five ""POUND"" features are present: </div><div><b>P</b><span class=""cloze"" data-ordinal=""1"">ulsatile or throbbing;</span></div>
<div><b>O</b><span class=""cloze"" data-ordinal=""1"">ne-day duration, or lasts 4 to 72 hours if untreated;</span></div>
<div><b>U</b><span class=""cloze"" data-ordinal=""1"">nilateral; </span></div><div><b>N</b><span class=""cloze"" data-ordinal=""1"">ausea or vomiting; </span></div><div><b>D</b><span class=""cloze"" data-ordinal=""1"">isabling or intensity causing interruption of daily activity.</span></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Migraine headache is often preceded by an aura or prodrome, and is highly likely if three of the five ""POUND"" features are present: </div><div><b>P</b><span class=""cloze"" data-ordinal=""1"">ulsatile or throbbing;</span></div>
<div><b>O</b><span class=""cloze"" data-ordinal=""1"">ne-day duration, or lasts 4 to 72 hours if untreated;</span></div>
<div><b>U</b><span class=""cloze"" data-ordinal=""1"">nilateral; </span></div><div><b>N</b><span class=""cloze"" data-ordinal=""1"">ausea or vomiting; </span></div><div><b>D</b><span class=""cloze"" data-ordinal=""1"">isabling or intensity causing interruption of daily activity.</span></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>The three most important attributes of headache are its <span class=""cloze"" data-cloze=""severity"" data-ordinal=""1"">[...]</span>, its <span class=""cloze"" data-cloze=""chronologic pattern"" data-ordinal=""1"">[...]</span>, and its <span class=""cloze"" data-cloze=""associated symptoms"" data-ordinal=""1"">[...]</span>.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>The three most important attributes of headache are its <span class=""cloze"" data-ordinal=""1"">severity</span>, its <span class=""cloze"" data-ordinal=""1"">chronologic pattern</span>, and its <span class=""cloze"" data-ordinal=""1"">associated symptoms</span>.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>The three most important attributes of headache are its <span class=""cloze"" data-ordinal=""1"">severity</span>, its <span class=""cloze"" data-ordinal=""1"">chronologic pattern</span>, and its <span class=""cloze"" data-ordinal=""1"">associated symptoms</span>.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-2-A.svg""></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-5-A.svg""></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-6-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-6-A.svg"" /></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-7-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-7-A.svg""></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-8-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""5598ff6862d74d2f8c5b7a70fd928757-ao-8-A.svg""></div>
<div id=""io-original""><img src=""tmpkf7lh1r0.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"<div>Vertigo often reflects vestibular disease, usually from peripheral causes in the inner ear such as <span class=""cloze"" data-cloze=""benign positional vertigo"" data-ordinal=""1"">[...]</span>, <span class=""cloze"" data-cloze=""labyrinthitis"" data-ordinal=""1"">[...]</span>, or <span class=""cloze"" data-cloze=""Méniè re disease"" data-ordinal=""1"">[...]</span></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Vertigo often reflects vestibular disease, usually from peripheral causes in the inner ear such as <span class=""cloze"" data-ordinal=""1"">benign positional vertigo</span>, <span class=""cloze"" data-ordinal=""1"">labyrinthitis</span>, or <span class=""cloze"" data-ordinal=""1"">Méniè re disease</span></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Vertigo often reflects vestibular disease, usually from peripheral causes in the inner ear such as <span class=""cloze"" data-ordinal=""1"">benign positional vertigo</span>, <span class=""cloze"" data-ordinal=""1"">labyrinthitis</span>, or <span class=""cloze"" data-ordinal=""1"">Méniè re disease</span></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Causes of syncope include ""neurocardiogenic"" conditions such as ...</div><div><ul><li><span class=""cloze"" data-cloze=""vasovagal syncope"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""carotid sinus syncope"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""orthostatic hypotension"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""postural tachycardia syndrome"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""cardiac disease causing arrhythmias"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""especially ventricular tachycardia and bradyarrhythmias"" data-ordinal=""1"">[...]</span></li></ul></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Causes of syncope include ""neurocardiogenic"" conditions such as ...</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">vasovagal syncope</span></li><li><span class=""cloze"" data-ordinal=""1"">carotid sinus syncope</span></li><li><span class=""cloze"" data-ordinal=""1"">orthostatic hypotension</span></li><li><span class=""cloze"" data-ordinal=""1"">postural tachycardia syndrome</span></li><li><span class=""cloze"" data-ordinal=""1"">cardiac disease causing arrhythmias</span></li><li><span class=""cloze"" data-ordinal=""1"">especially ventricular tachycardia and bradyarrhythmias</span></li></ul></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Causes of syncope include ""neurocardiogenic"" conditions such as ...</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">vasovagal syncope</span></li><li><span class=""cloze"" data-ordinal=""1"">carotid sinus syncope</span></li><li><span class=""cloze"" data-ordinal=""1"">orthostatic hypotension</span></li><li><span class=""cloze"" data-ordinal=""1"">postural tachycardia syndrome</span></li><li><span class=""cloze"" data-ordinal=""1"">cardiac disease causing arrhythmias</span></li><li><span class=""cloze"" data-ordinal=""1"">especially ventricular tachycardia and bradyarrhythmias</span></li></ul></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><span class=""cloze"" data-cloze=""Stroke"" data-ordinal=""1"">[...]</span> or <span class=""cloze"" data-cloze=""TIA"" data-ordinal=""1"">[...]</span> are unlikely causes of syncope.</div></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><span class=""cloze"" data-ordinal=""1"">Stroke</span> or <span class=""cloze"" data-ordinal=""1"">TIA</span> are unlikely causes of syncope.</div></div>
</div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><span class=""cloze"" data-ordinal=""1"">Stroke</span> or <span class=""cloze"" data-ordinal=""1"">TIA</span> are unlikely causes of syncope.</div></div>
</div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>In <span class=""cloze"" data-cloze=""vasovagal syncope"" data-ordinal=""1"">[...]</span>, the most common cause of syncope look for <span class=""cloze-inactive"" data-ordinal=""2"">nausea</span>, <span class=""cloze-inactive"" data-ordinal=""2"">diaphoresis</span>, and <span class=""cloze-inactive"" data-ordinal=""2"">pallor</span> triggered by a fearful or unpleasant event, then vagally mediated hypotension, often with <span class=""cloze-inactive"" data-ordinal=""2"">slow</span> onset and offset.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>In <span class=""cloze"" data-ordinal=""1"">vasovagal syncope</span>, the most common cause of syncope look for <span class=""cloze-inactive"" data-ordinal=""2"">nausea</span>, <span class=""cloze-inactive"" data-ordinal=""2"">diaphoresis</span>, and <span class=""cloze-inactive"" data-ordinal=""2"">pallor</span> triggered by a fearful or unpleasant event, then vagally mediated hypotension, often with <span class=""cloze-inactive"" data-ordinal=""2"">slow</span> onset and offset.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>In <span class=""cloze"" data-ordinal=""1"">vasovagal syncope</span>, the most common cause of syncope look for <span class=""cloze-inactive"" data-ordinal=""2"">nausea</span>, <span class=""cloze-inactive"" data-ordinal=""2"">diaphoresis</span>, and <span class=""cloze-inactive"" data-ordinal=""2"">pallor</span> triggered by a fearful or unpleasant event, then vagally mediated hypotension, often with <span class=""cloze-inactive"" data-ordinal=""2"">slow</span> onset and offset.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>In <span class=""cloze-inactive"" data-ordinal=""1"">vasovagal syncope</span>, the most common cause of syncope look for <span class=""cloze"" data-cloze=""nausea"" data-ordinal=""2"">[...]</span>, <span class=""cloze"" data-cloze=""diaphoresis"" data-ordinal=""2"">[...]</span>, and <span class=""cloze"" data-cloze=""pallor"" data-ordinal=""2"">[...]</span> triggered by a fearful or unpleasant event, then vagally mediated hypotension, often with <span class=""cloze"" data-cloze=""slow"" data-ordinal=""2"">[...]</span> onset and offset.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>In <span class=""cloze-inactive"" data-ordinal=""1"">vasovagal syncope</span>, the most common cause of syncope look for <span class=""cloze"" data-ordinal=""2"">nausea</span>, <span class=""cloze"" data-ordinal=""2"">diaphoresis</span>, and <span class=""cloze"" data-ordinal=""2"">pallor</span> triggered by a fearful or unpleasant event, then vagally mediated hypotension, often with <span class=""cloze"" data-ordinal=""2"">slow</span> onset and offset.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>In <span class=""cloze-inactive"" data-ordinal=""1"">vasovagal syncope</span>, the most common cause of syncope look for <span class=""cloze"" data-ordinal=""2"">nausea</span>, <span class=""cloze"" data-ordinal=""2"">diaphoresis</span>, and <span class=""cloze"" data-ordinal=""2"">pallor</span> triggered by a fearful or unpleasant event, then vagally mediated hypotension, often with <span class=""cloze"" data-ordinal=""2"">slow</span> onset and offset.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>In syncope from arrhythmias, onset and offset are often <span class=""cloze"" data-cloze=""sudden"" data-ordinal=""1"">[...]</span>, reflecting loss and recovery of <span class=""cloze"" data-cloze=""cerebral perfusion"" data-ordinal=""1"">[...]</span>.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>In syncope from arrhythmias, onset and offset are often <span class=""cloze"" data-ordinal=""1"">sudden</span>, reflecting loss and recovery of <span class=""cloze"" data-ordinal=""1"">cerebral perfusion</span>.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>In syncope from arrhythmias, onset and offset are often <span class=""cloze"" data-ordinal=""1"">sudden</span>, reflecting loss and recovery of <span class=""cloze"" data-ordinal=""1"">cerebral perfusion</span>.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><span class=""cloze"" data-cloze=""Epilepsy"" data-ordinal=""1"">[...]</span> defined as two or more seizures that are not provoked by other illnesses or circumstances.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><span class=""cloze"" data-ordinal=""1"">Epilepsy</span> defined as two or more seizures that are not provoked by other illnesses or circumstances.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><span class=""cloze"" data-ordinal=""1"">Epilepsy</span> defined as two or more seizures that are not provoked by other illnesses or circumstances.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><span class=""cloze"" data-cloze=""Epilepsy"" data-ordinal=""1"">[...]</span> does not always involve loss of consciousness, depending on the type.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><span class=""cloze"" data-ordinal=""1"">Epilepsy</span> does not always involve loss of consciousness, depending on the type.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><span class=""cloze"" data-ordinal=""1"">Epilepsy</span> does not always involve loss of consciousness, depending on the type.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Common causes of acute symptomatic seizures include </div><div><ul><li><span class=""cloze"" data-cloze=""cocaine"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""acute stroke"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""head trauma"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""meningitis or encephalitis"" data-ordinal=""1"">[...]</span></li><li>withdrawal from <span class=""cloze"" data-cloze=""alcohol, benzodiazepines, and barbiturates&#x3B;&nbsp&#x3B;"" data-ordinal=""1"">[...]</span></li><li>metabolic insults from low or high <span class=""cloze"" data-cloze=""glucose"" data-ordinal=""1"">[...]</span> or <span class=""cloze"" data-cloze=""low calcium"" data-ordinal=""1"">[...]</span> or <span class=""cloze"" data-cloze=""sodium"" data-ordinal=""1"">[...]</span>; </li></ul></div><div><br></div><div><br></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Common causes of acute symptomatic seizures include </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">cocaine</span></li><li><span class=""cloze"" data-ordinal=""1"">acute stroke</span></li><li><span class=""cloze"" data-ordinal=""1"">head trauma</span></li><li><span class=""cloze"" data-ordinal=""1"">meningitis or encephalitis</span></li><li>withdrawal from <span class=""cloze"" data-ordinal=""1"">alcohol, benzodiazepines, and barbiturates; </span></li><li>metabolic insults from low or high <span class=""cloze"" data-ordinal=""1"">glucose</span> or <span class=""cloze"" data-ordinal=""1"">low calcium</span> or <span class=""cloze"" data-ordinal=""1"">sodium</span>; </li></ul></div><div><br></div><div><br></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Common causes of acute symptomatic seizures include </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">cocaine</span></li><li><span class=""cloze"" data-ordinal=""1"">acute stroke</span></li><li><span class=""cloze"" data-ordinal=""1"">head trauma</span></li><li><span class=""cloze"" data-ordinal=""1"">meningitis or encephalitis</span></li><li>withdrawal from <span class=""cloze"" data-ordinal=""1"">alcohol, benzodiazepines, and barbiturates; </span></li><li>metabolic insults from low or high <span class=""cloze"" data-ordinal=""1"">glucose</span> or <span class=""cloze"" data-ordinal=""1"">low calcium</span> or <span class=""cloze"" data-ordinal=""1"">sodium</span>; </li></ul></div><div><br></div><div><br></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Signs and Symptoms of Tonic–clonic seizure motor activity</div><div><ul><li><span class=""cloze"" data-cloze=""bladder or bowel incontinence"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""tongue biting or bruising of limbs may occur"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""altered level of consciousness after a seizure episode (postictal state)&nbsp&#x3B;&nbsp&#x3B;"" data-ordinal=""1"">[...]</span></li></ul></div></div><div><br></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Signs and Symptoms of Tonic–clonic seizure motor activity</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">bladder or bowel incontinence</span></li><li><span class=""cloze"" data-ordinal=""1"">tongue biting or bruising of limbs may occur</span></li><li><span class=""cloze"" data-ordinal=""1"">altered level of consciousness after a seizure episode (postictal state)  </span></li></ul></div></div><div><br></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Signs and Symptoms of Tonic–clonic seizure motor activity</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">bladder or bowel incontinence</span></li><li><span class=""cloze"" data-ordinal=""1"">tongue biting or bruising of limbs may occur</span></li><li><span class=""cloze"" data-ordinal=""1"">altered level of consciousness after a seizure episode (postictal state)  </span></li></ul></div></div><div><br></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><span class=""cloze"" data-cloze=""Tremor"" data-ordinal=""1"">[...]</span>, “<span class=""cloze-inactive"" data-ordinal=""2"">a rhythmic oscillatory movement of a body part resulting from the contraction of opposing muscle groups</span>,” is the most common movement disorder</div></div><div><br></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><span class=""cloze"" data-ordinal=""1"">Tremor</span>, “<span class=""cloze-inactive"" data-ordinal=""2"">a rhythmic oscillatory movement of a body part resulting from the contraction of opposing muscle groups</span>,” is the most common movement disorder</div></div><div><br></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><span class=""cloze"" data-ordinal=""1"">Tremor</span>, “<span class=""cloze-inactive"" data-ordinal=""2"">a rhythmic oscillatory movement of a body part resulting from the contraction of opposing muscle groups</span>,” is the most common movement disorder</div></div><div><br></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><span class=""cloze-inactive"" data-ordinal=""1"">Tremor</span>, “<span class=""cloze"" data-cloze=""a rhythmic oscillatory movement of a body part resulting from the contraction of opposing muscle groups"" data-ordinal=""2"">[...]</span>,” is the most common movement disorder</div></div><div><br></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><span class=""cloze-inactive"" data-ordinal=""1"">Tremor</span>, “<span class=""cloze"" data-ordinal=""2"">a rhythmic oscillatory movement of a body part resulting from the contraction of opposing muscle groups</span>,” is the most common movement disorder</div></div><div><br></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><span class=""cloze-inactive"" data-ordinal=""1"">Tremor</span>, “<span class=""cloze"" data-ordinal=""2"">a rhythmic oscillatory movement of a body part resulting from the contraction of opposing muscle groups</span>,” is the most common movement disorder</div></div><div><br></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><span class=""cloze"" data-cloze=""Essential tremor"" data-ordinal=""1"">[...]</span> is a high-frequency, bilateral, upper extremity tremor that occur with both limb movement and sustained posture and subsides when the limb is relaxed.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><span class=""cloze"" data-ordinal=""1"">Essential tremor</span> is a high-frequency, bilateral, upper extremity tremor that occur with both limb movement and sustained posture and subsides when the limb is relaxed.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><span class=""cloze"" data-ordinal=""1"">Essential tremor</span> is a high-frequency, bilateral, upper extremity tremor that occur with both limb movement and sustained posture and subsides when the limb is relaxed.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Reversible causes of restless legs syndrome include:</div>
<div><ul><li><span class=""cloze"" data-cloze=""pregnancy"" data-ordinal=""1"">[...]</span> </li><li><span class=""cloze"" data-cloze=""renal disease"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""iron deficiency"" data-ordinal=""1"">[...]</span></li></ul></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Reversible causes of restless legs syndrome include:</div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">pregnancy</span> </li><li><span class=""cloze"" data-ordinal=""1"">renal disease</span></li><li><span class=""cloze"" data-ordinal=""1"">iron deficiency</span></li></ul></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Reversible causes of restless legs syndrome include:</div>
<div><ul><li><span class=""cloze"" data-ordinal=""1"">pregnancy</span> </li><li><span class=""cloze"" data-ordinal=""1"">renal disease</span></li><li><span class=""cloze"" data-ordinal=""1"">iron deficiency</span></li></ul></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-1-A.svg""></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-2-A.svg""></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-5-A.svg""></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-6-Q.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-6-A.svg""></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-7-Q.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-7-A.svg""></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-8-Q.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-8-A.svg""></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-9-Q.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-9-A.svg""></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-10-Q.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-10-A.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-11-Q.svg"" /></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""493dfdfdde754ad48ceff1e27e6e76ec-ao-11-A.svg""></div>
<div id=""io-original""><img src=""tmppc5thf89.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-1-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-1-A.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-2-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-2-A.svg""></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-3-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-3-A.svg""></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-4-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-4-A.svg""></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-5-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-5-A.svg""></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-6-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-6-A.svg""></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-7-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-7-A.svg""></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-8-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-8-A.svg""></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-9-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-9-A.svg""></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-10-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-10-A.svg""></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-11-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-11-A.svg""></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-12-Q.svg"" /></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<div id=""io-footer""></div>
""
<script>
// Toggle answer mask on clicking the image
var toggle = function() {
var amask = document.getElementById('io-overlay');
if (amask.style.display === 'block' || amask.style.display === '')
amask.style.display = 'none';
else
amask.style.display = 'block'
}
</script>
<div id=""io-header""></div>
<div id=""io-wrapper"">
<div id=""io-overlay""><img src=""dfafb19b14c14de583ef3194f6f3b8ba-ao-12-A.svg""></div>
<div id=""io-original""><img src=""tmpabmf6042.jpg"" /></div>
</div>
<button id=""io-revl-btn"" onclick=""toggle();"">Toggle Masks</button>
<div id=""io-extra-wrapper"">
<div id=""io-extra"">
</div>
</div>
"
"<div>Inspect each disc carefully for bulging and blurred margins (<span class=""cloze"" data-cloze=""papilledema"" data-ordinal=""1"">[...]</span>); pallor (<span class=""cloze"" data-cloze=""optic atrophy"" data-ordinal=""1"">[...]</span>); and cup enlargement (<span class=""cloze"" data-cloze=""glaucoma"" data-ordinal=""1"">[...]</span>).</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Inspect each disc carefully for bulging and blurred margins (<span class=""cloze"" data-ordinal=""1"">papilledema</span>); pallor (<span class=""cloze"" data-ordinal=""1"">optic atrophy</span>); and cup enlargement (<span class=""cloze"" data-ordinal=""1"">glaucoma</span>).</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Inspect each disc carefully for bulging and blurred margins (<span class=""cloze"" data-ordinal=""1"">papilledema</span>); pallor (<span class=""cloze"" data-ordinal=""1"">optic atrophy</span>); and cup enlargement (<span class=""cloze"" data-ordinal=""1"">glaucoma</span>).</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><span class=""cloze"" data-cloze=""Anisocoria"" data-ordinal=""1"">[...]</span>, or a difference of >0.4 mm in the diameter of one pupil compared to the other</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><span class=""cloze"" data-ordinal=""1"">Anisocoria</span>, or a difference of >0.4 mm in the diameter of one pupil compared to the other</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><span class=""cloze"" data-ordinal=""1"">Anisocoria</span>, or a difference of >0.4 mm in the diameter of one pupil compared to the other</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>If anisocoria worsens in darkness, with normal pupillary reaction to light but abnormal pupillary dilation in one eye, this suggests <span class=""cloze"" data-cloze=""Horner syndrome"" data-ordinal=""1"">[...]</span> affecting sympathetic innervation</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>If anisocoria worsens in darkness, with normal pupillary reaction to light but abnormal pupillary dilation in one eye, this suggests <span class=""cloze"" data-ordinal=""1"">Horner syndrome</span> affecting sympathetic innervation</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>If anisocoria worsens in darkness, with normal pupillary reaction to light but abnormal pupillary dilation in one eye, this suggests <span class=""cloze"" data-ordinal=""1"">Horner syndrome</span> affecting sympathetic innervation</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Binocular diplopia occurs in CN:</div><div><ul><li><span class=""cloze"" data-cloze=""III (3)"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""IV (4)"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""VI (6)"" data-ordinal=""1"">[...]</span></li></ul></div><div><br></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Binocular diplopia occurs in CN:</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">III (3)</span></li><li><span class=""cloze"" data-ordinal=""1"">IV (4)</span></li><li><span class=""cloze"" data-ordinal=""1"">VI (6)</span></li></ul></div><div><br></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Binocular diplopia occurs in CN:</div><div><ul><li><span class=""cloze"" data-ordinal=""1"">III (3)</span></li><li><span class=""cloze"" data-ordinal=""1"">IV (4)</span></li><li><span class=""cloze"" data-ordinal=""1"">VI (6)</span></li></ul></div><div><br></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><span class=""cloze"" data-cloze=""Nystagmus"" data-ordinal=""1"">[...]</span>, an involuntary jerking movement of the eyes with quick and slow components.</div></div><div><br></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><span class=""cloze"" data-ordinal=""1"">Nystagmus</span>, an involuntary jerking movement of the eyes with quick and slow components.</div></div><div><br></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><span class=""cloze"" data-ordinal=""1"">Nystagmus</span>, an involuntary jerking movement of the eyes with quick and slow components.</div></div><div><br></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div><span class=""cloze"" data-cloze=""ptosis"" data-ordinal=""1"">[...]</span> (drooping of the upper eyelids)</div></div><div><br></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div><span class=""cloze"" data-ordinal=""1"">ptosis</span> (drooping of the upper eyelids)</div></div><div><br></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div><span class=""cloze"" data-ordinal=""1"">ptosis</span> (drooping of the upper eyelids)</div></div><div><br></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Ptosis is seen in third nerve palsy (CN <span class=""cloze"" data-cloze=""III"" data-ordinal=""1"">[...]</span>), <span class=""cloze"" data-cloze=""Horner syndrome"" data-ordinal=""1"">[...]</span> (ptosis, miosis, forehead anhidrosis), or <span class=""cloze"" data-cloze=""myasthenia gravis."" data-ordinal=""1"">[...]</span></div></div><div><br></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Ptosis is seen in third nerve palsy (CN <span class=""cloze"" data-ordinal=""1"">III</span>), <span class=""cloze"" data-ordinal=""1"">Horner syndrome</span> (ptosis, miosis, forehead anhidrosis), or <span class=""cloze"" data-ordinal=""1"">myasthenia gravis.</span></div></div><div><br></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Ptosis is seen in third nerve palsy (CN <span class=""cloze"" data-ordinal=""1"">III</span>), <span class=""cloze"" data-ordinal=""1"">Horner syndrome</span> (ptosis, miosis, forehead anhidrosis), or <span class=""cloze"" data-ordinal=""1"">myasthenia gravis.</span></div></div><div><br></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>Flattening of the nasolabial fold and drooping of the lower eyelid suggest <span class=""cloze"" data-cloze=""facial weakness"" data-ordinal=""1"">[...]</span></div></div><div><br></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>Flattening of the nasolabial fold and drooping of the lower eyelid suggest <span class=""cloze"" data-ordinal=""1"">facial weakness</span></div></div><div><br></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>Flattening of the nasolabial fold and drooping of the lower eyelid suggest <span class=""cloze"" data-ordinal=""1"">facial weakness</span></div></div><div><br></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>A peripheral injury to CN <span class=""cloze"" data-cloze=""VII"" data-ordinal=""1"">[...]</span>, as seen in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy,</span> affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy</span></div></div><div><br></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>A peripheral injury to CN <span class=""cloze"" data-ordinal=""1"">VII</span>, as seen in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy,</span> affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy</span></div></div><div><br></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>A peripheral injury to CN <span class=""cloze"" data-ordinal=""1"">VII</span>, as seen in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy,</span> affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy</span></div></div><div><br></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><div>A peripheral injury to CN <span class=""cloze-inactive"" data-ordinal=""1"">VII</span>, as seen in <span class=""cloze"" data-cloze=""Bell palsy,"" data-ordinal=""2"">[...]</span> affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze"" data-cloze=""Bell palsy"" data-ordinal=""2"">[...]</span></div></div><div><br></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><div>A peripheral injury to CN <span class=""cloze-inactive"" data-ordinal=""1"">VII</span>, as seen in <span class=""cloze"" data-ordinal=""2"">Bell palsy,</span> affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze"" data-ordinal=""2"">Bell palsy</span></div></div><div><br></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><div>A peripheral injury to CN <span class=""cloze-inactive"" data-ordinal=""1"">VII</span>, as seen in <span class=""cloze"" data-ordinal=""2"">Bell palsy,</span> affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze"" data-ordinal=""2"">Bell palsy</span></div></div><div><br></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Loss of smell occurs in </div><div><ul><li><span class=""cloze"" data-cloze=""sinus conditions"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""head trauma"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""smoking"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""aging"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""use of cocaine"" data-ordinal=""1"">[...]</span></li><li><span class=""cloze"" data-cloze=""Parkinson disease"" data-ordinal=""1"">[...]</span></li></ul></div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Loss of smell occurs in </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">sinus conditions</span></li><li><span class=""cloze"" data-ordinal=""1"">head trauma</span></li><li><span class=""cloze"" data-ordinal=""1"">smoking</span></li><li><span class=""cloze"" data-ordinal=""1"">aging</span></li><li><span class=""cloze"" data-ordinal=""1"">use of cocaine</span></li><li><span class=""cloze"" data-ordinal=""1"">Parkinson disease</span></li></ul></div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Loss of smell occurs in </div><div><ul><li><span class=""cloze"" data-ordinal=""1"">sinus conditions</span></li><li><span class=""cloze"" data-ordinal=""1"">head trauma</span></li><li><span class=""cloze"" data-ordinal=""1"">smoking</span></li><li><span class=""cloze"" data-ordinal=""1"">aging</span></li><li><span class=""cloze"" data-ordinal=""1"">use of cocaine</span></li><li><span class=""cloze"" data-ordinal=""1"">Parkinson disease</span></li></ul></div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Difficulty clenching the jaw or moving it to the opposite side suggests <span class=""cloze"" data-cloze=""masseter"" data-ordinal=""1"">[...]</span> and <span class=""cloze"" data-cloze=""lateral pterygoid weakness"" data-ordinal=""1"">[...]</span>. </div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Difficulty clenching the jaw or moving it to the opposite side suggests <span class=""cloze"" data-ordinal=""1"">masseter</span> and <span class=""cloze"" data-ordinal=""1"">lateral pterygoid weakness</span>. </div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Difficulty clenching the jaw or moving it to the opposite side suggests <span class=""cloze"" data-ordinal=""1"">masseter</span> and <span class=""cloze"" data-ordinal=""1"">lateral pterygoid weakness</span>. </div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Isolated sensory loss occurs in peripheral nerve disorders, including lesions of the <span class=""cloze"" data-cloze=""trigeminal nerve (CN V"" data-ordinal=""1"">[...]</span>).</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Isolated sensory loss occurs in peripheral nerve disorders, including lesions of the <span class=""cloze"" data-ordinal=""1"">trigeminal nerve (CN V</span>).</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Isolated sensory loss occurs in peripheral nerve disorders, including lesions of the <span class=""cloze"" data-ordinal=""1"">trigeminal nerve (CN V</span>).</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Flattening of the nasolabial fold and drooping of the lower eyelid suggest <span class=""cloze"" data-cloze=""facial weakness"" data-ordinal=""1"">[...]</span>.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Flattening of the nasolabial fold and drooping of the lower eyelid suggest <span class=""cloze"" data-ordinal=""1"">facial weakness</span>.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Flattening of the nasolabial fold and drooping of the lower eyelid suggest <span class=""cloze"" data-ordinal=""1"">facial weakness</span>.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>A peripheral injury to <span class=""cloze"" data-cloze=""CN VII"" data-ordinal=""1"">[...]</span>, as seen in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy</span>, affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy</span>.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>A peripheral injury to <span class=""cloze"" data-ordinal=""1"">CN VII</span>, as seen in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy</span>, affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy</span>.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>A peripheral injury to <span class=""cloze"" data-ordinal=""1"">CN VII</span>, as seen in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy</span>, affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze-inactive"" data-ordinal=""2"">Bell palsy</span>.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>A peripheral injury to <span class=""cloze-inactive"" data-ordinal=""1"">CN VII</span>, as seen in <span class=""cloze"" data-cloze=""Bell palsy"" data-ordinal=""2"">[...]</span>, affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze"" data-cloze=""Bell palsy"" data-ordinal=""2"">[...]</span>.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>A peripheral injury to <span class=""cloze-inactive"" data-ordinal=""1"">CN VII</span>, as seen in <span class=""cloze"" data-ordinal=""2"">Bell palsy</span>, affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze"" data-ordinal=""2"">Bell palsy</span>.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>A peripheral injury to <span class=""cloze-inactive"" data-ordinal=""1"">CN VII</span>, as seen in <span class=""cloze"" data-ordinal=""2"">Bell palsy</span>, affects both the upper and lower face; a central lesion affects mainly the lower face. Loss of taste, hyperacusis, and increased or decreased tearing can also occur in <span class=""cloze"" data-ordinal=""2"">Bell palsy</span>.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><span class=""cloze"" data-cloze=""Fasciculations"" data-ordinal=""1"">[...]</span> are small irregular twitching movements affecting small groups of muscle fibers.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><span class=""cloze"" data-ordinal=""1"">Fasciculations</span> are small irregular twitching movements affecting small groups of muscle fibers.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><span class=""cloze"" data-ordinal=""1"">Fasciculations</span> are small irregular twitching movements affecting small groups of muscle fibers.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Tongue atrophy and fasciculations can be seen in patients with <span class=""cloze"" data-cloze=""amyotrophic lateral sclerosis"" data-ordinal=""1"">[...]</span> and a history of <span class=""cloze"" data-cloze=""polio"" data-ordinal=""1"">[...]</span>.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Tongue atrophy and fasciculations can be seen in patients with <span class=""cloze"" data-ordinal=""1"">amyotrophic lateral sclerosis</span> and a history of <span class=""cloze"" data-ordinal=""1"">polio</span>.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Tongue atrophy and fasciculations can be seen in patients with <span class=""cloze"" data-ordinal=""1"">amyotrophic lateral sclerosis</span> and a history of <span class=""cloze"" data-ordinal=""1"">polio</span>.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><span class=""cloze"" data-cloze=""Atrophy"" data-ordinal=""1"">[...]</span> is a sign of lower motor neuron pathology and can be seen in motor neuron disease, diseases affecting the nerve roots exiting the spinal cord (radiculopathy), or peripheral neuropathy.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><span class=""cloze"" data-ordinal=""1"">Atrophy</span> is a sign of lower motor neuron pathology and can be seen in motor neuron disease, diseases affecting the nerve roots exiting the spinal cord (radiculopathy), or peripheral neuropathy.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><span class=""cloze"" data-ordinal=""1"">Atrophy</span> is a sign of lower motor neuron pathology and can be seen in motor neuron disease, diseases affecting the nerve roots exiting the spinal cord (radiculopathy), or peripheral neuropathy.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Furrowing between the metacarpals and flattening of the thenar and hypothenar eminences (seen in median and ulnar nerve damage, respectively), suggest <span class=""cloze"" data-cloze=""atrophy"" data-ordinal=""1"">[...]</span>.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Furrowing between the metacarpals and flattening of the thenar and hypothenar eminences (seen in median and ulnar nerve damage, respectively), suggest <span class=""cloze"" data-ordinal=""1"">atrophy</span>.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Furrowing between the metacarpals and flattening of the thenar and hypothenar eminences (seen in median and ulnar nerve damage, respectively), suggest <span class=""cloze"" data-ordinal=""1"">atrophy</span>.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Fasciculations with atrophy and muscle weakness suggest <span class=""cloze-inactive"" data-ordinal=""1"">peripheral motor neuron disease</span>. Diseases of the muscles themselves (<span class=""cloze"" data-cloze=""myopathy"" data-ordinal=""2"">[...]</span>) can also cause <span class=""cloze"" data-cloze=""atrophy"" data-ordinal=""2"">[...]</span> but do not cause fasciculations. Corticospinal tract injury can sometimes cause mild atrophy due to decreased muscle use.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Fasciculations with atrophy and muscle weakness suggest <span class=""cloze-inactive"" data-ordinal=""1"">peripheral motor neuron disease</span>. Diseases of the muscles themselves (<span class=""cloze"" data-ordinal=""2"">myopathy</span>) can also cause <span class=""cloze"" data-ordinal=""2"">atrophy</span> but do not cause fasciculations. Corticospinal tract injury can sometimes cause mild atrophy due to decreased muscle use.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Fasciculations with atrophy and muscle weakness suggest <span class=""cloze-inactive"" data-ordinal=""1"">peripheral motor neuron disease</span>. Diseases of the muscles themselves (<span class=""cloze"" data-ordinal=""2"">myopathy</span>) can also cause <span class=""cloze"" data-ordinal=""2"">atrophy</span> but do not cause fasciculations. Corticospinal tract injury can sometimes cause mild atrophy due to decreased muscle use.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Fasciculations with atrophy and muscle weakness suggest <span class=""cloze"" data-cloze=""peripheral motor neuron disease"" data-ordinal=""1"">[...]</span>. Diseases of the muscles themselves (<span class=""cloze-inactive"" data-ordinal=""2"">myopathy</span>) can also cause <span class=""cloze-inactive"" data-ordinal=""2"">atrophy</span> but do not cause fasciculations. Corticospinal tract injury can sometimes cause mild atrophy due to decreased muscle use.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Fasciculations with atrophy and muscle weakness suggest <span class=""cloze"" data-ordinal=""1"">peripheral motor neuron disease</span>. Diseases of the muscles themselves (<span class=""cloze-inactive"" data-ordinal=""2"">myopathy</span>) can also cause <span class=""cloze-inactive"" data-ordinal=""2"">atrophy</span> but do not cause fasciculations. Corticospinal tract injury can sometimes cause mild atrophy due to decreased muscle use.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Fasciculations with atrophy and muscle weakness suggest <span class=""cloze"" data-ordinal=""1"">peripheral motor neuron disease</span>. Diseases of the muscles themselves (<span class=""cloze-inactive"" data-ordinal=""2"">myopathy</span>) can also cause <span class=""cloze-inactive"" data-ordinal=""2"">atrophy</span> but do not cause fasciculations. Corticospinal tract injury can sometimes cause mild atrophy due to decreased muscle use.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div>Marked floppiness indicates muscle <span class=""cloze"" data-cloze=""hypotonia"" data-ordinal=""1"">[...]</span> or <span class=""cloze"" data-cloze=""flaccidity"" data-ordinal=""1"">[...]</span>, usually from a peripheral motor system disorder.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div>Marked floppiness indicates muscle <span class=""cloze"" data-ordinal=""1"">hypotonia</span> or <span class=""cloze"" data-ordinal=""1"">flaccidity</span>, usually from a peripheral motor system disorder.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div>Marked floppiness indicates muscle <span class=""cloze"" data-ordinal=""1"">hypotonia</span> or <span class=""cloze"" data-ordinal=""1"">flaccidity</span>, usually from a peripheral motor system disorder.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open the popup.
//if set to true: user must select text, then click the ""w"" key to open wikipedia popup. Clicking ""w"" key again will close the popup. //if set to false: user only needs to select text. popup will open automatically. Clicking ""w"" is an alternative but not obligatory way of opening/closing the popup in this mode.
//BELOW SET to true or to false. var mustClickW = true;
//END CUSTOMIZATION
</script>"
"<div><span class=""cloze"" data-cloze=""Spasticity"" data-ordinal=""1"">[...]</span> is increased tone that is velocity-dependent and worsens at the extremes of range of motion.</div>
<!-- ############## Text-to-speech ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze:Text-->
<div class=""timer"" id=""s2""></div>
<script>
//############## TIMER CONFIGURATION START ##############
//Set Timer Length
var minutes = 0
var seconds = 9
//############## TIMER CONFIGURATION END ##############
function countdown( elementName, minutes, seconds )
{
var element, endTime, hours, mins, msLeft, time;
function twoDigits( n )
{
return (n <= 9 ? ""0"" + n : n); }
function updateTimer()
{
msLeft = endTime - (+new Date);
//USER CUSTOMIZATION- you can edit color and text of the 'time expired' readout under the element.innerHTML
if ( msLeft < 1000 ) {
element.innerHTML = ""<span style='color:#CC5B5B'>!<br/>!<br/>!<br/>!<br/>!<br/>!</span>"";
} else {
time = new Date( msLeft );
hours = time.getUTCHours();
mins = time.getUTCMinutes();
element.innerHTML = (hours ? hours + ':' + twoDigits( mins ) : mins) + ':' + twoDigits( time.getUTCSeconds() );
setTimeout( updateTimer, time.getUTCMilliseconds() + 500 );
}
}
element = document.getElementById( elementName );
endTime = (+new Date) + 1000 * (60*minutes + seconds) + 500;
updateTimer();
}
countdown(""s2"", minutes, seconds ); //2nd value is the minute, 3rd is the seconds
</script>
<div id=""pic""><a href=""https://www.ankingmed.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
//DONT FADE BETWEEN CARDS
qFade=0; if (typeof anki !== 'undefined') anki.qFade=qFade;
</script>
""<script>
// ############## HINT REVEAL SHORTCUTS ##############
// Visit https://keycode.info/ to get the number/letter for the key you want to assign. // The shortcuts are Alt + the number/letter below
// All shortcuts will also open with ""H"" if using the Hint Hotkeys add-on var lecturenotes = '49';
var missedQ = '50';
var apex = '51';
var textbook = '52';
var additional = '53';
var OpenCloseAll = '222';
var ScrollToHint = false;
</script>
<div class=""clozefield""><div><span class=""cloze"" data-ordinal=""1"">Spasticity</span> is increased tone that is velocity-dependent and worsens at the extremes of range of motion.</div></div>
<!-- ############## EDIT CLOZE DURING REVIEW ##############
-change below (not above) to ""edit:cloze:Text"" for editable field, but be sure to have the correct add-on installed-->
<div class=""editcloze""><div><span class=""cloze"" data-ordinal=""1"">Spasticity</span> is increased tone that is velocity-dependent and worsens at the extremes of range of motion.</div></div>
<!-- ############## TEXT-TO-SPEECH ##############
replace the arrows/dashes from the statement below with double brackets-->
<!--tts en_US voices=Apple_Samantha speed=1.4:cloze-only:Text-->
<hr>
<!-- ############## SHOW HINTS AUTOMATICALLY ##############
For instructions on how to show a field automatically, visit www.ankingmed.com/faq and type ""show hint"" into the search bar -->
<!-- LECTURE NOTES FIELD -->
<div id=""button-ln"" class=""generalclass"" style=""display:none;"">
</div>
<!-- MISSED QUESTIONS FIELD -->
<div id=""button-mq"" class=""generalclass"" style=""display:none;"">
</div>
<!-- EXTRA FIELD -->
<p></p><br>
<div id=""testscroll""></div>
<!-- APEX FIELD -->
<div id=""button-apex"" class=""generalclass"" style=""display:none;"">
</div>
<!-- Textbook FIELD -->
<div id=""button-textbook"" class=""generalclass"" style=""display:none;"">
</div>
<!-- ADDITIONAL RESOURCES FIELD -->
<div id=""button-ar"" class=""generalclass"" style=""display:none;"">
</div>
<script>
//HINT REVEALS
function myFunction(divid, id, divid) {
var x = document.getElementById(divid), y = document.getElementById(id), z = document.getElementById(divid);
if (x.style.display == ""none"")
{
x.style.display = ""block""; y.style.display = ""none""; z.scrollToId;
}
else {
x.style.display = ""none""; y.style.display = ""inline-block"";
}
if (ScrollToHint){
z.scrollIntoView({
behavior: ""smooth"", //""auto"" for instant scrolling
block: ""start"",
inline: ""nearest""
}); }
}
document.addEventListener('keydown', function(evt) {
if (evt.altKey && evt.keyCode == lecturenotes) {
myFunction('button-ln', 'hint-ln', 'button-ln')} if (evt.altKey && evt.keyCode == missedQ) {
myFunction('button-mq', 'hint-mq', 'button-mq')}
if (evt.altKey && evt.keyCode == textbook) {
myFunction('button-textbook', 'hint-textbook', 'button-textbook')}
if (evt.altKey && evt.keyCode == additional) {
myFunction('button-ar', 'hint-ar', 'button-ar')}
if (evt.altKey && evt.keyCode == apex) {
myFunction('button-apex', 'hint-apex', 'button-apex')}
if (evt.keyCode == OpenCloseAll) {
try{myFunction('button-ar', 'hint-ar', 'button-ar');}
finally{try{myFunction('button-textbook', 'hint-textbook', 'button-textbook');}
finally{try{myFunction('button-mq', 'hint-mq', 'button-mq');}
finally{myFunction('button-ln', 'hint-ln', 'button-ln');}}}
}
})
</script>
<br>
<br>
<script>
//ENTER THE TAG TERM WHICH, WHEN PRESENT, WILL TRIGGER A RED BACKGROUND
var tagID
</script>
<div id=""pic""><a href=""https://www.ankipalace.com"">
<img src=""_needle.png"" alt=""Apex Ankisthesia"" style=""height:50px;border:0;position:fixed;bottom:10px;right:10px;"">
</a></div>
<script>
function getSummaryFor(word) {
word = word.replace(/^[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+|[\.,\/#\!$%\^&\*;:{}=\-_`~()\'\s]+$/g, """");
var pc = document.getElementById(""popup-container"");
var hc = document.getElementById(""hc"");
var tc = document.getElementById(""tc"");
var ic = document.getElementById(""ic"");
var imgelem = document.getElementById(""popup-image"");
imgelem.src = """";
var shortsum ="""";
fetch(""https://en.wikipedia.org/api/rest_v1/page/summary/"" + word).then(function(response) {return response.json();}).then(function(response) {
shortsum = response.description;
shortsum = shortsum.replace(/(Disambiguation.*)/g, ""Disambiguation"");
tc.innerHTML = ""<span id='hc'>"" +capfl(shortsum) + ""</span>"" +""\n"" +response.extract_html + ""\n"";
tc.style.width = ""420px"";
if (response.extract_html && !response.extract.endsWith(""to:"")){
pc.style.display = ""block"";
document.getElementById(""open-wiki-btn"").href = response.content_urls.desktop.page;
}else{pc.style.display = ""none"";}
if (!response.thumbnail.source || response.type ===""disambiguation""){
tc.style.width = ""420px"";
}else{tc.style.width=""300px"";imgelem.src = response.thumbnail.source;}
}).catch(function(error) {console.log(error);});}
function closePopup(deselectAlso=false){
pcc.style.display = 'none';
if (deselectAlso){clearSelection();}
}
var pcc = document.getElementById(""popup-container"");
var prevSel = """";
document.addEventListener('click', function() {
var currentSelection = getSelectionText();
if (currentSelection !==""""){prevSel = currentSelection;}
if (currentSelection && !mustClickW ){
getSummaryFor(currentSelection);
}else{closePopup();}
});
document.addEventListener('keyup', function(e) {
if(e.key ==""w""){hhh
if(pcc.style.display ===""block""){closePopup();}else{getSummaryFor(prevSel);}
}
});
function getSelectionText() {
var text = """";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != ""Control"") { text = document.selection.createRange().text;}
return text;
}
function capfl(s) {
return s.charAt(0).toUpperCase() + s.slice(1);
}
function clearSelection(){
if (window.getSelection) {window.getSelection().removeAllRanges();}
else if (document.selection) {document.selection.empty();}
}
//CUSTOMIZATION
//this is a variable controlling whether user must click the ""w"" key to open 
Download