$(document).ready(function() 
{	
	$('#content').click(function(){  
		if($('#content_tooltip_author').data("qtip")) $('#content_tooltip_author').qtip("hide");
		if($('#content_tooltip_author_a').data("qtip")) $('#content_tooltip_author_a').qtip("hide");
		if($('#content_tooltip_author_conor').data("qtip")) $('#content_tooltip_author_conor').qtip("hide");
		if($('#content_tooltip_author_lisa').data("qtip")) $('#content_tooltip_author_lisa').qtip("hide");
		if($('#content_tooltip_author_melba').data("qtip")) $('#content_tooltip_author_melba').qtip("hide");
		if($('#content_tooltip_paula').data("qtip")) $('#content_tooltip_paula').qtip("hide");
		if($('#content_tooltip_author_hubbell').data("qtip")) $('#content_tooltip_author_hubbell').qtip("hide");
		if($('#content_tooltip_author_hecht').data("qtip")) $('#content_tooltip_author_hecht').qtip("hide");
		if($('#content_tooltip_author_berger').data("qtip")) $('#content_tooltip_author_berger').qtip("hide");
		if($('#content_tooltip').data("qtip")) $('#content_tooltip').qtip("hide");
		if($('#morsel_tooltip').data("qtip")) $('#morsel_tooltip').qtip("hide");
	});
	
	$('#header').click(function(){  
		if($('#content_tooltip_author').data("qtip")) $('#content_tooltip_author').qtip("hide");
		if($('#content_tooltip_author_a').data("qtip")) $('#content_tooltip_author_a').qtip("hide");
		if($('#content_tooltip_author_conor').data("qtip")) $('#content_tooltip_author_conor').qtip("hide");
		if($('#content_tooltip_author_lisa').data("qtip")) $('#content_tooltip_author_lisa').qtip("hide");
		if($('#content_tooltip_author_melba').data("qtip")) $('#content_tooltip_author_melba').qtip("hide");
		if($('#content_tooltip_paula').data("qtip")) $('#content_tooltip_paula').qtip("hide");
		if($('#content_tooltip_author_hubbell').data("qtip")) $('#content_tooltip_author_hubbell').qtip("hide");
		if($('#content_tooltip_author_hecht').data("qtip")) $('#content_tooltip_author_hecht').qtip("hide");
		if($('#content_tooltip_author_berger').data("qtip")) $('#content_tooltip_author_berger').qtip("hide");
		if($('#content_tooltip').data("qtip")) $('#content_tooltip').qtip("hide");
		if($('#morsel_tooltip').data("qtip")) $('#morsel_tooltip').qtip("hide");
	});
	
	$('#footer').click(function(){  
		if($('#content_tooltip_author').data("qtip")) $('#content_tooltip_author').qtip("hide");
		if($('#content_tooltip_author_a').data("qtip")) $('#content_tooltip_author_a').qtip("hide");
		if($('#content_tooltip_author_conor').data("qtip")) $('#content_tooltip_author_conor').qtip("hide");
		if($('#content_tooltip_author_lisa').data("qtip")) $('#content_tooltip_author_lisa').qtip("hide");
		if($('#content_tooltip_author_melba').data("qtip")) $('#content_tooltip_author_melba').qtip("hide");
		if($('#content_tooltip_paula').data("qtip")) $('#content_tooltip_paula').qtip("hide");
		if($('#content_tooltip_author_hubbell').data("qtip")) $('#content_tooltip_author_hubbell').qtip("hide");
		if($('#content_tooltip_author_hecht').data("qtip")) $('#content_tooltip_author_hecht').qtip("hide");
		if($('#content_tooltip_author_berger').data("qtip")) $('#content_tooltip_author_berger').qtip("hide");
		if($('#content_tooltip').data("qtip")) $('#content_tooltip').qtip("hide");
		if($('#morsel_tooltip').data("qtip")) $('#morsel_tooltip').qtip("hide");
	});
	
	
	
	
	$('#close_tooltip_author').live('click', function() {
		$('#content_tooltip_author').qtip("hide");
	});
	
   $('#content_tooltip_author')
      .click(function()
      {       
		if($(this).data("qtip")) $(this).qtip("destroy");
         $(this).qtip({
               content: '<p style="font-weight:bold;color:#0E91ED;text-align:left;font-size:14px;">Britta Barrett</p><p>Britta is a communicator by day and an avid athlete by night/weekend. She has a passion for running, skiing, good food & wine, music, friends and family. She has a real enthusiasm for living life to the fullest. As an east coaster living in Wisconsin, she has vowed to never abandon her Red Sox for the Brewers. Britta is a 2005 graduate of Bentley University where she studied management and marketing.</p><p id="close_tooltip_author" style="font-weight:bold;color:#0E91ED;cursor:pointer;text-align:right;">close</p>  ', 
               position: {
                  corner: {
                     tooltip: 'bottomRight', 
                     target: 'topLeft' 
                  }
               },
               show: {
                  when: false, 
                  ready: true 
               },
               hide: true, 
               style: {
                  border: {
                     width: 1,
                     radius: 5
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, 
				  width:400,
                  name: 'light'
               }
            });
      });
	  
	  
	  
	  $('#close_tooltip_paula').live('click', function() {
		$('#content_tooltip_paula').qtip("hide");
	});
	
   $('#content_tooltip_paula')
      .click(function()
      {       
		if($(this).data("qtip")) $(this).qtip("destroy");
         $(this).qtip({
               content: '<p style="font-weight:bold;color:#0E91ED;text-align:left;font-size:14px;">Paula Dranov</p><p>Paula Dranov is an award-winning free lance writer who specializes in health, women\'s health, nutrition and fitness and writes on a regular basis for <a href="http://www.drweil.com" target="_blank" style="color:#0E91ED;">www.drweil.com</a> , Dr. Andrew Weil\'s website. She has contributed to many national magazines including Reader\'s Digest, the Ladies Home Journal, Woman\'s Day, Good Housekeeping, Harper\'s Bazaar, Cosmopolitan, Redbook and others.  Paula is also the author of seven books.  She lives in New York City with a very demanding (but gorgeous) rescue cat, loves New York\'s restaurants, the beach, travel, theater, ballet, movies and vegging out on the couch watching TV.</p><p id="close_tooltip_paula" style="font-weight:bold;color:#0E91ED;cursor:pointer;text-align:right;">close</p>  ', 
               position: {
                  corner: {
                     tooltip: 'bottomRight', 
                     target: 'topLeft' 
                  }
               },
               show: {
                  when: false, 
                  ready: true 
               },
               hide: true, 
               style: {
                  border: {
                     width: 1,
                     radius: 5
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, 
				  width:400,
                  name: 'light'
               }
            });
      });
	  
	     
	  	
	$('#close_tooltip_author_a').live('click', function() {
		$('#content_tooltip_author_a').qtip("hide");
	});
	
   $('#content_tooltip_author_a')
      .click(function()
      {       
		if($(this).data("qtip")) $(this).qtip("destroy");
         $(this).qtip({
               content: '<p style="font-weight:bold;color:#0E91ED;text-align:left;font-size:14px;">Veronica Botet Garcia</p><p>Since Veronica graduated in PR and Communications from Complutense University (Madrid, Spain) she has pursued the dream of communicating with a global audience. Working for GE Healthcare as the lead in Digital Media Communications has made that dream come true, while enjoying living in the city she loves the most, Madrid.</p><p id="close_tooltip_author_a" style="font-weight:bold;color:#0E91ED;cursor:pointer;text-align:right;">close</p>', 
               position: {
                  corner: {
                     tooltip: 'bottomRight', 
                     target: 'topLeft' 
                  }
               },
               show: {
                  when: false, 
                  ready: true 
               },
               hide: true, 
               style: {
                  border: {
                     width: 1,
                     radius: 5
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, 
				  width:400,
                  name: 'light'
               }
            });
      });
	  
	  
	  $('#close_tooltip_author_conor').live('click', function() {
		$('#content_tooltip_author_conor').qtip("hide");
	});
	
   $('#content_tooltip_author_conor')
      .click(function()
      {       
		if($(this).data("qtip")) $(this).qtip("destroy");
         $(this).qtip({
               content: '<p style="font-weight:bold;color:#0E91ED;text-align:left;font-size:14px;">Conor McKechnie</p><p>Conor was born in Zaire, brought up in Africa, South America and Europe and has continued travelling ever since. Currently in the UK, he studied Philosophy at UCSB and Glasgow University, Scotland. The pursuit of things interesting has led to a varied career in teaching, telecoms, consulting and now communications for GE Healthcare. He cooks, he runs (a lot), and can be quite geeky about it all.</p><p id="close_tooltip_author_conor" style="font-weight:bold;color:#0E91ED;cursor:pointer;text-align:right;">close</p>  ', 
               position: {
                  corner: {
                     tooltip: 'bottomRight', 
                     target: 'topLeft' 
                  }
               },
               show: {
                  when: false, 
                  ready: true 
               },
               hide: true, 
               style: {
                  border: {
                     width: 1,
                     radius: 5
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, 
				  width:400,
                  name: 'light'
               }
            });
      });
	  
	  
	  $('#close_tooltip_author_lisa').live('click', function() {
		$('#content_tooltip_author_lisa').qtip("hide");
	});
	
   $('#content_tooltip_author_lisa')
      .click(function()
      {       
		if($(this).data("qtip")) $(this).qtip("destroy");
         $(this).qtip({
               content: '<p style="font-weight:bold;color:#0E91ED;text-align:left;font-size:14px;">Lisa Collier Cool</p><p>Lisa is a bestselling author and winner of 18 journalism awards. She was first published at age 9 in <i>Ladies Home Journal</i> (a letter to the editor). A past president of American Society of Journalists and Authors, she has more than one million words in print, including articles in <i>Reader\'s Digest</i>, <i>Parade</i>, <i>Fitness</i>, <i>SELF</i> and <i>Oprah Magazine</i>. She loves snorkeling, tennis, gardening and swimming with dolphins. A native New Yorker, she has three daughters (including identical twins) and two badly behaved border terriers. Her website is <a href="http://www.lisacolliercool.com" target="_blank" style="color:#0E91ED;">lisacolliercool.com</a>.</p><p id="close_tooltip_author_lisa" style="font-weight:bold;color:#0E91ED;cursor:pointer;text-align:right;">close</p>  ', 
               position: {
                  corner: {
                     tooltip: 'bottomRight', 
                     target: 'topLeft' 
                  }
               },
               show: {
                  when: false, 
                  ready: true 
               },
               hide: true, 
               style: {
                  border: {
                     width: 1,
                     radius: 5
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, 
				  width:400,
                  name: 'light'
               }
            });
      });
	  
	  $('#close_tooltip_author_melba').live('click', function() {
		$('#content_tooltip_author_melba').qtip("hide");
	});	  
	  
	  $('#content_tooltip_author_melba')
      .click(function()
      {       
		if($(this).data("qtip")) $(this).qtip("destroy");
         $(this).qtip({
               content: '<p style="font-weight:bold;color:#0E91ED;text-align:left;font-size:14px;">Melba Newsome</p><p>Melba is an award-winning writer with feature credits in many publications including, <i>O</i>, the <i>Oprah Magazine</i>, <i>Time</i>, <i>Maxim</i>, <i>Details</i>, <i>Reader\'s Digest</i>, <i>Glamour</i>, <i>Men\'s Health</i> and the <i>New York Times</i>. Her passions including travel, politics, literature and gourmet cooking. She lives in Charlotte, NC where she promises to start a vegetable garden every year.</p><p id="close_tooltip_author_melba" style="font-weight:bold;color:#0E91ED;cursor:pointer;text-align:right;">close</p>  ', 
               position: {
                  corner: {
                     tooltip: 'bottomRight', 
                     target: 'topLeft' 
                  }
               },
               show: {
                  when: false, 
                  ready: true 
               },
               hide: true, 
               style: {
                  border: {
                     width: 1,
                     radius: 5
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, 
				  width:400,
                  name: 'light'
               }
            });
      });
	  
		$('#close_tooltip_author_hubbell').live('click', function() {
		$('#content_tooltip_author_hubbell').qtip("hide");
	});
	
   $('#content_tooltip_author_hubbell')
      .click(function()
      {       
		if($(this).data("qtip")) $(this).qtip("destroy");
         $(this).qtip({
               content: '<p style="font-weight:bold;color:#0E91ED;text-align:left;font-size:14px;">Lisa Jaffe Hubbell</p><p>Lisa has been a journalist for 25 years, covering healthcare for most of that time, for such publications as <i>USA Weekend</i>, <i>The Seattle Post Intelligencer</i>, and dozens of professional newsletters and magazines. Lisa enjoys learning about health trends and new treatments as much as she likes writing about them. She is blessed (cursed?) with curiosity about just about any topic from cops and courts to pets and government. She holds a bachelor\'s degree from UC Davis and a masters degree in European history from University College Dublin, Ireland. A native Washingtonian, Lisa lives with her family in the Seattle area. Her website is <a href="http://www.landguppy.com" target="_blank" style="color:#0E91ED;">landguppy.com</a>.</p><p id="close_tooltip_author_hubbell" style="font-weight:bold;color:#0E91ED;cursor:pointer;text-align:right;">close</p>  ', 
               position: {
                  corner: {
                     tooltip: 'bottomRight', 
                     target: 'topLeft' 
                  }
               },
               show: {
                  when: false, 
                  ready: true 
               },
               hide: true, 
               style: {
                  border: {
                     width: 1,
                     radius: 5
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, 
				  width:400,
                  name: 'light'
               }
            });
      });
	  
		$('#close_tooltip_author_hecht').live('click', function() {
		$('#content_tooltip_author_hecht').qtip("hide");
	});
	
   $('#content_tooltip_author_hecht')
      .click(function()
      {       
		if($(this).data("qtip")) $(this).qtip("destroy");
         $(this).qtip({
               content: '<p style="font-weight:bold;color:#0E91ED;text-align:left;font-size:14px;">Randy Hecht</p><p>Randy B. Hecht writes in Spanish and English for magazines in the US, Latin America and Asia. She and Bolivia-based Alex Talavera are partners in <a href="http://www.aphra.com/" target="_blank" style="color:#0E91ED;">Aphra Communications</a>, which handles multilingual, multicultural communications projects. Her credits include <i>National Geographic Traveler</i> (US and Mexico editions); the magazines of <i>Continental</i>, <i>All Nippon Airways</i> (Japan) and <i>Aviacsa</i> (Mexico); <a href="http://www.msn.com/" target="_blank" style="color:#0E91ED;">MSN.com/MSN Latino</a>; <i>AARP the Magazine/AARP Segunda Juventud</i>; and others. She\'s also writing a book, Unconquered, about contemporary life in Latin American indigenous communities. Based in New York City, she enjoys jewelry design, foreign travel, archaeology, performing arts (especially music and dance), and down time with her Jack Russell Terrier rescue, Django.</p><p id="close_tooltip_author_hecht" style="font-weight:bold;color:#0E91ED;cursor:pointer;text-align:right;">close</p>  ', 
               position: {
                  corner: {
                     tooltip: 'bottomRight', 
                     target: 'topLeft' 
                  }
               },
               show: {
                  when: false, 
                  ready: true 
               },
               hide: true, 
               style: {
                  border: {
                     width: 1,
                     radius: 5
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, 
				  width:400,
                  name: 'light'
               }
            });
      });
		
		
		$('#close_tooltip_author_berger').live('click', function() {
		$('#content_tooltip_author_berger').qtip("hide");
	});
	
   $('#content_tooltip_author_berger')
      .click(function()
      {       
		if($(this).data("qtip")) $(this).qtip("destroy");
         $(this).qtip({
               content: '<p style="font-weight:bold;color:#0E91ED;text-align:left;font-size:14px;">Karen Berger</p><p>Karen\'s writing specialties include travel (with a special interest in ecotourism), health and fitness, and music. She is the author of 15 books, and has written for dozens of magazine and newspapers including <i>Family Circle</i>, <i>National Geographic Traveler</i>, <i>Islands</i>, and the <i>New York Times</i>. She is the Ecotourism and Volunteer Travel Feature Writer for <a href="http://www.suite101.com/profile.cfm/karenberger" target="_blank" style="color:#0E91ED;">Suite101.com</a>, where she has covered everything from grooming elephants in Thailand to ice-climbing in Alaska, as well as travel health and safety. She lives in the Berkshires of western Massachusetts. Her website is <a href="http://www.karenberger.com/" target="_blank" style="color:#0E91ED;">karenberger.com</a>. </p><p id="close_tooltip_author_berger" style="font-weight:bold;color:#0E91ED;cursor:pointer;text-align:right;">close</p>  ', 
               position: {
                  corner: {
                     tooltip: 'bottomRight', 
                     target: 'topLeft' 
                  }
               },
               show: {
                  when: false, 
                  ready: true 
               },
               hide: true, 
               style: {
                  border: {
                     width: 1,
                     radius: 5
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, 
				  width:400,
                  name: 'light'
               }
            });
      });
	  
	 	  
	  	  
	  $('#close_tooltip').live('click', function() {
		$('#content_tooltip').qtip("hide");
		});
	
   $('#content_tooltip')
      .click(function()
      {       
		if($(this).data("qtip")) $(this).qtip("destroy");
         $(this).qtip({
               content: '<p>We agree with <a href=\'http://fastlane.gmblogs.com/about.html\' target="_blank">GM\'s Fastlane blog</a> and <a href=\'http://blogs.forrester.com/groundswell/2004/11/blogging_policy.html\' target="_blank">Charlene Li\'s</a> blogger code of ethics:<br /><br />* We will tell the truth and correct any mistakes promptly.<br />* We will not delete comments unless they are profane, spam, off-topic, defamatory or thread spamming (you\'ve posted this same comment elsewhere on the site).<br />* We will reply to comments when appropriate as quickly as possible.<br />* We will disagree with other opinions respectfully.<br /><br />Comments are welcome anytime; however, please note that your comment needs to be approved by the site owner before it will appear. The site owner generally operates between 9 am and 6 pm ET Monday - Friday. Thanks for your patience.</p><p id="close_tooltip" style="font-weight:bold;color:#0E91ED;cursor:pointer;text-align:right;">close</p>  ', 
               position: {
                  corner: {
                     tooltip: 'leftMiddle', 
                     target: 'rightMiddle' 
                  }
               },
               show: {
                  when: false, 
                  ready: true 
               },
               hide: true, 
               style: {
                  border: {
                     width: 1,
                     radius: 5
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, 
				  width:500,
                  name: 'light'
               }
            });
      });
 	  
	  $('#morsel_tooltip')
      .click(function()
      {       
		if( $('div.qtip').is(':hidden') ||  $('div.qtip').length == 0) {
		if($(this).data("qtip")) $(this).qtip("destroy");
         $(this).qtip({
               content: '<div class="morsel_tooltip"><p><img src=\'/wp-content/themes/hm2010/images/fb_icon.png\'><span class="morsel_tooltitle">For Facebook</span> Visit <a href="http://apps.facebook.com/morsel-app/" target="_blank" class="linkTracking-mobile">apps.facebook.com/morsel-app</a> </p> <p><img src=\'/wp-content/themes/hm2010/images/iphone_icon.gif\'><span class="morsel_tooltitle">For iPhone or iPod Touch</span><a href="http://itunes.apple.com/us/app/morsel-2-0/id378392735?mt=8" target="_blank" class="linkTracking-mobile">Download to your device from the Apple App Store.</a> </p><p><img src=\'/wp-content/themes/hm2010/images/android_icon.gif\'><span class="morsel_tooltitle">For Android</span><a href="http://www.android.com/market" target="_blank" class="linkTracking-mobile">Download to your device from the Android Market.</a></p><p><img src=\'/wp-content/themes/hm2010/images/cellphone_icon.gif\'><span class="morsel_tooltitle">For Mobile Site</span>Visit <a href="http://healthymagination.com/morsel" class="linkTracking-mobile">http://healthymagination.com/morsel</a> on your phone</p><p class="last"><img src=\'/wp-content/themes/hm2010/images/blackberry_icon.gif\'><span class="morsel_tooltitle">For Blackberry</span><a href="http://appworld.blackberry.com/webstore/content/13220" target="_blank" class="linkTracking-mobile">Download to your device from the Blackberry Store.</a></p>', 
               position: {
                  corner: {
                     tooltip: 'leftMiddle', 
                     target: 'rightMiddle' 
                  }
               },
               show: {
                  when: false, 
                  ready: true 
               },
               hide: true,
			   style: {
                  border: {
                     width: 1,
					 radius: 5 
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, 
				  width:305,
                  name: 'light'
               }
            });
      }else{
		if($(this).data("qtip")) $(this).qtip("destroy");
	 }
	 });
});
	 
	 