fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=100;
_subOffsetTop=2;
_subOffsetLeft=-2;
var contWidth = 147;

//contWidth = (document.getElementById('contTable').offsetWidth / 2) - 233;

if(document.getElementById('contTable').offsetWidth == 874)
{
contWidth = 204;
}
else if (document.getElementById('contTable').offsetWidth == 762)
{
contWidth = 148;
}
else
{
contWidth = (document.getElementById('contTable').offsetWidth / 2) - 233;
}

//var contWidth = document.getElementById('container').style.width;
//alert(contWidth);
//var contWidth=document.getElementById('contTable').offsetWidth / 5.18;
with(menuStyle=new mm_style()){
//	onclass="cssmouseon";
//	offclass="cssmouseoff";
//	bordercolor="#000000";
//	borderstyle="solid";
//	borderwidth=1;
	color="#FFFFFF";
	clickcolor="#FFFFFF";
	fontfamily="Verdana, Arial, Helvetica, sans-serif";
	fontsize="8pt";
	fontstyle="normal";
	headerbgcolor="#000000";
	headercolor="#FFFFFF";
	itemheight=12;
	offbgcolor="#202020";
	offcolor="#FFFFFF";
	onbgcolor="#444444";
	oncolor="#128965";
	outfilter="randomdissolve(duration=0.2)";
	overfilter="Fade(duration=0.2);Alpha(opacity=100)"; //;Shadow(color=#777777', Direction=135, Strength=3)
	padding=4;
	pagebgcolor="#128965";
	pagecolor="black";
//	separatorcolor="#202020";
//	separatorsize=1;
//	separatorpadding=8;
//	subimage="arrow.gif";
//	subimagepadding=2;




	
	}
with(milonic=new menuname("Main Menu")){
	alwaysvisible=1;
	itemheight=15;	
	//left="offset=-147" 
	//var diff = offset;
	//var contWidth = document.getElementById('container').width/10;
	//left=contWidth; 
	left="offset=-" + contWidth;
	screenposition="center";
	orientation="horizontal";
	style=menuStyle;
	top=180;
	aI("text= ;");
	aI("status=Back To Home Page;text=home;url=http://www.theaviary.co.uk;");
	aI("text= ;");
	aI("showmenu=AboutUs;text=about us;url=aboutus.html");
	aI("text= ;");
//	aI("text=new in;url=newin.html");
//	aI("text= ;");
	aI("showmenu=Collections;text=collections;url=collections.html");
	aI("text= ;");
	aI("showmenu=OurRange;text=our range;url=range.html");
	aI("text= ;");
	aI("text=contact us;url=../cgi-bin/mf000001.pl?ACTION=SHOWFORM");
	aI("text= ;");
	aI("text=register for news;url=../cgi-bin/mf000001.pl?ACTION=SHOWFORM");
	aI("text= ;");
	aI("text= ;");
	}
with(milonic=new menuname("Collections")){
//	overflow="scroll";
	style=menuStyle;
	aI("text=zepla;url=zepla.html;")
	aI("text=ccdk;url=ccdk.html;")
	aI("text=s'nob;url=snob.html;")
	aI("text=sticky fingers;url=sticky_fingers.html;")
	aI("text=st martin;url=st_martin.html;")
	aI("text=hirsch;url=hirsch.html;")
	}
with(milonic=new menuname("AboutUs")){
	style=menuStyle;
	aI("text=ordering;url=ordering.html;")
	aI("text=customer services;url=customerservices.html;")
	aI("text=security;url=security.html;")
	aI("text=privacy;url=privacy.html;")
	}
with(milonic=new menuname("OurRange")){
	style=menuStyle;
	aI("text=skirts;url=skirts.html;");
	aI("text=dresses;url=dresses.html;");
	aI("text=tops;url=tops.html;");
//	aI("text=trousers;url=trousers.html;");
//	aI("text=daywear;url=daywear.html;");
//	aI("text=eveningwear;url=eveningwear.html;");
	aI("text=knitwear;url=knitwear.html;");
	aI("text=outerwear;url=outerwear.html;");
	}
with(milonic=new menuname("Partners")){
	style=menuStyle;
	aI("status=(aq) Web Server Hosting & Services;text=(aq) Web Hosting;url=http://www.a-q.co.uk/;");
	aI("text=WebSmith;url=http://www.softidiom.com/?milonicmenu;");
	aI("text=SMS 2 Email;url=http://www.sms2email.com/;");
	}

drawMenus();

