fixMozillaZIndex=false; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=10;
_subOffsetTop=2;
_subOffsetLeft=0;


with(submenuStyle=new mm_style()){
bordercolor="#FFFFFF";
borderstyle="solid";
borderwidth=1;
fontfamily=" verdana";
fontsize="11px";
fontstyle="";
fontweight="";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#3b4d74";
offcolor="#ffffff";
onbgcolor="#c7d3ee";
//onborder="1px dotted #7CB5E8";
oncolor="#3b4d74";
outfilter="randomdissolve(duration=0.5)";
//overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#f7a6ba', Direction=150, Strength=10)";
padding=4;
separatorcolor="#ffffff";
separatorsize=1;
subimagepadding=2;
pagebgcolor="#596986";
pagecolor="#ffffff";
subimagepadding=2;
}

with(menuStyle=new mm_style()){
styleid=1;
bordercolor="#FFFFFF";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial";
fontsize="14px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#329998";
offcolor="#ffffff";
onbgcolor="#AEE6E5";
oncolor="#000000";
//outfilter="randomdissolve(duration=0.3)";
padding=2;
pagecolor="black";
subimagepadding=4;

}


with(milonic=new menuname("aboutus")){
margin=5;
menuwidth=165;
style=submenuStyle;
aI("text=Introduction;url=introduction.asp;");
aI("text=Company Profile;url=about_us.asp;");
aI("text=Quality Policy;url=quality_policy.asp;");
aI("text=Milestones;url=milestone.asp;");
aI("text=Infrastructure & Network;url=infrastructure.asp;");
}


with(milonic=new menuname("products")){
margin=5;
menuwidth=120;
style=submenuStyle;
aI("text=UPS;url=ups.asp;showmenu=ups;");
aI("text=Chargers;url=smps_based.asp;showmenu=chargers;");
aI("text=Custom Solutions;url=high_frequency.asp;showmenu=inverter;");
}

with(milonic=new menuname("ups")){
margin=5;
menuwidth=220;
style=submenuStyle;
aI("text=On Line UPS System;url=ups.asp;showmenu=phase;");
aI("text=Line Interactive UPS System;url=line_interactive.asp;");
aI("text=Lift UPS System;url=lift_ups.asp;");
aI("text=19” Rack mounted UPS System;url=rack_mounted.asp;");
aI("text=Harmonic Filters;url=active_harmonic_filter.asp;showmenu=harmonic_filters");
}

with(milonic=new menuname("phase")){
margin=5;
menuwidth=220;
style=submenuStyle;
aI("text=1 Phase Input - 1 Phase Output;url=ups.asp;");
aI("text=3 Phase Input - 1 Phase Output;url=ups_1.asp;");
aI("text=3 Phase Input - 3 Phase Output;url=ups_2.asp;");
}

with(milonic=new menuname("harmonic_filters")){
margin=5;
menuwidth=160;
style=submenuStyle;
aI("text=Active Harmonic Filter;url=active_harmonic_filter.asp;");
aI("text=Passive Harmonic Filter;url=active_harmonic.asp;");
}

with(milonic=new menuname("LED_Lamps")){
margin=5;
menuwidth=160;
style=submenuStyle;
aI("text=LED House Lights;url=dc_lamps.asp;");
aI("text=LED Industrial Lights;url=dc_lamps_1.asp;");
aI("text=LED Spot / Flood Lights;url=dc_lamps_2.asp;");
}

with(milonic=new menuname("inverter")){
margin=5;
menuwidth=140;
style=submenuStyle;
aI("text=Inverters;url=high_frequency.asp;");
aI("text=Customized Products;url=low_frequency.asp;");
}

with(milonic=new menuname("chargers")){
margin=5;
menuwidth=180;
style=submenuStyle;
aI("text=SMPS Battery Chargers;url=smps_based.asp;");
aI("text=Linear Battery Chargers;url=linear_battery.asp;");
}

with(milonic=new menuname("Renewable_Energy")){
margin=5;
menuwidth=170;
style=submenuStyle;
aI("text=Windmills;url= windmills.asp;");
aI("text=Solar Chargers;url=solar_chargers.asp;");
aI("text=Solar Cum Wind Chargers;url=solar_cum_wind_chargers.asp;");
aI("text=LED Lamps;url=dc_lamps.asp;showmenu=LED_Lamps");
}
/*
with(milonic=new menuname("software")){
margin=5;
menuwidth=200;
style=submenuStyle;
aI("text=Battery Management Software;url=#;");
aI("text=SNMP Software;url=#;");
aI("text=Remote monitoring Solutions;url=#;");
}

with(milonic=new menuname("business")){
margin=5;
menuwidth=150;
style=submenuStyle;
aI("text=Seeking Supplier;url=#;");
aI("text=Seeking Agents;url=#;");
aI("text=Manufacturing Partner;url=#;");
}
*/
with(milonic=new menuname("Embedded_Software_Solutions")){
margin=5;
menuwidth=200;
style=submenuStyle;
aI("text=Battery Management Software;url=battery_mgmt.asp;");
aI("text=Remote Monitoring Solutions;url=remote_monitoring.asp;");
}

with(milonic=new menuname("vision")){
margin=5;
menuwidth=180;
style=submenuStyle;
aI("text=Why Vision Inspection?;url=why_vision.asp;");
aI("text=What is Vision Inspection?;url=what_vision.asp;");
aI("text=Solutions Offered;url=optical_vision.asp;showmenu=solution");
}

with(milonic=new menuname("solution")){
margin=5;
menuwidth=200;
style=submenuStyle;
aI("text=Optical Vision Inspection;url=optical_vision.asp;");
aI("text=Automated Vision Inspection;url=automated_vsion_inspection.asp;");
}


with(milonic=new menuname("services")){
margin=5;
menuwidth=250;
style=submenuStyle;
aI("text=AMC;url=#;");
aI("text=Batteries;url=#;");
aI("text=ISO Consultancy;url=#;");
aI("text=Six Sigma Consultancy;url=#;");
aI("text=Complete Power Solution Consultancy;url=#;");
}

drawMenus();
<!--

//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// --> 

autoComplete=new Object()

function onItemSelect(sType, aArgs)
{
YAHOO.util.Dom.get("form1").submit();
}

function theForm ()
{
autoComplete.itemSelectEvent.subscribe(onItemSelect);
}
function redir()
{	
	location.href="searchresult.asp?sw="+document.form1.sw.value	
}  
