d=document;o=false;q=parseInt;r=true;dx=navigator;dz=dx.appVersion;buildDir="http://www.harlingtonhospice.org/includes/";var ie4=o,ie5_mac=o,ie55=o;var ei=o,dm=o,opera=o,safari=o;agent=dx.userAgent.toLowerCase();if(agent.indexOf("opera")!=-1)opera=r;else if(agent.indexOf("safari")!=-1)safari=r;else if(d.all){version=parseFloat(agent.substr(agent.indexOf("msie")+5,3));if(agent.indexOf("mac")!=-1&&version>=5)ie5_mac=r;else{if(version>=5.5)ie55=r;else if(version>=4)ie4=r}}else if(dx.appName=="Netscape"&&q(dz)>=4&&q(dz)<5)ei=r;else if(d.getElementById)dm=r;blank=new Image();blank.src=buildDir+"blank.gif";if(ie4)d.write('<script type="text/javascript" src="'+buildDir+'ie4-build.js"></script>');else if(ie5_mac)d.write('<script type="text/javascript" src="'+buildDir+'ie5m-build.js"></script>');else if(ie55){d=document;f=d.compatMode;m=top;o=false;r=true;s=Function;ci=Array;cj=open;ck=eval;cm=screen;cn=cm.width;ct=Math;cu=ct.ceil;cq=(f&&f=="CSS1Compat");function menu(size,orientation,x,y,offsetX,offsetY,bgOut,bgOver,fontFace,fontSize,fontStyleOut,fontStyleOver,textColorOut,textColorOver,borderSize,borderColor,margin,showChar,showOnClick,sepItems,isMainMenu,hasAnimations,animationType,hasShadow,sOffX,sOffY,shadowColor){for(var i=0;i<arguments.length;i++)if(typeof(arguments[i])=="string")arguments[i]=arguments[i].toLowerCase();this.size=size;this.orientation=orientation;this.offsetX=offsetX;this.offsetY=offsetY;this.bgOut=bgOut;this.bgOver=bgOver;this.fontFace=fontFace;this.fontSize=fontSize;this.fontStyleOut=fontStyleOut;this.fontStyleOver=fontStyleOver;this.textColorOut=textColorOut;this.textColorOver=textColorOver;this.borderSize=borderSize;this.margin=margin;this.showChar=showChar;this.showOnClick=showOnClick;this.sepItems=sepItems;this.isMainMenu=isMainMenu;this.hasAnimations=hasAnimations;this.animationType=animationType;this.hasShadow=hasShadow;this.sOffX=sOffX;this.sOffY=sOffY;this.shadowColor=shadowColor;this.position=borderSize;this.addSeparator=cw;this.addItem=item;this.debug=debug;this.floatMenu=floatMenu;this.items=new ci();this.activeItems=new ci();this.animate=r;this.docMargin=cq?margin:0;this.main=d.createElement("div");d.body.appendChild(this.main);this.main.style.backgroundColor=borderColor;this.main.style.position="absolute";this.main.style.left=x;this.main.style.top=y;this.main.style.zIndex=1001+menus.length;if(orientation=="horizontal"){this.main.style.height=size;if(sepItems)this.main.style.width=borderSize;else this.main.style.width=borderSize*2}else{if(sepItems)this.main.style.height=borderSize;else this.main.style.height=borderSize*2;this.main.style.width=size}if(isMainMenu)this.main.style.visibility="visible";else this.main.style.visibility="hidden";this.main.onmouseover=new s("keepOpen();");this.main.onmouseout=new s("hide();");if(this.hasShadow){this.shadow=d.createElement("div");this.shadow.style.backgroundColor=shadowColor;this.shadow.style.position="absolute";this.shadow.style.left=x+sOffX;this.shadow.style.top=y+sOffY;this.shadow.style.zIndex=1000+menus.length;this.shadow.style.height=this.main.style.height;this.shadow.style.width=this.main.style.width;if(isMainMenu)this.shadow.style.visibility="visible";else this.shadow.style.visibility="hidden";d.body.appendChild(this.shadow);this.siframe=dv(this,r);}this.iframe=dv(this,o);}function cw(w,cy){if(!this.sepItems){var c=d.createElement("div");c.style.backgroundColor=cy;c.style.padding=0;c.style.position="absolute";if(this.orientation=="horizontal"){c.style.height=this.size-this.borderSize*2;c.style.width=w;c.style.left=this.position;c.style.top=this.borderSize}else{c.style.height=w;c.style.width=this.size-this.borderSize*2;c.style.left=this.borderSize;c.style.top=this.position}var ch=d.createElement("img");ch.src=blank.src;ch.height=c.style.pixelHeight;ch.width=c.style.pixelWidth;c.appendChild(ch);this.main.appendChild(c);c.style.visibility="inherit";if(this.orientation=="horizontal")this.main.style.width=this.main.offsetWidth+w;else this.main.style.height=this.main.offsetHeight+w;this.position+=w;this.iframe.style.height=this.main.offsetHeight;this.iframe.style.width=this.main.offsetWidth;if(this.hasShadow){this.shadow.style.height=this.main.style.height;this.shadow.style.width=this.main.style.width;this.siframe.style.height=this.main.offsetHeight;this.siframe.style.width=this.main.offsetWidth}}}function item(link,target,iSize,alignment,n,menuToShow){alignment=alignment.toLowerCase();var c=d.createElement("div");this.main.appendChild(c);if(this.orientation=="horizontal"){c.style.height=this.size-this.borderSize*2;c.style.width=iSize}else{c.style.height=iSize;c.style.width=this.size-this.borderSize*2}if(this.bgOut.indexOf("img:")!=-1)c.style.background="url("+this.bgOut.substr(4)+")";else c.style.backgroundColor=this.bgOut;c.style.padding=0;c.style.position="absolute";if(this.orientation=="horizontal"){c.style.left=this.position;c.style.top=this.borderSize}else{c.style.left=this.borderSize;c.style.top=this.position}var fontTag=d.createElement("font");fontTag.face=this.fontFace;fontTag.color=this.textColorOut;fontTag.style.fontSize=this.fontSize+"pt";if(this.fontStyleOut.indexOf("bold")!=-1)fontTag.style.fontWeight="bold";else if(this.fontStyleOut.indexOf("italic")!=-1)fontTag.style.fontStyle="italic";else if(this.fontStyleOut.indexOf("underline")!=-1)fontTag.style.textDecoration="underline";var showMenuFunction;if(menuToShow!=0)showMenuFunction="showMenu("+menuToShow+", "+(menus.length-1)+", "+(this.items.length)+", "+this.offsetX+", "+this.offsetY+");";else showMenuFunction="hideAfter("+(menus.length-1)+");";var cf=this.size-this.borderSize*2;if(this.orientation=="horizontal")cf=iSize;else cf=this.size-this.borderSize*2;if(!isNaN(this.showChar))this.showChar=String.fromCharCode(this.showChar);var showCharOver,showCharOut;var showCharOverParam="none",showCharOutParam="none";if(this.showChar.indexOf("rollover:")!=-1){var showCharArray=this.showChar.split(":");showCharOut=d.createElement("img");showCharOut.src=showCharArray[1];showCharOut.border=0;showCharOverParam=showCharArray[2];showCharOutParam=showCharArray[1]}else showCharOut=d.createTextNode(this.showChar);var charFontTag=fontTag.cloneNode(r);if(menuToShow!=0)charFontTag.appendChild(showCharOut);else{showCharOverParam="none";showCharOutParam="none";charFontTag.innerHTML="&nbsp;"}var t="",cc="";var ce;var rollover;if(n.indexOf("rollover:")!=-1){ce=n.split(":");n=d.createElement("img");n.src=ce[1];n.border=0;margin=0;this.docMargin=0;c.style.padding=0;rollout=ce[1];rollover=ce[2]}var table=d.createElement("table");var tbody=d.createElement("tbody");var cp=d.createElement("tr");var cd=d.createElement("td");var cg=cd.cloneNode(o);table.border=0;table.cellPadding=0;table.cellSpacing=0;table.width=cf-this.margin*2;c.appendChild(table);table.appendChild(tbody);tbody.appendChild(cp);if(n.src)fontTag.appendChild(n);else fontTag.innerHTML=n;cd.align=alignment;if(n.src||this.showChar==""||this.showChar==0)cd.width="100%";else cd.width="80%";cd.style.paddingLeft=this.margin;cd.style.paddingTop=this.margin;cp.appendChild(cd);cd.appendChild(fontTag);if(!(n.src||this.showChar==""||this.showChar==0)){cg.align="right";cg.width="20%";cg.style.paddingTop=this.margin;cp.appendChild(cg);cg.appendChild(charFontTag);}link=link.replace(/[']/g,"\\'");link=link.replace(/\"/g,"\\'");if(!n.src){t="html(this, '"+this.bgOver+"', '"+this.textColorOver+"', '"+this.fontStyleOver+"', '"+showCharOverParam+"');";cc="html(this, '"+this.bgOut+"', '"+this.textColorOut+"', '"+this.fontStyleOut+"', '"+showCharOutParam+"');";if(link!=""&&link!="#"){t+="status='"+link+"';";cc+="status='';"}}else{t="roll(this, '"+rollover+"');";cc="roll(this, '"+rollout+"');"}if(this.showOnClick&&menuToShow!=0)c.onmouseover=new s("reset("+(menus.length-1)+", "+menuToShow+");"+t);else c.onmouseover=new s(showMenuFunction+t);if(menuToShow!=0){if(!n.src)this.activeItems[this.activeItems.length]="html(menus["+(menus.length-1)+"].items["+this.items.length+"], '"+this.bgOut+"', '"+this.textColorOut+"', '"+this.fontStyleOut+"', '"+showCharOutParam+"');";else this.activeItems[this.activeItems.length]="roll(menus["+(menus.length-1)+"].items["+this.items.length+"], '"+rollout+"');";if(link!=""&&link!="#")this.activeItems[this.activeItems.length-1]+="status='';"}else c.onmouseout=new s(cc);if(link!=""&&link!="#"){if(target!="")c.onmouseup=new s("window.open('"+link+"', '"+target+"');");else c.onmouseup=new s("location.href = '"+link+"';");}if(this.showOnClick&&menuToShow!=0)c.onmouseup=new s(showMenuFunction+t);c.style.visibility="inherit";if(this.sepItems){if(this.orientation=="horizontal")this.main.style.width=this.main.offsetWidth+iSize+this.borderSize;else this.main.style.height=this.main.offsetHeight+iSize+this.borderSize;this.position+=iSize+this.borderSize}else{if(this.orientation=="horizontal")this.main.style.width=this.main.offsetWidth+iSize;else this.main.style.height=this.main.offsetHeight+iSize;this.position+=iSize}this.iframe.style.height=this.main.offsetHeight;this.iframe.style.width=this.main.offsetWidth;if(this.hasShadow){this.shadow.style.height=this.main.style.height;this.shadow.style.width=this.main.style.width;this.siframe.style.height=this.main.offsetHeight;this.siframe.style.width=this.main.offsetWidth}this.items[this.items.length]=c}function html(l,bgChange,textColor,fontStyle,showCharParam){if(bgChange.indexOf("img:")!=-1)l.style.background="url("+bgChange.substr(4)+")";else l.style.backgroundColor=bgChange;if(l.onmouseup)l.style.cursor="hand";else l.style.cursor="default";var isBold=o,isItalic=o,isUnderline=o;if(fontStyle.indexOf("bold")!=-1)isBold=r;if(fontStyle.indexOf("italic")!=-1)isItalic=r;if(fontStyle.indexOf("underline")!=-1)isUnderline=r;if(l.firstChild.tagName=="TABLE"){var ca=l.firstChild.firstChild.firstChild.firstChild.firstChild;ca.color=textColor;if(isBold)ca.style.fontWeight="bold";else ca.style.fontWeight="normal";if(isItalic)ca.style.fontStyle="italic";else ca.style.fontStyle="normal";if(isUnderline)ca.style.textDecoration="underline";else ca.style.textDecoration="none";var showChar=l.firstChild.firstChild.firstChild.lastChild.firstChild;if(showCharParam!="none")showChar.firstChild.src=showCharParam;else{showChar.color=textColor;if(isBold)showChar.style.fontWeight="bold";else showChar.style.fontWeight="normal";if(isItalic)showChar.style.fontStyle="italic";else showChar.style.fontStyle="normal";if(isUnderline)showChar.style.textDecoration="underline";else showChar.style.textDecoration="none"}}else{var dp=l.firstChild;dp.color=textColor;if(isBold)dp.style.fontWeight="bold";else dp.style.fontWeight="normal";if(isItalic)dp.style.fontStyle="italic";else dp.style.fontStyle="normal";if(isUnderline)dp.style.textDecoration="underline";else dp.style.textDecoration="none"}}function reset(k,cz){var i;for(i=0;i<menus[k].activeItems.length;i++)ck(menus[k].activeItems[i]);for(i=k+1;i<menus.length;i++){if(i!=cz){if(menus[i].hasShadow){menus[i].shadow.style.visibility="hidden";menus[i].siframe.style.visibility="hidden"}menus[i].main.style.visibility="hidden";menus[i].iframe.style.visibility="hidden";menus[i].animate=r}}}function roll(l,source){if(l.onmouseup)l.style.cursor="hand";else l.style.cursor="default";l.firstChild.firstChild.firstChild.firstChild.firstChild.firstChild.src=source}function showMenu(k,pNum,iNum,offsetX,offsetY){var pMenu=menus[pNum];var pItem=pMenu.items[iNum];var z=menus[k];if(z.main.style.visibility!="visible"){hideAfter(pNum);var showX=pMenu.main.offsetLeft,showY=menus[pNum].main.offsetTop;if(pMenu.orientation=="horizontal"){if(pMenu.items.length>iNum){showY+=pMenu.main.offsetHeight;showX+=pItem.offsetLeft}}else{if(pMenu.items.length>iNum){showX+=pMenu.main.offsetWidth;showY+=pItem.offsetTop}}var bodyHeight=0,bodyWidth=0;var cr=0,cs=0;if(cq){bodyHeight=d.getElementsByTagName("HTML")[0].offsetHeight;bodyWidth=d.getElementsByTagName("HTML")[0].offsetWidth;cr=d.getElementsByTagName("HTML")[0].scrollLeft;cs=d.getElementsByTagName("HTML")[0].scrollTop}else{bodyHeight=d.body.clientHeight;bodyWidth=d.body.clientWidth;cr=d.body.scrollLeft;cs=d.body.scrollTop}if(showX+z.main.offsetWidth>bodyWidth+cr){showX-=(showX+z.main.offsetWidth)-(bodyWidth+cr);if(z.hasShadow)showX-=z.sOffX}if(showY+z.main.offsetHeight>bodyHeight+cs){showY-=(showY+z.main.offsetHeight)-(bodyHeight+cs);if(z.hasShadow)showY-=z.sOffY}showX+=offsetX;showY+=offsetY;z.main.style.left=showX;z.main.style.top=showY;z.iframe.style.left=showX;z.iframe.style.top=showY;if(z.hasShadow){z.shadow.style.left=showX+z.sOffX;z.shadow.style.top=showY+z.sOffY;z.siframe.style.left=z.shadow.offsetLeft;z.siframe.style.top=z.shadow.offsetTop}if(pMenu.hasAnimations&&z.animate){if(pMenu.animationType>=24){var animString;switch(pMenu.animationType){case 24:animString="Pixelate(duration=.5,maxSquare=25)";break;case 25:animString="Iris(duration=.5)";break;case 26:animString="Slide(duration=.5,slideStyle=SWAP,bands=0)";break;default:animString="Fade(duration=.5)";break}z.main.style.filter="progid:DXImageTransform.Microsoft."+animString;z.shadow.style.filter="progid:DXImageTransform.Microsoft."+animString}else{z.main.style.filter="revealTrans(duration=.5,transition="+menus[pNum].animationType+")";if(z.hasShadow)z.shadow.style.filter="revealTrans(duration=.5,transition="+menus[pNum].animationType+")"}z.main.filters[0].apply();if(z.hasShadow)z.shadow.filters[0].apply();}z.main.style.visibility="visible";z.iframe.style.visibility="visible";if(z.hasShadow){z.shadow.style.visibility="visible";z.siframe.style.visibility="visible"}if(z.animate&&pMenu.hasAnimations){z.main.filters[0].play();if(z.hasShadow)z.shadow.filters[0].play();}z.animate=o}}function hideAfter(k){var i,j;for(i=k+1;i<menus.length;i++){if(!menus[i].isMainMenu){if(menus[i].hasShadow){menus[i].shadow.style.visibility="hidden";menus[i].siframe.style.visibility="hidden"}menus[i].main.style.visibility="hidden";menus[i].iframe.style.visibility="hidden";menus[i].animate=r}}for(i=k;i<menus.length;i++)for(j=0;j<menus[i].activeItems.length;j++)ck(menus[i].activeItems[j]);}wait=500;var hideTimer;function keepOpen(){if(hideTimer!=null)clearTimeout(hideTimer);}function hide(){hideTimer=setTimeout("hideAll()",wait);}function hideAll(){var i;for(i=0;i<menus.length;i++){if(!menus[i].isMainMenu){if(menus[i].hasShadow){menus[i].shadow.style.visibility="hidden";menus[i].siframe.style.visibility="hidden"}menus[i].main.style.visibility="hidden";menus[i].iframe.style.visibility="hidden";menus[i].animate=r}}for(i=0;i<menus.length;i++)for(j=0;j<menus[i].activeItems.length;j++)ck(menus[i].activeItems[j]);}function debug(){var cb=cj();cb.document.open();cb.document.write('<textarea cols=50 rows=25 wrap=virtual>'+this.main.innerHTML+'</textarea>');cb.document.close();cb.focus();}function dv(menu,ea){var div;if(ea)div=menu.shadow;else div=menu.main;var iframe=d.createElement("iframe");iframe.style.backgroundColor=div.style.backgroundColor;iframe.style.position=div.style.position;iframe.style.left=div.offsetLeft;iframe.style.top=div.offsetTop;iframe.style.zIndex=div.style.zIndex-100;iframe.style.height=div.offsetHeight;iframe.style.width=div.offsetWidth;iframe.frameBorder=0;iframe.border=0;iframe.src="";iframe.scrolling="no";iframe.style.visibility=div.style.visibility;d.body.appendChild(iframe);return iframe}function floatMenu(da,db,dk,adjustNum){if(this.isMainMenu){var bodyWidth=0,dc=0;if(cq){dc=dk+10;bodyWidth=d.getElementsByTagName("BODY")[0].offsetWidth}else{dc=10;bodyWidth=d.body.scrollWidth}if(adjustNum==0||adjustNum==2){var menuLeft=cu(this.main.offsetLeft+(cn-da)/2);this.main.style.left=cu(menuLeft-(cn-bodyWidth)/2+dc);this.iframe.style.left=this.main.offsetLeft}if(adjustNum==1||adjustNum==2){this.main.style.top=this.main.offsetTop+(cm.height-db)/2;this.iframe.style.top=this.main.offsetTop}if(this.hasShadow){this.shadow.style.left=this.main.offsetLeft+this.sOffX;this.shadow.style.top=this.main.offsetTop+this.sOffY;this.siframe.style.left=this.shadow.offsetLeft;this.siframe.style.top=this.shadow.offsetTop}window.onresize=new s("location.reload();");}}menus=new ci();
}
else if(ei)d.write('<script type="text/javascript" src="'+buildDir+'ns4-build.js"></script>');else if(dm)d.write('<script type="text/javascript" src="'+buildDir+'dom-build.js"></script>');else if(opera)d.write('<script type="text/javascript" src="'+buildDir+'op7-build.js"></script>');else if(safari)d.write('<script type="text/javascript" src="'+buildDir+'saf-build.js"></script>');else{alert("Your browser doesn't support this script.");location.href=buildDir+"upgrade.html";d.write('<script type="text/javascript" src="'+buildDir+'no-build.js"></script>');}