/**

 * Edit this file to change the NAV menu.

 * Widths and positions can also be changed here.

 
* Change the style definitions in menu_styles.js.

 
*/

var pMenu = new PopupMenu('pMenu');

with (pMenu)

{




// *** MOVE OR CENTRE THE MENU HERE ***




//startMenu('root', false, 'page.winW()/2 - 338', 164, 10, hBar); 
// Centres.

//startMenu('root', false, 10, 'page.scrollY()', 19, hBar); 
// Floats with window as you scroll.


//startMenu('root', false, 10, 0, 19, hBar, 'frameName'); 
// To create in subframe.




// The 'root' menu is horizontal, positioned at (x = 10, y = 0) and is 19px high, and items


// by default use the colours and dimensions in the 'hBar' ItemStyle defined above.


// This menu is also positioned over a similarly-coloured table in the HTML document above.



//startMenu('root', false, '', 160, 19, hBar);

var stack = Array();
  

startMenu('root', false, 'page.winW()/2 - 300', 115, 19, hBar);

 stack[stack.length] = 'root';


//------------------------------------
  
  addItem( '&nbsp;' , 'http://www.vickers-hifi.co.uk' , '', hBar, 5);
//------------------------------------
  
addItem( '<a href=retail/find-us.html><font color=white>&nbsp;About Us</a>' , 'mAbout' , 'sm:', hBar, 80);
 startMenu('mAbout', true, 0, 19, 115,subM);
 
                                           stack[stack.length] = 'root';


                                              addItem('<a href=http://www.vickers-hifi.co.uk><font color=white><i>Home Page</i></a>', '', subM);

 
                                              addItem('<a href=retail/staff.html><font color=white>STAFF WANTED</a>', '', subM);

 
                                              addItem('<a href=retail/award.html><font color=white>About Us</a>', '', subM);

 
                                              addItem('<a href=retail/find-us.html><font color=white><font class=F2Y>How to find us</font></a>', '', subM);

 
                                              addItem('Email', 'mailto:eSales@Vickers-hifi.co.uk', '', subM);

 
                                              addItem('<a href=retail/exclusive.html><font color=white>Exclusive</a>', '', subM);

 
                                              addItem('<a href=links.html><font color=white>Links</a>', '', subM);

 
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;
//------------------------------------
  
addItem( '<a href=retail/product.html><font color=white>Quick Links</a>' , 'mQuick' , 'sm:', hBar, 90);
	startMenu('mQuick', true, 0, 19, 120, subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/product.html><font color=white>Lots More Brands</a>', '', subM);
 
                                              addItem('<a href=retail/audiolab.html><font color=white>Audiolab</a>', '', subM);
 
                                              addItem('<a href=retail/cyrus.html><font color=white>Cyrus Audio</a>', '', subM);
 
                                              addItem('<a href=retail/dali.html><font color=white>Dali Speakers</a>', '', subM);
 
                                              addItem('<a href=retail/marantz.html><font color=white>Marantz</a>', '', subM);
 
                                              addItem('<a href=retail/monitoraudio.html><font color=white>Monitor Audio</a>', '', subM);

	
                                              addItem('<a href=retail/pathos.html><font color=white>Pathos</a>', '', subM);

 	
                                              addItem('<a href=retail/pioneer.html><font color=white>Pioneer</a>', '', subM);

	
                                              addItem('<a href=retail/proac-loudspeakers.html><font color=white>ProAc Speakers</a>', '', subM);

 	
                                              addItem('<a href=retail/quad.html><font color=white>Quad Acoustical</a>', '', subM);

 	
                                              addItem('<a href=retail/sugden.html><font color=white>Sugden Audio</a>', '', subM);

 	
                                              addItem('<a href=retail/REF300.html><font color=white>Teac Systems</a>', '', subM);
 
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

//------------------------------------
  
addItem( '<a href=retail/product.html><font color=white>Products</a>' , 'mProducts' , 'sm:', hBar, 75);
	startMenu('mProducts', true, 0, 19, 160, subM);
 
                                           stack[stack.length] = 'root';

 
                                             addItem('<a href=retail/macp.html><font color=white>In Ceiling/Wall Speakers</a>', '', subM);

	
                                  addItem( '<font class=F2Y>&nbsp;Hi-Fi Equipment &nbsp; </font>' , 'mHiFiequipment' , 'sm:', hBar, 19);

                                  addItem( '&nbsp;AV Equipment &nbsp; ' , 'mAVequipment' , 'sm:', hBar, 19);

                                  addItem( '&nbsp;Speakers' , 'mAVspeakers' , 'sm:', hBar, 19);

                                  addItem( '<font class=F2Y>&nbsp;Hi-Fi Mini Systems</font>' , 'mMini' , 'sm:', hBar, 19);

                                  addItem( '&nbsp;Multiroom' , 'mMulti' , 'sm:', hBar, 19);

                                  addItem( '<font class=F2Y>&nbsp;Digital Media</font>' , 'mDigi' , 'sm:', hBar, 19);

                                  addItem( '&nbsp;Cables & Connectors' , 'mCables' , 'sm:', hBar, 19);

                                  addItem( '&nbsp;Turntables & Analog' , 'mTurntables' , 'sm:', hBar, 19);

                                  addItem( '<font class=F2Y>&nbsp;Outdoor Products</font>' , 'mOutdoor' , 'sm:', hBar, 19);

                                              addItem('<a href=retail/stands.html><font color=white>Stands & Tables</a>', '');

 	
                                              addItem('<a href=retail/subwoofers.html><font color=white>Subwoofers</a>', '');

 	
                                              addItem('<a href=retail/headphones.html><font color=white>Headphones</a>', '');
 
                                              addItem('<a href=retail/remotes.html><font color=white>Learning Remotes</a>', '');

 	
              
   startMenu('mHiFiequipment', true, 100, 0, 110,subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/audiolab.html><font color=white>Audiolab &nbsp; &nbsp; &nbsp; </a>', '', subM);
 
                                              addItem('<a href=retail/cyrus.html><font color=white>Cyrus &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);
 
                                              addItem('<a href=retail/chord.html><font color=white>Chord &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);
 
                                              addItem('<a href=retail/marantz.html><font color=white>Marantz &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);
 
                                              addItem('<a href=retail/nad.html><font color=white>NAD &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);
 
                                              addItem('<a href=retail/pathos.html><font color=white>Pathos &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);
 
                                              addItem('<a href=retail/pioneer.html><font color=white>Pioneer &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);

 	
                                              addItem('<a href=retail/quad.html><font color=white>Quad &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);
 
                                              addItem('<a href=retail/roksan.html><font color=white>Roksan &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);
 
                                              addItem('<a href=retail/sugden.html><font color=white>Sugden &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);
 
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

  
             
   startMenu('mAVequipment', true, 100, 0, 110,subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/chord.html><font color=white>Chord</a>', '', subM);
 
                                              addItem('<a href=retail/marantz.html#NR1501><font color=white>Marantz</a>', '', subM);
 
                                              addItem('<a href=retail/nad.html#C715><font color=white>NAD</a>', '', subM);
 
                                              addItem('<a href=retail/pathos.html#cinemaX><font color=white>Pathos</a>', '', subM);
 
                                              addItem('<a href=retail/pioneer.html><font color=white>Pioneer</a>', '', subM);

	
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

                 startMenu('mAVspeakers', true, 100, 0, 130, subM);
 
                                           stack[stack.length] = 'root';

 
                                 addItem( '&nbsp;<a href=retail/dali.html><span class=F2W>Dali &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </span></a>' , 'mDali' , 'sm:', hBar, 19);
                                       addItem( '<a href=retail/mission.html><font class=F2W>Mission M-Cube</font></a>', '', subM);

	
                                 addItem( '&nbsp;<a href=retail/monitoraudio.html><font color=yellow>Monitor-Audio</font></a>' , 'mMonitor' , 'sm:', hBar, 19);
                                 addItem( '&nbsp;<a href=retail/mordaunt-short.html><font color=white>Mordaunt-Short</font></a>',  'mMS' , 'sm:', hBar, 19);

	
                                             addItem('<a href=retail/proac-loudspeakers.html><font class=F2W>ProAc &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </font></a>', '', subM);

 
                                              addItem('<a href=retail/quad.html#lite><font class=F2W>Quad &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </font></a>', '', subM);

	
                                              addItem('<a href=retail/q-acoustics.html><font class=F2W>Q-Acoustics</font></a>', '', subM);

	
                                              addItem('<a href=retail/tannoy.html><font color=white>Tannoy &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);

	
                                              addItem('<a href=retail/wharfedale.html#av><font color=white>Wharfedale</a>', '', subM);

	
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;


              
   startMenu('mCables', true, 145, 0, 110, subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/chordco.html><font color=white>Chord Co.</a>', '', subM);
 
                                              addItem('<a href=retail/qed.html><font color=white>QED</a>', '', subM);

	
                                              addItem('<a href=retail/techlink.html><font color=white><font color=white>TechLink</font></a>', '', subM);

	
                                              addItem('<a href=retail/vandenhul.html><font color=white>Van DenHul</a>', '', subM);
 
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

              
   startMenu('mMulti', true, 100, 0, 110, subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/digisenders.html><font color=white>DigiSender</a>', '', subM);
 
                                              addItem('<a href=retail/olive.html><font class=F2Y>Olive &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </font></a>', '', subM);
 
                                              addItem('<a href=retail/sonos.html><font color=white>Sonos Systems</a>', '', subM);

	
                                              addItem('<a href=retail/soundcast.html><font color=white>SoundCast</a>', '', subM);
 
                                              addItem('<a href=retail/vita_audio.html><font color=white><font class=F2Y>Vita Audio R4</font></a>', '', subM);
 
                                                  actMenu = menu[stack[stack.length-1]]; stack.length--;

              
   startMenu('mDigi', true, 100, 0, 120, subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/cyrus.html><font color=white>Cyrus Streamers</a>', '', subM);
 
                                              addItem('<a href=retail/marantz.html><font color=white>Marantz</a>', '', subM);
 
                                              addItem('<a href=retail/olive.html><font color=white><font class=F2Y>Olive Servers</font></a>', '', subM);
 
                                              addItem('<a href=retail/sonos.html><font color=white>Sonos MultiRoom</a>', '', subM);

	
                                                  actMenu = menu[stack[stack.length-1]]; stack.length--;

              
   startMenu('mDali', true, 100, 0, 100,subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/dali.html><font class=F2W>Fazon</font> &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);

	
                                              addItem('<a href=retail/dali.html#Ikon><font class=F2W>Ikon 6</font> &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; </a>', '', subM);
 
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

              
   startMenu('mMS', true, 100, 0, 100,subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/mordaunt-short.html><font color=white>Aviano &nbsp; &nbsp; &nbsp; </a>', '', subM);

	
                                              addItem('<a href=retail/mordaunt-short.html#XD><font color=white>Mezzo &nbsp; &nbsp; &nbsp; </a>', '', subM);
 
                                              addItem('<a href=retail/mordaunt-short.html#XD><font color=white>Alumni AV</a>', '', subM);

	
                                              addItem('<a href=retail/mordaunt-short.html#XD><font color=white>Performance</a>', '', subM);
 
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

             
   startMenu('mOutdoor', true, 145, 0, 100,subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/chillchaser.html><font color=white>ChillChaser</a>', '', subM);

	
                                              addItem('<a href=retail/webster.html><font color=white>Monitor Audio</a>', '', subM);

	
                                              addItem('<a href=retail/pyle.html><font color=white>Pyle Audio</a>', '', subM);

	
                                              addItem('<a href=retail/soundcast.html><font color=white>SoundCast</a>', '', subM);
 
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

              
   startMenu('mTurntables', true, 145, 0, 100,subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/michell.html><font color=white>Michell</a>', '', subM);
 
                                              addItem('<a href=retail/ortofon.html><font color=white>Ortofon</a>', '', subM);
 
                                              addItem('<a href=retail/project.html><font color=white>Project</a>', '', subM);
 
                                              addItem('<a href=retail/roksan.html><font color=white>Roksan</a>', '', subM);

	
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

              
   startMenu('mMini', true, 100, 0, 110,subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/mini.html><font color=white>Marantz MCR</a>', '', subM);
 
                                              addItem('<a href=retail/715.html><font color=white>NAD C715DAB</a>', '', subM);
 
                                              addItem('<a href=retail/pioneerZ9.html><font color=white>Pioneer</a>', '', subM);

	
                                              addItem('<a href=retail/aurb.html><font color=white><font class=F2Y>Teac AURB</font></a>', '', subM);
 
                                              addItem('<a href=retail/teac.html><font color=white>Teac Ref CRH</a>', '', subM);
 
                                              addItem('<a href=retail/REF300.html><font color=white>Teac Ref 600</a>', '', subM);
 
                                              addItem('<a href=retail/vita_audio.html><font color=white><font class=F2Y>Vita Audio</font></a>', '', subM);
 
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

              
   startMenu('mMonitor', true, 100, 0, 100,subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/radius.html><font color=white>Apex</a>', '', subM);

	
                                              addItem('<a href=retail/radius.html><font color=white>Radius</a>', '', subM);

	
                                              addItem('<a href=retail/monitoraudio.html><font color=white>Bronze</a>', '', subM);
 
                                              addItem('<a href=retail/monitoraudio.html#RX6><font color=white>Silver RX</a>', '', subM);
 
                                              addItem('<a href=retail/monitoraudio.html#platinum><font color=white>Platinum</a>', '', subM);

 	
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

//------------------------------------
  
addItem('<a href=retail/sale.html><font color=white>Special Offers</a>' , 'mSpecial' , 'sm:', hBar, 110);
	startMenu('mSpecial', true, 0, 19, 130,subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/x-dem.html><font color=white>Ex-Dem Savings</a>', '', subM);



                                              addItem('<a href=retail/mailorder.html><font color=white>Speaker Offers</a>', '', subM);

 
                                              addItem('<a href=retail/2ndhand.html><font color=white>Second Hand</a>', '', subM);

 
                                              addItem('<a href=retail/sale.html><font color=white>Special Offers</a>', '', subM);

 
                                              addItem('<a href=retail/credit.html><font class=F2Y>Interest Free Credit</a>', '', subM);
 
                                              addItem('<a href=retail/hot.html><font color=white>Hot Offers</a>', '', subM);

 
                                              addItem('<a href=retail/exclusive.html><font color=white>Exclusive Mailing</a>', '', subM);

 
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

//------------------------------------
  
addItem('<a href=retail/paypal.html><font color=white>PayPal</a>' , 'mPayPal' , 'sm:', hBar, 60);
	startMenu('mPayPal', true, 0, 19, 137,subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=retail/paypal.html><font color=white>PayPal Information</a>', '', subM);
	
                                              addItem('<a href=retail/paypal.html#bottom><font color=white>PayPal Checkout</a>', '', subM);

 
                                                 actMenu = menu[stack[stack.length-1]]; stack.length--;

//------------------------------------
  
addItem('<a href=http://www.visityork.org target=-blank><font color=white>Visit York</a>' , 'mVisit' , 'sm:', hBar, 75);
	startMenu('mVisit', true, 0, 19, 185,subM);
 
                                           stack[stack.length] = 'root';

 
                                              addItem('<a href=http://www.york-tourism.co.uk/seeanddo/ target=-blank><font color=white>www.york-tourism.co.uk</a>', '', subM);



                                              addItem('<a href=http://www.york.gov.uk/visiting/ target=-blank><font color=white>www.york.gov.uk</a>', '', subM);



                                              addItem('<a href=http://www.yorkminster.org/ target=-blank><font color=white>www.yorkminster.org</a>', '', subM);   


                                              addItem('<a href=http://www.visityork.org/inspire/good-evening/ target=-blank><font color=white>York Nightlife</a>', '', subM);



                                              addItem('<a href=http://www.visityork.org target=-blank><font color=white>York Shopping</a>', '', subM);





                                                actMenu = menu[stack[stack.length-1]]; stack.length--;

//------------------------------------
 }


addMenuBorder(pMenu, window.subM,
 null, 'black', 1, 'gray', 0);
addMenuBorder(pMenu, window.subBlank,
 null, '#666666', 1, '#CCCCDD', 1);

addDropShadow(pMenu, window.subBlank,
 [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]);

function addMenuBorder(mObj, iS, alpha, bordCol, bordW, backCol, backW)
{
 // Loop through the menu array of that object, finding matching ItemStyles.
 for (var mN in mObj.menu)
 {
  var mR=mObj.menu[mN], dS='<div style="position:absolute; background:';
  if (mR[0].itemSty != iS) continue;
  // Loop through the items in that menu, move them down and to the right a bit.
  for (var mI=1; mI<mR.length; mI++)
  {
   mR[mI].iX += bordW+backW;
   mR[mI].iY += bordW+backW;
  }
  // Extend the total dimensions of menu accordingly.  
  mW = mR[0].menuW += 2*(bordW+backW);
  mH = mR[0].menuH += 2*(bordW+backW);

  // Set the menu's extra content string with divs/layers underneath the items.
  if (isNS4) mR[0].extraHTML += '<layer bgcolor="'+bordCol+'" left="0" top="0" width="'+mW+
   '" height="'+mH+'" z-index="980"><layer bgcolor="'+backCol+'" left="'+bordW+'" top="'+
   bordW+'" width="'+(mW-2*bordW)+'" height="'+(mH-2*bordW)+'" z-index="990"></layer></layer>';
  else mR[0].extraHTML += dS+bordCol+'; left:0px; top:0px; width:'+mW+'px; height:'+mH+
   'px; z-index:980; '+(alpha!=null?'filter:alpha(opacity='+alpha+'); -moz-opacity:'+(alpha/100):'')+
   '">'+dS+backCol+'; left:'+bordW+'px; top:'+bordW+'px; width:'+(mW-2*bordW)+'px; height:'+
   (mH-2*bordW)+'px; z-index:990"></div></div>';
 }
}

function addDropShadow(mObj, iS)
{
 // Pretty similar to the one above, just loops through list of extra parameters making
 // dropshadow layers (from arrays) and extending the menu dimensions to suit.
 for (var mN in mObj.menu)
 {
  var a=arguments, mD=mObj.menu[mN][0], addW=addH=0;
  if (mD.itemSty != iS) continue;
  for (var shad=2; shad<a.length; shad++)
  {
   var s = a[shad];
   if (isNS4) mD.extraHTML += '<layer bgcolor="'+s[1]+'" left="'+s[2]+'" top="'+s[3]+'" width="'+
    (mD.menuW+s[4])+'" height="'+(mD.menuH+s[5])+'" z-index="'+(arguments.length-shad)+'"></layer>';
   else mD.extraHTML += '<div style="position:absolute; background:'+s[1]+'; left:'+s[2]+
    'px; top:'+s[3]+'px; width:'+(mD.menuW+s[4])+'px; height:'+(mD.menuH+s[5])+'px; z-index:'+
    (a.length-shad)+'; '+(s[0]!=null?'filter:alpha(opacity='+s[0]+'); -moz-opacity:'+(s[0]/100):'')+
    '"></div>';
   addW=Math.max(addW, s[2]+s[4]);
   addH=Math.max(addH, s[3]+s[5]);
  }
  mD.menuW+=addW; mD.menuH+=addH;
 }
}

