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="Arial";
fontsize="9pt";
fontstyle="normal";
fontweight="bold";
//high3dcolor="Transparent";
//low3dcolor="#E08430";
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#999999";
oncolor="#ffffff";
padding=4;
separatorcolor="#000000";
separatorsize=0;
subimage="/MCA21/images/arrow_link.gif";
subimagepadding=10;

}



with(BlackOrange=new mm_style()){
styleid=2;
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
offbgcolor="#ffffff";
offcolor="#000000";
onbgcolor="#0C5285";
oncolor="#ffffff";
padding=3;
separatorcolor="black";
separatorsize=1;
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="vertical";
style=EasySampleStyle;
aI("text=Annual eFiling;url=/MCA21/dca/annualfiling/annual_filing.html;");
aI("text=Upload eForm;url=/DCAPortalWeb;");
aI("text=Check Filing Status;url=/DCAPortalWeb/dca/MyMCALogin.do?method=setDefaultProperty&mode=35;");
aI("text=eFiling Guidelines;url=/MCA21/dca/annualfiling/eFiling_Guidelines.html;");
aI("text=Convert to PDF- Faq's;url=/MCA21/dca/annualfiling/faq_pdf_conversion.html;");
aI("text=Do's & Don't's;url=/MCA21/dca/annualfiling/do_dont.html;");
aI("text=Faq's;url=/MCA21/dca/annualfiling/faq_annualfiling1.html;");
}
with(milonic=new menuname("APDoc")){
overflow="scroll";
style=BlackOrange;
top="offset=0";
aI("text=View Public Documents;url=/DCAPortalWeb/dca/MyMCALogin.do?method=setDefaultProperty&mode=12;")
aI("text=Get Certified Copies;url=/DCAPortalWeb/dca/MyMCALogin.do?method=setDefaultProperty&mode=13;")
}

with(milonic=new menuname("IGriev")){
style=BlackOrange;
top="offset=0";
aI("text=Lodge Complaint;url=javascript:openComplaintsForm();;");
aI("text=Track Complaint Status;url=/DCAPortalWeb/dca/MyMCALogin.do?method=setDefaultProperty&mode=20;");
}

with(milonic=new menuname("RegInfo")){
style=BlackOrange;
top="offset=0";
aI("text=Plantation Companies;url=/MCA21/dca/RegulatoryRep/pdf/Plantation_Companies_6nov2008.pdf;target=_new");
aI("text=NBFC Companies;url=/MCA21/dca/RegulatoryRep/pdf/Nbfc_Companies_6nov2008.pdf;target=_new");
aI("text=Nidhi Companies;url=/MCA21/dca/RegulatoryRep/pdf/Nidhi_Companies_6nov2008.pdf;target=_new");
aI("text=Section25 Companies;url=/MCA21/dca/RegulatoryRep/pdf/Section25_Companies_6nov2008.pdf;target=_new");
aI("text=Chit Fund Companies;url=/MCA21/dca/RegulatoryRep/pdf/Chit_Fund_Companies_6nov2008.pdf;target=_new");
aI("text=Vanishing Companies;url=/MCA21/dca/RegulatoryRep/pdf/Vanishing_Companies_6nov2008.pdf;target=_new");
}

with(milonic=new menuname("OServ")){
style=BlackOrange;
top="offset=0";
aI("text=Find CIN/GLN;url=/DCAPortalWeb/dca/MyMCALogin.do?method=setDefaultProperty&mode=14;");
aI("text=Fee Calculator;url/DCAPortalWeb/dca/MyMCALogin.do?method=setDefaultProperty&mode=15;");
aI("text=Check Company or LLP Name;url=/DCAPortalWeb/dca/MyMCALogin.do?method=setDefaultProperty&mode=16;");
aI("text=View Transaction Status PFO;url=/DCAPortalWeb/dca/MyMCALogin.do?method=setDefaultProperty&mode=33;");
}
drawMenus();


var win;
		function openNewWindow(url)
		{
		  win=window.open(url,"blank","scrollbars=no,menu=0,location=0,toolbar=0,statusbar=0,resizable=no,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=450, height=300 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=760 top=-10 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=470 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');
}
