function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// JavaScript Document
function mmLoadMenus() {
  if (window.mm_menu_0116111601_0) return;
  
  // Set style variables that are comon to all menus
  var menuBorderColor = '#787369';
  var menuBackgroundColor = '#4E4E4F';
  var menuBorderWidth = 1;
  var menuRowHeight = 18;
  var cellPaddingAmount = 0;
  var rolloverBGColor = "#4E4E4F";
  var rolloverTextColor = "#C7C0B5";
  var fontSize = "10";
  var timeoutTime = "100";
  
    //Control Panels rollover menu
    window.controlPanels = new Menu("Control Panels",65,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,timeoutTime,-5,20,true,true,true,5,true,true);
    controlPanels.addMenuItem("Contact-TT","location='../contact-TT.htm'");
    controlPanels.addMenuItem("Contact","location='../contact.htm'");
	controlPanels.addMenuItem("Display","location='../display.htm'");
	controlPanels.addMenuItem("Single","location='../single.htm'");
     controlPanels.hideOnMouseOut=true;
     controlPanels.bgColor= menuBorderColor;
     controlPanels.menuBorder=menuBorderWidth;
     controlPanels.menuLiteBgColor= menuBorderColor;
     controlPanels.menuBorderBgColor='';
	 
	 	//Sources rollover menu
    window.Sources = new Menu("Sources",40,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,timeoutTime,-5,20,true,true,true,5,true,true);
    Sources.addMenuItem("DMS4","location='../DMS4.htm'");
     Sources.hideOnMouseOut=true;
     Sources.bgColor= menuBorderColor;
     Sources.menuBorder=menuBorderWidth;
     Sources.menuLiteBgColor= menuBorderColor;
     Sources.menuBorderBgColor='';
	 
	 
    //Control Panels tech specs rollover menu
    window.techPanels = new Menu("Control Panels",65,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,timeoutTime,-5,20,false,true,true,5,true,true);
    techPanels.addMenuItem("Contact-TT","location='../docs/productSheets/ICS_Contact-TT-Cutsheet.pdf'");
    techPanels.addMenuItem("Contact","location='../docs/productSheets/ICS_CONTACT_datasheet.pdf'");
	techPanels.addMenuItem("Display","location='../docs/productSheets/ICS_DISPLAY_datasheet.pdf'");
	techPanels.addMenuItem("Single","location='../docs/productSheets/ICS_SINGLE_datasheet.pdf'");
     techPanels.hideOnMouseOut=true;
     techPanels.bgColor= menuBorderColor;
     techPanels.menuBorder=menuBorderWidth;
     techPanels.menuLiteBgColor= menuBorderColor;
     techPanels.menuBorderBgColor='';
	 
    //Modules tech specs rollover menu
    window.techModules = new Menu("Control Panels",85,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,timeoutTime,-5,20,true,true,true,5,true,true);
    techModules.addMenuItem("IM-iCARD","location='../docs/productSheets/ICS_IM-iPOD_datasheet.pdf'");
	techModules.addMenuItem("TM-XM&reg;","location='../docs/productSheets/ICS_TM-XM_datasheet.pdf'");
	techModules.addMenuItem("TM-SIRIUS&reg;","location='../docs/productSheets/ICS_TM-Sirius_datasheet.pdf'");
	techModules.addMenuItem("TM-AM/FM","location='../docs/productSheets/ICS_TM-AMFM_datasheet.pdf'");
	techModules.addMenuItem("IM-AUDIO","location='../docs/productSheets/ICS_IM-AUDIO_datasheet.pdf'");
     techModules.hideOnMouseOut=true;
     techModules.bgColor= menuBorderColor;
     techModules.menuBorder=menuBorderWidth;
     techModules.menuLiteBgColor= menuBorderColor;
     techModules.menuBorderBgColor='';
	 
  //Main Products rollover menu
    window.productPages = new Menu("productPages",112,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,timeoutTime,1,0,true,true,true,5,true,true);
    productPages.addMenuItem("Products Overview","location='../products.htm'");
	productPages.addMenuItem("iRemote","location='../iremote.htm'");
	productPages.addMenuItem(controlPanels,"location='../controlPanels.htm'");
	productPages.addMenuItem("Receivers","location='../receivers.htm'");
	productPages.addMenuItem("Modules","location='../modules.htm'");
	productPages.addMenuItem(Sources,"location='../DMS4.htm'");
    productPages.addMenuItem("Accessories","location='../accessories.htm'");
     productPages.hideOnMouseOut=true;
     productPages.bgColor= menuBorderColor;
     productPages.menuBorder=menuBorderWidth;
     productPages.menuLiteBgColor= menuBorderColor;
     productPages.menuBorderBgColor='';
	 
  //Our Company Rollover Menu
    window.ourCompany = new Menu("ourCompany",112,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,timeoutTime,-5,0,true,true,true,0,true,true);
    ourCompany.addMenuItem("Company Overview","location='../company.htm'");
	ourCompany.addMenuItem("Executive Team","../location=''");
     ourCompany.hideOnMouseOut=true;
     ourCompany.bgColor= menuBorderColor;
     ourCompany.menuBorder=menuBorderWidth;
     ourCompany.menuLiteBgColor= menuBorderColor;
     ourCompany.menuBorderBgColor='';
	 
  //Learn More Rollover Menu
    window.downloadsMenu = new Menu("Downloads",130,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,timeoutTime,-5,0,true,true,true,5,true,true);
    //downloadsMenu.addMenuItem("Brochures","location='brochure.htm'");
	downloadsMenu.addMenuItem("Product Specs","location='../productSheets.htm'");
	downloadsMenu.addMenuItem("Quick Install Guides ","location='installGuides.htm'");
	downloadsMenu.addMenuItem("End User Guides","location='../userGuides.htm'");
	downloadsMenu.addMenuItem("Consumer Brochure","location='../brochure.htm'");
	downloadsMenu.addMenuItem("Installation Tools","location='installTools.htm'");
	downloadsMenu.addMenuItem("IntelliFile&reg;3","location='intellifile3.htm'");
	downloadsMenu.addMenuItem("ICS Images","location='../imageLibrary.htm'");
	
	//downloadsMenu.addMenuItem("White Papers","location='comingSoon.htm'");
     downloadsMenu.hideOnMouseOut=true;
     downloadsMenu.bgColor= menuBorderColor;
     downloadsMenu.menuBorder=menuBorderWidth;
     downloadsMenu.menuLiteBgColor=menuBorderColor;
     downloadsMenu.menuBorderBgColor='';	

  //Learn More Rollover Menu
    window.learnMoreMenu = new Menu("Learn More",168,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,timeoutTime,1,0,true,true,true,5,true,true);
    learnMoreMenu.addMenuItem("Frequently Asked Questions","location='../faq.cfm'");
	learnMoreMenu.addMenuItem("Glossary of Terms","location='../glossary.cfm'");
	learnMoreMenu.addMenuItem(downloadsMenu,"location='../downloads.htm'");
	learnMoreMenu.addMenuItem("Tech Spec Overview","location='../techSpecs.htm'");
	learnMoreMenu.addMenuItem("Technical Support","location='http://www.intellicontrol.com/techsupport/'");
	learnMoreMenu.addMenuItem("Niles Products","window.open('http://www.nilesaudio.com', '_blank');");
     learnMoreMenu.hideOnMouseOut=true;
     learnMoreMenu.bgColor= menuBorderColor;
     learnMoreMenu.menuBorder=menuBorderWidth;
     learnMoreMenu.menuLiteBgColor=menuBorderColor;
     learnMoreMenu.menuBorderBgColor='';	 
	 
  //News Rollover Menu
    window.newsMenu = new Menu("News",98,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,timeoutTime,-5,0,true,true,true,5,true,true);
    newsMenu.addMenuItem("Press Releases","location='../press.htm'");
	newsMenu.addMenuItem("Awards","location='../awards.htm'");
	newsMenu.addMenuItem("Events","location='../events.htm'");
	newsMenu.addMenuItem("Reviews","location='../reviews.htm'");
	//newsMenu.addMenuItem("White Papers","location='comingSoon.htm'");
     newsMenu.hideOnMouseOut=true;
     newsMenu.bgColor= menuBorderColor;
     newsMenu.menuBorder=menuBorderWidth;
     newsMenu.menuLiteBgColor=menuBorderColor;
     newsMenu.menuBorderBgColor='';	 
	 
  //Our Company Rollover Menu
    window.companyMenu = new Menu("ourCompany",108,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,timeoutTime,-5,0,true,true,true,5,true,true);
    companyMenu.addMenuItem("Executive Bios","location='../company.htm'");
	companyMenu.addMenuItem("Contact Us","location='../contactUs.htm'");
	companyMenu.addMenuItem("About Niles Audio","window.open('http://www.nilesaudio.com', '_blank');");
     companyMenu.hideOnMouseOut=true;
     companyMenu.bgColor= menuBorderColor;
     companyMenu.menuBorder=menuBorderWidth;
     companyMenu.menuLiteBgColor=menuBorderColor;
     companyMenu.menuBorderBgColor='';	 

	 
	 
companyMenu.writeMenus();
} // mmLoadMenus()
