fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=4;
_subOffsetLeft=-2;



with(LinkInfoStyle=new mm_style()){
styleid=5;
bordercolor="#1CBE42";
borderstyle="dotted";
borderwidth=2;
fontfamily="verdana,helvetica";
fontsize="14px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#3399CC";
headercolor="#FFFF33";
offbgcolor="#ffffff";
offcolor="#666666";
onbgcolor="#ccffcc";
oncolor="#000000";
padding=5;
separatoralign="left";
separatorcolor="#1CBE42";
separatorwidth="30%";
}

with(menuStyle=new mm_style()){
styleid=4;
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#DCE9F0";
offcolor="#515151";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
onitalic=1;
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorpadding=2;
separatorsize=1;
separatorwidth="90%";
subimage="";
subimagepadding=2;
}

with(EasySampleStyle=new mm_style()){
styleid=3;
bordercolor="#000000";
borderstyle="solid";
borderwidth=0;
fontfamily="verdana";
fontsize="12px";
fontstyle="normal";
fontweight="bold";
//high3dcolor="Transparent";
//low3dcolor="#E08430";
offbgcolor="#7d100d";
offcolor="#c4dbe5";
onbgcolor="#727272";
oncolor="#f2f2f2";
padding=8;
separatorcolor="#000000";
separatorsize=1;
subimage="/DCAPortalWeb/dca/images/arrow.gif";
subimagepadding=8;

}


with(BlackOrange=new mm_style()){
styleid=2;
fontfamily="verdana";
bordercolor="#000000";
borderstyle="solid";
borderwidth=0;
fontsize="11px";
fontstyle="normal";
fontweight="normal";
offbgcolor="#732828";
offcolor="#ffffff";
onbgcolor="#591f1f";
oncolor="#ffffff";
padding=8;
separatorcolor="#000000";
separatorsize=1;
subimage="/Ministry/images/arrow_right.gif";
subimagepadding=8;
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=5)";
}


with(ScrollingSampStyle=new mm_style()){
bordercolor="#666666";
borderstyle="solid";
borderwidth=1;
fontfamily="comic sans ms,verdana,helvetica";
fontsize="60%";
fontstyle="normal";
fontweight="normal";
offbgcolor="#ffffff";
offcolor="#666666";
onbgcolor="#ff9933";
oncolor="#000000";
padding=3;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=EasySampleStyle;
aI("text=Home;url=/DCAPortalWeb/dca/myDCAAction.do?tabs=1&sessioncheck=yes;");
//aI("showmenu=Services;text=&nbsp;&nbsp;&nbsp;Services&nbsp;&nbsp;&nbsp;;");
aI("text=&nbsp;&nbsp;&nbsp;Legislation&nbsp;&nbsp;&nbsp;;url=/MCA21/companies_act.html;target=_new");
aI("showmenu=Information;text=&nbsp;&nbsp;&nbsp;Information&nbsp;&nbsp;&nbsp;;");
aI("showmenu=mysetting;text=&nbsp;&nbsp;&nbsp;My Settings&nbsp;&nbsp;&nbsp;;");
aI("showmenu=Help;text=&nbsp;&nbsp;&nbsp;Help&nbsp;&nbsp;&nbsp;;");
aI("showmenu=;text=&nbsp;&nbsp;&nbsp;Signout&nbsp;&nbsp;&nbsp;;url=/DCAPortalWeb/dca/Login.do?method=logout&sessioncheck=yes;");
//aI("showmenu=Links;text=Links;");
//aI("showmenu=My Milonic;text=My Milonic;");
}

with(milonic=new menuname("Services")){
overflow="scroll";
style=BlackOrange;
top="offset=0";
aI("text=Acquire Digital Signature;url=/MCA21/certifying-new.html;target=_new")
aI("text=Director Identification Number (DIN);url=/MCA21/Din.html;target=_new")
aI("text=Register Digital Signature;url=/MCA21/Rolecheck.html;target=_new")
//aI("text=eFiling;url=/MCA21/efiling.html;target=_new")
aI("text=Annual eFiling;url=/MCA21/AnnualFiling.html;target=_new")
aI("text=Company Master Data &amp; Index of Charges;url=/MCA21/Master_data.html;target=_new")
}

with(milonic=new menuname("Information")){
style=BlackOrange;
top="offset=0";
aI("text=Authorised Banks;url=javascript:openbankwin();;");
//aI("text=Certified Filing Centers;url=/MCA21/dca/cfc/CFCCorner.html;target=_new");
aI("text=Facilitation Centers;url=javascript:openpfo();;");
aI("text=Certifying Authorities;url=javascript:StaticHomePage('/MCA21/dca_html/common/certifying-new.html');");
aI("text=Download Prerequisite Software;url=javascript:opensys();;");
aI("text=Rates of Stamp Duty;url=/MCA21/dca/efiling/eStamp_rate.pdf;target=_new");
aI("text=NIC-2004;url=/MCA21/dca/efiling/NIC-2004_detail_19jan2009.pdf;target=_new");
}

with(milonic=new menuname("mysetting")){
style=BlackOrange;
top="offset=0";
aI("text=My Profile;url=/DCAPortalWeb/dca/userProfileUpdt.do?method=getUserProfile&sessioncheck=yes;");
aI("text=Change password&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;url=/DCAPortalWeb/dca/ChangePwd.do;");
}

with(milonic=new menuname("Help")){
style=BlackOrange;
top="offset=0";
aI("text=eFiling Updates&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;url=javascript:StaticHomePage('/MCA21/dca_html/help/efiling.html');");
aI("text=FAQs;url=javascript:StaticHomePage('/MCA21/dca_html/help/faq_index.html');");
aI("text=Instruction Kit;url=javascript:StaticHomePage('/MCA21/dca_html/help/instructionkit.html');");
aI("text=Training Notes;url=/MCA21/dca/WebHelp/MCA_Help.htm;target=_new");
//aI("text=MCA21 Helpdesk;url=/DCAPortalWeb/dca/Feedback.do?method=feedbackpage;");
aI("text=Call Us;url=javascript:callus();;");

}

drawMenus();


/*var win;
		function openNewWindow(url)
		{
		  win=window.open(url,"blank","scrollbars=no,menu=0,location=0,toolbar=0,statusbar=0,resizable=yes,WIDTH=790 HEIGHT=515,left=0,top=0");
		}
		
		window.onunload = function(evt)
		{
			//alert("in warn user");
			evt=window.event;
			if(evt != null)
			{
				evt.returnValue= "Closing this window will lead to errors in the course";
			}			
			return "Closing this window will lead to errors in the course";

		}*/
function openbankwin()
{
 window.open("/MCA21/dca/banks/banks_new.html","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=yes, width=580, height=370 top=200 left=150")
}

function opensys()
{
window.open("/MCA21/dca/common/system.html","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=yes, width=500, height=500, top=200, left=150")

}

function openpfo()
{
window.open("/MCA21/dca/pfo/facilitation.html","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=yes, width=880, height=687 top=0, left=100")

}
function opencbt()
{

window.open("/MCA21/dca/cbt/MasterScreen.html","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=yes, width=830, height=600 top=10 left=100")

}
function callus()
{
  window.open("/MCA21/dca/common/callus.html","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=yes, width=760, height=232, top=200, left=150")
}

function openComplaintsForm(){
	var URL = '/DCAPortalWeb/dca/EFormDisplay.do?method=getForm&contentId=1021&taskID=9501';
	window.open(URL,"FormWindow",'toolbar=0,status=1,menubar=0,resizable=1,scrollbars=1');
}
