/*
 Milonic DHTML Website Navigation Menu - Version 3.4
 Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved.
 Please visit http://www.milonic.co.uk/menu or e-mail menu3@milonic.com for more information.
 
 The Free use of this menu is only available to Non-Profit, Educational & Personal web sites.
 Commercial and Corporate licenses  are available for use on all other web sites & Intranets.
 All Copyright notices MUST remain in place at ALL times and, please keep us informed of your 
 intentions to use the menu and send us your URL.
*/


//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="<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. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.
  
  HM_DOM = (document.getElementById) ? true : false;
  HM_NS4 = (document.layers) ? true : false;
  HM_NS6=(navigator.userAgent.indexOf("Gecko")!=-1)?true:false
  HM_IE = (document.all) ? true : false;
  HM_IE4 = HM_IE && !HM_DOM;
  HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
  HM_IE4M = HM_IE4 && HM_Mac;
 
//4.1
 HM_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
 HM_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);

function HM_f_RightMenu(menuwidth, tablewidth, offset) {
	var MinimumPixelLeft = 0;	
	//var TheMenu = HM_DOM ? document.getElementById(topmenuid) : HM_IE4 ? document.all(topmenuid) : eval("window." + topmenuid);
	var TheMenuWidth = menuwidth;
	var TheWindowWidth = HM_IE ? document.body.clientWidth : window.innerWidth;
	if (HM_NS6 && (TheWindowWidth > tablewidth)){offset = offset-8;}
	if (HM_NS4 && (TheWindowWidth > tablewidth)){offset = offset-8;}
	if (TheWindowWidth > tablewidth){
		return (TheWindowWidth - (offset + menuwidth));
	}
	else {
		offset = offset - (tablewidth - TheWindowWidth);
		return (TheWindowWidth - (offset + menuwidth));
	}
}
function HM_f_CenterMenu(menuwidth, tablewidth, offset) {
	var MinimumPixelLeft = 0;	
	//var TheMenu = HM_DOM ? document.getElementById(topmenuid) : HM_IE4 ? document.all(topmenuid) : eval("window." + topmenuid);
	var TheMenuWidth = menuwidth;
	var TheWindowWidth = HM_IE ? document.body.clientWidth : window.innerWidth;
	if (HM_NS6 && (TheWindowWidth > tablewidth)){offset = offset-8;}
	if (HM_NS4 && (TheWindowWidth > tablewidth)){offset = offset-8;}
	var TheContentLeft = Math.max(((TheWindowWidth / 2) - (tablewidth / 2)), 0);
	return Math.max(parseInt(TheContentLeft + offset), MinimumPixelLeft);
}


////////////////////////////////////
// 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
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{

	 alphaEffect = "alpha(style=1, opacity=90, finishopacity=90, startX=40)";
}
else
{

	 alphaEffect = "alpha(style=1, opacity=90, finishopacity=90, startX=40)";
}


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

//Style 1 = main nav
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.
"white",			// Mouse Off Font Color
"57755B",			// Mouse Off Background Color
"white",			// Mouse On Font Color
"99CC00",			// Mouse On Background Color
"white",			// Menu Border Color 
10,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"arial, helvetica, sans-serif",	// Font Name
2,					// Menu Item Padding
"",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
,			// 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)
"669966",			// Menu Item Separator Color
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"antiaging",			// Menu Name - This is needed in order for the menu to be called
152,					// Menu Top - The Top position of the menu in pixels
HM_f_CenterMenu(75, 749, 0),				// Menu Left - The Left position of the menu in pixels
120,				// 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
,					// 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
alphaEffect,		// **fade(overlap=1.00, duration=0.3)** 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)
0, 					// 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
,					// 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
,"GeriCare","product_info.php?products_id=34",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"MindCare","product_info.php?products_id=35",,,1
,"RadiCare","product_info.php?products_id=36",,,1
,"StressCare","product_info.php?products_id=37",,,1
])


addmenu(menu=[		// This is the array that contains your menu properties and details
"digestive",			// Menu Name - This is needed in order for the menu to be called
152,					// Menu Top - The Top position of the menu in pixels
HM_f_CenterMenu(75, 749, 45),				// Menu Left - The Left position of the menu in pixels
120,					// 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
,					// 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
alphaEffect,		// **fade(overlap=1.00, duration=0.3)** 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)
0, 					// 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
,					// 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
,"DiarCare","product_info.php?products_id=5",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"GastriCare","product_info.php?products_id=2",,,1
,"HemoCare","product_info.php?products_id=4",,,1
,"LaxaCare","product_info.php?products_id=3",,,1
,"LiverCare","product_info.php?products_id=1",,,1
])

addmenu(menu=[		// This is the array that contains your menu properties and details
"bodyfitness",			// Menu Name - This is needed in order for the menu to be called
152,					// Menu Top - The Top position of the menu in pixels
HM_f_CenterMenu(75, 749, 130),				// Menu Left - The Left position of the menu in pixels
120,				// 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
,					// 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
alphaEffect,		// **fade(overlap=1.00, duration=0.3)** 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)
0, 					// 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
,					// 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
,"GlucoCare","product_info.php?products_id=22",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"HeartCare","product_info.php?products_id=23",,,1
,"JointCare","product_info.php?products_id=24",,,1
,"LeanCare","product_info.php?products_id=25",,,1
,"UriCare","product_info.php?products_id=26",,,1
])

addmenu(menu=[		// This is the array that contains your menu properties and details
"immune",			// Menu Name - This is needed in order for the menu to be called
152,					// Menu Top - The Top position of the menu in pixels
HM_f_CenterMenu(75, 749, 201),				// Menu Left - The Left position of the menu in pixels
120,				// 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
,					// 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
alphaEffect,		// **fade(overlap=1.00, duration=0.3)** 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)
0, 					// 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
,					// 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
,"ImmunoCare","product_info.php?products_id=27",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"RespiCare","product_info.php?products_id=28",,,1
])

addmenu(menu=[		// This is the array that contains your menu properties and details
"menwomenchildren",			// Menu Name - This is needed in order for the menu to be called
152,					// Menu Top - The Top position of the menu in pixels
HM_f_CenterMenu(75, 749, 312),				// Menu Left - The Left position of the menu in pixels
120,					// 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
,					// 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
alphaEffect,		// **fade(overlap=1.00, duration=0.3)** 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)
0, 					// 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
,					// 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
,"ProstaCare","product_info.php?products_id=30",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"VigorCare for Men","product_info.php?products_id=29",,,1
,"MenoCare","product_info.php?products_id=38",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"MenstriCare","product_info.php?products_id=39",,,1
,"OsteoCare","product_info.php?products_id=40",,,1
,"VigorCare for Women","product_info.php?products_id=41",,,1
,"ImmunoCare Jr.","product_info.php?products_id=20",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"MindCare Jr.","product_info.php?products_id=21",,,1
])

addmenu(menu=[		// This is the array that contains your menu properties and details
"pureherbs",			// Menu Name - This is needed in order for the menu to be called
152,					// Menu Top - The Top position of the menu in pixels
HM_f_CenterMenu(75, 749, 427),				// Menu Left - The Left position of the menu in pixels
120,					// 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
,					// 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
alphaEffect,		// **fade(overlap=1.00, duration=0.3)** 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)
0, 					// 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
,					// 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
,"Amla C","product_info.php?products_id=6",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Arjuna","product_info.php?products_id=7",,,1
,"Ashwagandha","product_info.php?products_id=8",,,1
,"Bacopa","product_info.php?products_id=9",,,1
,"Bitter Melon","product_info.php?products_id=10",,,1
,"Boswellia","product_info.php?products_id=11",,,1
,"Chyavanprash","product_info.php?products_id=12",,,1
,"Garcinia","product_info.php?products_id=13",,,1
,"Garlic","product_info.php?products_id=14",,,1
,"Guduchi","product_info.php?products_id=15",,,1
,"Guggul","product_info.php?products_id=16",,,1
,"Gymnema","product_info.php?products_id=17",,,1
,"Neem","product_info.php?products_id=18",,,1
,"Triphala","product_info.php?products_id=19",,,1
])

addmenu(menu=[		// This is the array that contains your menu properties and details
"skinbodyhair",			// Menu Name - This is needed in order for the menu to be called
152,					// Menu Top - The Top position of the menu in pixels
HM_f_CenterMenu(75, 749, 490),				// Menu Left - The Left position of the menu in pixels
120,					// 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
,					// 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
alphaEffect,		// **fade(overlap=1.00, duration=0.3)** 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)
0, 					// 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
,					// 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
,"DermaCare","product_info.php?products_id=31",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"NailCare","product_info.php?products_id=32",,,1
,"VeinCare","product_info.php?products_id=33",,,1
])

dumpmenus()
