// JavaScript Document


$(document).ready(function() 
{

   $('#bestplaces').qtip(
   	  {
      content: '<img src="/images/tooltip/bbj2011.jpg" alt="" class="ttimg" /><p>For the ninth consecutive year, Winchester Hospital was named to the Boston Business Journal\'s Best Places to Work in Massachusetts list (the hospital ranked No. 1 in 2008 and 2009).</p>',
			  position: {
				  corner: {
						 target: 'topMiddle',
						 tooltip: 'bottomRight'
					  }
				  },
			style: { 
				  padding: 5,
				  textAlign: 'center',
				  border: {
							 width: 5,
							 radius: 5,
							 color: '#999999'
						  },
				  width: 290
		  	},
			show: { 
				effect: { 
						type: 'fade', 
						length: 300 
						} 
			}
	  });
   
   $('#globe100').qtip(
   	  {
      content: '<img src="/images/tooltip/boston-globe.gif" alt="" class="ttimg" /><p>For the fourth consecutive year, Winchester Hospital was named to the Boston Globe\'s 100 Top Places to Work in Massachusetts list (the hospital ranked No. 1 on the inaugural list in 2008).</p>',
			  position: {
				  corner: {
						 target: 'topMiddle',
						 tooltip: 'bottomRight'
					  }
				  },
			style: { 
				  padding: 5,
				  textAlign: 'center',
				  border: {
							 width: 5,
							 radius: 5,
							 color: '#999999'
						  },
				  width: 290
		  	},
			show: { 
				effect: { 
						type: 'fade', 
						length: 300 
						} 
			}
	  });
   
   
   
   
   $('#joint-c').qtip(
   	  {
      content: '<img src="/images/tooltip/joint-commission.jpg" alt="" class="ttimg" /><p>Winchester Hospital received accreditation from The Joint Commission and was awarded a Gold Seal of Approval.</p>',
			  position: {
				  corner: {
						 target: 'topMiddle',
						 tooltip: 'bottomRight'
					  }
				  },
			style: { 
				  padding: 5,
				  textAlign: 'center',
				  border: {
							 width: 5,
							 radius: 5,
							 color: '#999999'
						  },
				  width: 290
		  	},
			show: { 
				effect: { 
						type: 'fade', 
						length: 300 
						} 
			}
	  });
	  
	     $('#magnet-rec').qtip(
   	  {
      content: '<img src="/images/tooltip/magnet.gif" alt="" class="ttimg" /><p>Magnet® recognition is an honor bestowed on fewer than 7 percent of the nation\'s hospitals. Of approximately 390 hospitals in the U.S. and abroad which have earned this recognition, only eight are in Massachusetts.</p>',
			  position: {
				  corner: {
						 target: 'topMiddle',
						 tooltip: 'bottomRight'
					  }
				  },
			style: { 
				  padding: 5,
				  textAlign: 'center',
				  border: {
							 width: 5,
							 radius: 5,
							 color: '#999999'
						  },
				  width: 290
		  	},
			show: { 
				effect: { 
						type: 'fade', 
						length: 300 
						} 
			}
	  });
	  
	  
	  
	  $('#thomson').qtip(
   	  {
      content: '<img src="/images/tooltip/thomson-reuters.jpg" alt="" class="ttimg" /><p>Winchester Hospital was recognized as one of the top acute care hospitals in the nation by Thomson Reuters when it received a 100 Top Hospitals award for providing safe, effective and patient-centered care.</p>',
			  position: {
				  corner: {
						 target: 'topMiddle',
						 tooltip: 'bottomRight'
					  }
				  },
			style: { 
				  padding: 5,
				  textAlign: 'center',
				  border: {
							 width: 5,
							 radius: 5,
							 color: '#999999'
						  },
				  width: 290
		  	},
			show: { 
				effect: { 
						type: 'fade', 
						length: 300 
						} 
			}
	  });
	  
	  
	  
	   $('#health-safety').qtip(
   	  {
      content: '<img src="/images/tooltip/healthgrades.png" alt="" class="ttimg" /><p>Winchester Hospital achieved the 2011 Patient Safety Excellence Award from HealthGrades®, the leading independent health care ratings organization which recognizes hospitals performing in the top 5 percent nationally.</p>',
			  position: {
				  corner: {
						 target: 'topMiddle',
						 tooltip: 'bottomRight'
					  }
				  },
			style: { 
				  padding: 5,
				  textAlign: 'center',
				  border: {
							 width: 5,
							 radius: 5,
							 color: '#999999'
						  },
				  width: 290
		  	},
			show: { 
				effect: { 
						type: 'fade', 
						length: 300 
						} 
			}
	  });
   
   
   $('#health-exp').qtip(
   	  {
      content: '<img src="/images/tooltip/healthgrades-experience.gif" alt="" class="ttimg" /><p>For the fourth year in a row, Winchester Hospital achieved the HealthGrades Outstanding Patient Experience Award from HealthGrades®, the leading independent health care ratings organization which recognizes hospitals performing in the top 10 percent nationally.</p>',
			  position: {
				  corner: {
						 target: 'topMiddle',
						 tooltip: 'bottomRight'
					  }
				  },
			style: { 
				  padding: 5,
				  textAlign: 'center',
				  border: {
							 width: 5,
							 radius: 5,
							 color: '#999999'
						  },
				  width: 290
		  	},
			show: { 
				effect: { 
						type: 'fade', 
						length: 300 
						} 
			}
	  });
   
});
