// JavaScript Document

	//QUOTES
	function writeHOMEquotes(){
		document.getElementById("slider").innerHTML="<img src=\"images/quote1\" height=\"102\" width=\"565\" align=\"right\" alt=\"RADAR provides an at-a-glance snapshot of each facility's quality assurance and risk profiles, which allows me to determine trends and increase education and training. – Stephanie Paoulis, Corporate Counsel, Senior Care Group\" />\
	<img src=\"images/quote2.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"We've encouraged customers to take advantage of all that PointRight offers, and PointRight insight is an example of how AmWINS offers more to its customers. - Mike Walton, EVP and Healthcare Leader, AmWINS\" />\
	<img src=\"images/quote3.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"PointRight services are very valuable to our staff in delivering outstanding patient care as well as lowering our exposure to risk. - Dan Lavender, CEO, Moorings Park\" />\
	<img src=\"images/quote4.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"Falls, fractures and pressure ulcers are the most common reasons SNFs face exposure. Reliable data helps us understand how well our processes are addressing these areas. - Matt Salmon, COO, SALMON Health and Retirement\" />\
	<img src=\"images/quote5.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"DIA makes me realize why I need to code the MDS a certain way, and helps me make the MDS more accurate. - Janet Carroll, MDS Coordinator, Monette Manor\" />\
	<img src=\"images/quote6.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"It would be tough to operate without the decision-support that PointRight tools provide. - Andi Clark, SVP, Clinical Services, Golden Living\" />\
	<img src=\"images/quote7.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"PointRight has all of our data and can provide an overview on how different areas look. Our assessments are more accurate and they position us to provide better care. - Judith L. Taubenheim, RN, NHA, VP, Clinical Services, Extendicare\" />\
	<img src=\"images/quote8.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"The monthly DIA reports identify consistencies/ inconsistencies in the MDS   data, which results in a positive impact on our Medicare revenue and overall compliance. - Sharon Donoghue-Naumnik, VP, Clinical Reimbursement\" />	\
	<img src=\"images/quote9.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"PointRight provided us with a thorough evaluation of the MDS assessments that were conducted on a resident during a claim dispute. - Paul Tucker, Litigation Manager, Hamlin and Burton\" />";
	}
	function writeQuotes(){
		document.getElementById("slider").innerHTML="<img src=\"../images/quote1.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"RADAR provides an at-a-glance snapshot of each facility's quality assurance and risk profiles, which allows me to determine trends and increase education and training. - Stephanie Paoulis, Corporate Counsel, Senior Care Group\" />\
	<img src=\"../images/quote2.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"We've encouraged customers to take advantage of all that PointRight offers, and PointRight insight is an example of how AmWINS offers more to its customers. - Mike Walton, EVP and Healthcare Leader, AmWINS\" />\
	<img src=\"../images/quote3.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"PointRight services are very valuable to our staff in delivering outstanding patient care as well as lowering our exposure to risk. - Dan Lavender, CEO, Moorings Park\" />\
	<img src=\"../images/quote4.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"Falls, fractures and pressure ulcers are the most common reasons SNFs face exposure. Reliable data helps us understand how well our processes are addressing these areas. - Matt Salmon, COO, SALMON Health and Retirement\" />\
	<img src=\"../images/quote5.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"DIA makes me realize why I need to code the MDS a certain way, and helps me make the MDS more accurate. - Janet Carroll, MDS Coordinator, Monette Manor\" />\
	<img src=\"../images/quote6.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"It would be tough to operate without the decision-support that PointRight tools provide. - Andi Clark, SVP, Clinical Services, Golden Living\" />\
	<img src=\"../images/quote7.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"PointRight has all of our data and can provide an overview on how different areas look. Our assessments are more accurate and they position us to provide better care. - Judith L. Taubenheim, RN, NHA, VP, Clinical Services, Extendicare\" />\
	<img src=\"../images/quote8.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"The monthly DIA reports identify consistencies/ inconsistencies in the MDS data,  which results in a positive impact on our Medicare revenue and overall compliance. - Sharon Donoghue-Naumnik, VP, Clinical Reimbursement\" />	\
	<img src=\"../images/quote9.jpg\" height=\"102\" width=\"565\" align=\"right\" alt=\"PointRight provided us with a thorough evaluation of the MDS assessments that were conducted on a resident during a claim dispute. - Paul Tucker, Litigation Manager, Hamlin and Burton\" />";
	}
	//QUOTES OLD (text version)
	function writeHOMEquotesOLD(){
		document.getElementById("slider").innerHTML="<img src=\"images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>RADAR provides an at-a-glance snapshot of each facility's quality assurance and risk profiles, which allows me to determine trends and increase education and training.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Stephanie Paoulis</b>, <i>Corporate Counsel,</i> Senior Care Group</span>\" />\
	<img src=\"images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>We've encouraged customers to take advantage of all that PointRight offers, and PointRight insight is an example of how AmWINS offers more to its customers.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Mike Walton</b>, <i>EVP and Healthcare Leader,</i> AmWINS</span>\" />\
	<img src=\"images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>PointRight services are very valuable to our staff in delivering outstanding patient care as well as lowering our exposure to risk.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Dan Lavender</b>, <i>CEO,</i> Moorings Park</span>\" />\
	<img src=\"images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>Falls, fractures and pressure ulcers are the most common reasons SNFs face exposure. Reliable data helps us understand how well our processes are addressing these areas.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Matt Salmon</b>, <i>COO,</i> SALMON Health and Retirement</span>\" />\
	<img src=\"images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>DIA makes me realize why I need to code the MDS a certain way, and helps me make the MDS more accurate.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Janet Carroll</b>, <i>MDS Coordinator,</i> Monette Manor</span>\" />\
	<img src=\"images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>It would be tough to operate without the decision-support that PointRight tools provide.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Andi Clark</b>, <i>SVP, Clinical Services,</i> Golden Living</span>\" />\
	<img src=\"images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>PointRight has all of our data and can provide an overview on how different areas look. Our assessments are more accurate and they position us to provide better care.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Judith L. Taubenheim, RN, NHA</b>, <i>VP, Clinical Services,</i> Extendicare</span>\" />\
	<img src=\"images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>The monthly DIA reports identify consistencies/ inconsistencies in the MDS   data, which results in a positive impact on our Medicare revenue and overall compliance.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Sharon Donoghue-Naumnik</b>, <i>VP,</i> Clinical Reimbursement</span>\" />	\
	<img src=\"images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>PointRight provided us with a thorough evaluation of the MDS assessments that were conducted on a resident during a claim dispute.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Paul Tucker</b>, <i>Litigation Manager,</i> Hamlin and Burton</span>\" />";
	}
	function writeQuotesOLD(){
		document.getElementById("slider").innerHTML="<img src=\"../images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>RADAR provides an at-a-glance snapshot of each facility's quality assurance and risk profiles, which allows me to determine trends and increase education and training.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Stephanie Paoulis</b>, <i>Corporate Counsel,</i> Senior Care Group</span>\" />\
	<img src=\"../images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>We've encouraged customers to take advantage of all that PointRight offers, and PointRight insight is an example of how AmWINS offers more to its customers.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Mike Walton</b>, <i>EVP and Healthcare Leader,</i> AmWINS</span>\" />\
	<img src=\"../images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>PointRight services are very valuable to our staff in delivering outstanding patient care as well as lowering our exposure to risk.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Dan Lavender</b>, <i>CEO,</i> Moorings Park</span>\" />\
	<img src=\"../images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>Falls, fractures and pressure ulcers are the most common reasons SNFs face exposure. Reliable data helps us understand how well our processes are addressing these areas.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Matt Salmon</b>, <i>COO,</i> SALMON Health and Retirement</span>\" />\
	<img src=\"../images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>DIA makes me realize why I need to code the MDS a certain way, and helps me make the MDS more accurate.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Janet Carroll</b>, <i>MDS Coordinator,</i> Monette Manor</span>\" />\
	<img src=\"../images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>It would be tough to operate without the decision-support that PointRight tools provide.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Andi Clark</b>, <i>SVP, Clinical Services,</i> Golden Living</span>\" />\
	<img src=\"../images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>PointRight has all of our data and can provide an overview on how different areas look. Our assessments are more accurate and they position us to provide better care.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Judith L. Taubenheim, RN, NHA</b>, <i>VP, Clinical Services,</i> Extendicare</span>\" />\
	<img src=\"../images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>The monthly DIA reports identify consistencies/ inconsistencies in the MDS data,  which results in a positive impact on our Medicare revenue and overall compliance.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Sharon Donoghue-Naumnik</b>, <i>VP,</i> Clinical Reimbursement</span>\" />	\
	<img src=\"../images/q1.jpg\" height=\"1\" width=\"1\" align=\"right\" alt=\"\" title=\" <span class='quotes one'>&#8220;</span>PointRight provided us with a thorough evaluation of the MDS assessments that were conducted on a resident during a claim dispute.<span class='quotes'>&#8221;</span><span class='quote'>&#8212; <b>Paul Tucker</b>, <i>Litigation Manager,</i> Hamlin and Burton</span>\" />";
	}
	//NIVO SLIDER
    var total = 9;
	var rand = Math.floor(Math.random()*total);
	
	$(window).load(function() {
		$('#slider').nivoSlider({
			effect:'fade', //Specify sets like: 'fold,fade,sliceDown'
			slices:15,
			animSpeed:500, //Slide transition speed
			pauseTime:6500,
			startSlide:rand, //Set starting Slide (0 index)/ rand
			directionNav:false, //Next & Prev
			directionNavHide:true, //Only show on hover
			controlNav:false, //1,2,3...
			controlNavThumbs:false, //Use thumbnails for Control Nav
			controlNavThumbsFromRel:false, //Use image rel for thumbs
			controlNavThumbsSearch: '.jpg', //Replace this with...
			controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
			keyboardNav:true, //Use left & right arrows
			pauseOnHover:false, //Stop animation while hovering
			manualAdvance:false, //Force manual transitions
			captionOpacity:0, //Universal caption opacity
			beforeChange: function(){},
			afterChange: function(){},
			slideshowEnd: function(){} //Triggers after all slides have been shown
		});
	});
	
	
	//image rollovers
	function newImage(arg) {
		if (document.images) {
			rslt = new Image();
			rslt.src = arg;
			return rslt;
		}
	}
	
	function changeImages() {
			for (var i=0; i<changeImages.arguments.length; i+=2) {
				document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
			}
	}
	
	//GOOGLE ANALYTICS
	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-26517350-1']);
	_gaq.push(['_trackPageview']);
	
	(function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	})();

	//COPYRIGHT YEAR//
	var theDate=new Date()

