function _doHLK(_i){
	_I=_mi[_i]
	$w(_I)
	itemOff(_i);	
}
function _findItem(_txt,_opt){
	for(_a=0;_a<_mi.length;_a++){
		_I=_mi[_a]
		if($tU(_I[_opt])==$tU(_txt))_doHLK(_a)
	}
}
function mmItemActiveByShowMenu(_txt){_findItem(_txt,3)}
function mmItemActivateByText(_txt){_findItem(_txt,1)}
function mmItemActivateByNumber(_txt){_doHLK(_txt)}

///  MENU ///

fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
horizontalMenuDelay=1;
_menuOpenDelay=0;
_menuCloseDelay=100;
_subOffsetTop=2;
_subOffsetLeft=-2;
closeAllOnClick = true;

with(menuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;

headerbgcolor="images/main-menu-bg.gif";
headercolor="images/main-menu-bg.gif";
offbgcolor="url(images/main-menu-bg.gif)";
onbgcolor="url(images/menu-bg.gif)";

/*image='images/main-menu-bg.gif';
/*bgimage='images/menu-clumn-bg.jpg';
overbgimage='images/menu-onbg.gif';
pagebgimage='images/menu-onbg.gif'; */

fontfamily="Verdana, Tahoma, Arial";
fontsize="11";
fontstyle="normal";
fontweight="bold";
offcolor="#FFFFFF";//font color
oncolor="#FFFFFF";  //font color

itemheight=35;
padding=0;
rawcss='padding-top:0px';

pagecolor="#FFFFFF";
imageposition='right';

// for separator image
//subimage='images/between-menu-bg-2.jpg';
}

with(submenuStyle=new mm_style()){
bordercolor="#0D5F99";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#B6D2E7";
onbgcolor="#71A8D0";
/*onbgcolor="url(images/sub-nav-bg.gif)";*/
offcolor="#005D9D";
oncolor="#ffffff";
padding=3;
rawcss='padding-left:10px';
//image='images/subnav-bullet.gif';
//overimage='images/subnav-bullet-roll.gif';
outfilter="fade(duration=0.10)";
overfilter="Fade(duration=0.10);Alpha(opacity=100))";
imagepadding=0;
imagealign='center';
/*subimage='images/pointer_active.gif';*/
subimagepadding=3;
//margin-left=50;

}

with(milonic=new menuname("Main Menu")){
position="relative";
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
menuwidth=984;

//aI("align=center;valign=middle;showmenu=Subdomain;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=175;text=Subdomain;itemwidth=100;");

aI("align=center;showmenu=Accessories;text=Accessories ;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=127;itemwidth=125;");

//aI("align=center;showmenu=Cars & Bike;text=Cars & Bike;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=131;itemwidth=100;");

aI("align=center;showmenu=Books;text=Books;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=195;itemwidth=125;");

//aI("align=center;showmenu=Domain Registration;text=Domain Registration;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=177;itemwidth=110;");

aI("align=center;showmenu=Cakes;text=Cakes;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=199;itemwidth=125;");

aI("align=center;showmenu=Cameras;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=130;text=Cameras;itemwidth=125;");

//aI("align=center;showmenu=Email Hosting;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=179;text=Email Hosting;itemwidth=100;");

//aI("align=center;showmenu=Consumer Durables;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=201;text=Consumer Durables;itemwidth=98;");

//aI("align=center;showmenu=Hosting;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=180;text=Hosting;itemwidth=100;");

aI("align=center;showmenu=Home & Decor;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=206;text=Home & Decor;itemwidth=125;");

aI("align=center;showmenu=Jewellery;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=143;text=Jewellery;itemwidth=125;");

//aI("align=center;showmenu=Memory & Storage;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=208;text=Memory & Storage;itemwidth=98;");

aI("align=center;showmenu=Movies;text=Movies;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=147;itemwidth=125");

aI("align=center;showmenu=Watches;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=159;text=Watches;itemwidth=115;");

//aI("align=center;showmenu=Website designing;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=186;text=Website designing;itemwidth=100;");

//aI("align=center;showmenu=Movies & Music;text=Movies & Music;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=147;itemwidth=147;subimage=no-repet");
}

with(milonic=new menuname("Accessories")){
orientation="vertical";
top=109;
menuwidth=200;
style=submenuStyle;
aI("align=left;text=Hand Bags;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=160");
//aI("align=left;text=Childrens Apparel;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=162");
aI("align=left;text=Sunglasses;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=161");
aI("align=left;text=Perfumes;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=162");
}

with(milonic=new menuname("Books")){
orientation="vertical";
top=109;
menuwidth=200;
style=submenuStyle;
aI("align=left;text=Autobiography;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=196");
aI("align=left;text=Fiction;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=197");
aI("align=left;text=Comics;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=198");
}

with(milonic=new menuname("Cake")){
orientation="vertical";
top=109;
menuwidth=200;
style=submenuStyle;
//aI("align=left;text=Creative web;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=178");

}

with(milonic=new menuname("Consumer Durables")){
orientation="vertical";
top=109;
menuwidth=200;
style=submenuStyle;
aI("align=left;text=Microwaves;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=202");
aI("align=left;text=Refrigerator;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=203");
aI("align=left;text=Washing Machines;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=204");

}

with(milonic=new menuname("Home & Decor")){
orientation="vertical";
top=109;
menuwidth=200;
style=submenuStyle;
aI("align=left;text=Door and Wall Hanging;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=205");
aI("align=left;text=Garlands & Toran;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=207");

}

with(milonic=new menuname("Jewellery")){
orientation="vertical";
top=109;
menuwidth=200;
style=submenuStyle;
aI("align=left;text=Bangles & Kada;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=183");
aI("align=left;text=Necklace;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=184");
//aI("align=left;text=Earrings;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=185");

}

with(milonic=new menuname("Watches")){
orientation="vertical";
top=109;
menuwidth=200;
style=submenuStyle;
aI("align=left;text=Fastrack;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=211");
aI("align=left;text=Sonata;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=212");

}

with(milonic=new menuname("Memory & Storage")){
orientation="vertical";
top=109;
menuwidth=200;
style=submenuStyle;
aI("align=left;text=Memory Cards;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=213");
aI("align=left;text=USB & Pen Drives;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=214");

}

with(milonic=new menuname("Cameras")){
orientation="vertical";
top=109;
menuwidth=200;
style=submenuStyle;
aI("align=left;text=Digital Camera;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=164");
aI("align=left;text=Camera Bags & Cases;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=165");

}

with(milonic=new menuname("Movies")){
orientation="vertical";
top=109;
menuwidth=200;
style=submenuStyle;
//aI("align=left;text=Hindi;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=191");
aI("align=left;text=VCD;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=209");
aI("align=left;text=DVD;url=http://creativewebmall.info/demo/advanced-ecommerce-shopping-cart-1.31/subcategory.aspx?categoryid=210");

}

drawMenus();