//Wirelessledger.com Menu Copyright 2007 by WirelessLedger.com. All Rights Reserved.

var hBar = new ItemStyle(12, 14,'', 0, 0, '', '', 'highText', 'highText', '', '', null, null, 'hand', 'default');

var subM = new ItemStyle(22, 2, '', 0, 3, '#ffffff', '#990000', 'lowText', 'lowText', 'itemBorder', 'itemBorder', null, null, 'hand', 'default');

//var subBlank = new ItemStyle(22, 1, '&gt;', -15, 3, '#CCCCcc', '#666666', 'lowText', 'lowText', 'itemBorderBlank', 'itemBorder', null, null, 'hand', 'default');
 
var yelTab = new ItemStyle(23, 0, '', 0, 1, 'yellowtab.gif', '', 'yellowtab', 'yellowtab', '', '', null, null, 'hand', 'default');
 
var redTab = new ItemStyle(24, 0, '', 0, 1, 'redtab.gif', '', 'redtab', 'redtab', '', '', null, null, 'hand', 'default');

var pMenu = new PopupMenu('pMenu');
with (pMenu)
{
	

startMenu('root', true, 1, 180, 170, hBar, '', false);
addItem('Latest News', '#', '', yelTab, 24); //image only
addItem('Wireless News', '#', '', redTab); //image only
addItem('U.S. Sources', 'mLNus', 'sm:', null);
addItem('Global Sources', 'mLNglobal', 'sm:', null);

addItem('Market News', '#', '', redTab); //image
addItem('U.S. Sources', 'mMNus', 'sm:', null);
addItem('Global Sources', 'mMNglobal', 'sm:', null);

addItem('Quotes', '#', '', yelTab, 24); //image
addItem('Charts', 'mCharts', 'sm:', null);
addItem('Options', 'mOptions', 'sm:', null);
addItem('Stocks', 'mStocks', 'sm:', null);

addItem('Understanding', '#', '', yelTab, 24); // image
addItem('Wireless Tech', '#', '', redTab); // image
addItem('How It Works', 'mHowWorks', 'sm:', null);
addItem('Wireless Acronyms', 'mAcronyms', 'sm:', null);
addItem('Industry Groups', 'mIndGrps', 'sm:', null);
addItem('Best Message Boards', 'mBestMBs', 'sm:', null);
addItem('New Products', 'mNewProds', 'sm:', null);
addItem('Standards-Setting', 'window.open("http://www.wirelessledger.com/NutshellPages/nutshellforStandardsSetting.htm")', 'js:'); //direct link NBW
addItem('Tutorials', 'mTutorials', 'sm:', null);

addItem('Investing', '#', '', yelTab, 24); //image
//addItem('Catalog', 'window.open("/catalog.html")', 'js:');
addItem('Current Focus Stock', 'window.open("http://www.wirelessledger.com/tabbedpages/focusstocks.html")', 'js:'); //direct link NBW
addItem('Industry Analysis', 'mAnalysis', 'sm:', null);
addItem('Institutional Ownership', 'window.open("http://www.nasdaq.com/asp/holdings.asp?mode=&kind=&symbol=idcc&symbol=NOK&symbol=&symbol=&symbol=&symbol=&symbol=&symbol=&symbol=&symbol=&FormType=Institutional&mkttype=&pathname=&page=holdings&selected=IDCC', 'js:'); //direct link NBW
addItem('Investing in Wireless', 'window.open("http://www.wirelessledger.com/NutshellPages/nutshellfor5WaystoInvest.htm")', 'js:'); //direct link NBW
addItem('SEC (Edgar)', 'window.open("http://www.sec.gov/edgar.shtml")', 'js:'); //direct link NBW
addItem('Short Interest', 'window.open("http://www.nasdaqtrader.com/asp/short_interest.asp")', 'js:'); //direct link NBW
addItem('Simulation Trading', 'window.open("http://www.stocktrak.com/")', 'js:'); //direct link NBW

addItem('NEW on this Site', '#', '', yelTab, 24); //image
addItem('Recently Added Info', 'window.open("http://www.wirelessledger.com/Tabbedpages/NewonSite.html")', 'js:'); //direct link NBW

addItem('About Us', '#', '', yelTab, 24); //image
addItem('About This Site', 'window.open("http://www.wirelessledger.com/aboutsite.html")', 'js:'); //direct link NBW

addItem('Disclaimer', '#', '', yelTab, 24); //image
addItem('Disclaimer Info', 'window.open("http://www.wirelessledger.com/disclaimer.htm")', 'js:'); //direct link NBW

addItem('Feedback Please', '#', '', yelTab); //image
addItem('What is Your Opinion?', 'window.open("mailto:bdalglish@aol.com")', 'js:'); //direct link NBW

addItem('Site Map', '#', '', yelTab, 24); //image
addItem('Site Map', 'window.open("http://www.wirelessledger.com/sitemap.html")', 'js:'); //direct link
//CLOSE Root Menu


//sub-menues start here

startMenu('mLNus', true, 130, 0, 140, subM, '', false);
addItem('Americas Network', 'window.open("http://www.americasnetwork.com")', 'js:', null);
addItem('Bloomberg', 'window.open("http://www.bloomberg.com/index.html?Intro=intro2")', 'js:', null);
addItem('Business Week', 'window.open("http://www.businessweek.com/technology/")', 'js:', null);
addItem('CNET News', 'window.open("http://www.news.com")', 'js:', null);
addItem('CNN Money', 'window.open("http://www.money.cnn.com/technology/")', 'js:', null);
addItem('Corante News', 'window.open("http://www.corante.com/communications")', 'js:', null);
addItem('Forbes', 'window.open("http://www.forbes.com/communications")', 'js:', null);
addItem('Mobile Tech Today', 'window.open("http://www.mobile-tech-today.com")', 'js:', null);
addItem('RCR News', 'window.open("http://www.rcrnews.com")', 'js:', null);
addItem('SiliconStrategies.com', 'window.open("http://www.siliconstrategies.com")', 'js:', null);
addItem('Telecommunications Magazine', 'window.open("http://www.telecommagazine.com/default.asp?func=channel&channel=Wireless&Id=74")', 'js:', null, 33);
addItem('Telephony Online', 'window.open("http://www.telephonyonline.com")', 'js:', null);
addItem('Wireless Review', 'window.open("http://industryclick.com/magazine.asp?magazineid=9&siteid=3")', 'js:', null);
addItem('Wireless Week', 'window.open("http://www.wirelessweek.com")', 'js:', null);
addItem('Yahoo News Stories', 'window.open("http://news.yahoo.com/news?tmpl=index2&cid=1293")', 'js:', null);

startMenu('mLNglobal', true, 130, 0, 140, subM, '', false);
addItem('3G Newsroom', 'window.open("http://www.3gnewsroom.com/")', 'js:', null);
addItem('G News UK', 'window.open("http://www.3g.co.uk/")', 'js:', null);
addItem('All Africa.com', 'window.open("http://www.allafrica.com/technology")', 'js:', null);
addItem('Australia Telecoms', 'window.open("http://australianit.news.com.au/itnews/communications/")', 'js:', null);
addItem('Bloomberg Asia', 'window.open("http://www.bloomberg.com/index.html")', 'js:', null);
addItem('Bus News So America', 'window.open("http://www.bnamericas.com/")', 'js:', null);
addItem('Light Reading', 'window.open("http://www.lightreading.com/")', 'js:', null);
addItem('News Now (UK)', 'window.open("http://www.newsnow.co.uk/newsfeed/?name=Telecoms")', 'js:', null);
addItem('Tech on Asia', 'window.open("http://techon.nikkeibp.co.jp/nea/")', 'js:', null);
addItem('Telecommunications Magazine', 'window.open("http://www.telecommagazine.com/default.asp?Journalid=2")', 'js:', null, 33);
addItem('Total Telecom', 'window.open("ttp://www.totaltele.com/")', 'js:', null);
addItem('Unstrung', 'window.open("http://www.unstrung.com/")', 'js:', null);
addItem('VNUnet.com (UK)', 'window.open("http://www.computing.co.uk/Communications/Mobile%20and%20wireless")', 'js:', null);

startMenu('mMNus', true, 130, 0, 140, subM, '', false);
addItem('Bloomberg', 'window.open("http://www.bloomberg.com/index.html?Intro=intro2")', 'js:', null);
addItem('Business Wire', 'window.open("http://www.businesswire.com")', 'js:', null);
addItem('CBS Market Watch', 'window.open("http://cbs.marketwatch.com/news/default.asp?siteid=mktw")', 'js:', null);
addItem('CNN Money', 'window.open("http://money.cnn.com/markets/snapshots/Technology__Telecommunications.html")', 'js:', null);
addItem('MSNBC News', 'window.open("http://www.msnbc.com/news/COM_Front.asp?0dm=T---B&cp1=1&ta=y")', 'js:', null);
addItem('Nightly Bus Report', 'window.open("http://www.nbr.com/")', 'js:', null);
addItem('Reuters', 'window.open("http://today.reuters.com/investing/MarketsHome.aspx")', 'js:', null);
addItem('Smart Money', 'window.open("http://www.smartmoney.com")', 'js:', null);
addItem('USA Today', 'window.open("http://www.usatoday.com/money/charts.htm")', 'js:', null);
addItem('Wall Street Journal', 'window.open("http://public.wsj.com/home.html")', 'js:', null);

startMenu('mMNglobal', true, 130, 0, 140, subM, '', false);
addItem('Bloomberg Asia', 'window.open("http://www.bloomberg.com/news/regions/asia.html")', 'js:', null);
addItem('CNN World Markets', 'window.open("http://money.cnn.com/markets/world_markets.html")', 'js:', null);
addItem('Cyber India', 'window.open("http://www.ciol.com/")', 'js:', null);
addItem('NewsNow.co.uk', 'window.open("http://www.newsnow.co.uk/newsfeed/?name=wireless")', 'js:', null);
addItem('U.K. News', 'window.open("http://www.iii.co.uk/uknews/")', 'js:', null);

startMenu('mCharts', true, 130, 0, 140, subM, '', false);
addItem('BigCharts', 'window.open("http://bigcharts.marketwatch.com/intchart/frames/frames.asp?symb=nok&time=8&freq=1")', 'js:', null);
addItem('Compare Clear Station', 'window.open("http://clearstation.etrade.com/cgi-bin/intra?tic=1-year&cs=IFX,IDCC,NOK,QCOM,TXN&ci=None&Symbol1=&i1=None&i2=None&i3=None&i4=None&e1=0&e2=0&e3=0&olay=None&gs=Default&gtyp=Default&gr=1&Refer=")', 'js:', null);
addItem('NASDAQ', 'window.open("http://www.nasdaq.com/")', 'js:', null);
addItem('ProphetFinance', 'window.open("http://www.prophetfinance.com/charts/sc.asp?symbol=ERICY")', 'js:', null);
addItem('StockCharts.com', 'window.open("http://stockcharts.com/def/servlet/SC.pnf?c=idcc,P")', 'js:', null);
addItem('Yahoo', 'window.open("http://finance.yahoo.com/q/bc?t=1y&s=IDCC&l=on&z=m&q=l&c=&c=%5EGSPC&c=%5EIXIC&c=%5EDJI")', 'js:', null);

startMenu('mOptions', true, 130, 0, 140, subM, '', false);
addItem('cboe', 'window.open("http://www.cboe.com/DelayedQuote/QuoteTable.aspx")', 'js:', null);
addItem('CBS Market Watch', 'window.open("http://cbs.marketwatch.com/tools/quotes/options1.asp?symb=CSCO&vc=0&siteid=mktw&dist=dropmenu")', 'js:', null);

startMenu('mStocks', true, 130, 0, 140, subM, '', false);
addItem('After Hours', 'window.open("http://afterhourtrades.com/newpage13.htm")', 'js:', null);
addItem('AM Market Call', 'window.open("http://money.cnn.com/markets/morning_call/")', 'js:', null);
addItem('Global Markets', 'window.open("http://cbs.marketwatch.com/news/globalmarkets/default.asp?siteid=mktw")', 'js:', null);
addItem('Historical-U.S.', 'window.open("http://bigcharts.marketwatch.com/historical/")', 'js:', null);
addItem('Institutional Ownership', 'window.open("http://www.nasdaq.com/asp/Holdings.asp?mode=&page=&symbol=IDCC&symbol=&symbol=&symbol=&symbol=&symbol=&symbol=&symbol=&symbol=&symbol=&selected=idcc&FormType=&kind=&Leap=&mkttype=&sel=holdingssummary&userinput=&x=17&y=8")', 'js:', null);
addItem('NASDAQ Extended', 'window.open("http://dynamic.nasdaq.com/aspx/extendedtrading.aspx")', 'js:', null);
addItem('PM Market Call', 'window.open("http://money.cnn.com/markets/afterhours/")', 'js:', null);
addItem('Realtime (register)', 'window.open("http://www.freerealtime.com")', 'js:', null);
addItem('Short Interest', 'window.open("http://www.nasdaqtrader.com/asp/short_interest.asp")', 'js:', null);

startMenu('mHowWorks', true, 140, 0, 140, subM, '', false);
addItem('Cell Phones', 'window.open("http://www.howstuffworks.com/cell-phone.htm")', 'js:', null);
addItem('Cell Phones - Inside', 'window.open("http://www.howstuffworks.com/inside-cell-phone.htm")', 'js:', null);
addItem('Electromagnetic', 'window.open("http://en.wikipedia.org/wiki/Radio_wave")', 'js:', null);
addItem('GPS', 'window.open("http://www.howstuffworks.com/gps1.htm")', 'js:', null);
addItem('For Non-Techies', 'window.open("http://www.wirelessledger.com/NutshellPages/nutshellforNonTechies.htm")', 'js:', null);
addItem('Radio Waves', 'window.open("http://electronics.howstuffworks.com/radio.htm")', 'js:', null);

startMenu('mAcronyms', true, 140, 0, 140, subM, '', false);
addItem('3G', 'window.open("http://en.wikipedia.org/wiki/3G")', 'js:', null);
addItem('3G Evolution LTE', 'window.open("http://www.alcatel.com/doctypes/articlepaperlibrary/html/ATR2003Q4/ATR2003Q4A13_EN.jhtml?_DARGS=/common/atr/include/sidebar_TOC.jhtml_A&_DAV=/com/en/appxml/articlepaperlibrary/mobilenetworkevolutionfrom3gonwardstcm17217971635.jhtml")', 'js:', null);
addItem('4G', 'window.open("http://en.wikipedia.org/wiki/4G")', 'js:', null);
addItem('CDMA', 'window.open("http://en.wikipedia.org/wiki/CDMA")', 'js:', null);
addItem('EV-DO', 'window.open("http://en.wikipedia.org/wiki/EVDO")', 'js:', null);
addItem('HSDPA', 'window.open("http://en.wikipedia.org/wiki/HSDPA")', 'js:', null);
addItem('HSUPA', 'window.open("http://en.wikipedia.org/wiki/High-Speed_Uplink_Packet_Access")', 'js:', null);
addItem('OFDM', 'window.open("http://en.wikipedia.org/wiki/OFDM")', 'js:', null);
addItem('TDD', 'window.open("http://www.moonblinkwifi.com/fddvstddwimax.cfm")', 'js:', null);
addItem('TD-SCDMA', 'window.open("http://en.wikipedia.org/wiki/TD-SCDMA")', 'js:', null);
addItem('VoIP', 'window.open("http://en.wikipedia.org/wiki/VolP")', 'js:', null);
addItem('W-CDMA', 'window.open("http://en.wikipedia.org/wiki/WCDMA")', 'js:', null);
addItem('WiBro', 'window.open("http://en.wikipedia.org/wiki/WiBro")', 'js:', null);
addItem('WiFi', 'window.open("http://en.wikipedia.org/wiki/WiFi")', 'js:', null);
addItem('WiMAX', 'window.open("http://en.wikipedia.org/wiki/WiMAX")', 'js:', null);

startMenu('mIndGrps', true, 140, 0, 140, subM, '', false);
addItem('3GPP', 'window.open("http://www.3gpp.org/")', 'js:', null);
addItem('3GPP2', 'window.open("http://www.3gpp2.org/")', 'js:', null);
addItem('CDMA Development', 'window.open("http://www.cdg.org/")', 'js:', null);
addItem('CTIA', 'window.open("http://www.wow-com.com/ctia/about/")', 'js:', null);
addItem('ETSI', 'window.open("http://www.etsi.org/")', 'js:', null);
addItem('GSM Europe', 'window.open("http://www.gsmworld.com/gsmeurope/index.html")', 'js:', null);
addItem('IEEE', 'window.open("http://www.ieee.org/index.html")', 'js:', null);
addItem('Intro to Tech', 'window.open("http://www.wirelessledger.com/NutshellPages/nutshellforNonTechies.htm")', 'js:', null);
addItem('ITU', 'window.open("http://www.itu.int/home/index.html")', 'js:', null);
addItem('TD-SCDMA', 'window.open("http://www.tdscdma-forum.org/EN/index.asp")', 'js:', null);
addItem('TIA', 'window.open("http://www.tiaonline.org/")', 'js:', null);
addItem('UMTS Forem', 'window.open("http://www.umts-forum.org/")', 'js:', null);

startMenu('mBestMBs', true, 140, 0, 140, subM, '', false);
addItem('IDCC IHub', 'window.open("http://www.investorshub.com/boards/board.asp?board_id=916&refnum=16681")', 'js:', null);
addItem('Nokia, Yayoo', 'window.open("http://messages.finance.yahoo.com/Business_%26_Finance/Investments/Stocks_%28A_to_Z%29/Stocks_N/forumview?bn=23441&A=L")', 'js:', null);
addItem('Qualcomm Yahoo', 'window.open("http://messages.finance.yahoo.com/Business_%26_Finance/Investments/Stocks_%28A_to_Z%29/Stocks_Q/forumview?bn=14982&A=L")', 'js:', null);

startMenu('mNewProds', true, 140, 0, 140, subM, '', false);
addItem('3G Today', 'window.open("http://www.3gtoday.com/wps/portal/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4538wPJmMUbxBub6keiijjCBbz1fT3yc1P1A_QLckMjyh0VFQHnVXPw/delta/base64xml/L3dJdyEvUUd3QndNQSEvNElVRS82XzNfRk0!?page=home")', 'js:', null);
addItem('Wireless News Factor', 'window.open("http://www.wirelessnewsfactor.com/perl/section/hndhld/")', 'js:', null);
addItem('zdnet', 'window.open("http://reviews-zdnet.com.com/Cell_phones/2001-3504_16-0.html?tag=ont-cp")', 'js:', null);

startMenu('mTutorials', true, 130, 0, 140, subM, '', false);
addItem('Overview of 3G', 'window.open("http://www.techedgeonline.com/demo_3g.htm")', 'js:', null);
addItem('WCDMA Fundamentals', 'window.open("http://www.engineeringlab.com/wcdma1.html?source=goto")', 'js:', null);

startMenu('mAnalysis', true, 140, 0, 140, subM, '', false);
addItem('Allied Business Intell.', 'window.open("http://www.alliedworld.com/servlets/Home")', 'js:', null);
addItem('Cahners In-Stat', 'window.open("http://www.instat.com/cls-wireless.asp")', 'js:', null);
addItem('DataComm', 'window.open("http://www.datacommresearch.com/")', 'js:', null);
addItem('Gartner', 'window.open("http://www.gartner.com/it/products/research/asset_129172_2395.jsp")', 'js:', null);
addItem('Herschel Shosteck', 'window.open("http://www.shosteck.com/")', 'js:', null);
addItem('Pyramid', 'window.open("http://www.pyramidresearch.com/home.asp")', 'js:', null);
addItem('Strategis', 'window.open("http://www.strategisgroup.com/")', 'js:', null);
addItem('Yankee Group', 'window.open("http://www.yankeegroup.com/")', 'js:', null);
addItem('Telecoms-3G', 'window.open("http://www.3g.telecoms.com")', 'js:', null);

//END Menus

// HIDE OR SHOW DELAYS (in milliseconds) can be customised. Defaults are:
//showDelay = 0;
//hideDelay = 500;
// Specify hideDelay as zero if you want to disable autohiding, and showDelay as a couple of
// hundred if you don't want the menus showing instantaneously when moused over.
}


addMenuBorder(pMenu, window.subBlank,
 null, '#666666', 1, '#CCCCDD', 2);

addDropShadow(pMenu, window.subM,
 [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]);
addDropShadow(pMenu, window.subBlank,
 [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]);

// If you don't want animation, delete this entirely, and the menus will act normally.

if ((navigator.userAgent.indexOf('rv:0.')==-1) &&
    !(isOp&&!document.documentElement) && !(isIE4&&!window.external))
{
 pMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)');
 pMenu.hideMenu = new Function('mN','menuAnim(this, mN, -15)');

}

// ******************** FUNCTIONS CALLED BY THE EFFECTS SECTION ********************

// These can be deleted if you're not using them. Alternatively, if you're using several menu
// data files, you may want to move them to the "core" script file instead.



// This is the "positioning from page anchors" code used by the advanced positioning expressions.
page.elmPos=function(e,p)
{
 var x=0,y=0,w=p?p:this.win;
 e=e?(e.substr?(isNS4?w.document.anchors[e]:getRef(e,w)):e):p;
 if(isNS4){if(e&&(e!=p)){x=e.x;y=e.y};if(p){x+=p.pageX;y+=p.pageY}}
 if (e && this.MS && navigator.platform.indexOf('Mac')>-1 && e.tagName=='A')
 {
  e.onfocus = new Function('with(event){self.tmpX=clientX-offsetX;' +
   'self.tmpY=clientY-offsetY}');
  e.focus();x=tmpX;y=tmpY;e.blur()
 }
 else while(e){x+=e.offsetLeft;y+=e.offsetTop;e=e.offsetParent}
 return{x:x,y:y};
};

// Feel free to edit this, or delete this entire function if you're not using it. 

function menuAnim(menuObj, menuName, dir)
{

 var mD = menuObj.menu[menuName][0];

 if (!mD.timer) mD.timer = 0;
 if (!mD.counter) mD.counter = 0;

 with (mD)
 {

  clearTimeout(timer);

  if (!lyr || !lyr.ref) return;

  if (!visNow && dir>0) dir = 0-dir;

  if (dir>0) lyr.vis('visible');
 
  lyr.sty.zIndex = dir>0 ? mD.zIndex + 1 : 1001;

  lyr.clip(0, 0, menuW+2, (menuH+2)*Math.pow(Math.sin(Math.PI*counter/200),0.75) );

  counter += dir;
  if (counter>100) { counter = 100; lyr.sty.zIndex = mD.zIndex }
  else if (counter<0) { counter = 0; lyr.vis('hidden') }
  else timer = setTimeout('menuAnim('+menuObj.myName+',"'+menuName+'",'+dir+')', 40);
 }
};

// Borders and Dropshadows:

function addMenuBorder(mObj, iS, alpha, bordCol, bordW, backCol, backW)
{
 for (var mN in mObj.menu)
 {
  var mR=mObj.menu[mN], dS='<div style="position:absolute; background:';
  if (mR[0].itemSty != iS) continue;
  for (var mI=1; mI<mR.length; mI++)
  {
   mR[mI].iX += bordW+backW;
   mR[mI].iY += bordW+backW;
  }
  mW = mR[0].menuW += 2*(bordW+backW);
  mH = mR[0].menuH += 2*(bordW+backW);

  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+'%; 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)
{

 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];
   // Safari 1.2 bug: it inherits alpha values SIDEWAYS!?!? What were they thinking?
   var alpha = (s[0]!=null && navigator.userAgent.indexOf('AppleWebKit') == -1);
   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)+'; '+
    (alpha?'filter:alpha(opacity='+s[0]+'); -moz-opacity:'+s[0]+'%; 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;
 }
};