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)}

/////////////////////////////////////////////////
// Editable properties (dtml stuff) START here //
////////////////////////////////////////////////

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


timegap=500		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=10;	// Sub menu offset Top position 
suboffset_left=10;	// Sub menu offset Left position
/////////////////////////
//DTML VAR VALUES BEGIN//
/////////////////////////


style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"#011671",		// Mouse Off Font Color
"#038CFF",		// Mouse Off Background Color
"#00349C",	// Mouse On Font Color
"#85CEED",		// Mouse On Background Color
"#011671",		// Menu Border Color 
11,				// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial, Verdana, Helvetica,  sans-serif",	// Font Name
4,				// Menu Item Padding
,	// Sub Menu Image (Leave this blank if not needed)
,				// 3D Border & Separator bar
"666666",			// 3D High Color
"eeeeee",			// 3D Low Color
"#00349C",	// Current Page Item Font Color (leave this blank to disable ###if defined, include a definition for the next property)
"#85CEED",		// Current Page Item Background Color (leave this blank to disable)
,	// Top Bar image (Leave this blank to disable)
,			// Menu Header Font Color (Leave blank if headers are not needed)
,			// Menu Header Background Color (Leave blank if headers are not needed)
"#011671",	// Menu Item Separator Color
]


addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",		// Menu Name - This is needed in order for the menu to be called
184,	// Menu Top - The Top position of the menu in pixels
0,			// Menu Left - The Left position of the menu in pixels
109,			// Menu Width - Menus width in pixels
1,			// Menu Border Width 
,			// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,			// Properties Array - this is set higher up, as above
1,			// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",		// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,			// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,			// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 			// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,			// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,			// Position of TOP sub image left:center:right
,			// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,			// Right To Left - Used in Hebrew for example. (1=on/0=off)
,			// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,			// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,			// Background image for menu when BGColor set to transparent.
,			// Scrollable Menu
,			// Reserved for future use

,"PET/CT Basics","show-menu=submenu_1","/zportal/portals/pat/petct_basics","PET/CT Basics",1
,"PET Scan for:","show-menu=submenu_2","/zportal/portals/pat/pet_for","PET Scan for:",1
,"My Scan","show-menu=submenu_3","/zportal/portals/pat/my_pet_scan","My Scan",1
,"News &amp; Info","/zportal/portals/pat/news",,"News &amp; Info",1
,"FAQs","/zportal/portals/pat/faq",,"FAQs",1
,"Links","show-menu=submenu_6","#","Links",1
])
 	// one-level menu
  	addmenu(menu=["submenu_1",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"What is PET/CT?","/zportal/portals/pat/petct_basics/what_is_petct",,,1	,"How PET/CT Works","/zportal/portals/pat/petct_basics/how_petct_works",,,1	,"What PET/CT Sees","/zportal/portals/pat/petct_basics/what_petct_sees",,,1	,"Benefits of PET/CT","/zportal/portals/pat/petct_basics/petct_benefits",,,1	,"The Story of PET/CT","/zportal/portals/pat/petct_basics/story_of_petct",,,1	])
    	// two-level menu
	addmenu(menu=["submenu_2",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Cancer","show-menu=submenu_cancer","/zportal/portals/pat/pet_for/cancer",,1	,"Brain Disorders","show-menu=submenu_brain","/zportal/portals/pat/pet_for/brain",,1	,"Heart Disease","show-menu=submenu_heart","/zportal/portals/pat/pet_for/heart",,1	])
  	addmenu(menu=["submenu_cancer",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Breast Cancer","/zportal/portals/pat/pet_for/cancer/breast",,,1	,"Lung Cancer","/zportal/portals/pat/pet_for/cancer/lung",,,1	,"Colorectal Cancer","/zportal/portals/pat/pet_for/cancer/colorectal",,,1	,"Lymphoma","/zportal/portals/pat/pet_for/cancer/lymph",,,1	,"Skin Cancer","/zportal/portals/pat/pet_for/cancer/Skin",,,1	,"Other Cancers","/zportal/portals/pat/pet_for/cancer/other",,,1	,"Related Sites","/zportal/portals/pat/pet_for/cancer/related_sites",,,1	])
  	addmenu(menu=["submenu_brain",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Alzheimer's","/zportal/portals/pat/pet_for/brain/Alzheimers_Disease",,,1	,"Epilepsy","/zportal/portals/pat/pet_for/brain/Epilepsy",,,1	,"Parkinson's","/zportal/portals/pat/pet_for/brain/Parkinson",,,1	,"Stroke Evaluation","/zportal/portals/pat/pet_for/brain/Stroke_Evaluation",,,1	,"Brain Tumors","/zportal/portals/pat/pet_for/brain/Brain_Tumors",,,1	,"Related Sites","/zportal/portals/pat/pet_for/brain/Related_Sites",,,1	])
  	addmenu(menu=["submenu_heart",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Coronary Artery","/zportal/portals/pat/pet_for/heart/coronary",,,1	,"Assessment","/zportal/portals/pat/pet_for/heart/assessment",,,1	,"Related Sites","/zportal/portals/pat/pet_for/heart/related",,,1	])
    	// one-level menu
  	addmenu(menu=["submenu_3",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"What to Expect","/zportal/portals/pat/my_pet_scan/preparing",,,1	,"Scheduling","/zportal/portals/pat/my_pet_scan/scheduling",,,1	,"Patient Preparation","/zportal/portals/pat/my_pet_scan/for_patients",,,1	,"Insurance Coverage","/zportal/portals/pat/my_pet_scan/insurance_coverage",,,1	])
    	// one-level menu
  	// no submenu	
    	// one-level menu
  	// no submenu	
    	// one-level menu
  	addmenu(menu=["submenu_6",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Alzheimer's &amp; PET Scans","/zportal/portals/pat/alzheimers_news_intro",,,1	,"PET Scan Video","/zportal/portals/pat/interactive",,,1	,"Send PET Info to My Physician","/zportal/portals/pat/infoforphysician",,,1	,"Physician Home","http://www.wjmcpet.org/PhysicianPortal/ target=_blank",,,1	,"Imaging Staff Login","https://www.mi-lifenet.com/ImagingCenter/ target=_blank",,,1	])
   
dumpmenus()

