//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function MM_findObj(n, d)   //v3.0
   { 
   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); 
      }
   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];}
   }
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
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_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 fwLoadMenus() 
   {   
   var nCtr     = 0;                                   // Counter for loops...  
   var sPath    = '';                                  // String to contain the final built path...
   var sURL     = document.location.href;              // Current url for the page...
   var nAt      = sURL.indexOf('/htdocs');             // location of start of the string /htdocs/, root directory...
   var sTemp    = sURL.slice(nAt+1,99);                // temporary string...
   var sDomain  = document.domain;
   
   sDomain = sDomain.toUpperCase();
   
   if ( (sDomain == "ZIXIT-WEB") || (sDomain == "LINUXWEB_DEV")  )   
      {
      for (nCtr=0 ; nCtr < sTemp.length ; nCtr++)
         {     
         if (sTemp.charAt(nCtr) == '/')
            {         
            sPath = sPath + '../'
            }  
         }      
      sPath = sPath + 'htdocs/';   
      }
   else
      {
      nAt   = sURL.indexOf('.com');             // location of start of the string /htdocs/, root directory...
      sTemp = sURL.slice(nAt+1,99);                // temporary string...
      for (nCtr=0 ; nCtr < sTemp.length ; nCtr++)
         {     
         if (sTemp.charAt(nCtr) == '/')
            {         
            sPath = sPath + '../'
            }
         }
      }
     
   window.fw_menu_0 = new Menu("root",150,17,"Verdana, Arial, Helvetica, sans-serif",10,"#0b3d91","#ffffff","#ffffff","#0b3d91");
   fw_menu_0.addMenuItem("Overview","location='"                    + sPath + "products/products.htm'");
   fw_menu_0.addMenuItem("ZixVPM","window.open('"                   + sPath + "products/zixvpm.htm', '_self');");
   fw_menu_0.addMenuItem("ZixBlast","window.open('"                 + sPath + "products/zixblast.htm', '_self');");
   fw_menu_0.addMenuItem("ZixMail","window.open('"                  + sPath + "products/zixmail.htm', '_self');");
   fw_menu_0.addMenuItem("Secure Data Center","window.open('"       + sPath + "products/datacenter.htm', '_self');");
   fw_menu_0.addMenuItem("White Papers","window.open('"             + sPath + "products/whitepapers.htm', '_self');");
   fw_menu_0.addMenuItem("Testimonials","window.open('"             + sPath + "products/testimonials.htm', '_self');");
   fw_menu_0.addMenuItem("Industry Solutions","window.open('"       + sPath + "products/industries.htm', '_self');");
   fw_menu_0.addMenuItem("Data Center Tour","window.open('"         + sPath + "dcswf2.htm', '_self');");  
   fw_menu_0.addMenuItem("Licenses & Agreements","window.open('"    + sPath + "products/agreements.htm', '_self');"); 
   fw_menu_0.addMenuItem("Acknowledgements","window.open('"         + sPath + "products/acknowledgements.htm', '_self');");
   fw_menu_0.hideOnMouseOut=true;   
     
   window.fw_menu_1 = new Menu("root",130,17,"Verdana, Arial, Helvetica, sans-serif",10,"#0b3d91","#ffffff","#ffffff","#0b3d91");
   fw_menu_1.addMenuItem("Buy Now","window.open('https://accounts.zixit.com/email.html', '_self');");
   fw_menu_1.addMenuItem("Download Free Trial","window.open('"      + sPath + "products/download.htm', '_self');");
   fw_menu_1.addMenuItem("Update Versions","window.open('"          + sPath + "getzixmail/update.htm', '_self');");
   fw_menu_1.hideOnMouseOut=true;
  
   window.fw_menu_2 = new Menu("root",159,17,"Verdana, Arial, Helvetica, sans-serif",10,"#0b3d91","#ffffff","#ffffff","#0b3d91");
   fw_menu_2.addMenuItem("Support Overview","window.open('"         + sPath + "support/support.htm', '_self');");   
   //fw_menu_2.addMenuItem("My Account","window.open('https://zixmessagecenter.com/s/composeview', '_new');");   
   fw_menu_2.addMenuItem("My Account","window.open('https://accounts.zixit.com/email.html', '_blank');");   
   fw_menu_2.addMenuItem("ZixMail Help","window.open('"             + sPath + "support/support2.htm', '_self');");
   fw_menu_2.addMenuItem("ZixMail for Outlook Help","window.open('" + sPath + "support/outlookhelp.htm', '_self');");
   fw_menu_2.addMenuItem("ZixMail.net Help","window.open('"         + sPath + "support/zixmailnethelp.htm', '_self');");
   fw_menu_2.addMenuItem("Signature Manager","window.open('"        + sPath + "support/signaturemanager.htm', '_self');");
   fw_menu_2.addMenuItem("Quick Reference","window.open('"          + sPath + "support/quickreference.htm', '_self');");
   fw_menu_2.addMenuItem("FAQ","window.open('"                      + sPath + "support/faq.htm', '_self');");
   fw_menu_2.addMenuItem("Glossary","window.open('"                 + sPath + "support/glossary.htm', '_self');");
   fw_menu_2.addMenuItem("Contact Support","window.open('"          + sPath + "support/contactsupport.htm', '_self');");
   fw_menu_2.hideOnMouseOut=true;
   
   window.fw_menu_3 = new Menu("root",77,17,"Verdana, Arial, Helvetica, sans-serif",10,"#0b3d91","#ffffff","#ffffff","#0b3d91");
   fw_menu_3.addMenuItem("Intro","window.open('"                    + sPath + "sendzixmail/sendzixmail.htm', '_self');");
   fw_menu_3.addMenuItem("Register","window.open('https://zixmessagecenter.com/', '_blank');");   
   fw_menu_3.addMenuItem("Compose","window.open('https://zixmessagecenter.com/s/composeview', '_blank');");   
   fw_menu_3.hideOnMouseOut=true;    
   
   //window.fw_menu_3 = new Menu("root",77,17,"Verdana, Arial, Helvetica, sans-serif",10,"#0b3d91","#ffffff","#ffffff","#0b3d91");
   //fw_menu_3.addMenuItem("Intro","window.open('"                    + sPath + "sendzixmail/sendzixmail.htm', '_self');");
   //fw_menu_3.addMenuItem("Register","window.open('https://zixmessagecenter.com/', '_self');");
   //fw_menu_3.addMenuItem("My Account","window.open('https://accounts.zixit.com/email.html', '_new');");
   //fw_menu_3.addMenuItem("Compose","window.open('https://zixmessagecenter.com/s/composeview', '_new');");
   //fw_menu_3.addMenuItem("Support","window.open('"                  + sPath + "support/zixmailnethelp.htm', '_self');");
   //fw_menu_3.addMenuItem("Purchase","window.open('https://accounts.zixit.com/email.html', '_new');");
   //fw_menu_3.hideOnMouseOut=true;    
   
   window.fw_menu_4 = new Menu("root",130,17,"Verdana, Arial, Helvetica, sans-serif",10,"#0b3d91","#ffffff","#ffffff","#0b3d91");
   fw_menu_4.addMenuItem("Company Overview","window.open('"         + sPath + "aboutzixit/aboutzixit.htm', '_self');");
   fw_menu_4.addMenuItem("Press Releases","window.open('http://www.corporate-ir.net/ireye/ir_site.zhtml?ticker=zixi&script=400&layout=-6', '_self');");
   fw_menu_4.addMenuItem("News &amp; Events","window.open('"        + sPath + "aboutzixit/newsevents.htm', '_self');");
   fw_menu_4.addMenuItem("Partners","window.open('"                 + sPath + "aboutzixit/partners.htm', '_self');");
   fw_menu_4.addMenuItem("Careers","window.open('"                  + sPath + "aboutzixit/careers.htm', '_self');");
   fw_menu_4.addMenuItem("Investor Relations","location='"          + sPath + "aboutzixit/investorrelations.htm'");
   fw_menu_4.addMenuItem("Contact Us","location='"                  + sPath + "aboutzixit/contactus.htm'");
   fw_menu_4.addMenuItem("Privacy Policy","location='http://www.zixit.com/aboutzixit/privacypolicy.htm'");
   fw_menu_4.hideOnMouseOut=true;
   fw_menu_4.writeMenus();
   
   } // fwLoadMenus()
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function fwLoadMenus_old() 
   {
               
   if (window.fw_menu_0) return;
      
   window.fw_menu_0 = new Menu("root",150,17,"Verdana, Arial, Helvetica, sans-serif",10,"#0b3d91","#ffffff","#ffffff","#0b3d91");
   fw_menu_0.addMenuItem("Overview","location='http://www.zixit.com/products/products.htm'");
   fw_menu_0.addMenuItem("ZixVPM","window.open('http://www.zixit.com/products/zixvpm.htm', '_self');");
   fw_menu_0.addMenuItem("ZixBlast","window.open('http://www.zixit.com/products/zixblast.htm', '_self');");
   fw_menu_0.addMenuItem("ZixMail","window.open('http://www.zixit.com/products/zixmail.htm', '_self');");
   fw_menu_0.addMenuItem("Secure Data Center","window.open('http://www.zixit.com/products/datacenter.htm', '_self');");
   fw_menu_0.addMenuItem("White Papers","window.open('http://www.zixit.com/products/whitepapers.htm', '_self');");
   fw_menu_0.addMenuItem("Testimonials","window.open('http://www.zixit.com/products/testimonials.htm', '_self');");
   fw_menu_0.addMenuItem("Industry Solutions","window.open('http://www.zixit.com/products/industries.htm', '_self');");
   fw_menu_0.addMenuItem("Data Center Tour","window.open('http://www.zixit.com/dcswf2.htm', '_self');");  
   fw_menu_0.addMenuItem("Licenses & Agreements","window.open('http://www.zixit.com/products/agreements.htm', '_self');"); 
   fw_menu_0.addMenuItem("Acknowledgements","window.open('http://www.zixit.com/products/acknowledgements.htm', '_self');");
   fw_menu_0.hideOnMouseOut=true;
  
   window.fw_menu_1 = new Menu("root",130,17,"Verdana, Arial, Helvetica, sans-serif",10,"#0b3d91","#ffffff","#ffffff","#0b3d91");
   fw_menu_1.addMenuItem("Buy Now","window.open('https://accounts.zixit.com/email.html', '_self');");
   fw_menu_1.addMenuItem("Download Free Trial","window.open('http://www.zixit.com/products/download.htm', '_self');");
   fw_menu_1.addMenuItem("Update Versions","window.open('http://www.zixit.com/getzixmail/update.htm', '_self');");
   fw_menu_1.hideOnMouseOut=true;
  
   window.fw_menu_2 = new Menu("root",159,17,"Verdana, Arial, Helvetica, sans-serif",10,"#0b3d91","#ffffff","#ffffff","#0b3d91");
   fw_menu_2.addMenuItem("Support Overview","window.open('http://www.zixit.com/support/support.htm', '_self');");
   fw_menu_2.addMenuItem("My Account","window.open('https://zixmessagecenter.com/s/composeview', '_self');");
   fw_menu_2.addMenuItem("ZixMail Help","window.open('http://www.zixit.com/support/support2.htm', '_self');");
   fw_menu_2.addMenuItem("ZixMail for Outlook Help","window.open('http://www.zixit.com/support/outlookhelp.htm', '_self');");
   fw_menu_2.addMenuItem("ZixMail.net Help","window.open('http://www.zixit.com/support/zixmailnethelp.htm', '_self');");
   fw_menu_2.addMenuItem("Signature Manager","window.open('http://www.zixit.com/support/signaturemanager.htm', '_self');");
   fw_menu_2.addMenuItem("Quick Reference","window.open('http://www.zixit.com/support/quickreference.htm', '_self');");
   fw_menu_2.addMenuItem("FAQ","window.open('http://www.zixit.com/support/faq.htm', '_self');");
   fw_menu_2.addMenuItem("Glossary","window.open('http://www.zixit.com/support/glossary.htm', '_self');");
   fw_menu_2.addMenuItem("Contact Support","window.open('http://www.zixit.com/support/contactsupport.htm', '_self');");
   fw_menu_2.hideOnMouseOut=true;
   
   window.fw_menu_3 = new Menu("root",77,17,"Verdana, Arial, Helvetica, sans-serif",10,"#0b3d91","#ffffff","#ffffff","#0b3d91");
   fw_menu_3.addMenuItem("Intro","window.open('http://www.zixit.com/sendzixmail/sendzixmail.htm', '_self');");
   fw_menu_3.addMenuItem("Register","window.open('https://zixmessagecenter.com/', '_self');");
   fw_menu_3.addMenuItem("My Account","window.open('https://accounts.zixit.com/email.html', '_self');");
   fw_menu_3.addMenuItem("Compose","window.open('https://zixmessagecenter.com/s/composeview', '_self');");
   fw_menu_3.addMenuItem("Support","window.open('http://www.zixit.com/support/zixmailnethelp.htm', '_self');");
   fw_menu_3.addMenuItem("Purchase","window.open('https://accounts.zixit.com/email.html', '_self');");
   fw_menu_3.hideOnMouseOut=true;    
   
   window.fw_menu_4 = new Menu("root",130,17,"Verdana, Arial, Helvetica, sans-serif",10,"#0b3d91","#ffffff","#ffffff","#0b3d91");
   fw_menu_4.addMenuItem("Company Overview","window.open('http://www.zixit.com/aboutzixit/aboutzixit.htm', '_self');");
   fw_menu_4.addMenuItem("Press Releases","window.open('http://www.corporate-ir.net/ireye/ir_site.zhtml?ticker=zixi&script=400&layout=-6', '_self');");
   fw_menu_4.addMenuItem("News &amp; Events","window.open('http://www.zixit.com/aboutzixit/newsevents.htm', '_self');");
   fw_menu_4.addMenuItem("Partners","window.open('http://www.zixit.com/aboutzixit/partners.htm', '_self');");
   fw_menu_4.addMenuItem("Careers","window.open('http://www.zixit.com/aboutzixit/careers.htm', '_self');");
   fw_menu_4.addMenuItem("Investor Relations","location='http://www.zixit.com/aboutzixit/investorrelations.htm'");
   fw_menu_4.addMenuItem("Contact Us","location='http://www.zixit.com/aboutzixit/contactus.htm'");
   fw_menu_4.addMenuItem("Privacy Policy","location='http://www.zixit.com/aboutzixit/privacypolicy.htm'");
   fw_menu_4.hideOnMouseOut=true;
   fw_menu_4.writeMenus();
   
   } // fwLoadMenus()
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function preload_images() //v3.0
   { 
   MM_preloadImages('images/menu_products_f2.gif','images/menu_getzixmail_f2.gif','images/menu_support_f2.gif','images/menu_send_f2.gif','images/menu_about_f2.gif','images/menu_home_f2.gif');
   }
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

