NavbarItems = Array(3);
NavbarItems[0] = Array(
 Array('11',1, Array(
   Array('88',1, null,'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Comment</B></SPAN></FONT>','/news/categoryfront.php/id/88/Comment.html','','',0),
   Array('13',1, null,'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Industry News</B></SPAN></FONT>','/news/categoryfront.php/id/13/Industry_News.html','','',0),
   Array('23',1, null,'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Industry Events</B></SPAN></FONT>','/news/categoryfront.php/id/23/Industry_Events.html','','',0),
   Array('28',1, null,'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Product Updates</B></SPAN></FONT>','/news/categoryfront.php/id/28/Product_Updates.html','','',0),
   Array('78',1, Array(
     Array('53',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Computer Products & Accessories</SPAN></FONT>','/news/categoryfront.php/id/53/Computer_Products___Accessories.html','','',0),
     Array('58',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Multifunctional Machines</SPAN></FONT>','/news/categoryfront.php/id/58/Multifunctional_Machines.html','','',0),
     Array('47',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Printers & Consumables</SPAN></FONT>','/news/categoryfront.php/id/47/Printers___Consumables.html','','',0),
     Array('42',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Shredders & Cutting Equipment</SPAN></FONT>','/news/categoryfront.php/id/42/Shredders___Cutting_Equipment.html','','',0),
     Array('49',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Visual & Presentation Products</SPAN></FONT>','/news/categoryfront.php/id/49/Visual___Presentation_Products.html','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Electronics</B></SPAN></FONT>','/news/categoryfront.php/id/78/Electronics.html','','',0),
   Array('43',1, null,'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Focus on Wholesalers & Distributors</B></SPAN></FONT>','/news/categoryfront.php/id/43/Focus_on_Wholesalers___Distributors.html','','',0),
   Array('76',1, Array(
     Array('34',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Adhesives, Labels & Tapes</SPAN></FONT>','/news/categoryfront.php/id/34/Adhesives,_Labels___Tapes.html','','',0),
     Array('50',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Arts & Crafts</SPAN></FONT>','/news/categoryfront.php/id/50/Arts___Crafts.html','','',0),
     Array('39',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Back to School</SPAN></FONT>','/news/categoryfront.php/id/39/Back_to_School.html','','',0),
     Array('55',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Diaries, Year Planners & Calendars</SPAN></FONT>','/news/categoryfront.php/id/55/Diaries,_Year_Planners___Calendars.html','','',0),
     Array('36',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Markers, Highlighters & Stamps</SPAN></FONT>','/news/categoryfront.php/id/36/Markers,_Highlighters___Stamps.html','','',0),
     Array('59',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Paper & Pads</SPAN></FONT>','/news/categoryfront.php/id/59/Paper___Pads.html','','',0),
     Array('24',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Writing Equipment</SPAN></FONT>','/news/categoryfront.php/id/24/Writing_Equipment.html','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">General Stationery</B></SPAN></FONT>','/news/categoryfront.php/id/76/General_Stationery.html','','',0),
   Array('77',1, Array(
     Array('26',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Binding & Laminating</SPAN></FONT>','/news/categoryfront.php/id/26/Binding___Laminating.html','','',0),
     Array('48',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Desktop Accessories</SPAN></FONT>','/news/categoryfront.php/id/48/Desktop_Accessories.html','','',0),
     Array('32',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Electronic Office</SPAN></FONT>','/news/categoryfront.php/id/32/Electronic_Office.html','','',0),
     Array('41',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Filing & Storage</SPAN></FONT>','/news/categoryfront.php/id/41/Filing___Storage.html','','',0),
     Array('25',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Office Furniture & Technology</SPAN></FONT>','/news/categoryfront.php/id/25/Office_Furniture___Technology.html','','',0),
     Array('60',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Postroom & Mailing</SPAN></FONT>','/news/categoryfront.php/id/60/Postroom___Mailing.html','','',0),
     Array('27',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Security & Safety</SPAN></FONT>','/news/categoryfront.php/id/27/Security___Safety.html','','',0),
     Array('62',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">SoHo</SPAN></FONT>','/news/categoryfront.php/id/62/SoHo.html','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Office & Work</B></SPAN></FONT>','/news/categoryfront.php/id/77/Office___Work.html','','',0),
   Array('79',1, Array(
     Array('51',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Christmas Products</SPAN></FONT>','/news/categoryfront.php/id/51/Christmas_Products.html','','',0),
     Array('45',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Eco-Friendly Products & Solutions</SPAN></FONT>','/news/categoryfront.php/id/45/Eco-Friendly_Products___Solutions.html','','',0),
     Array('61',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Products & Promotions</SPAN></FONT>','/news/categoryfront.php/id/61/Products___Promotions.html','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Promotional Products</B></SPAN></FONT>','/news/categoryfront.php/id/79/Promotional_Products.html','','',0),
   Array('89',1, null,'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Show & Tell</B></SPAN></FONT>','/news/categoryfront.php/id/89/Show___Tell.html','','',0),
   Array('90',1, null,'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">What\'s New</B></SPAN></FONT>','/news/categoryfront.php/id/90/What_s_New.html','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Contents</B></SPAN></FONT>','/news/categoryfront.php/id/11/Contents.html','','',0),
 Array('96',1, Array(
   Array('110',1, Array(
     Array('113',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">January</SPAN></FONT>','http://content.yudu.com/A1l0n2/SOUjan10/resources/index.htm?referrerUrl=','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">2010</B></SPAN></FONT>','','','',0),
   Array('97',1, Array(
     Array('108',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">December</SPAN></FONT>','http://content.yudu.com/A1j2h4/SOUdect09/resources/index.htm?referrerUrl=','','',0),
     Array('105',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Sep/Oct</SPAN></FONT>','http://content.yudu.com/A1go1z/SOUsepoct09/resources/index.htm?referrerUrl=','','',0),
     Array('104',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">August</SPAN></FONT>','http://content.yudu.com/A1etmf/StationeryAug09/resources/index.htm?referrerUrl=','','',0),
     Array('103',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">July</SPAN></FONT>','http://content.yudu.com/A1cqr0/StationeryJuly09/resources/index.htm?referrerUrl=','','',0),
     Array('100',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">June</SPAN></FONT>','http://content.yudu.com/A18qkl/StationeryJune09/resources/index.htm?referrerUrl=','','',0),
     Array('98',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">May</SPAN></FONT>','http://content.yudu.com/A17fhi/STU09/resources/index.htm?referrerUrl=','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">2009</B></SPAN></FONT>','','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Digitized Issues</B></SPAN></FONT>','','','',0),
 Array('16',1, Array(
   Array('111',1, Array(
     Array('112',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">January</SPAN></FONT>','/news/categoryfront.php/id/112/January.html','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">2010</B></SPAN></FONT>','/news/categoryfront.php/id/111/2010.html','','',0),
   Array('86',1, Array(
     Array('109',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">December</SPAN></FONT>','/news/categoryfront.php/id/109/December.html','','',0),
     Array('107',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">November</SPAN></FONT>','/news/categoryfront.php/id/107/November.html','','',0),
     Array('106',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">Sep/Oct</SPAN></FONT>','/news/categoryfront.php/id/106/Sep_Oct.html','','',0),
     Array('102',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">August</SPAN></FONT>','/news/categoryfront.php/id/102/August.html','','',0),
     Array('101',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">July</SPAN></FONT>','/news/categoryfront.php/id/101/July.html','','',0),
     Array('99',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">June</SPAN></FONT>','/news/categoryfront.php/id/99/June.html','','',0),
     Array('95',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">May</SPAN></FONT>','/news/categoryfront.php/id/95/May.html','','',0),
     Array('94',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">April</SPAN></FONT>','/news/categoryfront.php/id/94/April.html','','',0),
     Array('93',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">March</SPAN></FONT>','/news/categoryfront.php/id/93/March.html','','',0),
     Array('91',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">February</SPAN></FONT>','/news/categoryfront.php/id/91/February.html','','',0),
     Array('87',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">January</SPAN></FONT>','/news/categoryfront.php/id/87/January.html','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">2009</B></SPAN></FONT>','/news/categoryfront.php/id/86/2009.html','','',0),
   Array('69',1, Array(
     Array('85',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">November</SPAN></FONT>','/news/categoryfront.php/id/85/November.html','','',0),
     Array('84',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">September</SPAN></FONT>','/news/categoryfront.php/id/84/September.html','','',0),
     Array('81',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">August</SPAN></FONT>','/news/categoryfront.php/id/81/August.html','','',0),
     Array('80',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">July</SPAN></FONT>','/news/categoryfront.php/id/80/July.html','','',0),
     Array('75',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">June</SPAN></FONT>','/news/categoryfront.php/id/75/June.html','','',0),
     Array('74',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">May</SPAN></FONT>','/news/categoryfront.php/id/74/May.html','','',0),
     Array('70',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">April</SPAN></FONT>','/news/categoryfront.php/id/70/April.html','','',0),
     Array('71',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">March</SPAN></FONT>','/news/categoryfront.php/id/71/March.html','','',0),
     Array('72',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">February</SPAN></FONT>','/news/categoryfront.php/id/72/February.html','','',0),
     Array('73',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">January</SPAN></FONT>','/news/categoryfront.php/id/73/January.html','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">2008</B></SPAN></FONT>','/news/categoryfront.php/id/69/2008.html','','',0),
   Array('17',1, Array(
     Array('68',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">December</SPAN></FONT>','/news/categoryfront.php/id/68/December.html','','',0),
     Array('67',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">November</SPAN></FONT>','/news/categoryfront.php/id/67/November.html','','',0),
     Array('66',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">October</SPAN></FONT>','/news/categoryfront.php/id/66/October.html','','',0),
     Array('65',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">September</SPAN></FONT>','/news/categoryfront.php/id/65/September.html','','',0),
     Array('46',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">August</SPAN></FONT>','/news/categoryfront.php/id/46/August.html','','',0),
     Array('21',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">July</SPAN></FONT>','/news/categoryfront.php/id/21/July.html','','',0),
     Array('18',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">June</SPAN></FONT>','/news/categoryfront.php/id/18/June.html','','',0),
     Array('19',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">May</SPAN></FONT>','/news/categoryfront.php/id/19/May.html','','',0),
     Array('20',1, null,'<SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Verdana\">April</SPAN></FONT>','/news/categoryfront.php/id/20/April.html','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">2007</B></SPAN></FONT>','/news/categoryfront.php/id/17/2007.html','','',0)),'<B><SPAN style=\"FONT-SIZE: 8pt; FONT-FAMILY: Arial\">Back Issues</B></SPAN></FONT>','/news/categoryfront.php/id/16/Back_Issues.html','','',0));
NavbarItems[1] = Array(
 Array('6',1, Array(
   Array('30',1, null,'Home','http://www.stationeryandofficeupdate.com/','','',0),
   Array('7',1, null,'About Us','/info/about_us.php','','',0),
   Array('29',1, null,'Registration','http://www.wdis.co.uk/webreg-cgi-bin/py/regform_display?id=dteam-STU','','',0),
   Array('40',1, null,'Media Info','http://www.stationeryandofficeupdate.com/cp/2/SOU%20Media%20Pack.pdf','','',0),
   Array('10',1, null,'Directory','/company_index/','','',0),
   Array('8',1, null,'Contact Us','/info/contact_us.php','','',0)),'','','','',0));
NavbarItems[2] = Array(
);
function getPageItem(itemid) {
    if (document.getElementById) {
    	return document.getElementById(itemid);
    } else if (document.all) {
        return document.all[itemid];
    } else if (document.layers) {
    	return eval('document.'+itemid);
    }
    return null;
}

function writePageItem(itemid,html) {
    var lyr = null;
    if (document.getElementById) {
    	lyr = document.getElementById(itemid);
	lyr.innerHTML = html;
    } else if (document.all) {
        lyr = document.all[itemid];
	lyr.innerHTML = html;
    } else if (document.layers) {
    	// FIXME: ns4 compat
    }
}

function renderNavbarItem(container, level, item) {
    var html = "" + NavbarTemplates[container][level][1];

    var ihtm = NavbarTemplates[container][level][4];
    if (item[3] == '') { 
       // is empty
       ihtm = NavbarTemplates[container][level][2]; 
    } else if (item[5] != '') {  
       // has image
       ihtm = NavbarTemplates[container][level][3]; 
    }
    if (item[2] && (NavbarTemplates[container][level].length > 5)) { 
        // has children
    	if (item[1]) {  
	    // is open
      	    ihtm = NavbarTemplates[container][level][5];
    	} else {  
	    // is closed
      	    ihtm = NavbarTemplates[container][level][6];
    	}
    }

    html = html.replace(/%%ITEM%%/g, ihtm);

    html = html.replace(/%%ID%%/g, item[0]);
    html = html.replace(/%%TEXT%%/g, item[3]);
    html = html.replace(/%%LINK%%/g, item[4]);
    html = html.replace(/%%IMG_URL%%/g, item[5]);
    if (item[7] && PadlockTemplate) {
      html = html.replace(/%%PADLOCK%%/g, PadlockTemplate);
    } else {
      html = html.replace(/%%PADLOCK%%/g, '');
    }
    if (item[2] && item[1]) {  
	html = html.replace(/%%SUB%%/g, renderNavbarLevel(container, level+1, item[2]));
    } else {
	html = html.replace(/%%SUB%%/g, '');
    }
    return html;
} 

function renderNavbarLevel(container, level, items) {
    var html = NavbarTemplates[container][level][0];
    var buf = '';
    for(var i=0;i< items.length; i++) {
    	buf += renderNavbarItem(container, level, items[i]);
    }
    html = html.replace(/%%ITEMS%%/g, buf);
    return html;
}

function renderLeftNavbar() {
    return renderNavbarLevel(0,0,NavbarItems[0]);
}

function renderTopNavbar() {
    return renderNavbarLevel(1,0,NavbarItems[1]);
}

function renderRightNavbar() {
    return renderNavbarLevel(2,0,NavbarItems[2]);
}

// behavior specific

function getCategoryId() {
    var loc = "";
    loc += document.location; 
    loc = loc.replace(/^.*\/categoryfront\.php\/id\//,'');
    loc = loc.replace(/[^0-9].*$/,'');
    return loc;
}

function initNavbar() {
    var id = getCategoryId();
    for(var c=0; c< NavbarItems.length; c++) {
      for(var i=0;i< NavbarItems[c].length; i++) {
    	var items = NavbarItems[c][i][2];
    	if (items) {
    	    for(var j=0;j< items.length; j++) {
	      NavbarItems[c][i][2][j][1] = 0;
	      var jtems = items[j][2];
	      if (jtems && id!="") {
	        if (items[j][0] == id) { NavbarItems[c][i][2][j][1] = 1; }
	        else for (var k=0; k< jtems.length; k++) {
		  if (jtems[k][0] == id) { NavbarItems[c][i][2][j][1] = 1; }
		}
	      }
	    }
	}
      }
    }
}

function toggleNavbarItem(id) {
    for(var c=0; c< NavbarItems.length; c++) {
      for(var i=0;i< NavbarItems[c].length; i++) {
    	var items = NavbarItems[c][i][2];
    	if (items) {
    	    for(var j=0;j< items.length; j++) {
    	      if (items[j][0]==id) {
	    	NavbarItems[c][i][2][j][1] = 1 - items[j][1];
		var navdiv = getPageItem('navbar_'+c);
		if (navdiv) {
		    writePageItem('navbar_'+c,renderNavbarLevel(c,0,NavbarItems[c]));
		}
	      }
	    }
	}
      }
    }
    return 0;
}

function displaySWF(url,ver,w,h) {
  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+ver+'" width="'+w+'" height="'+h+'"><param name="movie" value="'+url+'"><param name="quality" value="high"><embed src="'+url+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed></object>');
}

var toid;
function toggleDiv(id) { var d = getPageItem(id); if (d) { if (d.style.visibility == 'hidden') d.style.visibility = 'visible'; else d.style.visibility = 'hidden'; } }
function showDiv(id) { var d=getPageItem(id); if (d) { d.style.visibility='visible'; } }
function hideDiv(id) { var d=getPageItem(id); if (d) { d.style.visibility='hidden'; } }

// template specific
// Array( 'main', 'item_main', 'empty_item', 'imgonly_item', 'nosub_item', 'sub_open_item', 'sub_close_item')
NavbarTemplates = Array(
 Array( 
   Array('%%ITEMS%%', 
   '%%ITEM%%%%SUB%%',
   '',
   '<div class="header navbar visual"><a href="%%LINK%%"><img src="%%IMG_URL%%" alt="" border="0"/></a></div>',
   '<div class="header navbar">%%TEXT%%</div>'),

   Array('<ul class="navbar">%%ITEMS%%</ul>', 
   '<li class="navbar item%%PADLOCK%%">%%ITEM%%</li>%%SUB%%',
   '',
   '<a class="button" href="%%LINK%%"><img src="%%IMG_URL%%" alt="" border="0"/></a>',
   '<a class="button" href="%%LINK%%">%%TEXT%%</a>',
   '<a class="button" href="javascript:void(0);" onclick="toggleNavbarItem(\'%%ID%%\');return false;">%%TEXT%%<img src="http://www.stationeryandofficeupdate.com/pixmaps/up.gif" hspace="0" vspace="1" border="0"/></a>',
   '<a class="button" href="javascript:void(0);" onclick="toggleNavbarItem(\'%%ID%%\');return false;">%%TEXT%%<img src="http://www.stationeryandofficeupdate.com/pixmaps/down.gif" hspace="0" vspace="1" border="0"/></a>'),

   Array('%%ITEMS%%', 
   '<li class="navbar item sub%%PADLOCK%%">%%ITEM%%</li>',
   '',
   '<a class="button" href="%%LINK%%"><img src="%%IMG_URL%%" alt="" border="0"/></a>',   
   '<a class="button" href="%%LINK%%">%%TEXT%%</a>')
 ),
 Array(),
 Array( 
    Array('%%ITEMS%%', 
   '%%ITEM%%%%SUB%%',
   '',
   '<div class="header navbar visual"><a href="%%LINK%%"><img src="%%IMG_URL%%" alt="" border="0"/></a></div>',
   '<div class="header navbar">%%TEXT%%</div>'),

   Array('<ul class="navbar">%%ITEMS%%</ul>', 
   '<li class="navbar item%%PADLOCK%%">%%ITEM%%</li>%%SUB%%',
   '',
   '<a class="button" href="%%LINK%%"><img src="%%IMG_URL%%" alt="" border="0"/></a>',
   '<a class="button" href="%%LINK%%">%%TEXT%%</a>',
   '<a class="button" href="javascript:void(0);" onclick="toggleNavbarItem(\'%%ID%%\');return false;">%%TEXT%%<img src="http://www.stationeryandofficeupdate.com/pixmaps/up.gif" hspace="0" vspace="1" border="0"/></a>',
   '<a class="button" href="javascript:void(0);" onclick="toggleNavbarItem(\'%%ID%%\');return false;">%%TEXT%%<img src="http://www.stationeryandofficeupdate.com/pixmaps/down.gif" hspace="0" vspace="1" border="0"/></a>'),

   Array('%%ITEMS%%', 
   '<li class="navbar item sub%%PADLOCK%%">%%ITEM%%</li>',
   '',
   '<a class="button" href="%%LINK%%"><img src="%%IMG_URL%%" alt="" border="0"/></a>',   
   '<a class="button" href="%%LINK%%">%%TEXT%%</a>')
 )
);

PadlockTemplate=' padlock';
