
//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0.2);Alpha(style=0,opacity=93);"
effect2 = "Fade(duration=0.2);Alpha(style=0,opacity=100);"


timegap=500		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// Sub menu offset Left position
closeOnClick = true

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.
"264D73",				// Mouse Off Font Color
"FF9900",			// Mouse Off Background Color
"FFFFCC",			// Mouse On Font Color
"FF9900",				// Mouse On Background Color
"D7F1FE",				// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
5,					// Menu Item Padding
"images/arrow.gif",					// Sub Menu Image (Leave this blank if not needed)
0,					// 3D Border & Separator bar
"ffffff",			// 3D High Color
"ffffff",			// 3D Low Color
"white",			// Current Page Item Font Color (leave this blank to disable)
"",				// 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)
"8BA7C4",				// 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
136,					// Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
165,				// Menu Width - Menus width in pixels
0,					// 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)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect2,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
1,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// 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)
0,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
0,					// 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
 
	,"Home","index.html",,"",1
	,"History","history.html",,"",1
	,"Executive/Council Members","council.html",,"",1
	,"Upcoming Congress","10th-congress.html",,"",1
	,"Previous Congress","show-menu=prevconf",,"",1
	,"Related Events and Activities","show-menu=activities",,"",1
	,"News","news.html",,"",1
	,"Publications","publications.html",,"",1
	,"Application for Membership","membership.html",,"",1
	,"Election Form","elect.html",,"",1
	,"Scholarship Programme","scholarship.html",,"",1
	,"INPALMS – AICEF Joint Quality Assurance Programme","quality.html",,"",1
	,"Links of Interest","links.html",,"",1
])

		addmenu(menu=["activities",
			,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
			,"TIAFT","tiaft.html",,,0
			,"ANZFSS","anzfss.html",,,0
			,"IAFS meeting","http://www.iafs2008.com target=_blank",,,0
		])
		

		addmenu(menu=["prevconf",
			,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
			,"8th INPALMS Congress","8th-congress.html",,,0
			,"9th INPALMS Congress","9th-congress.html",,,0
		])


dumpmenus()

var d=new Date();
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear();

stat=new Array(); function changeMain(id){objParent=document.getElementById(id); objDaughter=document.getElementById('iDMain'+id); if (stat[id]!=1) {stat[id]=1; objDaughter.style.display='block';} else {if(stat[id]==1){stat[id]=0; objDaughter.style.display='none'; }  }  }



function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);





