// Use this variable for double height menus
DoubleHeight=28;

// Used for level widths.  Makes it easier to change the width of the levels
L1_Left_Section_Width=320;

L1_Solutions_Width=101;
L2_Solutions_Width=195;
L3_Solutions_Width=160;
L4_Solutions_Width=110;

L1_Products_Width=99;
L2_Products_Width=195;
L3_Products_Width=185;
L4_Products_Width=190;

L1_Service_Support_Width=167;
L2_Service_Support_Width=150;
L3_Service_Support_Width=180;

L1_Company_Width=106;
L2_Company_Width=170;
L3_Company_Width=100;

L1_Contact_Width=94;
L2_Contact_Width=150;

L1_Right_Section_Width=73;

oM=new makeCM('oM'); 
oM.pxBetween=0;  
oM.fromTop=102; 
oM.rows=1;  
oM.menuPlacement='center';
oM.onlineRoot='http://www.utstar.com';
oM.resizeCheck=1; 
oM.wait=200; 
oM.fillImg='/images/spacer.gif';
oM.zIndex=0;

//Bar Properties
oM.useBar=0; 
oM.barWidth=960; 
oM.barHeight='menu'; 
oM.barClass='clBar';
oM.barX=0;
oM.barY=0; 
oM.barBorderX=0; 
oM.barBorderY=0;
oM.barBorderClass='';

/******************************************
Level layout creation (Note: If levels below are not defined, they inherite the difinition from the level above):
oM.level[x]=new cm_makeLevel( w, h, classReg, classOver, xBorder, yBorder, borderClass, row, align, xOffset, yOffset, img, w,h );
*************************************/

oM.level[0]=new cm_makeLevel(130,21,'clLevel0','clLevel0over',0,0,'clLevel0border',0,'bottom',0,0);
oM.level[1]=new cm_makeLevel(195,20,'clLevel1','clLevel1over',0,0,'clLevel1border',0,'right',1,4,'/images/SiteUT/cm_image.gif',12,9);
oM.level[2]=new cm_makeLevel(185,20,'clLevel2','clLevel2over',0,0,'clLevel2border',0,'right',1,4,'/images/SiteUT/cm_image.gif',12,9);
/******************************************
Menu item creation:
oM.makeMenu(name,parent_name,text,link,target,width,height,regImage,overImage,regClass,overClass,align,rows,nolink,onclick,onmouseover,onmouseout) 
*************************************/
// ***** Left Space *****
oM.makeMenu('leftspace','','','','',L1_Left_Section_Width,21,'','','clLevel0','clLevel0');

// ***** Solutions *****
oM.makeMenu('top0','','Solutions','/Solutions/','',L1_Solutions_Width);
  oM.makeMenu('sub1','top0','IPTV','/Solutions/IPTV/','',L2_Solutions_Width);
  oM.makeMenu('sub2','top0','Broadband','/Solutions/Broadband/','',L2_Solutions_Width);
    oM.makeMenu('sec2sec1','sub2','ATM Migration','/Solutions/Broadband/ATM_Migration/','',L3_Solutions_Width);
    oM.makeMenu('sec2sec2','sub2','Broadband Access','/Solutions/Broadband/Broadband_Access/','',L3_Solutions_Width);
    oM.makeMenu('sec2sec3','sub2','FTTx','/Solutions/Broadband/FTTx/','',L3_Solutions_Width);
      oM.makeMenu('bbsolsub1','sec2sec3','GEPON','/Solutions/Broadband/FTTx/GEPON/','',L4_Solutions_Width);
      oM.makeMenu('bbsolsub2','sec2sec3','RF Overlay','/Solutions/Broadband/FTTx/RF_Overlay/','',L4_Solutions_Width);
    oM.makeMenu('sec2sec4','sub2','Integrated Access','/Solutions/Broadband/Integrated_Access/','',L3_Solutions_Width);
    oM.makeMenu('sec2sec5','sub2','Triple Play','/Solutions/Broadband/Triple_Play/','',L3_Solutions_Width);
    oM.makeMenu('subb3','sub2','Time Division Multiplexing </br> Over IP','/Solutions/Broadband/Time_Division_Multiplexing_Over_IP/','',L3_Solutions_Width,DoubleHeight);	
    oM.makeMenu('subb4','sub2','Voice Over IP ','/Solutions/Broadband/POTS_VoIP/','',L3_Solutions_Width);	
  oM.makeMenu('docs','top0','Next Generation Network','/Solutions/Next_Generation_Network/','',L2_Solutions_Width); 
    oM.makeMenu('ngns1','docs','Class-4 PSTN Emulation','/Solutions/Next_Generation_Network/Class4_PSTN_Emulation/','',L3_Solutions_Width); 
    oM.makeMenu('ngns2','docs','Class-5 PSTN Emulation','/Solutions/Next_Generation_Network/Class5_PSTN_Emulation/','',L3_Solutions_Width); 
    oM.makeMenu('ngns3','docs','Fixed Mobile Convergence','/Solutions/Next_Generation_Network/Fixed_Mobile_Convergence/','',L3_Solutions_Width);
    oM.makeMenu('ngns4','docs','IP Messaging','/Solutions/IP_Messaging/','',L3_Solutions_Width);
    oM.makeMenu('ngns5','docs','iPAS','/Solutions/Personal_Handy-Phone_System/','',L3_Solutions_Width);
    oM.makeMenu('ngns6','docs','Voice Over Broadband','/Solutions/Next_Generation_Network/Voice_Over_Broadband/','',L3_Solutions_Width); 
  oM.makeMenu('top05','top0','Optical','/Solutions/Optical/','',L2_Solutions_Width);
    oM.makeMenu('Opts2','top05','Resilient Packet Ring','/Solutions/Optical/Resilient_Packet_Ring/','',L3_Solutions_Width);
    oM.makeMenu('Opts1','top05','Transport MSTP','/Solutions/Optical/Transport_MSTP/','',L3_Solutions_Width);
    oM.makeMenu('Opts4','top05','<hr size="1" style="width: 95%;">','','',L3_Solutions_Width);
    oM.makeMenu('Opts3','top05','GEPON','/Solutions/Broadband/FTTx/GEPON/','',L3_Solutions_Width);
    oM.makeMenu('Opts5','top05','RF Overlay','/Solutions/Broadband/FTTx/RF_Overlay/','',L3_Solutions_Width);
  oM.makeMenu('sub8','top0','IP Messaging','/Solutions/IP_Messaging/','',L2_Solutions_Width);
    oM.makeMenu('cpesub1','sub8','Basic Messaging','/Solutions/IP_Messaging/Basic_Messaging/','',L3_Solutions_Width);
    oM.makeMenu('cpesub2','sub8','Message Migration','/Solutions/IP_Messaging/Messaging_Migration/','',L3_Solutions_Width);
    oM.makeMenu('cpesub3','sub8','Unified Communications','/Solutions/IP_Messaging/Unified_Communications/','',L3_Solutions_Width);
  oM.makeMenu('sub9','top0','Personal Handy Phone System','/Solutions/Personal_Handy-Phone_System/','',L2_Solutions_Width);
  oM.makeMenu('sub7','top0','Secure Transaction Processing','/Solutions/Secure_Transaction_Processing/','',L2_Solutions_Width);
    oM.makeMenu('stpsub1','sub7','E-Commerce Networks','/Solutions/Secure_Transaction_Processing/E-Commerce/','',L3_Solutions_Width);
    oM.makeMenu('stpsub2','sub7','Educational Networks','/Solutions/Secure_Transaction_Processing/Educational/','',L3_Solutions_Width);
    oM.makeMenu('stpsub3','sub7','Insurance &amp; Healthcare </br> Networks','/Solutions/Secure_Transaction_Processing/Insurance_Healthcare/','',L3_Solutions_Width,DoubleHeight);
    oM.makeMenu('stpsub4','sub7','Payment Card Networks','/Solutions/Secure_Transaction_Processing/Payment_Cards/','',L3_Solutions_Width);
    oM.makeMenu('stpsub5','sub7','Retail Kiosk Networks','/Solutions/Secure_Transaction_Processing/Retail_Kiosk/','',L3_Solutions_Width);

// ***** Products *****
oM.makeMenu('top1','','Products','/Products/','',L1_Products_Width);
  oM.makeMenu('prod1','top1','IPTV','/Products/IPTV/','',L2_Products_Width);
    oM.makeMenu('iptvs1','prod1','Infrastructure','/Products/IPTV/Infrastructure/','',L3_Products_Width);
    oM.makeMenu('iptvs2','prod1','Set Top Box','/Products/Customer_Premise_Equipment/Set_Top_Box/','',L3_Products_Width);
  oM.makeMenu('prod2','top1','Broadband','/Products/Broadband/','',L2_Products_Width);
    oM.makeMenu('prodbb2','prod2','FTTx','/Products/Broadband/FTTx/','',L3_Products_Width);  
    oM.makeMenu('prodbb4','prod2','IPDSLAM','/Products/Broadband/IPDSLAM/','',L3_Products_Width);
    oM.makeMenu('prodbb5','prod2','Multiservice Access Node','/Products/Broadband/Multiservice_Access_Node/','',L3_Products_Width);
  oM.makeMenu('prod4','top1','Next Generation Network','/Products/Next_Generation_Network/','',L2_Products_Width);
    oM.makeMenu('prodngn1','prod4','IP Messaging','/Products/IP_Messaging/','',L3_Products_Width);
    oM.makeMenu('prodngn2','prod4','iPAS','/Solutions/Personal_Handy-Phone_System/','',L3_Products_Width);
    oM.makeMenu('prodngn3','prod4','Media Gateway','/Products/Next_Generation_Network/Media_Gateway/','',L3_Products_Width);
    oM.makeMenu('prodngn4','prod4','OSS','/Products/Next_Generation_Network/OSS/','',L3_Products_Width);
    oM.makeMenu('prodngn5','prod4','Signaling Gateway','/Products/Next_Generation_Network/Signaling_Gateway/','',L3_Products_Width); 
    oM.makeMenu('prodngn6','prod4','Softswitch / Call Server','/Products/Next_Generation_Network/Softswitch_Call_Server/','',L3_Products_Width);
  oM.makeMenu('prod3','top1','Optical','/Products/Optical/','',L2_Products_Width);
    oM.makeMenu('prodopt1','prod3','Optical Transport','/Products/Optical/Transport_MSTP/','',L3_Products_Width);
    oM.makeMenu('prodopt2','prod3','Resilient Packet Ring','/Products/Optical/Resilient_Packet_Ring/','',L3_Products_Width);
  oM.makeMenu('prod5','top1','Customer Premise Equipment','/Products/Customer_Premise_Equipment/','',L2_Products_Width);
    oM.makeMenu('prodcpeall3','prod5','Optical Network Unit','/Products/Customer_Premise_Equipment/Optical_Network_Unit/','',L3_Products_Width);
      oM.makeMenu('prodonu1','prodcpeall3','Multi Dwelling','/Products/Customer_Premise_Equipment/Optical_Network_Unit/Multi_Dwelling/', '', L4_Products_Width);
      oM.makeMenu('prodonu2','prodcpeall3','Single Business','/Products/Customer_Premise_Equipment/Optical_Network_Unit/Single_Business/', '', L4_Products_Width);
      oM.makeMenu('prodonu3','prodcpeall3','Single Family','/Products/Customer_Premise_Equipment/Optical_Network_Unit/Single_Family/', '', L4_Products_Width);
    oM.makeMenu('prodcpeall4','prod5','Set Top Box','/Products/Customer_Premise_Equipment/Set_Top_Box/','',L3_Products_Width);
  oM.makeMenu('prod6','top1','Handsets','/Products/Handsets/','',L2_Products_Width);
  oM.makeMenu('prod7','top1','IP Messaging','/Products/IP_Messaging/','',L2_Products_Width);
    oM.makeMenu('prodsubip1','prod7','Implicity','/Products/IP_Messaging/Implicity/','',L3_Products_Width);
    oM.makeMenu('prodsubip2','prod7','Implicity Compact','/Products/IP_Messaging/Implicity_Compact/','',L3_Products_Width);
    oM.makeMenu('prodsubip3','prod7','PCMS 8250','/Products/IP_Messaging/PCMS_8250/','',L3_Products_Width);
  oM.makeMenu('prod10','top1','Personal Handy Phone System','/Products/Personal_Handy-Phone_System/','',L2_Products_Width);
    oM.makeMenu('prodphs1','prod10','iPAS Core Network','/Products/Personal_Handy-Phone_System/iPAS_Core_Network/','',L3_Products_Width);
      oM.makeMenu('pphsub1','prodphs1','iPAS Gateway','/Products/Personal_Handy-Phone_System/iPAS_Core_Network/iPAS_Gateway/','',L4_Products_Width);
      oM.makeMenu('pphsub2','prodphs1','Softswitch Call Server','/Products/Next_Generation_Network/Softswitch_Call_Server/','',L4_Products_Width);
    oM.makeMenu('prodphs3','prod10','PAS Core Network','/Products/Personal_Handy-Phone_System/PAS_Core_Network/','',L3_Products_Width);
      oM.makeMenu('pphpcn1','prodphs3','Air Traffic Controller','/Products/Personal_Handy-Phone_System/PAS_Core_Network/Air_Traffic_Controller/','',L4_Products_Width);
      oM.makeMenu('pphpcn2','prodphs3','Data Wireless Remote Terminal','/Products/Personal_Handy-Phone_System/PAS_Core_Network/Data_Wireless_Remote_Terminal/','',L4_Products_Width);
      oM.makeMenu('pphpcn3','prodphs3','Internet Access Gateway </br> Remote Access','/Products/Personal_Handy-Phone_System/PAS_Core_Network/Internet_Access_Gateway_Remote_Access/','',L4_Products_Width,DoubleHeight);
      oM.makeMenu('pphpcn4','prodphs3','Server Air Traffic Controller','/Products/Personal_Handy-Phone_System/PAS_Core_Network/Server_Air_Traffic_Controller/','',L4_Products_Width);
      oM.makeMenu('pphpcn5','prodphs3','Wireless Remote Terminal','/Products/Personal_Handy-Phone_System/PAS_Core_Network/Wireless_Remote_Terminal/','',L4_Products_Width);
    oM.makeMenu('prodphs2','prod10','Radio Access','/Products/Personal_Handy-Phone_System/Radio_Access/','',L3_Products_Width);
      oM.makeMenu('pphss1','prodphs2','10mW Pico Cell Station','/Products/Personal_Handy-Phone_System/Radio_Access/10mW_Pico_Cell_Station/','',L4_Products_Width);
      oM.makeMenu('pphss2','prodphs2','500mW AACS-S7 Cell Station','/Products/Personal_Handy-Phone_System/Radio_Access/500mW_AACS-S7_Cell_Station/','',L4_Products_Width);
      oM.makeMenu('pphss3','prodphs2','500mW CACS-M7 Cell Station','/Products/Personal_Handy-Phone_System/Radio_Access/500mW_CACS-M7_Cell_Station/','',L4_Products_Width);
      oM.makeMenu('pphss4','prodphs2','500mW CS-M7 Cell Station','/Products/Personal_Handy-Phone_System/Radio_Access/500mW_CS-M7_Cell_Station/','',L4_Products_Width);
      oM.makeMenu('pphss5','prodphs2','Cell Station Controller','/Products//Personal_Handy-Phone_System/Radio_Access/Cell_Station_Controller/','',L4_Products_Width);
  oM.makeMenu('prod8','top1','Secure Transaction Processing','/Products/Secure_Transaction_Processing/','',L2_Products_Width);
    oM.makeMenu('prodstp1','prod8','Accounting Server','/Products/Secure_Transaction_Processing/Accounting_Server/','',L3_Products_Width);
    oM.makeMenu('prodstp4','prod8','Element Management System','/Products/Secure_Transaction_Processing/Element_Manager_System/','',L3_Products_Width);
    oM.makeMenu('prodstp5','prod8','Dial Transacton Gateway','/Products/Secure_Transaction_Processing/Dial_Transaction_Gateway/','',L3_Products_Width);
    oM.makeMenu('prodstp2','prod8','IP Transaction Accelerator','/Products/Secure_Transaction_Processing/IP_Transaction_Accelerator/','',L3_Products_Width);
    oM.makeMenu('prodstp6','prod8','Off-line Provisioning System','/Products/Secure_Transaction_Processing/Offline_Provisioning_System/','',L3_Products_Width);

// ***** Service & Support *****
oM.makeMenu('top2','','Service &amp; Support','/Services/','',L1_Service_Support_Width);
  oM.makeMenu('sub10','top2','Services','/Services/','',L2_Service_Support_Width);
  //oM.makeMenu('sub14','top2','Service Partners','http://servicepartners.utstar.com/','',L2_Service_Support_Width);
  oM.makeMenu('sub13','top2','Support','','',L2_Service_Support_Width);
    oM.makeMenu('hart2','sub13','Corporate Support','http://support.utstar.com','',L3_Service_Support_Width);
    oM.makeMenu('hart3','sub13','WiFi Phones','/solutions/handsets/wifi/','',L3_Service_Support_Width);
    oM.makeMenu('hart4','sub13','All Other Consumer Devices','http://support.utstar.com/home/customer_service/new_registration.aspx#5','',L3_Service_Support_Width);
  oM.makeMenu('sub11','top2','Training','/Training/','',L2_Service_Support_Width);
  
// ***** Company *****
oM.makeMenu('top3','','Company','/Company/','',L1_Company_Width);
  oM.makeMenu('sub43','top3','Our Vision and Values','/Company/','',L2_Company_Width);
  oM.makeMenu('sub32','top3','Alliances &amp; Memberships','','',L2_Company_Width);
    oM.makeMenu('mem1','sub32','Alliances','/Company/Alliances/','',L3_Company_Width);
    oM.makeMenu('mem2','sub32','Memberships','/Company/Memberships/','',L3_Company_Width);
  oM.makeMenu('sub38','top3','Careers','/Company/Careers/','',L2_Company_Width);
  oM.makeMenu('sub42','top3','Channel Partner Program','/Company/channel_partner_program/','',L2_Company_Width);
  oM.makeMenu('sub39','top3','Contacts','/Company/Contacts/','',L2_Company_Width);
  oM.makeMenu('sub37','top3','Corporate Governance','http://investorrelations.utstar.com/governance.cfm','',L2_Company_Width);
  oM.makeMenu('sub33','top3','Events','/Company/Events/','',L2_Company_Width);
  oM.makeMenu('sub41','top3','In the News','/Company/In_the_News/','',L2_Company_Width);
  oM.makeMenu('sub34','top3','Investors','http://investorrelations.utstar.com/','',L2_Company_Width);
  oM.makeMenu('sub35','top3','Management Team','/Company/Management_Team/','',L2_Company_Width);
  oM.makeMenu('sub30','top3','News','http://investorrelations.utstar.com/releases.cfm','',L2_Company_Width);
  oM.makeMenu('sub36','top3','Office Locations','/Company/Office_Locations/','',L2_Company_Width);
  oM.makeMenu('sub40','top3','Press','/Company/Press/','',L2_Company_Width);
 
// ***** Contact *****
oM.makeMenu('top4','','Contact','/Company/Office_Locations/','',L1_Contact_Width);
  oM.makeMenu('sub61','top4','General Contacts','/Company/Contacts/','',L2_Contact_Width);
  oM.makeMenu('sub62','top4','Office Locations','/Company/Office_Locations/','',L2_Contact_Width);
  oM.makeMenu('sub67','top4','Partner Contacts','http://servicepartners.utstar.com/partner_program/contact_us.aspx','',L2_Contact_Width);
  oM.makeMenu('sub64','top4','Product Info / Purchase','http://www.utstar.com/Product_Info_Request/','',L2_Contact_Width);
  oM.makeMenu('sub63','top4','Support Contacts','http://support.utstar.com/home/contactus/default.aspx','',L2_Contact_Width);
  oM.makeMenu('sub66','top4','Webmaster','http://www.utstar.com/Contact/Web_Feedback/','',L2_Contact_Width);

// ***** Right Spacer *****
oM.makeMenu('rightspace','','','','',L1_Right_Section_Width,21,'','','clLevel0','clLevel0');
  
//Leave this line - it constructs the menu
oM.construct()
