function writeFooter() {
	var footer = '<div id="footercolumn">'+
				 '<a href="/" class="footerlink"><span class="footerchevron">&raquo;</span> Home</a><br />'+
				 '<a href="/claimsprocess/" class="footerlink"><span class="footerchevron">&raquo;</span> The Claims Process</a><br />'+
				 '<a href="/requiredinformation/" class="footerlink"><span class="footerchevron">&raquo;</span> Required Information</a><br />'+
				 '<a href="https://www.facilitybilling.com/claim/" class="footerlink"><span class="footerchevron">&raquo;</span> Claim Now</a><br />'+
				 '<a href="/about/" class="footerlink"><span class="footerchevron">&raquo;</span> About</a><br />'+
				 '<a href="/publications/" class="footerlink"><span class="footerchevron">&raquo;</span> Publications</a><br />'+
				 '<a href="/privacy/" class="footerlink"><span class="footerchevron">&raquo;</span> Privacy</a><br />'+
				 '<a href="/contact/" class="footerlink"><span class="footerchevron">&raquo;</span> Contact</a><br /><br />'+
				 '<span class="copyright">Copyright Facility Billing &copy; 2010 '+
				 	'<a href="http://validator.w3.org/check?uri=referer" target="_blank" class="footerlink2">XHTML</a>'+
					' | <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" class="footerlink2">CSS</a></span><br />'+
					'<a href="http://www.paessler.com/prtg7" target="_blank"><img src="/img/prtg.gif" width="80" height="15" alt="" class="noborder" /></a>'+
				 '</div>'+
				 '<div id="footerlogosmb"><a href="http://www.solutions-medical-billing.com" target="_blank"><img src="/img/spacer.gif" width="157" height="99" alt="" class="noborder" /></a></div>'+
				 '<div id="footerlogoxena"><a href="http://www.xena-health.com" target="_blank"><img src="/img/spacer.gif" width="157" height="99" alt="" class="noborder" /></a></div>';
	document.write(footer);
}
function writeSecureFooter() {
	var footer = '<div id="footercolumn">'+
				 '<a href="http://www.facilitybilling.com/" class="footerlink"><span class="footerchevron">&raquo;</span> Home</a><br />'+
				 '<a href="http://www.facilitybilling.com/claimsprocess/" class="footerlink"><span class="footerchevron">&raquo;</span> The Claims Process</a><br />'+
				 '<a href="http://www.facilitybilling.com/requiredinformation/" class="footerlink"><span class="footerchevron">&raquo;</span> Required Information</a><br />'+
				 '<a href="https://www.facilitybilling.com/claim/" class="footerlink"><span class="footerchevron">&raquo;</span> Claim Now</a><br />'+
				 '<a href="http://www.facilitybilling.com/about/" class="footerlink"><span class="footerchevron">&raquo;</span> About</a><br />'+
				 '<a href="http://www.facilitybilling.com/publications/" class="footerlink"><span class="footerchevron">&raquo;</span> Publications</a><br />'+
				 '<a href="http://www.facilitybilling.com/privacy/" class="footerlink"><span class="footerchevron">&raquo;</span> Privacy</a><br />'+
				 '<a href="http://www.facilitybilling.com/contact/" class="footerlink"><span class="footerchevron">&raquo;</span> Contact</a><br /><br />'+
				 '<span class="copyright">Copyright Facility Billing &copy; 2010</span>'+
					'<br /><a href="http://www.paessler.com/prtg7" target="_blank"><img src="/img/prtg.gif" width="80" height="15" alt="" class="logolink" /></a>'+
				 '</div>'+
				 '<div id="footerlogosmb"><a href="http://www.solutions-medical-billing.com" target="_blank" class="logolink"><img src="/img/spacer.gif" width="157" height="99" alt="" class="noborder" /></a></div>'+
				 '<div id="footerlogoxena"><a href="http://www.xena-health.com" target="_blank" class="logolink"><img src="/img/spacer.gif" width="157" height="99" alt="" class="noborder" /></a></div>';
	document.write(footer);
}
function writeNavItem(width,fontweight,url,linktext) {
	document.write('<div class="navitem" style="width:'+width+'px; font-weight:'+fontweight+'"><a href="'+url+'" class="navlink">'+linktext+'</a></div>');
}
function writeDate() {
	var currentTime = new Date();
	var month = currentTime.getMonth() + 1;
	var day = currentTime.getDate();
	var year = currentTime.getFullYear();
	var m, d;
	if (month==1) {m='January'}
	if (month==2) {m='February'}
	if (month==3) {m='March'}
	if (month==4) {m='April'}
	if (month==5) {m='May'}
	if (month==6) {m='June'}
	if (month==7) {m='July'}
	if (month==8) {m='August'}
	if (month==9) {m='September'}
	if (month==10) {m='October'}
	if (month==11) {m='November'}
	if (month==12) {m='December'}
	if ((day==1) || (day==21) || (day==31) ) {d='st'}
	else if ((day==2) || (day==22)) {d='nd'}
	else if ((day==3) || (day==23)) {d='rd'}
	else {d='th'}
	document.write(m + " " + day + d +" " + year);
}