contextDisabled=false;
contextMenu="contextMenu";

function rclick(e){
	if(contextDisabled)
	{
		_d.oncontextmenu=null
		return true;
	}
	if(_d.all)ev=event.button; else ev=e.which
	if(ev==2||ev==3){
		_gm=getMenuByName(contextMenu)
		if(_gm!=null)popup(contextMenu,1)
		return false
	}
	else{
		//if(ev==1)closeAllMenus();
	}
	return true;
}

if(ns4){
	_d.captureEvents(Event.MOUSEDOWN);
	_d.onmousedown=rclick;
}
else{
	_d.onmouseup=rclick
	_d.oncontextmenu=new Function("return false")
}

_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=20              // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset



with(menuStyle=new mm_style()){
onbgcolor="#5878B2";
oncolor="#ffffff";
offbgcolor="#5878B2";
offcolor="#FFFFFF";
align='center';
separatorcolor="#FFFFFF";
separatorsize="2";
bordercolor="#008080";
borderstyle="solid";
borderwidth=0;
padding=5;
fontsize="100%";
itemheight=19;
fontstyle="bold";
fontfamily="Arial, Verdana, Tahoma";
pagecolor="black";
onsubimage="menu/arrow.gif";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
}

with(menuStyle1=new mm_style()){
onbgcolor="#5878B2";
oncolor="#ffffff";
offbgcolor="#D6D6DE";
offcolor="#515151";
align='center';
separatorcolor="#008080";
separatorsize="1";
bordercolor="#008080";
borderstyle="solid";
borderwidth=1;
padding=5;
fontsize="100%";
itemheight=19;
fontstyle="bold";
fontfamily="Arial, Verdana, Tahoma";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
}

with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=100;
left=25;
itemwidth=70;
alwaysvisible=1;
orientation="horizontal";
overflow="scroll";
aI("text=Cloth&nbsp;Diapers;url=http://www.jardinediapers.com/Cloth-Diapers-p-1-c-9.html;showmenu=Diapers;status=All of our Cloth Diapers;");
aI("text=Diaper&nbsp;Covers;url=http://www.jardinediapers.com/Diaper-Covers-p-1-c-14.html;showmenu=Covers;status=All of our Diaper Covers;");
aI("text=Liners;url=http://www.jardinediapers.com/Liners-p-1-c-23.html;showmenu=Liners;status=Diaper Liners;");
aI("text=For&nbsp;Mom;url=http://www.jardinediapers.com/Moms-Things-p-1-c-22.html;status=Great things for Moms too;");
aI("text=Changing&nbsp;time;url=http://www.jardinediapers.com/Changing-Time-p-1-c-19.html;status=Changing Time;");
aI("text=Baby&nbsp;Skincare;url=http://www.jardinediapers.com/Baby-Skincare-p-1-c-20.html;status=Baby Skincare;");
aI("text=Potty&nbsp;Training;url=http://www.jardinediapers.com/Potty-Training-p-1-c-26.html;status=Potty Training Help;");
aI("text=Bedding;url=http://www.jardinediapers.com/Bedding-p-1-c-29.html;status=Bassinet crib and playpen sheets;");
aI("text=Accessories;url=http://www.jardinediapers.com/Accessories-p-1-c-27.html;status=More great stuff;");
}

with(milonic=new menuname("Diapers")){
style=menuStyle1;
orientation="horizontal";
overflow="scroll";
aI("text=Diaper&nbsp;Service&nbsp;Diapers;url=http://www.jardinediapers.com/Diaper-Service-Quality-Diapers-p-22.html;status=Cotton Prefold Diapers;");
aI("text=Hemp&nbsp;Prefolds;url=http://www.jardinediapers.com/Hemp-Prefolds-p-1-c-11.html;status=Hemp Prefolds;");
aI("text=Fitted&nbsp;Diapers;url=http://www.jardinediapers.com/Fitted-Diapers-p-1-c-12.html;status=Fitted Diapers;");
aI("text=Contour&nbsp;Diapers;url=http://www.jardinediapers.com/Contour-Diapers-p-1-c-13.html;status=Contour Diapers;");
aI("text=All&nbsp;in&nbsp;One&nbsp;Diapers;url=http://www.jardinediapers.com/All-in-Ones-p-1-c-21.html;status=All in One Cloth Diapers;");
}

with(milonic=new menuname("Covers")){
style=menuStyle1;
orientation="horizontal";
overflow="scroll";
aI("text=Velcro&nbsp;Closures;url=http://www.jardinediapers.com/Velcro-Closures-p-1-c-15.html;status=Velcro Closures;");
aI("text=Snap&nbsp;Closures;url=http://www.jardinediapers.com/Snap-Closures-p-1-c-16.html;status=Snap Closures;");
aI("text=Pull&nbsp;Up;url=http://www.jardinediapers.com/Pull-up-Styles-p-1-c-17.html;status=Pull up Styles;");
aI("text=Pocket&nbsp;Covers;url=http://www.jardinediapers.com/Pocket-Covers-p-1-c-18.html;status=Pocket Covers;");
aI("text=Swim&nbsp;Diapers;url=http://www.jardinediapers.com/Swim-Diapers-p-1-c-30.html;status=Swim Diapers;");
}

with(milonic=new menuname("Liners")){
style=menuStyle1;
orientation="horizontal";
overflow="scroll";
aI("text=More&nbsp;Absorbency;url=http://www.jardinediapers.com/More-Absorbency-p-1-c-24.html;status=Liners for more absorbency;");
aI("text=Stay&nbsp;Dry;url=http://www.jardinediapers.com/Stay-Dry-p-1-c-28.html;status=Stay dry liners;");
aI("text=Disposable;url=http://www.jardinediapers.com/Disposable-p-1-c-25.html;status=Disposable liners to make clean up easier;");
}

with(milonic=new menuname("contextMenu")){ 
itemwidth=130;
borderwidth=1;
style=menuStyle1; 
aI("text=Jardine Diapers Home Page;url=http://www.jardinediapers.com/index.html;separatorsize=1"); 
aI("text=Back;url=javascript:history.go(-1);separatorsize=1"); 
aI("text=Forward;url=javascript:history.go(1);separatorsize=1"); 
aI("text=Copying Information;url=javascript:openNewWindow(\"http://www.cloth-diaper.com/afm/absolutefm/afmmain.asp?topicid=&faqid=39\",500,600,\"scrollbars=yes,resizable=yes\");status=Copyright Information;separatorsize=1"); 
aI("text=Disable This Menu;url=`javascript:var contextDisabled=true;closeAllMenus();`");
}

drawMenus();

