// TO SEE THE FILE BETTER USE WORDWRAP

//------------------------------------------+
// SmartMenus v.1                           |
// ©2001 VASIL DINKOV - PLOVDIV, BULGARIA   |
// http://mp3.dinkov.com | vasko@dinkov.com |
//------------------------------------------+
// For Internet Explorer 4 and Netscape 6   |
//------------------------------------------+

//==1==Defining Colors
var menuFrameColor='#006699';
var menuBgColor='#358bba';
var menuOverBgColor='#afc3e1';
var menuFontColor='#FFFFFF';
var menuOverFontColor='#006699'//(can be the same as menuFontColor)

//==2==Defining TARGET for the links in the menu
var target='self'//(newWindow or self)(cannot navigate to frame)

//==3==Defining font, menu cell padding & frame border width
var font='Arial';
var fontSize='10px';
var fontWeight='bold';//(bold or normal)
var cellPadding='3';
var frameBorderWidth='1';

//==4==Defining The Menus Width
var menuWidth='140';

//==5==Defining The Menus Placement (top left corner of the menus)
var menuTopPixels=118;//from document top & left corner(without quotes)
var menu1LeftPixels=0;
var menu2LeftPixels=229;
var menu3LeftPixels=533;
var menu4LeftPixels=300;
var menu5LeftPixels=148;
//var menu6LeftPixels=400;//(if you want more add like this)

//==6==Defining The Menus Count (how many do you want)
var menuCount=5;//(without quotes)

//=============MENU DEFINITIONS=============
//(be sure to have the same number of array items for both href & text)

//===Menu 1
href1=new Array('/aboutTelePacific/','/aboutTelePacific/executives.asp','http://telepacificreviews.com/','/aboutTelePacific/serviceArea.asp','http://www.insidetelepacific.com/legal/legal-tariffs.asp','/aboutTelePacific/careers/','/aboutTelePacific/press/pressReleases.asp');
text1=new Array('Corporate Overview','Executive Team','Customer Reviews','Service Areas','Tariffs','Careers','Press');

function MV1(){var x='';for(i=0;i<href1.length;i++){x=x+"<tr><td class=mxz onclick=doGo('"+href1[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text1[i]+"</td></tr>"};return x};
//===Menu 1 END

//===Menu 2
href2=new Array('http://www.insidetelepacific.com');
text2=new Array('Inside TelePacific');

function MV2(){var x='';for(i=0;i<href2.length;i++){x=x+"<tr><td class=mxz onclick=doGo('"+href2[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text2[i]+"</td></tr>"};return x};
//===Menu 2 END

//===Menu 3
href3=new Array('/contact/telephone.asp','/contact/email.asp','/quote','http://www.insidetelepacific.com/contacts/contacts-feedback.asp','http://www.insidetelepacific.com/contacts/contacts-local-offices.asp','/lnp/');
text3=new Array('Telephone Contacts','Email Contacts','Request Info','Give Us Your Feedback','Office Locations','LNP Procedures');

function MV3(){var x='';for(i=0;i<href3.length;i++){x=x+"<tr><td class=mxz onclick=doGo('"+href3[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text3[i]+"</td></tr>"};return x};
//===Menu3 END

//===Menu 4
href4=new Array('http://www.telepacificagent.com','http://www.telepacificagent.com/telepartner-form.html','/agentProgram/');
text4=new Array('Program Overview','Become an Agent','Agent Login');

function MV4(){var x='';for(i=0;i<href4.length;i++){x=x+"<tr><td class=mxz //onclick=doGo('"+href4[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text4[i]+"</td></tr>"};return x};
//===Menu 4 END

//===Menu 5
href5=new Array('/products/voice.asp','/products/integrated.asp','/products/internet.asp','/products/data.asp','/products/voipApplications.asp','/products/valueAdded.asp','/products/wholesale.asp','/products/ctf.asp');
text5=new Array('Voice','Integrated Services','Internet Access','Data Networking','VoIP','Value Added Services','Wholesale Products', 'Teleconnect & E-Rate');

function MV5(){var x='';for(i=0;i<href5.length;i++){x=x+"<tr><td class=mxz onclick=doGo('"+href5[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text5[i]+"</td></tr>"};return x};
//===Menu5 END

//=============MENU DEFINITIONS END=============

// THE SERIOUS SCRIPT PLEASE DO NOT TOUCH
if(document.all){topY=menuTopPixels}else{topY=menuTopPixels-2};/*NS bud*/function rV(){q='';for(z=1;z<=menuCount;z++){if(document.all){q=q+"m"+z+".style.display='none';"}else{q=q+"document.getElementById('m"+z+"').style.display='none';"}};return q};eval("function hide(a){if(a.clientY<=topY){"+rV()+"}};function hide2(){"+rV()+"}");eval("function ov(ok){ok.style.background='"+menuOverBgColor+"';ok.style.color='"+menuOverFontColor+"'};function ou(ok){ok.style.background='"+menuBgColor+"';ok.style.color='"+menuFontColor+"'};function doGo(ok){var tgt='"+target+"';if(tgt=='newWindow'){window.open(ok)}else{document.location.href=ok}};function show(a){if(document.all){eval(a).style.display=''}else{document.getElementById(a).style.display=''}}");document.write("<style>.mxz{font-family:"+font+";font-size:"+fontSize+";color:"+menuFontColor+";font-weight:"+fontWeight+";background:"+menuBgColor+";padding:"+cellPadding+";cursor:hand}</style>");function buildTheAsses(){for(j=1;j<=menuCount;j++){document.write("<div style=position:absolute;top:"+(menuTopPixels-1)+";left:"+(eval('menu'+j+'LeftPixels')-100)+";z-index:3;display:none id="+('m'+j)+"><table cellpadding=0 cellspacing=0 border=0><tr><td colspan=3 height=1></td></tr><tr><td width=100 onmouseover=hide2()></td><td bgcolor="+menuFrameColor+"><table width="+menuWidth+" cellspacing="+frameBorderWidth+" border=0>"+eval('MV'+j+'()')+"</table></td><td width=100 onmouseover=hide2()></td></tr><tr><td colspan=3 height=200 onmouseover=hide2()></td></tr></table></div>")}};buildTheAsses()