

// You dont need this bit for the  to work, but you can use it if you want to.
function jumpto(lnk)
{
	jto=confirm("This is my favourite \n\nDo you want to visit "+lnk+" to see some more?" );
	if(jto) window.location.replace(lnk);
}

function shutdown()
{
	shutd=confirm("Are you sure you want to shutdown this window?");
	if(shutd) self.close();
}


function open_dos()
{
	window.open("dos_blag.htm","blag","width=450,height=300,toolbar=no,location=no,resizable=yes")
}

if (navigator.userAgent.indexOf("MSIE") > 0)
{
	cwidth = document.body.clientWidth;
	cheight = document.body.clientHeight;
} 
else 
{
	cwidth = window.outerWidth;
	cheight = window.outerHeight;
}



// Milonic DHTML Menu
// please note that major changes to this file have been made.
//
// You no longer need to number your menus as in previous versions. 
// The new menu structure allows you to name the menu instead. This means that you to remove menus and not break the system.
// The structure should also be much easier to modify, add & remove menus and menu items.
// 
// If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.
//
// Please note that the above text CAN be erased if you wish.



// The following line is critical for menu operation, and must appear only once.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////


timegap=200					// The time delay for menus to remain visible
followspeed=5				// Follow Scrolling speed
followrate=50				// Follow Scrolling Rate
suboffset_top=10;			// Sub menu offset Top position 
suboffset_left=4;			// Sub menu offset Left position


style1=[						// Menu Properties Array
"ffffff",					// Off Font Color
"50C8E8",					// Off Back Color
"000000",					// On Font Color
"ffffff",					// On Back Color
"999999",					// Border Color
12,							// Font Size
"normal",					// Font Style
"normal",					// Font Weight
"Tahoma,Helvetica",			// Font
0,							// Padding
""							// Sub Menu Image
,0							// 3D Border & Separator
,"ffffff"						// 3D High Color
,"000000"					// 3D Low Color
]

style2=[						// Menu Properties Array
"FFFFFF",					// Off Font Color
"50C8E8",					// Off Back Color
"FFFFFF",					// On Font Color
"0096D6",					// On Back Color
"78A22F",					// Border Color
12,							// Font Size
"normal",					// Font Style
"normal",					// Font Weight
"Tahoma,Helvetica",			// Font
3,							// Padding
""							// Sub Menu Image
,0							// 3D Border & Separator
,"ffffff"						// 3D High Color
,"000000"					// 3D Low Color
]

addmenu(menu=[				// This is the array that contains your menu properties and details
"imagemain",				// Menu Name
127,						// Top
0,							// left
123,						// Width
0,							// Border Width
"",							// Screen Position - here you can use "center;middle;right;left;top;bottom"
style1,						// Properties Array - this is set higher up, as above
1,							// Always Visible - allows the menu item to be visible at all time
"left",						// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
"Fade(duration=0.5)",		// Filter - Text variable for setting transitional effects on menu activation
0,							// Follow Scrolling - Tells the menu item to follow the user down the screen
, 							// Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
1,							// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
,							// Position of sub image left:center:right:middle:top:bottom
,							// Show an image on top menu bars indicating a sub menu exists below
,							// Reserved for future use
,							// Reserved for future use
,,,,							// Reserved for future use
// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img border=0 src=images/patients.gif>","show-menu=patients","patients.html swapimage=images/patients-over.gif;",,0
,"<img border=0 src=images/physicians.gif>","show-menu=physicians","physicians.html swapimage=images/physicians-over.gif;",,0
,"<img border=0 src=images/b_palliative.gif>","show-menu=","palliative1.html swapimage=images/b_palliative-over.gif;",,0
,"<img border=0 src=images/discharge.gif>","show-menu=discharge","discharge.html swapimage=images/discharge-over.gif;",,0
,"<img border=0 src=images/donors.gif>","show-menu=donors","donors.html swapimage=images/donors-over.gif;",,0
,"<img border=0 src=images/b_bereavement.gif>","show-menu=","bereavement.html swapimage=images/b_bereavement-over.gif;",,0
,"<img border=0 src=images/volunteers.gif>","show-menu=volunteers","volunteers.html swapimage=images/volunteers-over.gif;",,0
,"<img border=0 src=images/employment.gif>","show-menu=employment","employment.html swapimage=images/employment-over.gif;",,0
])


addmenu(menu=["patients",,,220,1,"",style2,,"left","fade(duration=0.5)",,,,,,,,,,,,
,"&nbsp;Why Would I Want to Use Hospice?","patients1.html",,,1
,"&nbsp;Who Makes Decisions Re: Healthcare?","patients2.html",,,1
,"&nbsp;What is the Next Step?","patients3.html",,,1
,"&nbsp;Patient and Family Education","http://seriousillness.org/swmichigan/index.php",,,1
,"&nbsp;Patient Bill of Rights","patients4.html",,,0
])

addmenu(menu=["physicians",,,160,1,"",style2,,"left","fade(duration=0.5)",,,,,,,,,,,,
,"&nbsp;Delivering Difficult News","physicians1.html",,,1
,"&nbsp;Discussing Hospice","physicians2.html",,,1
,"&nbsp;Guidelines for Hospice<br>&nbsp;Care and Treatment","physicians3.html",,,1
,"&nbsp;Managing the Myths","physicians4.html",,,1
,"&nbsp;Professional Development","http://seriousillness.org/swmichigan/resources/medical.php",,,1
,"&nbsp;Refer a Patient Online","http://seriousillness.org/swmichigan/referralforms/doctorform.php",,,1
,"&nbsp;Understanding the Role of<br>&nbsp;the Attending Physician","physicians5.html",,,0
])

addmenu(menu=["donors",,,175,1,"",style2,,"left","fade(duration=0.5)",,,,,,,,,,,,
,"&nbsp;General Information","donors1.html",,,1
,"&nbsp;Why Give to Hospice?","donors2.html",,,1
,"&nbsp;What Will My Donation Fund?","donors3.html",,,1
,"&nbsp;Donor Benefits","donors4.html",,,1
,"&nbsp;Donation Options","donors5.html",,,1
,"<img border=0 src=images/money.gif>&nbsp;Make a Donation","donors6.html",,,0
])

addmenu(menu=["discharge",,,205,1,"",style2,,"left","fade(duration=0.5)",,,,,,,,,,,,
,"&nbsp;Determining Appropriateness","discharge1.html",,,1
,"&nbsp;Information Needed for a Referral","discharge2.html",,,1
,"&nbsp;Support of the Discharge Planner","discharge3.html",,,1
,"&nbsp;Professional Education","http://seriousillness.org/swmichigan/resources/socialworkers.php",,,1
,"&nbsp;Refer a Client Online","http://seriousillness.org/swmichigan/referralforms/doctorform.php",,,1
,"&nbsp;Why Refer to Hospice?","discharge4.html",,,0
])

addmenu(menu=["volunteers",,,205,1,"",style2,,"left","fade(duration=0.5)",,,,,,,,,,,,
,"&nbsp;Volunteer Application","https://fs10.formsite.com/hospice/form235465553/secure_index.html",,,1
,"&nbsp;Current Opportunites","VolOpport.html",,,1
,"&nbsp;Resources for Volunteers","http://seriousillness.org/swmichigan/resources/volunteers.php",,,1
,"&nbsp;Volunteer News","volNews.html",,,0
])

addmenu(menu=["employment",,,205,1,"",style2,,"left","fade(duration=0.5)",,,,,,,,,,,,
,"&nbsp;Employment Application","https://fs10.formsite.com/hospice/form639150677/secure_index.html",,,1
,"&nbsp;Current Openings","CurrentOpenings.html",,,0
])

	addmenu(menu=["merc_cl",,,,1,"",style1,,,,,,,,,,,,,,,,
	"<img border=0 src=images/merc_cl.jpg>","javascript:alert(\"Nice&nbsp;!\")",,"Mercedes CL",0
	])




//////////////////////////////////
// Editable properties END here //
//////////////////////////////////
dumpmenus() // This must be the last line in this file