function symptoms() {

	/* Change the style of the symptoms link */
	$("a.symptoms").css({'border-bottom' : '1px dashed #d23a85', 'text-decoration' : 'none'});
	
	
	/* Add the symptoms div */
	$('div#seroquel-xr').before('\
		<div class="symptoms depression"><div><div>\
			<img class="close" src="/images/icon/close.png" />\
			<h2>Symptoms of Bipolar Depression Include</h2>\
			<p>According to the DSM-IV*, a medical reference commonly used by health care professionals to aid in diagnosis, a major depressive episode consists of many of the following symptoms, occurring nearly every day for at least two weeks.</p>\
			<ul>\
				<li>Depressed mood most of the day; feeling sad or empty, tearful</li>\
				<li>Significant loss of interest or pleasure in activities that used to be enjoyable </li>\
				<li>Significant weight loss (when not dieting) or weight gain; decrease or increase in appetite </li>\
				<li>Difficulty sleeping or sleeping too much </li>\
				<li>Agitation; or slowing down of thoughts and reduction of physical movements </li>\
				<li>Fatigue or loss of energy </li>\
				<li>Feelings of worthlessness or inappropriate guilt </li>\
				<li>Poor concentration or having difficulty making decisions </li>\
				<li>Thinking about death or suicide </li>\
			</ul>\
			<p>Your health care professional may discuss some or all of the above symptoms with you. It\'s important to openly share your feelings with him or her.</p>\
			<p class="more"><a href="/bipolar-disorder/bipolar-depression-symptoms.aspx">Learn more</a></p>\
		    <p class="footnotes">*Diagnostic and Statistical Manual of Mental Disorders, Fourth Edition Text Revision</p>\
		</div></div></div>\
		<div class="symptoms mania"><div><div>\
			<img class="close" src="/images/icon/close.png" />\
			<h2>Symptoms of Bipolar Mania Include</h2>\
			<p>According to the DSM-IV*, a medical reference commonly used by health care professionals to aid in diagnosis, the symptoms of bipolar mania include </p>\
			<ul>\
				<li>Period of elevated, expansive, or irritable mood for at least 1 week unless hospitalized </li>\
			</ul>\
			<p>Other symptoms are usually present and may include </p>\
			<ul>\
				<li>Beliefs of possessing exaggerated power, importance, knowledge or ability </li>\
				<li>Decreased need for sleep </li>\
				<li>More talkative than usual; pressure to keep talking </li>\
				<li>Rapidly changing, unrelated or racing thoughts </li>\
				<li>Easily distracted </li>\
				<li>Driven behavior (at work, at school, or sexually); agitation </li>\
				<li>Risky behavior (e.g. Excessive spending, foolish business investments) </li>\
			</ul>\
			<p>Your health care professional may discuss some or all of the above symptoms with you. It\'s important to openly share your feelings with him or her.</p>\
			<p class="more"><a href="/bipolar-disorder/bipolar-mania-symptoms.aspx">Learn more</a></p>\
		    <p class="footnotes">*Diagnostic and Statistical Manual of Mental Disorders, Fourth Edition Text Revision</p>\
		</div></div></div>\
		<div class="symptoms madrs"><div><div>\
			<img class="close" src="/images/icon/close.png" />\
			<p>In a clinical trial in bipolar depression, the improvement in the <span class="sxr">Seroquel XR</span> group on a standard depression rating scale was statistically significant compared to placebo (sugar pill).</p>\
		</div></div></div>\
	   <div class="symptoms clinical"><div><div>\
	        <img class="close" src="/images/icon/close.png" />\
	        <p>SEROQUEL XR was studied in more than 900 patients with depression. The patients in those studies had been on an antidepressant for at least 6 weeks but were still experiencing symptoms of depression.* Those antidepressants included:</p>\
	        <ul style="float:left">\
	            <li>Cymbalta<sup>&reg;</sup> (duloxetine) </li>\
	            <li>Effexor<sup>&reg;</sup> (venlafaxine) </li>\
	            <li>Paxil<sup>&reg;</sup> (paroxetine) </li>\
	            <li>Prozac<sup>&reg;</sup> (fluoxetine) </li>\
	        </ul>\
	        <ul style="float: left; margin-left:25px">\
	            <li>Zoloft<sup>&reg;</sup> (sertraline) </li>\
	            <li>Lexapro<sup>&reg;</sup> (escitalopram) </li>\
	            <li>Celexa<sup>&reg;</sup> (citalopram) </li>\
	            <li>Wellbutrin<sup>&reg;</sup> (bupropion) </li>\
	        </ul>\
	        <p style="clear:both;"><br />All patients continued to take their antidepressant. Some of the patients were given a sugar pill (placebo) to add to their antidepressant, and the other patients were given <br />SEROQUEL XR to add to their antidepressant.</p>\
	        <p>The results of the studies showed that many patients taking SEROQUEL XR with an antidepressant had greater improvement in their depressive symptoms* than patients taking a sugar pill with an antidepressant. </p>\
	        <br><p class="footnotes">*The test that was used is called the MADRS, which is a standard rating that measures a patient\'s level of depression.</p>\
	        <p class="footnotes">Other brands listed are the trademarks of their respective owners and are not trademarks of AstraZeneca.</p>\
	   </div></div></div>\
	');
	
}



$(document).ready(function() {
	if($('a.symptoms')) {
		symptoms();
		$('a.symptoms').click(function (e) {
			$("div.symptoms").hide();
			var symptomClass = $(this).attr("class").split(' '); /* get class of clicked link */
			var divSymptoms = "div."+symptomClass[0]+"."+symptomClass[1]; /* open correct layer box */
			var divCenter = $(divSymptoms).width() / 2; /* find center of layer box */
			$(divSymptoms).css({'left' : e.pageX-divCenter, 'top' : e.pageY}); /* off-set left position to center layer box */
			$(divSymptoms).show();
			return false;
		});
		$('img.close').click(function () {
			$("div.symptoms").hide();
		});
	}
});
