function fnTop(page)
{
	var page;
	var str="";
	str+="<table cellpadding='0' cellspacing='0' border='0' width='979'>";
	str+="<tr>";
	str+="<td><a href='index.html' target='_self'><img src='images/logo.jpg' width='496' height='103' border='0' title='The Pines at Utica Center for Nursing and Rehabilitation' /></a></td>";
	str+="<td width='430'>";
	str+="<div id='topRitBg'><Br />A Member of National Health Care Associates Inc., <br />A Premier Network of Skilled Nursing and Rehabilitation Centers</div>";
	str+="</td></tr>";
	str+="<tr><td class='bgBtmTop' colspan='2' align='right' valign='bottom'>";
	str+="<div id='bgMenu'>";
	if(page=='home')
		{	str+="<a href='index.html' class='active'>Home</a>";	}
	else
		{	str+="<a href='index.html'>Home</a>";	}
	if(page=='about_us')
		{	str+="<a href='about_us.html' class='active'>About Us</a>";	}
	else
		{	str+="<a href='about_us.html'>About Us</a>";	}
	if(page=='care_programs')
		{	str+="<a href='carePrograms.html' class='active'>Care Programs</a>";	}
	else
		{	str+="<a href='carePrograms.html'>Care Programs</a>";	}
	if(page=='virtual_tour')
		{	str+="<a rel='shadowbox' target='_self' href='http://vhct.virtualtourgallery.com/vhct-0016/' title='The Pines at Utica Center for Nursing and Rehabilitation' class='active'>Virtual Tour</a>";	}
	else
		{	str+="<a rel='shadowbox' target='_self' href='http://vhct.virtualtourgallery.com/vhct-0016/' title='The Pines at Utica Center for Nursing and Rehabilitation'>Virtual Tour</a>";	}
	if(page=='provider')
		{	str+="<a href='providerDetails.html' class='active'>Provider Details</a>"; 	}
	else
		{	str+="<a href='providerDetails.html'>Provider Details</a>"; 	}
	if(page=='news')
		{	str+="<a href='news.html' class='active'>News</a>";	}
	else
		{	str+="<a href='news.html'>News</a>";	}
	if(page=='direction')
		{	str+="<a href='directions.html' class='active'>Directions</a>";	}
	else
		{	str+="<a href='directions.html'>Directions</a>";	}
	if(page=='gallery')
		{	str+="<a href='viewGallery.html' class='active'>Gallery</a>";		}
	else
		{	str+="<a href='viewGallery.html'>Gallery</a>";		}
	if(page=='employment_opportunities')
		{	str+="<a href='http://www.nathealthcare.com/JobList.asp' class='active' target='_blank'>Employment Opportunities</a>";		}
	else
		{	str+="<a href='http://www.nathealthcare.com/JobList.asp' target='_blank'>Employment Opportunities</a>";		}
	if(page=='contactus')
		{	str+="<a href='contactUs.asp' class='active'>Contact Us</a>";		}
	else
		{	str+="<a href='contactUs.asp'>Contact Us</a>";		}
	str+="</div>";
	str+="</td></tr></table>";
	document.write(str);
}


function footer()
{
	var str="";
	str+="<div id='footer'>";
	str+="<div id='footer_siteline'>The Pines at Utica  1800 Butterfield Avenue Utica, NY 13501 &nbsp; | &nbsp; <b>Tel:</b> (315) 797-3570  &nbsp; | &nbsp; <b>Fax:</b> (315) 368-0366   &nbsp; | &nbsp; <a href='mailto:info@pinesutica.com' target='_blank' class='nyc'><b>info@pinesutica.com</b></a>";
	str+="</div>";
	str+="<a href='index.html'>home</a> &nbsp; | &nbsp; <a href='about_us.html'>about us</a> &nbsp; | &nbsp; <a href='carePrograms.html'>care programs</a> &nbsp; | &nbsp; <a rel='shadowbox' target='_self' href='http://vhct.virtualtourgallery.com/vhct-0016/' title='The Pines at Utica Center for Nursing and Rehabilitation'>virtual tour</a> &nbsp; | &nbsp; <a href='providerDetails.html'>provider details</a> &nbsp; | &nbsp; <a href='news.html'>news</a> &nbsp; | &nbsp; <a href='directions.html'>directions</a> &nbsp; | &nbsp; <a href='viewGallery.html'>view gallery</a> &nbsp; | &nbsp; <a href='http://www.nathealthcare.com/JobList.asp' target='_blank'>employment opportunities</a> &nbsp; | &nbsp; <a href='contactUs.asp'>contact us</a>";
	str+="<table cellpadding='0' cellspacing='0' border='0' width='80%' align='center'>";
	str+="<tr>";
	str+="<td align='left'>© 2010 The Pines at Utica Center for Nursing and Rehabilitation, All Rights Reserved.</td>";
	str+="<td align='right'>Website design and maintenance by <a href='http://www.nycdatasystems.com/' target='_blank' class='nyc'>NYC DATA SYSTEMS LLC</a></td>";
	str+="</tr></table>";
	str+="</div>";
	document.write(str);
}

