menunum=0;
menuTop=70;


//if ((screen.width>=1280) && (screen.height>=800))
//{
//menuWidth=106;
////strY = 185;
//}else if ((screen.width>=1024) && (screen.height>=768))
//{
//menuWidth=92;
//
//} else{
// menuWidth=92;
//}


menus=new Array();
_d=document;

function addmenu()
{
	menunum++;
	menus[menunum]=menu;
}

function dumpmenus()
{
	mt="<scr"+"ipt language=javascript>";
	for(a=1;a<menus.length;a++)
		{
			mt+=" menu"+a+"=menus["+a+"];"
		}
	mt+="<\/scr"+"ipt>";
	_d.write(mt)
};

//var basehost='http://localhost/etc/';
var basehost='http://www.ethionet.et/';
//var basehost='http://www.etc.net.et/';
var service=basehost + "services/";
var aboutus = basehost + "aboutus/";
var support = basehost + "support/";
var download = basehost + "downloads/";
var homeetc = basehost + "homeetc/";

var news=basehost+"news/";

timegap=500;followspeed=5;followrate=40;suboffset_top=0;suboffset_left=0;closeOnClick=true;

style1=["000000","6699ff","yellow","3366ff","000000",11,"normal","bold","Tahoma",4,basehost+"images/arrow.gif",,"66ffff","000099","ccff66","204182",basehost+"images/arrowdn.gif","CCff66","3D6829","6B8E23",];

style2=["000000","6699ff","yellow","3366ff","000000",11,"normal","bold","Tahoma",4,basehost+"images/arrow.gif",,"66ffff","000099","ccff66","204182",basehost+"images/arrowdn.gif","CCff66","3D6829","6B8E23",];


// TOP TITLE (DROP DOWN MENU TITLE)

addmenu(menu=["mainmenu",menuTop,0,,1,"center",style1,1,"center",,,1,,,,,,,,,,,"&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",basehost+"index.php",,,1,
"&nbsp;&nbsp;&nbsp;&nbsp;Corporate&nbsp;Message&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",homeetc + "corpmsg.html",,,1,
"&nbsp;&nbsp;&nbsp;&nbsp;Contact&nbsp;Us&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",homeetc +"contuctus.html",,,1,"&nbsp;&nbsp;&nbsp;About&nbsp;Us&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=corporateinfo",,,1,"&nbsp;&nbsp;&nbsp;Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=services_submenu",,,1,"&nbsp;&nbsp;&nbsp;ETC&nbsp;Tariffs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=etctariffs",,,1,"&nbsp;&nbsp;&nbsp;Support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=support",,,1,
"&nbsp;&nbsp;Applications&nbsp;&nbsp;",download+"appfrm.html",,,1,
"&nbsp;&nbsp;FAQS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",homeetc+"faq.html",,,1,"&nbsp;&nbsp;Site&nbsp;Map&nbsp;&nbsp;",homeetc+"sitemap.html",,,1]);

//Download applications forms

addmenu(menu=["applications",,,140,1,"",style2,,"left",,,,,,,,,,,,,,"Mobile Application Form",download+"mobileform.html",,,1,"Fixed Application Form",download+"fixedform.html",,,1,"Roaming Application Form",download+"roamingapplicationform",,,1]);

// services sub menu

//addmenu(menu=["services_submenu",,,128,1,"",style2,,"left",,,,,,,,,,,,,,"Land Line","show-menu=fixedline",,,1,"Mobile","show-menu=mobile",,,1,"Broad Band","show-menu=broadband",,,1,"Call Center","show-menu=callcenter",,,1,"DDN Services","show-menu=DDNServices",,,1,"Roaming","show-menu=roaming",,,1]);

addmenu(menu=["services_submenu",,,128,1,"",style2,,"left",,,,,,,,,,,,,,"WCDMA",service+"wcdma.html",,,1,"CDMA",service+"wirelesscdma.html",,,1,"Land Line","show-menu=fixedline",,,1,"Mobile","show-menu=mobile",,,1,"Broad Band","show-menu=broadband",,,1,"Call Center","show-menu=callcenter",,,1,"DDN Services","show-menu=DDNServices",,,1,"Roaming","show-menu=roaming",,,1,"Supplementary Services",service+"supservices.html",,,1]);

// --> SERVICES->FIXED LINE->

addmenu(menu=["fixedline",,,138,1,"",style2,,"left",,,,,,,,,,,,,,"Land Line",service+"landline.html",,,1,"Public Phone",service+"publicphone.html",,,1,"Telegram",service+"telegram.html",,,1,"Public Service Station",service+"publicservicestation.html",,,1,"Fax",service+"fax.html",,,1]);
 
//DDN SERVICES

addmenu(menu=["DDNServices",,,138,1,"",style2,,"left",,,,,,,,,,,,,,"Frame Relay",service+"framerelay.html",,,1,"Digital Leased Circuit",service+"digitalleased.html",,,1]);

// --> SERVICES->MOBILE->

addmenu(menu=["mobile",,,138,1,"",style2,,"left",,,,,,,,,,,,,,"GSM-Prepaid",service+"gsmprepaid.html",,,1,"GSM-Postpaid",service+"gsmpostpaid.html",,,1,"Satellite Mobile",service+"satellitemobile.html",,,1,"Value Added Services",service+"valueaddedservices.html",,,1,"Customer Care Services",service+"customercare.html",,,1,"Tariffs And Usage Charges",service+"tariffandusagecharge.html",,,1]);
 
// --> SERVICES->ROAMING->

addmenu(menu=["roaming",,,138,1,"",style2,,"left",,,,,,,,,,,,,,"Service OverView",service+"serviceoverview.html",,,1," ETC(Out-bound)Roamers ",service+"outboundroamers.html",,,1,"Foreign(In-bound)Roamers",service+"inboundroamers.html",,,1,"International Roaming Partners",service+"roamingpartners.html",,,1]); 

//DIRECTORY

addmenu(menu=["directory",,,120,1,"",style1,,"left",,,,,,,,,,,,,,"White Page","http://www.ethiopiabook.com/",,,1,"Yellow Page","http://www.ethiopiabook.com/",,,1]);

// --> SERVICES->ETCTARIFFS->


addmenu(menu=["etctariffs",,,120,1,"",style1,,"left",,,,,,,,,,,,,," Fixed ",service+"fixedtariff.html",,,1," Internet ","show-menu=internettariff",,,1," CDMA WLL ",service+"cdmawll.html",,,1," Mobile WCDMA ",service+"mobilewcdma.html",,,1," CDMA 2000 ",service+"cdma2000.html",,,1," DATA ",service+"datatariff.html",,,1," Mobile(GSM) ","show-menu=mobilegsm",,,1," Additional Services  ",service+"additionalservices.html",,,1,"DDN Pt. to Pt. ",service+"ddnptpt.html",,,1,"Bulksms",service+"bulksms.html",,,1]); 


// --> SERVICES->Mobile(GSM)->
addmenu(menu=["mobilegsm",,,138,1,"",style2,,"left",,,,,,,,,,,,,,"Mobile Subscription Tariff",service+"mobilesubsrtariff.html",,,1," Mobile Uasage Tariff",service+"mobileusagetariff.html",,,1]);

// --> SERVICES->Internet tariff ->

addmenu(menu=["internettariff",,,138,1,"",style2,,"left",,,,,,,,,,,,,,"Dial-up Internet",service+"dialupinternettariff.html",,,1,"Leased Line Internet Through BB MN",service+"leasedlineinternetbbmntariff.html",,,1,"Leased Line Internet Service Through DDN",service+"leasedlineinternetddntariff.html",,,1,"Value Added Services",service+"valueaddedservices.html",,,1]);


// --> SERVICES->BROADBAND->

addmenu(menu=["broadband",,,138,1,"",style2,,"left",,,,,,,,,,,,,,"Internet","show-menu=internetDetail",,,1,"Multimedia",service+"multimedia.html",,,1,"VSAT",service+"vsat.html",,,1]);
 

//INTERNET DETAIL

addmenu(menu=["internetDetail",,,138,1,"",style2,,"left",,,,,,,,,,,,,,"Dial Up",service+"dialup.html",,,1,"Leased Line",service+"leasedline.html",,,1,"ADSL",service+"adsl.html",,,1,"Domain Name Registration",service+"domainnameregrn.html",,,1,"Web and E-Mail Hosting",service+"webandemailhost.html",,,1]);


// --> SERVICES->CALL CENTER->

addmenu(menu=["callcenter",,,138,1,"",style2,,"left",,,,,,,,,,,,,,"Information and Customer relation",service+"infoandcustomerrelation.html",,,1,"Operator Services",service+"operatorservices.html",,,1]);

// ABOUTUS--> Corporateinfo MENU

addmenu(menu=["corporateinfo",,,128,1,"",style2,,"left",,,,,,,,,,,,,,"Corporate Info","show-menu=corporateinfosub",,,1]);

//CORPORATEINFO-->VISION MISSION

addmenu(menu=["corporateinfosub",,,138,1,"",style2,,"left",,,,,,,,,,,,,,"Vision,Mission",aboutus+"visionmission.html",,,1,"Historical Background",aboutus+"historybackground.html",,,1,"Company Profile",aboutus+"companyprofile.html",,,1,"Organizational Structure",aboutus+"orgstru.html",,,1]);

// **************************************************************************************************************


//SUPPORT

addmenu(menu=["support",,,140,1,"",style2,,"left",,,,,,,,,,,,,,"Customer Support",support+"customersupport.html",,,1,"General Requirement",support+"generalrequirement.html",,,1]);

dumpmenus();
