
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

	}
	return true;
}

if(ns4){
	_d.captureEvents(Event.MOUSEDOWN);
	_d.onmousedown=rclick;
}
else{
	_d.onmouseup=rclick
	_d.oncontextmenu=new Function("return false")
}






if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect="Fade(duration=0.2);Alpha(style=0,opacity=97);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
effect="Shadow(color='#777777', Direction=135, Strength=5)"
}

_menuCloseDelay=30;
_menuOpenDelay=30;
_scrollAmount=3;
_scrollDelay=10;
_followSpeed=5;
_followRate=5;
_subOffsetTop=4;
_subOffsetLeft=0;




with(contextStyle=new mm_style)
{
     onbgcolor="#A1AB86";
       oncolor="#000000";
    offbgcolor="#777777";
      offcolor="#000000";
   bordercolor="#333333";
   borderstyle="solid";
   borderwidth=1
    overfilter="Fade(duration=0.4);)"
      onborder="1px solid #333333";
     outfilter="randomdissolve(duration=0.6)"
      fontsize="75%";
     fontstyle="normal";
    fontfamily="arial, verdana, tahoma";
       padding=2
separatorcolor="#222222";
 headerbgcolor="#333333";
   headercolor="#ffffff";
  headerborder="0px solid #000000";
   headercolor="#ffffff";
  headerborder="1px solid #000000";
      fontsize="10px";
if(!mac)onborder="1px solid #000000";
}

with(milonic=new menuname("contextMenu")){		
top="offset=2"
style = contextStyle;
margin=3;
aI("text=Photo Index;url=http://www.usbody.com/__Photo-Gallery/Index.htm;");
aI("text=Bookmark Page;url=javascript:bookMark();");
aI("text=Print Page;url=javascript:window.print()");
aI("text=E-Mail Page;url=javascript:EmailLink()");
aI("text=Go Back;url=javascript:history.go(-1)");
aI("text=Go Forward;url=javascript:history.go(1)");
}


drawMenus();


