function open_window(url) {
mywin = window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=466,height=450');
};

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

effect = "Fade(duration=0.3);Alpha(style=0,opacity=100);Shadow(color='000000', Direction=135, Strength=1)" 

timegap=500
followspeed=5
followrate=40
suboffset_top=2;
suboffset_left=-3;

style1=[
"82C0FF",				// Mouse Off Font Color
"FFFFFF",				// Mouse Off Background Color
"404080",				// Mouse On Font Color
"99CCFF",				// Mouse On Background Color
"82C0FF",				// Menu Border Color 
11,					// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Trebuchet MT, Verdana, Arial",		// Font Name
4,					// Menu Item Padding
"images/arrowhead.gif align=middle",	// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000000",				// 3D Low Color
"404080",				// Current Page Item Font Color (leave this blank to disable)
"99CCFF",				// Current Page Item Background Color (leave this blank to disable)
"",			// Top Bar image (Leave this blank to disable)
"FFFFFF",				// Menu Header Font Color (Leave blank if headers are not needed)
"404080",				// Menu Header Background Color (Leave blank if headers are not needed)
]

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
178,					// Menu Top - The Top position of the menu in pixels
,					// Menu Left - The Left position of the menu in pixels
114,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
"center",					// 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
effect,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,					// 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)
,					// 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
,					// ..Now Obsolete..
,					// 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)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"Homepage","index.htm",,"JayPsych Homepage",1
,"About","about.htm",,"About Jay Roseveare",1
,"Services","show-menu=services",,"About JayPsych Services",1
,"Survey","survey.php",,"Independence Index Questionnaire",1
,"Contact","contact.htm",,"Contact JayPsych",1
,"Back","javascript:history.back()",,"Return to the last page visited",1
])

	addmenu(menu=["services",
	,,160,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"<b>SERVICES</b>","# type=header;align=center;",,"-----------",1
	,"Executive Coaching","2_exec_coach.htm",,"",1
	,"Group Facilitation","3_group.htm",,"",1
	,"Worklife Balance","4_worklife_bal.htm",,"",1
	,"Stress","5_stress.htm",,"",1
	,"Psychometric Assessments","6_psychometric.htm",,"",1
	])

dumpmenus()