var isMinNS4 = (navigator.appName.indexOf("Netscape") >= 0 && parseFloat(navigator.appVersion) >= 4) ? 1 : 0;
var isMinIE4 = (document.all) ? 1 : 0;
var isMinIE5 = (isMinIE4 && navigator.appVersion.indexOf("5.")) >= 0 ? 1 : 0;

function getWindowWidth() {
  if (isMinNS4) return(window.innerWidth);
  if (isMinIE4) return(document.body.clientWidth);
  return(-1);
  }

function getWindowHeight() {
  if (isMinNS4) return(window.innerHeight);
  if (isMinIE4) return(document.body.clientHeight);
  return(-1);
  }

winsizex = getWindowWidth();
winsizey = getWindowHeight();

var winleftpos=(winsizex-747)/2;
if (winleftpos<0) { winleftpos=0; }
winleftpos=winleftpos+136;
IsMac=(navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
if (IsMac) winleftpos=winleftpos-20;

// Milonic DHTML Menu version 3.3
// Please note that major changes to this file have been made and is not compatible with earlier versions..
//
// 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.


// Milonic DHTML Menu version 3.2.0
// 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. The above also needs to be enabled.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500					// The time delay for menus to remain visible
followspeed=5				// Follow Scrolling speed
followrate=20				// Follow Scrolling Rate
suboffset_top=6;			// Sub menu offset Top position 
suboffset_left=12;			// Sub menu offset Left position<BR>

effect = "fade(duration=0.3);Shadow(color='#777777', Direction=135, Strength=5)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters

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.
"000000",					// Mouse Off Font Color
"C0D9E0",					// Mouse Off Background Color
"ffffFF",					// Mouse On Font Color
"55819C",					// Mouse On Background Color
"C0D9E0",					// Menu Border Color
10,							// Font Size
"normal",					// Font Style 
"normal",					// Font Weight
"Arial,Tahoma,Helvetica",	// Font Name
0,							// Menu Item Padding
"img/arrow-s.gif",				// Sub Menu Image (Leave this blank if not needed)
0,							// 3D Border & Separator bar
"66ffff",					// 3D High Color
"000099",					// 3D Low Color
,							// Referer Item Font Color (leave this blank to disable)
,							// Referer 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)
]

style2=[					// 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.
"ffffff",					// Mouse Off Font Color
"9EA7C8",					// Mouse Off Background Color
"ffffFF",					// Mouse On Font Color
"F99D1C",					// Mouse On Background Color
"c0c0c0",					// Menu Border Color
12,							// Font Size
"normal",					// Font Style 
"bold",					// Font Weight
"Tahoma,Arial,Helvetica",	// Font Name
7,							// Menu Item Padding
"img/arrow-s.gif",				// Sub Menu Image (Leave this blank if not needed)
0,							// 3D Border & Separator bar
"66ffff",					// 3D High Color
"000099",					// 3D Low Color
,							// Referer Item Font Color (leave this blank to disable)
,							// Referer 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)
]

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
119,							// Menu Top - The Top position of the menu in pixels
winleftpos,							// Menu Left - The Left position of the menu in pixels
,							// 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
"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, 							// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style
,							// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
"right",					// Position of TOP sub image left:center:right
,							// Type of menu use "form" or blank
,							// Right To Left - Used in Hebrew for example.
,							// Open the Menus OnClick - leave blank for OnMouseover
,							// 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
	// ,"Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<a href='keysectors.htm' onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('mm1','','img/menu1a.gif',1) /><IMG SRC=img/menu1.gif name=mm1 WIDTH=89 HEIGHT=39 BORDER=0 alt='Who we are'></a>","show-menu=mm1",,"Who we are",0
,"<a href='brandresearch.htm' onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('mm2','','img/menu2a.gif',1) /><IMG SRC=img/menu2.gif name=mm2 WIDTH=90 HEIGHT=39 BORDER=0 alt='Brand Research'></a>","show-menu=mm2",,"Brand Research",0
,"<a href='customerperception.htm' onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('mm3','','img/menu3a.gif',1) /><IMG SRC=img/menu3.gif name=mm3 WIDTH=89 HEIGHT=39 BORDER=0 alt='Customer perception'></a>","customerperception.htm",,"Customer Perception",0
,"<a href='communications.htm' onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('mm4','','img/menu4a.gif',1) /><IMG SRC=img/menu4.gif name=mm4 WIDTH=90 HEIGHT=39 BORDER=0 alt='Communications'></a>","show-menu=mm4",,"Communications",0
,"<a href='doyouneedresults.htm' onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('mm5','','img/menu5a.gif',1) /><IMG SRC=img/menu5.gif name=mm5 WIDTH=89 HEIGHT=39 BORDER=0 alt='Do you need results fast'></a>","show-menu=mm5",,"Do you need results fast",0
,"<a href='surveys.htm' onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('mm6','','img/menu6a.gif',1) /><IMG SRC=img/menu6.gif name=mm6 WIDTH=90 HEIGHT=39 BORDER=0 alt='Surveys'></a>","show-menu=mm6",,"Surveys",0
,"<a href='joinpanel.htm' onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('mm7','','img/menu7a.gif',1) /><IMG SRC=img/menu7.gif name=mm7 WIDTH=90 HEIGHT=39 BORDER=0 alt='Join our panel'></a>","joinpanel.htm",,"Join our panel",0

])

addmenu(menu=["mm1",,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Our values","ourvalues.htm",,"",0
,"How we support you","oursupport.htm",,"",0
,"Our expertise","ourexpertise.htm",,"",0
,"Contact Us","contactus.htm",,"Contact Us",0
])

addmenu(menu=["mm2",,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Why use an independent research agency?","brandresearch1.htm",,"",0
,"Benefits Testimonials","brandresearch2.htm",,"",0
])

addmenu(menu=["mm4",,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Benefits Testimonials","communications2.htm",,"",0
])

addmenu(menu=["mm5",,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Your Needs -<BR>What we offer and benefits","doyouneedresults2.htm",,"",0
,"PDA Online groups Panels","doyouneedresults3.htm",,"",0
,"Online demonstration","onlinedemo.htm",,"",0
])

addmenu(menu=["mm6",,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Benefits Testimonials","surveys2.htm",,"",0
])


//////////////////////////////////
// Editable properties END here //
//////////////////////////////////
dumpmenus() // This must be the last line in this file
