_menuCloseDelay = 500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay = 150 // The time delay before menus open on mouse over
_followSpeed = 5 // Follow scrolling speed
_followRate = 50 // Follow scrolling Rate
_subOffsetTop = -10 // Sub menu top offset
_subOffsetLeft = -10 // Sub menu left offset
_scrollAmount = 3 // Only needed for Netscape 4.x
_scrollDelay = 20 // Only needed for Netcsape 4.x


with(contextStyle = new mm_style)

{
    onbgcolor = "#333333";
    oncolor = "#ffffff";
    offbgcolor = "#89a3b4";
    offcolor = "#000000";
    bordercolor = "#666666";
    borderstyle = "solid";
    borderwidth = 4;
    overfilter = "Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=3)"
    pagecolor = "";
    pagebgcolor = "#red";
    pageborder = "1px solid #ffffff";
    onborder = "1px solid #316AC5";
    separatorcolor = "#FFFFFF";
    //outfilter = "randomdissolve(duration=0.4)"
    separatorsize = "0";

    if(screen.height == 768)
    {
        padding = 5;
    }
    else if(screen.height == 600)
    {
        padding = 4;
    }
    else if(screen.height == 480)
    {
        padding = 3;
    }
    headerbgcolor = "#4F8EB6";
    headercolor = "#ffffff";
    headerborder = "1px solid #000000";
    fontsize = "10";
    fontfamily = "Verdana, Tahoma, Arial";
    subimage = "http://www.pucit.edu.pk/images/black_13x13_greyboxed.gif";

    if(!mac)
    {
        onborder = "1px solid #000000";
    }
}

with(milonic = new menuname("contextMenu"))
{
    top = "offset=2"
    style = contextStyle;
    margin = 3

    aI("text=IBIT Home;url=http://www.ibitpu.edu.pk/;image=js/context/home.gif;status=Back To Home Page;");
    aI("text=Print;url=javascript:window.print();separatorsize=1;image=js/context/print.gif;status=Print the Page;");
    aI("text=Back;url=javascript:history.go(-1);image=js/context/back.gif;status=Previous Page;");
    aI("text=Forward;url=javascript:history.go(1);image=js/context/forward.gif;status=Next Page;");
    aI("text=Refresh;url=javascript:history.go(0);separatorsize=1;image=js/context/browser.gif;status=Refresh the Page");
	//aI("text=View Page Source Menu; url=`view-source:location.href;separatorsize=1;`"); 
	aI("text=Disable This Menu;url=`javascript:var contextDisabled=true;separatorsize=1;closeAllMenus();`"); 
}

drawMenus();
