// 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='#000000';
var menuBgColor='#009CD9';
var menuOverBgColor='#AFC3E1';
var menuFontColor='#FFFFFF';
var menuOverFontColor='#000000'//(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='verdana,arial,helvetica';
// Sutton, 1/19/2006: changed font size from 10px to 9px.
var fontSize='10px';
var fontWeight='bold';//(bold or normal)
var cellPadding='2';
var frameBorderWidth='1';

//==4==Defining The Menus Width
var menuWidth='152';

//==5==Defining The Menus Placement (top left corner of the menus)
var menuTopPixels=126;//from document top & left corner(without quotes)
var menu1LeftPixels=0;
var menu2LeftPixels=124;
var menu3LeftPixels=212;
var menu4LeftPixels=303;
var menu5LeftPixels=395;
var menu6LeftPixels=495;
//var menu6LeftPixels=400;//(if you want more add like this)

//==6==Defining The Menus Count (how many do you want)
var menuCount=6;//(without quotes)

//=============MENU DEFINITIONS=============
//(be sure to have the same number of array items for both href & text)

//===Menu 1
href1=new Array('overview.html','transactionprocess.html','confidentialsearch.html');
text1=new Array('Overview','Transaction Process','Confidential Search');

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('/products/california/','/products/nevada/');
text2=new Array('California','Nevada');

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('/support/customerTools/','/support/customerTools/billExplanation.asp','/support/faqs/','/support/contacts.asp');
text3=new Array('Customer Tools','Understanding Your Bill','FAQs','Support Contacts');

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};
//===Menu 3 END

//===Menu 4
href4=new Array('/contact/telephone.asp','/contact/email.asp','/contact/request.asp','/contact/locations.asp');
text4=new Array('Telephone Contacts','Email Contacts','Request Info','Office Locations');

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};
//===Menu4 END

//===Menu 5
href5=new Array('/agentProgram/','/agentProgram/simplicity.asp','/agentProgram/support.asp','/agentProgram/success.asp','/agentProgram/tour/','/agentProgram/signUp.asp','/agentProgram/');
text5=new Array('Program Overview','Simplicity','Support','Success','Agent Extranet Tour','Become an Agent','Agent Login');

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};
//===Menu 5 END


//===Menu 6
href6=new Array('/agentProgram/','/agentProgram/simplicity.asp','/agentProgram/support.asp','/agentProgram/success.asp','/agentProgram/tour/','/agentProgram/signUp.asp','/agentProgram/');
text6=new Array('Program Overview','Simplicity','Support','Success','Agent Extranet Tour','Become an Agent','Agent Login');

function MV6(){var x='';for(i=0;i<href6.length;i++){x=x+"<tr><td class=mxz //onclick=doGo('"+href6[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text6[i]+"</td></tr>"};return x};
//===Menu 6 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()()
