_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=7               // Sub menu top offset
_subOffsetLeft=0            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x
with(menuStyle=new mm_style()){
onbgcolor="#F1F1F1"; 
oncolor="#000000"; 
offbgcolor="#D1D1D1";
offcolor="#444444"; 
padding=2;
fontsize="8pt";
fontweight="normal";
fontstyle="normal";
fontfamily="arial,verdana,comic sans ms,technical";
}
  with(milonic=new menuname("VMenu1")){
  style=menuStyle;
  alwaysvisible=1;
  orientation="horizontal";
  position="relative";
  aI("image=" + imageHom + ";overimage=" + imageHom_ov + ";url="+strCodeBase+"htm/hom/index.htm");
  aI("image=" + imageAbo + ";overimage=" + imageAbo_ov + ";showmenu=Sub2;url="+strCodeBase+"htm/abo/abo01.htm");
  aI("image=" + imageSer + ";overimage=" + imageSer_ov + ";showmenu=Sub3;url=");
  aI("image=" + imageEse + ";overimage=" + imageEse_ov + ";showmenu=Sub4;url="+strCodeBase+"htm/ese/ese01.htm");
  aI("image=" + imageNew + ";overimage=" + imageNew_ov + ";showmenu=Sub6;url=");
  aI("image=" + imagePol + ";overimage=" + imagePol_ov + ";showmenu=Sub9;url=");
  aI("image=" + imageCar + ";overimage=" + imageCar_ov + ";showmenu=Sub5;url="+strCodeBase+"htm/car/car01.htm");
  aI("image=" + imageLin + ";overimage=" + imageLin_ov + ";url="+strCodeBase+"htm/lin/lin01.htm");
  aI("image=" + imageFaq + ";overimage=" + imageFaq_ov + ";url="+"javascript:openFAQ();");
  aI("image=" + imageGal + ";overimage=" + imageGal_ov + ";showmenu=Sub10;url="+strCodeBase+"htm/gallery/PhotoGallery.htm");																	  
																				  //"javascript:window.showModalDialog('http://www.ifaq.gov.sg/sla/','Dialogue','dialogHeight: 451px; dialogWidth: 591px; edge: Sunken; center: Yes; help: No; resizable: No; status: No;');");

}

with(milonic=new menuname("Sub2")){
style=menuStyle;
subOffsetLeft = 0;  
  aI("image=" + strCodeBase + "images/common/nav/sub_abo2.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo2_ov.gif;url="+strCodeBase+"htm/abo/abo02.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_abo3.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo3_ov.gif;url="+strCodeBase+"htm/abo/abo03.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_abo4.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo4_ov.gif;url="+strCodeBase+"htm/abo/abo04.htm");  
  aI("image=" + strCodeBase + "images/common/nav/sub_abo5.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo5_ov.gif;url="+strCodeBase+"htm/abo/abo05.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_abo6.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo6_ov.gif;url="+strCodeBase+"htm/cnt/cnt01.htm");  
  <!--aI("image=" + strCodeBase + "images/common/nav/sub_abo7.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo7_ov.gif;url="+strCodeBase+"htm/abo/abo07.htm");-->
  aI("image=" + strCodeBase + "images/common/nav/sub_abo8.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo8_ov.gif;url="+strCodeBase+"htm/abo/abo08.htm");
  
  aI("image=" + strCodeBase + "images/common/nav/comm-a.gif;overimage=" + strCodeBase + "images/common/nav/comm-b.gif;url="+strCodeBase+"htm/abo/abo09.htm");  
  
  aI("image=" + strCodeBase + "images/common/nav/serstand-a.gif;overimage=" + strCodeBase + "images/common/nav/serstand-b.gif;url="+strCodeBase+"htm/abo/abo10.htm");  
}

with(milonic=new menuname("Sub2")){
style=menuStyle;
subOffsetLeft = 0;  
  aI("image=" + strCodeBase + "images/common/nav/sub_abo2.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo2_ov.gif;url="+strCodeBase+"htm/abo/abo02.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_abo3.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo3_ov.gif;url="+strCodeBase+"htm/abo/abo03.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_abo4.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo4_ov.gif;url="+strCodeBase+"htm/abo/abo04.htm");  
  aI("image=" + strCodeBase + "images/common/nav/sub_abo5.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo5_ov.gif;url="+strCodeBase+"htm/abo/abo05.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_abo6.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo6_ov.gif;url="+strCodeBase+"htm/cnt/cnt01.htm");  
  <!--aI("image=" + strCodeBase + "images/common/nav/sub_abo7.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo7_ov.gif;url="+strCodeBase+"htm/abo/abo07.htm");-->
  aI("image=" + strCodeBase + "images/common/nav/sub_abo8.gif;overimage=" + strCodeBase + "images/common/nav/sub_abo8_ov.gif;url="+strCodeBase+"htm/abo/abo08.htm");
  
  aI("image=" + strCodeBase + "images/common/nav/comm-a.gif;overimage=" + strCodeBase + "images/common/nav/comm-b.gif;url="+strCodeBase+"htm/abo/abo09.htm");  
  
  aI("image=" + strCodeBase + "images/common/nav/serstand-a.gif;overimage=" + strCodeBase + "images/common/nav/serstand-b.gif;url="+strCodeBase+"htm/abo/abo10.htm");  
}

/* services */

with(milonic=new menuname("Sub3")){
style=menuStyle;
subOffsetLeft = 0;
  aI("image=" + strCodeBase + "images/common/nav/sub-ser-rent-a.gif;overimage=" + strCodeBase + "images/common/nav/sub-ser-rent-b.gif;url="+strCodeBase+"htm/ser/ser0206.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub-ser-buying-a.gif;overimage=" + strCodeBase + "images/common/nav/sub-ser-buying-b.gif;url="+strCodeBase+"htm/ser/ser02.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub-ser-register-a.gif;overimage=" + strCodeBase + "images/common/nav/sub-ser-register-b.gif;url="+strCodeBase+"htm/ser/ser03.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub-ser-land-a.gif;overimage=" + strCodeBase + "images/common/nav/sub-ser-land-b.gif;url="+strCodeBase+"htm/ser/ser04.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub-ser-landInfo.gif;overimage=" + strCodeBase + "images/common/nav/sub-ser-landInfo-b.gif;url="+strCodeBase+"htm/ser/ser05.htm");
   aI("image=" + strCodeBase + "images/common/nav/sub-ser-change-a.gif;overimage=" + strCodeBase + "images/common/nav/sub-ser-change-b.gif;url="+strCodeBase+"htm/ser/ser0204.htm");
     aI("image=" + strCodeBase + "images/common/nav/sub_rentTemp.gif;overimage=" + strCodeBase + "images/common/nav/sub_rentTemp_ov.gif;url="+strCodeBase+"htm/rsl/rsl.htm");  
  aI("image=" + strCodeBase + "images/common/nav/sub-ser-casualnRec.gif;overimage=" + strCodeBase + "images/common/nav/sub-ser-casualnRec-b.gif;url="+strCodeBase+"htm/ser/ser0208.htm");
  
     aI("image=" + strCodeBase + "images/common/nav/sub_ser9.gif;overimage=" + strCodeBase + "images/common/nav/sub_ser9_ov.gif;url="+strCodeBase+"htm/ser/ser0306.htm");
}
// Begin Updated on 04 Dec 2007
with(milonic=new menuname("Sub4")){
style=menuStyle;
subOffsetLeft = 0;  
   aI("image=" + strCodeBase + "images/common/nav/mapgov-a.gif;overimage=" + strCodeBase + "images/common/nav/mapgov-b.gif;url=http://www.onemap.sg;target=_blank");
   
     aI("image=" + strCodeBase + "images/common/nav/sub_ese3.gif;overimage=" + strCodeBase + "images/common/nav/sub_ese3_ov.gif;url=http://www.spio.sla.gov.sg;target=_blank");
	 
	aI("image=" + strCodeBase + "images/common/nav/sirent-a.gif;overimage=" + strCodeBase + "images/common/nav/sirent-b.gif;url=http://www.sirent.inlis.gov.sg;target=_blank");
	
  aI("image=" + strCodeBase + "images/common/nav/sub_ese1.gif;overimage=" + strCodeBase + "images/common/nav/sub_ese1_ov.gif;url=http://www.inlis.gov.sg;target=_blank");
  
  aI("image=" + strCodeBase + "images/common/nav/sub_ese2.gif;overimage=" + strCodeBase + "images/common/nav/sub_ese2_ov.gif;url=http://www.stars.gov.sg/ELS;target=_blank");   
}
// End Updated on 05 May 2006

with(milonic=new menuname("Sub5")){
style=menuStyle;
subOffsetLeft = 0;  
  aI("image=" + strCodeBase + "images/common/nav/sub_car2.gif;overimage=" + strCodeBase + "images/common/nav/sub_car2_ov.gif;url="+strCodeBase+"htm/car/car02.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_car3.gif;overimage=" + strCodeBase + "images/common/nav/sub_car3_ov.gif;url="+strCodeBase+"htm/car/car03.htm");
}

with(milonic=new menuname("Sub6")){
style=menuStyle;
subOffsetLeft = 0;
  aI("image=" + strCodeBase + "images/common/nav/sub_new2.gif;overimage=" + strCodeBase + "images/common/nav/sub_new2_ov.gif;url="+strCodeBase+"htm/new/new02.htm");  
  aI("image=" + strCodeBase + "images/common/nav/sub_new3.gif;overimage=" + strCodeBase + "images/common/nav/sub_new3_ov.gif;url="+strCodeBase+"htm/new/new03.htm");  
  aI("image=" + strCodeBase + "images/common/nav/sub_new5.gif;overimage=" + strCodeBase + "images/common/nav/sub_new5_ov.gif;url="+strCodeBase+"htm/new/new04.htm");  
  aI("image=" + strCodeBase + "images/common/nav/sub_new4.gif;overimage=" + strCodeBase + "images/common/nav/sub_new4_ov.gif;url="+strCodeBase+"htm/new/new05.htm");  
  aI("image=" + strCodeBase + "images/common/nav/sub_new6.gif;overimage=" + strCodeBase + "images/common/nav/sub_new6_ov.gif;url="+strCodeBase+"htm/new/new06.htm");  
   aI("image=" + strCodeBase + "images/common/nav/sub_new7.gif;overimage=" + strCodeBase + "images/common/nav/sub_new7_ov.gif;url="+strCodeBase+"htm/new/new07.htm"); 
}

with(milonic=new menuname("Sub8")){
style=menuStyle;
subOffsetLeft = 0;
  aI("image=" + strCodeBase + "images/common/nav/sub_faq1.gif;overimage=" + strCodeBase + "images/common/nav/sub_faq1_ov.gif;url="+strCodeBase+"htm/faq/faq01.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_faq2.gif;overimage=" + strCodeBase + "images/common/nav/sub_faq2_ov.gif;url="+strCodeBase+"htm/faq/faq02.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_faq3.gif;overimage=" + strCodeBase + "images/common/nav/sub_faq3_ov.gif;url="+strCodeBase+"htm/faq/faq03.htm");
}

with(milonic=new menuname("Sub9")){
style=menuStyle;
subOffsetLeft = 0;
  aI("image=" + strCodeBase + "images/common/nav/sub_pol1.gif;overimage=" + strCodeBase + "images/common/nav/sub_pol1_ov.gif;url="+strCodeBase+"htm/pol/pol01.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_pol2.gif;overimage=" + strCodeBase + "images/common/nav/sub_pol2_ov.gif;url="+strCodeBase+"htm/pol/pol02.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_pol3.gif;overimage=" + strCodeBase + "images/common/nav/sub_pol3_ov.gif;url="+strCodeBase+"htm/pol/pol03.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_pol4.gif;overimage=" + strCodeBase + "images/common/nav/sub_pol4_ov.gif;url="+strCodeBase+"htm/pol/pol04.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_pol5.gif;overimage=" + strCodeBase + "images/common/nav/sub_pol5_ov.gif;url="+strCodeBase+"htm/pol/pol05.htm");
}


//  Updated on 15 Jun 2009

with(milonic=new menuname("Sub10")){
style=menuStyle;
subOffsetLeft = 0;
  aI("image=" + strCodeBase + "images/common/nav/sub_gal1.gif;overimage=" + strCodeBase + "images/common/nav/sub_gal1_ov.gif;url="+strCodeBase+"htm/gallery/video.htm");
  aI("image=" + strCodeBase + "images/common/nav/sub_gal2.gif;overimage=" + strCodeBase + "images/common/nav/sub_gal2_ov.gif;url="+strCodeBase+"htm/gallery/PhotoGallery.htm");
}

// End Updated on 15 Jun 2009



/* Testing */

//To open FAQ
			function openFAQ()
			{
			  winEve3Details = window.open("http://www.ifaq.gov.sg/sla/","winEve3Details","menubar=no, toolbar=no, status=yes, resizable=yes, scrollbars=yes, height=450, width=680");
			  winEve3Details.focus();
			}
			
			

drawMenus();
