summaryrefslogtreecommitdiff
path: root/test/test-pages/webmd-1/source.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-pages/webmd-1/source.html')
-rw-r--r--test/test-pages/webmd-1/source.html312
1 files changed, 156 insertions, 156 deletions
diff --git a/test/test-pages/webmd-1/source.html b/test/test-pages/webmd-1/source.html
index 79cc6f5..0b50ccc 100644
--- a/test/test-pages/webmd-1/source.html
+++ b/test/test-pages/webmd-1/source.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" class="no-js">
-
+
<head>
<title>Babies Who Eat Peanuts Early May Avoid Allergy</title>
<meta http-equiv="X-UA-Compatible"
@@ -33,7 +33,7 @@
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://rssfeeds.webmd.com/rss/rss.aspx?RSSSource=RSS_PUBLIC"/>
<link rel="alternate" media="only screen and (max-width: 640px)" href="http://www.m.webmd.com/allergies/news/20150220/child-peanut-allergy-findings"/>
<script language="javascript1.2" type="text/javascript">
- <!--
+ <!--
var center="health"; var center_name="Allergies"; var center_id=893; var center_prefix="www"; var center_url="/allergies/default.htm";//-->
</script>
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE"/>
@@ -63,7 +63,7 @@
<script language="javascript" type="text/javascript" src="http://img.webmd.com/dtmcms/live/webmd/PageBuilder_Assets/JS/modules/answers3_promo17.js"></script>
<script language="javascript" type="text/javascript" src="http://img.webmd.com/dtmcms/live/webmd/PageBuilder_Assets/JS/hover-reg32.js"></script>
</head>
-
+
<body>
<div id="centering_area">
<div id="page_area">
@@ -115,7 +115,7 @@
<ul id="searchTypeahead_fmt" aria-live="assertive"></ul>
</div>
<div id="lln-srchbarlnks"><a onclick="return sl(this,'','lln-srchbarlnks_schk')" class="lln-symptoms"
- href="http://www.webmd.com/symptoms/default.htm">Symptoms</a><span class="pipe">|</span>
+ href="http://www.webmd.com/symptoms/default.htm">Symptoms</a><span class="pipe">|</span>
<a
onclick="return sl(this,'','lln-srchbarlnks_phyd')" class="lln-doctors"
href="http://doctor.webmd.com/home">Doctors</a><span class="pipe">|</span> <a onclick="return sl(this,'','lln-srchbarlnks_hins')"
@@ -207,7 +207,7 @@
</div>
<div id="nav_1_6">
<p>WebMD Pain Coach</p><a href="http://www.webmd.com/webmdpaincoachapp" onclick="return sl(this,'','hicb1-app_1')"
- class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/50x50_pain_app.jpg" alt="WebMD pain app"/></a>
+ class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/50x50_pain_app.jpg" alt="WebMD pain app"/></a>
<a
href="http://www.webmd.com/webmdpaincoachapp" onclick="return sl(this,'','hicb1-app_1')">Track your pain levels, triggers, and treatments. Set goals and get tips
with our app for iPhone.</a>
@@ -286,7 +286,7 @@
</div>
<div id="nav_2_4">
<p>WebMD Mobile Drug Information App</p><a href="http://www.webmd.com/webmdapp"
- onclick="return sl(this,'','hicb2-app_1')" class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/50x50_webmd_mobile_app.png" alt="WebMD logo"/></a>
+ onclick="return sl(this,'','hicb2-app_1')" class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/50x50_webmd_mobile_app.png" alt="WebMD logo"/></a>
<a
href="http://www.webmd.com/webmdapp" onclick="return sl(this,'','hicb2-app_1')">Drug, supplement, and vitamin information on the go.</a>
</div>
@@ -380,7 +380,7 @@
</div>
<div id="nav_3_4">
<p>WebMD Allergy App for iPhone</p><a href="http://www.webmd.com/allergy-app"
- onclick="return sl(this,'','hicb3-app_1')" class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/article_thumbnails/other/allergy_app_other/50x50_allergy_app_other.jpg" alt="WebMD Allergy App logo"/></a>
+ onclick="return sl(this,'','hicb3-app_1')" class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/article_thumbnails/other/allergy_app_other/50x50_allergy_app_other.jpg" alt="WebMD Allergy App logo"/></a>
<a
href="http://www.webmd.com/allergy-app" onclick="return sl(this,'','hicb3-app_1')">Fight allergies with daily forecasts, local alerts, and personalized tips.</a>
</div>
@@ -408,7 +408,7 @@
<div id="nav_4_2">
<p>Family and Pregnancy Centers</p>
<div class="third right_border"><a href="http://www.webmd.com/baby" onclick="return sl(this,'','hicb4-cpg_1')"
- class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/110x70_family_pregnancy.png" alt="pregnant woman"/></a>
+ class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/110x70_family_pregnancy.png" alt="pregnant woman"/></a>
<a
href="http://www.webmd.com/baby" onclick="return sl(this,'','hicb4-cpg_1')"
class="heading">Pregnancy</a>
@@ -425,7 +425,7 @@
</ul>
</div>
<div class="third right_border"><a href="http://www.webmd.com/parenting/default.htm" onclick="return sl(this,'','hicb4-cpt_1')"
- class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/110x70_family_parenting.png" alt="mom, dad, and baby"/></a>
+ class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/110x70_family_parenting.png" alt="mom, dad, and baby"/></a>
<a
href="http://www.webmd.com/parenting/default.htm" onclick="return sl(this,'','hicb4-cpt_1')"
class="heading">Parenting</a>
@@ -442,7 +442,7 @@
</ul>
</div>
<div class="third"><a href="http://www.webmd.com/pets/default.htm" onclick="return sl(this,'','hicb4-cpet_1')"
- class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/110x70_family_pets.png" alt="Cat and dog on grass"/></a>
+ class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/110x70_family_pets.png" alt="Cat and dog on grass"/></a>
<a
href="http://www.webmd.com/pets/default.htm" onclick="return sl(this,'','hicb4-cpet_1')"
class="heading">Pets</a>
@@ -478,7 +478,7 @@
</div>
<div id="nav_4_4">
<p>WebMD Pregnancy App for iPhone</p><a href="http://www.webmd.com/pregnancyapp"
- onclick="return sl(this,'','hicb4-app_1')" class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/article_thumbnails/other/pregnancy_app_other/50x50_pregnancy_app_other.jpg" alt="WebMD Pregnancy App logo"/></a>
+ onclick="return sl(this,'','hicb4-app_1')" class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/article_thumbnails/other/pregnancy_app_other/50x50_pregnancy_app_other.jpg" alt="WebMD Pregnancy App logo"/></a>
<a
href="http://www.webmd.com/pregnancyapp" onclick="return sl(this,'','hicb4-app_1')">The big day is coming! Get organized and track baby's weekly development.</a>
</div>
@@ -493,12 +493,12 @@
<div id="nav_5_1">
<p>News</p><span><a href="http://www.webmd.com/news/default.htm" onclick="return sl(this,'','hicb5-news_more')">View All</a></span>
<div
- class="nav_block hide_link" id="pb29"><a href="http://www.webmd.com/news/default.htm" class="nav_image" onclick="return sl(this,'','hicb5-news_1')"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/110x70_webmd_1.jpg" alt="WebMD logo"/></a>
+ class="nav_block hide_link" id="pb29"><a href="http://www.webmd.com/news/default.htm" class="nav_image" onclick="return sl(this,'','hicb5-news_1')"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/110x70_webmd_1.jpg" alt="WebMD logo"/></a>
<a
href="http://www.webmd.com/news/default.htm" onclick="return sl(this,'','hicb5-news_1')"
class="shorter">Today's Top Health Headlines</a>
</div>
- <div class="nav_block hide_link" id="pb30"><a href="http://www.webmd.com/news/default.htm" class="nav_image" onclick="return sl(this,'','hicb5-news_2')"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/110x70_webmd_1.jpg" alt="WebMD logo"/></a>
+ <div class="nav_block hide_link" id="pb30"><a href="http://www.webmd.com/news/default.htm" class="nav_image" onclick="return sl(this,'','hicb5-news_2')"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/110x70_webmd_1.jpg" alt="WebMD logo"/></a>
<a
href="http://www.webmd.com/news/default.htm" onclick="return sl(this,'','hicb5-news_2')"
class="shorter">Get the Latest Drug Approvals &amp; Alerts</a>
@@ -544,7 +544,7 @@
</div>
<div id="nav_5_4">
<p>WebMD Newsletters</p><a href="https://member.webmd.com/newsletters/newsletters.aspx"
- onclick="return sl(this,'','hicb5-nwsltr_1')" class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/50x50_newsletter.png" alt="closeup of newsletter"/></a>
+ onclick="return sl(this,'','hicb5-nwsltr_1')" class="nav_image"><img src="http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/modules/masthead_test/50x50_newsletter.png" alt="closeup of newsletter"/></a>
<a
href="https://member.webmd.com/newsletters/newsletters.aspx" onclick="return sl(this,'','hicb5-nwsltr_1')">Sign up to receive WebMD's award-winning content delivered to your inbox.</a>
</div>
@@ -607,7 +607,7 @@
<span
class="bc_2"> <a href="http://www.webmd.com/allergies/news/default.htm" onclick="return sl(this,'','brdcrmb');"
- class="breadcrumbActive">Allergies News</a>
+ class="breadcrumbActive">Allergies News</a>
</span>
</div>
<div id="headerLinks_email" class="headerLinks_fmt"> <a href="#" title="Email this page to a friend" class="triggerEmailOverlay"
@@ -681,7 +681,7 @@
/* :: 2015.02.04 rewrite :: */
// Create array(s) of the ID's to add the Tools module to
var s_topic = s_topic || "", s_business_reference = s_business_reference || "", s_publication_source = s_publication_source ||"", s_channel_health = s_channel_health || "", cssBlockOverride = ['Glossary', 'Nav - A-Z page', 'TOC', 'TOC - Channel', 'TOC - Guide', 'TOC - Mini-Center Topic', 'WebMD Image Collection'], sTopicException = ['7002','7006','7022','7023','7024'];
-
+
//if the s_publication_source is !== to the array OR s_business_reference is !== to the array OR s_channel_health is === to the array
if ( cssBlockOverride.indexOf(s_publication_source) === -1 || ssBlockOverride.indexOf(s_business_reference) === -1 || s_channel_health === 'Health Insurance and Medicare') {
// if the s_topic ID's first number is not equal to 7 OR the s_topic ID is == the array AND s_business_reference != the array
@@ -725,15 +725,15 @@
<div class="pop_toolst_bot_fmt"></div>
</div>
<script type="text/javascript">
- if (window.$) {
+ if (window.$) {
$(document).ready(function() {
// produce array from value(s) of 'secTopId'
var mySplitResultsecTopId = secTopId.split("|");
var wloop = mySplitResultsecTopId.length;
var sTopicException = ['7002','7006','7022','7023','7024'];
- // Hides the Pop Tools list on pages with a sensitive secondary topic id.
+ // Hides the Pop Tools list on pages with a sensitive secondary topic id.
// Updated 2015.02.04 by David Ware
- for (i = 0; i < wloop; i++) {
+ for (i = 0; i &lt; wloop; i++) {
// if this is a sensitive topic and the topicId is not in the list
if (mySplitResultsecTopId[i].substring(0,1) === '7' && sTopicException.indexOf(mySplitResultsecTopId[i]) === -1){
$('.pop_toolst_rdr').css('display','none');
@@ -866,7 +866,7 @@
<script type="text/javascript">
var pagination_title=new Array();
var pagination_current=1;
-
+
pagination_title[1]="";
pagination_title[2]="A Change in Guidelines? continued...";
pagination_title[3]="Gathering Evidence";
@@ -916,7 +916,7 @@
var interstitial = window.open("/privacy_window.html","privacy_window","width=325,height=175,resizable=no,toolbar=no,left=350,top=300");
if (interstitial) {
interstitial.focus();
-
+
}
return false;
}
@@ -932,9 +932,9 @@
function getPubType() {
return "editorial";
}
-
+
function checkPartners(){
-
+
/* Array of Partner Names */
var partnerNames=[
"Good Housekeeping",
@@ -966,7 +966,7 @@
"Elle",
"Woman's Day"
]
-
+
/* Array of names that go with files in partners node */
var partnerScripts=[
"goodHousekeeping",
@@ -998,38 +998,38 @@
"elle",
"womansDay"
]
-
+
/* Variables for whether a partner exists and which one in the array it is */
var isThere;
var whichOne = -1;
-
+
/* Pulls the pub source out of the XML */
var pubSource = 'WebMD Medical News';
-
+
/* Runs through the different partners and sees if one of them exists in the pub source */
- for (var i=0; i <= partnerNames.length-1; i++) { isThere = pubSource.search(partnerNames[i]); if (isThere != -1) {whichOne = i} }
-
+ for (var i=0; i &lt;= partnerNames.length-1; i++) { isThere = pubSource.search(partnerNames[i]); if (isThere != -1) {whichOne = i} }
+
/* If it found one, makes the JS calls and also populates the correct divs with the files out of partners node */
if (whichOne != -1) {
-
+
var JSCall = 'ht' + 'tp://img.web' + 'md.com/dtmcms/live/webmd/consumer_assets/site_images/javascript/partners/' + partnerScripts[whichOne] + '.js';
-
+
var JSElement = document.createElement("script");
JSElement.type = "text/javascript";
JSElement.src = JSCall;
-
+
document.getElementsByTagName("head")[0].appendChild(JSElement);
-
+
var moduleCenter = "ContentPane8";
var moduleRight = "ContentPane25";
-
+
addLoadEvent(function() {
$('#'+moduleCenter).append(writePartnerCenter());
$('#'+moduleRight).prepend(writePartnerRight());
})
}
}
-
+
checkPartners();
</script>
<script type="text/javascript">
@@ -1093,22 +1093,22 @@
<script type="text/javascript">
function moveMustSeeArticles() {
/* make the swap function available internally */
- function doSwap() {
+ function doSwap() {
/* get must-see articles, remove from the DOM */
var msa = $('#mainContentContainer_area .related_reading_rdr').clone();
$('#mainContentContainer_area .related_reading_rdr').remove();
-
+
/* get the pagination if it exists */
var pagination = $('.attribution_rdr .pagination_fmt');
var contextual = $('.other_context_links_rdr');
var article = $('.article_rdr');
-
+
/* certain pages use another format:
// the top picks module is in .related_wrapper .dyn_related
// as the second div with this class.
// it has an id, unlike the other div */
var dyn_related = $('.related_wrapper .dyn_related[id]');
-
+
/* if dyn_related, it is handled one way */
if(dyn_related.html()) {
/* on last page, .related_wrapper is displayed and "Top Picks" should stay
@@ -1133,14 +1133,14 @@
$(article).after(msa);
}
}
-
+
/* show */
$('#mainContentContainer_area .related_reading_rdr').show();
-
+
}
-
-
-
+
+
+
/* do the swap unless the function getPubType exists and returns the value 'third_party', unless it is Healthy Day content */
if (s_publication_source = 'WebMD News from HealthDay'){
doSwap();
@@ -1150,15 +1150,15 @@
doSwap();
}
}
- if (window.$) {
+ if (window.$) {
moveMustSeeArticles();
$('.share_rdr').hide();
}
-
- $(document).ready(function()
+
+ $(document).ready(function()
{
$('.related_wrapper').css('display','block');
- $('.dyn_related').css('padding-top','0px');
+ $('.dyn_related').css('padding-top','0px');
});
</script>
</div>
@@ -1178,27 +1178,27 @@
</script>
<script>
// self executing function for scope
- (function() {
+ (function() {
var isDFP;
-
+
isDFP = true;
-
-
+
+
// Moving the ad up into the article:
// Finds all possible locations to insert, moves the ad location up into the article, before handling the Ad Seed Call
-
+
// Updates Paragraphs
$(".article_rdr p").each(function() {
$(this).addClass("node");
});
-
-
+
+
// Updates Unordered Lists
$(".article_rdr .copyNormal ul").each(function() {
$(this).addClass("node");
});
-
-
+
+
//Removes nodes from paragraphs where it shouldnt be?
$(".article_rdr .share_bar p").each(function() {
$(this).removeClass("node");
@@ -1224,10 +1224,10 @@
$(".article_rdr .copyNormal table ul").each(function() {
$(this).removeClass("node");
});
-
- // Finds the number of paragraphs / List items within the article.
+
+ // Finds the number of paragraphs / List items within the article.
sbposition = ($('.article_rdr .node').length);
-
+
//Is this Healthwise Content??
if (s_publication_source.indexOf("Healthwise") != -1) {
//Healthwise Steps, if different;
@@ -1251,16 +1251,16 @@
if (sbposition == 4) {
$('#remoteAd_rdr').insertAfter('.node:eq(3)');
}
- //End else
+ //End else
}
-
-
+
+
setTimeout(function() {
var iframeURLOutOfPB = 'http://as.webmd.com/html.ng/transactionID=442451382&tile=365904714&tug=2321&pug=__&site=2&affiliate=20&hcent=893&scent=&pos=113&xpg=1625&sec=&amp;au1=&au2=&uri=%2fallergies%2fnews%2f20150220%2fchild-peanut-allergy-findings&artid=091e9c5e810fb2ee&inst=0&amp;leaf=&segm=0&cc=17&tmg=&bc=_age121_l23_age122_j30_t780_&mcent=&micro=';
-
+
var cleanIframeURL = iframeURLOutOfPB.replace(/&amp;/g, '&');
-
-
+
+
var ad = {
adLocation: 'remote',
adURL: cleanIframeURL,
@@ -1268,20 +1268,20 @@
tile: '365904714',
pos: '5000'
};
-
+
// check to make sure this seed call functionality exists, if it does, dooo it
if (webmd.object.exists('//webmd.ads.handleAdSeedCall')) {
if(!isDFP){
webmd.ads.handleAdSeedCall(ad);
}
-
+
setTimeout(function() {
updateRemoteAd();
}, 2000);
}
}, 2000);
-
-
+
+
function updateRemoteAd() {
$('.chapterList_fmt #remoteAd_rdr').css('position', 'relative');
$('.chapterList_fmt #remoteAd_rdr').css('left', '-14px');
@@ -1291,7 +1291,7 @@
$('#remoteAd_rdr').css('display', 'block');
}
}
-
+
})();
</script>
<script type="text/javascript">
@@ -1395,45 +1395,45 @@
</div>
<script type="text/javascript">
var chapters = [
- 'http://www.webmd.com/allergies/guide/default.htm',
-
+ 'http://www.webmd.com/allergies/guide/default.htm',
+
'http://www.webmd.com/allergies/guide/allergies-overview',
-
+
'http://www.webmd.com/allergies/guide/allergy-symptoms-types',
-
+
'http://www.webmd.com/allergies/guide/allergies-diagnosis-tests',
-
+
'http://www.webmd.com/allergies/guide/allergies-treatment-care',
-
+
'http://www.webmd.com/allergies/guide/allergies-living-managing',
-
+
'http://www.webmd.com/allergies/guide/allergies-support-resources',
'',''];
-
-
+
+
var c1_1 = [
'http://www.webmd.com/allergies/guide/allergy-basics',
'http://www.webmd.com/allergies/guide/eye-allergies-1',
'http://www.webmd.com/allergies/guide/chronic-allergies-causes',];
-
+
var c1_2 = [
'http://www.webmd.com/allergies/guide/allergic-reaction-causes',
'http://www.webmd.com/allergies/guide/allergy-triggers',
'http://www.webmd.com/allergies/guide/nasal-polyps-symptoms-and-treatments'];
-
+
var c1_3 = [
'http://www.webmd.com/allergies/guide/who-gets-allergies'];
-
+
var c1_4 = [
'http://www.webmd.com/allergies/guide/allergy-prevention',
'http://www.webmd.com/allergies/guide/neti-pot-nasal-irrigation-pros-and-cons'];
-
+
var c1_5 = [
'http://www.webmd.com/allergies/guide/asthma-allergies',
'http://www.webmd.com/allergies/guide/sleep-and-allergies',
'http://www.webmd.com/allergies/guide/allergies-sinusitis',
'http://www.webmd.com/allergies/guide/anaphylaxis'];
-
+
var c2_1 = [
'http://www.webmd.com/allergies/guide/food-allergy-intolerances',
'http://www.webmd.com/allergies/guide/milk-allergy',
@@ -1445,17 +1445,17 @@
'http://www.webmd.com/allergies/guide/sulfite-sensitivity',
'http://www.webmd.com/allergies/guide/soy-allergy',
'http://www.webmd.com/allergies/guide/casein-allergy-overview'];
-
+
var c2_2 = [
'http://www.webmd.com/allergies/guide/spring-allergies',
'http://www.webmd.com/allergies/guide/summer-allergies',
'http://www.webmd.com/allergies/guide/fall-allergy-relief',
'http://www.webmd.com/allergies/guide/winter-allergies'];
-
+
var c2_3 = [
'http://www.webmd.com/allergies/guide/dog-allergies',
'http://www.webmd.com/allergies/guide/cat-allergies'];
-
+
var c2_4 = [
'http://www.webmd.com/allergies/guide/understanding-hay-fever-basics',
'http://www.webmd.com/allergies/guide/conjunctivitis',
@@ -1472,17 +1472,17 @@
'http://www.webmd.com/allergies/guide/dust-allergies',
'http://www.webmd.com/allergies/guide/chemical-allergies',
'http://www.webmd.com/allergies/guide/penicillin-allergy-topic-overview'];
-
+
var c3_1 = [
'http://www.webmd.com/allergies/guide/allergies-doctor-exam',
'http://www.webmd.com/allergies/guide/food-allergy-testing',
'http://www.webmd.com/allergies/guide/food-allergy-symptom-diary',
'http://www.webmd.com/allergies/guide/allergies-elimination-diet'];
-
+
var c3_2 = [
'http://www.webmd.com/allergies/guide/skin-test',
'http://www.webmd.com/allergies/guide/blood-test'];
-
+
var c4 = [
'http://www.webmd.com/allergies/guide/allergy-medications',
'http://www.webmd.com/allergies/guide/antihistamines-for-allergies',
@@ -1496,65 +1496,65 @@
'http://www.webmd.com/allergies/guide/skin-allergies',
'http://www.webmd.com/allergies/guide/dehumidifiers-for-allergies',
'http://www.webmd.com/allergies/guide/allergies-when-to-use-auto-injector'];
-
+
var c5 = [
'http://www.webmd.com/allergies/guide/allergic-reaction-home-treatment-options',
'http://www.webmd.com/allergies/guide/food-diary-helping-uncover-food-allergy-triggers',
'http://www.webmd.com/allergies/guide/dust-mite-mattress-and-pillow-covers-for-allergy-relief',
'http://www.webmd.com/allergies/guide/allergy-proof-your-environment',
'http://www.webmd.com/allergies/guide/tips-for-handling-allergies-in-school'];
-
+
var c6 = [
'http://www.webmd.com/allergies/guide/resource',
'http://www.webmd.com/allergies/guide/allergy-suggested-reading',];
</script>
<script type="text/javascript">
function definePage () {
-
+
var parentChapter, tabChapter, s_pagenameCheck;
var subChapter ="1";
var theUrl=location.href;
s_pagenameCheck = theUrl.toLowerCase();
-
+
if (s_pagenameCheck.lastIndexOf("?") > 0) {
var s_pagenameCheck = s_pagenameCheck.substring(0,s_pagenameCheck.lastIndexOf("?"));
- }
-
- if( s_pagenameCheck in oc(chapters) ) {
+ }
+
+ if( s_pagenameCheck in oc(chapters) ) {
parentChapter = s_pagenameCheck;
highlightLeftBin(parentChapter);
highlightCenterBin(parentChapter);
highlightTab();
} else {
-
+
if( s_pagenameCheck in oc(c1_1) ) { parentChapter = chapters[1]; tabChapter = "1";subChapter = "1";}
-
+
if( s_pagenameCheck in oc(c1_2) ) { parentChapter = chapters[1]; tabChapter = "1";subChapter = "2";}
-
+
if( s_pagenameCheck in oc(c1_3) ) { parentChapter = chapters[1]; tabChapter = "1";subChapter = "3";}
-
+
if( s_pagenameCheck in oc(c1_4) ) { parentChapter = chapters[1]; tabChapter = "1";subChapter = "4";}
-
+
if( s_pagenameCheck in oc(c1_5) ) { parentChapter = chapters[1]; tabChapter = "1";subChapter = "5";}
-
+
if( s_pagenameCheck in oc(c2_1) ) { parentChapter = chapters[2]; tabChapter = "2";subChapter = "1";}
-
+
if( s_pagenameCheck in oc(c2_2) ) { parentChapter = chapters[2]; tabChapter = "2";subChapter = "2";}
-
+
if( s_pagenameCheck in oc(c2_3) ) { parentChapter = chapters[2]; tabChapter = "2";subChapter = "3";}
-
+
if( s_pagenameCheck in oc(c2_4) ) { parentChapter = chapters[2]; tabChapter = "2";subChapter = "4";}
-
+
if( s_pagenameCheck in oc(c3_1) ) { parentChapter = chapters[3]; tabChapter = "3";subChapter = "1";}
-
+
if( s_pagenameCheck in oc(c3_2) ) { parentChapter = chapters[3]; tabChapter = "3";subChapter = "2";}
-
+
if( s_pagenameCheck in oc(c4) ) { parentChapter = chapters[3]; tabChapter = "4";}
-
+
if( s_pagenameCheck in oc(c5) ) { parentChapter = chapters[4]; tabChapter = "5";}
-
+
if( s_pagenameCheck in oc(c6) ) { parentChapter = chapters[5]; tabChapter = "6";}
-
+
if ((typeof(parentChapter)!="undefined") & (typeof(tabChapter)!="undefined")) {
highlightLeftBin(parentChapter);
highlightCenterBin(parentChapter);
@@ -1562,7 +1562,7 @@
}
}
}
-
+
definePage();
</script>
<div class="moduleSpacer_rdr"></div>
@@ -1803,7 +1803,7 @@
#allergyappsmsemailgen90 .pane h2 {
font-family: 'Lato', sans-serif;
}
-
+
#allergyappsmsemailgen90 *,
#allergyappsmsemailgen90 *:before,
#allergyappsmsemailgen90 *:after {
@@ -2033,36 +2033,36 @@
module.init({
selector: "#newsletter-mapping-center",
template: {
- successMsg: '<p class="success"><span>{email}</span><br //>You will receive your first newsletter with our next scheduled circulation!</p>',
+ successMsg: '&lt;p class="success">&lt;span>{email}&lt;/span>&lt;br //>You will receive your first newsletter with our next scheduled circulation!&lt;/p>',
content: '' +
- '<div class="newsletterFmt"></div>\n' +
- '<div class="wrapper">\n' +
- '<div class="nls-header">{header}</div>\n' +
+ '&lt;div class="newsletterFmt">&lt;/div>\n' +
+ '&lt;div class="wrapper">\n' +
+ '&lt;div class="nls-header">{header}&lt;/div>\n' +
'{preContent}' +
- '<div class="nls-content">\n' +
+ '&lt;div class="nls-content">\n' +
'{preForm}' +
- '<form class="nls-form" action="#" novalidate="novalidate">\n' +
- '<div class="validationWrapper"><div class="checkbox-container clearfix">{inputs}</div></div>\n' +
- '<div class="privacy-disclaimer">' +
- "<em>By clicking submit I agree to WebMD's <a href='http://www.webmd.com/about-webmd-policies/about-privacy-policy' target='_blank'>Privacy Policy</a></em>" +
- '</div>' +
- '<div class="input-container">\n' +
- '<div class="email-container validationWrapper">\n' +
- '<input type="email" class="nls-email" name="email" autocapitalize="off" autocorrect="off" placeholder="Enter email address" /> ' +
- '<button name="nl-submit" formnovalidate class="off {submitClass}" type="submit"><span>Submit</span></button>\n' +
- '<div class="clearfix"></div>' +
- '</div>\n' + // .email-container
- '</div>\n' + // .input-container
- '</form>\n' +
- '<a class="nl-link" href="https://member.webmd.com/newsletters/newsletters.aspx" onclick="return sl(this,"nw","nl-multie_s")">Sign up for more topics!</a>' +
+ '&lt;form class="nls-form" action="#" novalidate="novalidate">\n' +
+ '&lt;div class="validationWrapper">&lt;div class="checkbox-container clearfix">{inputs}&lt;/div>&lt;/div>\n' +
+ '&lt;div class="privacy-disclaimer">' +
+ "&lt;em>By clicking submit I agree to WebMD's &lt;a href='http://www.webmd.com/about-webmd-policies/about-privacy-policy' target='_blank'>Privacy Policy&lt;/a>&lt;/em>" +
+ '&lt;/div>' +
+ '&lt;div class="input-container">\n' +
+ '&lt;div class="email-container validationWrapper">\n' +
+ '&lt;input type="email" class="nls-email" name="email" autocapitalize="off" autocorrect="off" placeholder="Enter email address" /> ' +
+ '&lt;button name="nl-submit" formnovalidate class="off {submitClass}" type="submit">&lt;span>Submit&lt;/span>&lt;/button>\n' +
+ '&lt;div class="clearfix">&lt;/div>' +
+ '&lt;/div>\n' + // .email-container
+ '&lt;/div>\n' + // .input-container
+ '&lt;/form>\n' +
+ '&lt;a class="nl-link" href="https://member.webmd.com/newsletters/newsletters.aspx" onclick="return sl(this,"nw","nl-multie_s")">Sign up for more topics!&lt;/a>' +
'{postForm}' +
- '</div>\n' + // .nls-content
- '{postContent}' +
- '</div>',
+ '&lt;/div>\n' + // .nls-content
+ '{postContent}' +
+ '&lt;/div>',
submitClass: 'webmd-btn webmd-btn-pr webmd-btn-s',
- successHeader: '<h2>Thank You For Signing Up.</h2>',
- promo: '<div class="promo"><div class="promo-content clearfix"><img src="{image}" alt="WebMD App" /><div class="promo-description"><p>{text}</p><p class="promoLink"><a href="{url}" class="webmd-btn webmd-btn-pr webmd-btn-m" onclick="wmdPageLink(\'nlupgrd_sub\')">{button}</a></p><div class="clearfix"></div></div></div></div>'
-
+ successHeader: '&lt;h2>Thank You For Signing Up.&lt;/h2>',
+ promo: '&lt;div class="promo">&lt;div class="promo-content clearfix">&lt;img src="{image}" alt="WebMD App" />&lt;div class="promo-description">&lt;p>{text}&lt;/p>&lt;p class="promoLink">&lt;a href="{url}" class="webmd-btn webmd-btn-pr webmd-btn-m" onclick="wmdPageLink(\'nlupgrd_sub\')">{button}&lt;/a>&lt;/p>&lt;div class="clearfix">&lt;/div>&lt;/div>&lt;/div>&lt;/div>'
+
}
});
});
@@ -2111,7 +2111,7 @@
(function(){
var module_title = 'hicb f-hs';
var propIsSet = false;
-
+
$(document).bind('before_pv', function(){
if (!propIsSet) {
if (s_md.prop46) {
@@ -2261,12 +2261,12 @@
<script type="text/javascript">
$(function(){
var fileNameToLoad = '//preferences.truste.com/webservices/js?type=webmd&domain=webmd';
-
+
if(webmd.useragent.ua.browser === 'browserSF') {
fileNameToLoad = '//preferences.truste.com/webservices/js?domain=webmdsafari.com&type=webmdsafari&js=2';
}
-
- webmd.load({js:[fileNameToLoad, '//privacy-policy.truste.com/privacy-seal/WebMD,-LLC/asc?rid=f733a173-6d11-4e17-ba9f-f1454ef8b32f']});
+
+ webmd.load({js:[fileNameToLoad, '//privacy-policy.truste.com/privacy-seal/WebMD,-LLC/asc?rid=f733a173-6d11-4e17-ba9f-f1454ef8b32f']});
});
</script>
</div>
@@ -2282,32 +2282,32 @@
href="http://www.webmd.com/www/about-webmd-policies/about-our-sponsors?ss=ftr"
onclick="return sl(this,'','f-about_04');">Sponsor Policy</a> <a href="http://www.webmd.com/www/sitemap?ss=ftr"
onclick="return sl(this,'','f-about_05');">Site Map</a> <a rel="nofollow"
- href="https://careers-webmd.icims.com/" onclick="return sl(this,'','f-about_07')">Careers</a>
+ href="https://careers-webmd.icims.com/" onclick="return sl(this,'','f-about_07')">Careers</a>
<a
class="last" rel="nofollow" href="https://customercare.webmd.com/ics/support/default.asp?deptID=18003&amp;task=ticket"
onclick="return sl(this,'nw','f-about_08');">Contact Us</a>
</div>
- <div class="links"> <a href="http://reference.medscape.com/" onclick="return sl(this,'f-about_11','ftr')">Medscape Reference</a>
+ <div class="links"> <a href="http://reference.medscape.com/" onclick="return sl(this,'f-about_11','ftr')">Medscape Reference</a>
<a
- href="http://www.emedicinehealth.com/script/main/hp.asp" onclick="return sl(this,'f-about_12','ftr')">eMedicineHealth</a> <a href="http://www.rxlist.com/" onclick="return sl(this,'f-about_13','ftr')">RxList</a>
+ href="http://www.emedicinehealth.com/script/main/hp.asp" onclick="return sl(this,'f-about_12','ftr')">eMedicineHealth</a> <a href="http://www.rxlist.com/" onclick="return sl(this,'f-about_13','ftr')">RxList</a>
<a
- href="http://www.medscape.com/" onclick="return sl(this,'f-about_14','ftr')">Medscape</a> <a href="http://www.medicinenet.com/" onclick="return sl(this,'f-about_15','ftr')">MedicineNet</a>
+ href="http://www.medscape.com/" onclick="return sl(this,'f-about_14','ftr')">Medscape</a> <a href="http://www.medicinenet.com/" onclick="return sl(this,'f-about_15','ftr')">MedicineNet</a>
<a
href="http://www.webmd.boots.com/" onclick="return sl(this,'f-about_26','ftr')">BootsWebMD</a>
<a class="last" rel="nofollow" href="http://www.wbmd.com/"
onclick="return sl(this,'f-about_10','ftr')">WebMD Corporate</a>
</div>
- <div class="links"> <a rel="nofollow" href="http://www.webmdhealthservices.com/" onclick="return sl(this,'f-about_29','ftr')">WebMD Health Services</a>
+ <div class="links"> <a rel="nofollow" href="http://www.webmdhealthservices.com/" onclick="return sl(this,'f-about_29','ftr')">WebMD Health Services</a>
<a
href="http://www.webmd.com/first-aid/default.htm" onclick="return sl(this,'','f-about_17');">First Aid</a> <a href="http://www.webmd.com/www/magazine/default.htm?ss=ftr"
onclick="return sl(this,'','f-about_18');">WebMD Magazine</a> <a href="http://www.webmd.com/www/phr"
onclick="return sl(this,'','f-about_19')">WebMD Health Record</a> <a href="http://www.webmd.com/www/mobile"
onclick="return sl(this,'','f-about_20')">WebMD Mobile</a> <a class="last"
- href="https://member.webmd.com/subscribe" onclick="return sl(this,'','f-about_21')">Newsletters</a>
+ href="https://member.webmd.com/subscribe" onclick="return sl(this,'','f-about_21')">Newsletters</a>
</div>
<div class="links">
-<a href="http://dictionary.webmd.com/default.htm" onclick="return sl(this,'','f-about_22')">Dictionary</a>
+<a href="http://dictionary.webmd.com/default.htm" onclick="return sl(this,'','f-about_22')">Dictionary</a>
<a
class="last" href="http://doctor.webmd.com/home" onclick="return sl(this,'','f-about_23')">Physician Directory</a>
</div>
@@ -2330,15 +2330,15 @@
</script>
<script language="javascript1.2" type="text/javascript">
if (document.URL.substring(0, 5).indexOf('http:') >= 0) {
- document.write('<img src=//bi.medscape.com/pi/global/webmd-1x1.gif?' + new Date().getTime() + '" alt="" height="1" width="1" border="0" />')
+ document.write('&lt;img src=//bi.medscape.com/pi/global/webmd-1x1.gif?' + new Date().getTime() + '" alt="" height="1" width="1" border="0" />')
}
</script>
<script language="javascript" type="text/javascript" src="http://img.webmd.com/dtmcms/live/webmd/PageBuilder_Assets/JS_static/tools/ldcc.js"></script>
<script type="text/javascript">
(function(){
- // duckpunching s_before_pv as some assets are using that vs our event driven system. This lets the event system get triggered as well as the other functions
- var _old = window.s_before_pv;
-
+ // duckpunching s_before_pv as some assets are using that vs our event driven system. This lets the event system get triggered as well as the other functions
+ var _old = window.s_before_pv;
+
window.s_before_pv = function() {
var timestamp = Number(new Date());
if (window.location.protocol === 'http:') {
@@ -2347,7 +2347,7 @@
if (window.location.protocol === 'https:') {
webmd.load({image: '//sb.scorecardresearch.com/b?c1=2&c2=6035829&c3=&c4=&c5=&c6=&c7=' + encodeURIComponent(window.location.href) + '&c9=' + encodeURIComponent(window.document.referrer) + '&c15=&cv=2.0&cj=1&cb='+ timestamp});
}
-
+
_old();
}
if (webmd && webmd.ads2Consumer) {