function symptoms() {

	/* Change the style of the symptoms link */
	$("a.symptoms").css({'border-bottom' : '1px dashed #d23a85', 'text-decoration' : 'none'});
	$("a.symptoms:hover").css({'border-bottom' : '1px dashed #990066'});
	
	/* Add the symptoms div */
	$('div#seroquel-xr').before('\
		<div class="symptoms depression"><div>\
			<img class="close" src="/images/icon/close.png" />\
			<h2>Symptoms of Bipolar Depression Include</h2>\
			<ul>\
				<li>Sadness</li>\
				<li>Feelings of worthlessness</li>\
				<li>Losing interest in things and activities you once enjoyed</li>\
				<li>Being overcome by feelings of guilt, failure, and hopelessness</li>\
				<li>Becoming sad and unable to concentrate, remember things, or even make simple decisions</li>\
				<li>Experiencing physiological changes like differences in appetite or weight, energy levels, and sleep schedules</li>\
				<li>Possibly thinking about death or suicide, in extreme cases</li>\
			</ul>\
			<p><a href="/bipolar-depression-symptoms.aspx">Learn more</a></p>\
		</div></div>\
		<div class="symptoms mania"><div>\
			<img class="close" src="/images/icon/close.png" />\
			<h2>Symptoms of Bipolar Mania Include</h2>\
			<ul>\
				<li>Feeling unusually great and launching into several new projects at once</li>\
				<li>Sleeping a lot less, acting more fidgety, and talking much more</li>\
				<li>Mixing up thoughts and being easily distracted</li>\
				<li>Taking unnecessary risks</li>\
				<li>Going to extremes sexually, financially, and socially</li>\
			</ul>\
			<p><a href="/bipolar-mania-symptoms.aspx">Learn more</a></p>\
		</div></div>\
	');
	/* wrap each LI text in a span to control bullet/text colors */
	$('div.symptoms ul li').each(function(i) {
		$(this).html('<span>'+$(this).html()+'</span>');
	});

}



$(document).ready(function() {
	if ( $('a.symptoms').length ) {
		
		symptoms();
		
		$('a.symptoms').click(function (e) {
			$("div.symptoms").hide();
			var symptomClass = $(this).attr("class").split(' ');
			var divSymptoms= "div."+symptomClass[0]+"."+symptomClass[1];
			$(divSymptoms).css({'left' : e.pageX, 'top' : e.pageY});
			$(divSymptoms).toggle();
			return false;
		});
		
		$('img.close').click(function () {
			$("div.symptoms").hide();
		});
		
	}
});