NavbarItems = Array(3);
NavbarItems[0] = Array(
 Array('2',1, Array(
   Array('804',1, null,'Les industries créatives : Un moteur de la croissance','/news/categoryfront.php/id/804/Les_industries_cr_E9atives_:_Un_moteur_de_la_croissance.html','','',0),
   Array('805',1, null,'Commerce créatif','/news/categoryfront.php/id/805/Commerce_cr_E9atif.html','','',0),
   Array('782',1, null,'L’Aide pour le commerce: Investir dans les personnes','/news/categoryfront.php/id/782/L_92Aide_pour_le_commerce:_Investir_dans_les_personnes.html','','',0),
   Array('806',1, null,'Histoires commerciales','/news/categoryfront.php/id/806/Histoires_commerciales.html','','',0),
   Array('767',1, null,'Comprendre la crise financière mondiale','/news/categoryfront.php/id/767/Comprendre_la_crise_financi_E8re_mondiale.html','','',0),
   Array('554',1, null,'','','','',0),
   Array('1',1, null,'','','','',0)),'Sujets actuels','/news/categoryfront.php/id/2/Sujets_actuels.html','','',0),
 Array('125',1, Array(
   Array('373',1, Array(
     Array('374',1, null,'Vue d\'ensemble','/news/categoryfront.php/id/374/Vue_d_ensemble.html','','',0),
     Array('375',1, null,'Communautés pauvres et le commerce','/news/categoryfront.php/id/375/Communaut_E9s_pauvres_et_le_commerce.html','','',0),
     Array('645',1, null,'En photos: Stratégies d’exportation','/news/categoryfront.php/id/645/En_photos:_Strat_E9gies_d_92exportation.html','','',0),
     Array('376',1, null,'Secteurs offrant un potentiel','/news/categoryfront.php/id/376/Secteurs_offrant_un_potentiel.html','','',0),
     Array('571',1, null,'Commerce Sud-Sud','/news/categoryfront.php/id/571/Commerce_Sud-Sud.html','','',0),
     Array('541',1, null,'Commerce éthique','/news/categoryfront.php/id/541/Commerce__E9thique.html','','',0)),'Réduction de la pauvreté','/news/categoryfront.php/id/373/R_E9duction_de_la_pauvret_E9.html','','',0),
   Array('560',1, Array(
     Array('672',1, null,'Aide pour le commerce','/news/categoryfront.php/id/672/Aide_pour_le_commerce.html','','',0)),'Aide pour le commerce','/news/categoryfront.php/id/560/Aide_pour_le_commerce.html','','',0),
   Array('399',1, Array(
     Array('400',1, null,'Vue d\'ensemble','/news/categoryfront.php/id/400/Vue_d_ensemble.html','','',0),
     Array('401',1, null,'Potentiel en développement','/news/categoryfront.php/id/401/Potentiel_en_d_E9veloppement.html','','',0),
     Array('402',1, null,'Un rôle pour les entreprises','/news/categoryfront.php/id/402/Un_r_F4le_pour_les_entreprises.html','','',0),
     Array('403',1, null,'Impact sur les secteurs','/news/categoryfront.php/id/403/Impact_sur_les_secteurs.html','','',0),
     Array('404',1, null,'Obstacles commerciaux','/news/categoryfront.php/id/404/Obstacles_commerciaux.html','','',0)),'Négociations commerciales','/news/categoryfront.php/id/399/N_E9gociations_commerciales.html','','',0),
   Array('445',1, Array(
     Array('446',1, null,'Vue d’ensemble','/news/categoryfront.php/id/446/Vue_d_92ensemble.html','','',0),
     Array('591',1, null,'De la politique à la pratique','/news/categoryfront.php/id/591/De_la_politique__E0_la_pratique.html','','',0),
     Array('592',1, null,'Nouvelles perspectives','/news/categoryfront.php/id/592/Nouvelles_perspectives.html','','',0)),'Commerce des services','/news/categoryfront.php/id/445/Commerce_des_services.html','','',0),
   Array('272',1, Array(
     Array('388',1, null,'Vue d\'ensemble','/news/categoryfront.php/id/388/Vue_d_ensemble.html','','',0),
     Array('390',1, null,'Intégration des femmes ','/news/categoryfront.php/id/390/Int_E9gration_des_femmes_.html','','',0),
     Array('576',1, null,'Études de cas','/news/categoryfront.php/id/576/_C9tudes_de_cas.html','','',0)),'Les femmes dans l\'économie','/news/categoryfront.php/id/272/Les_femmes_dans_l__E9conomie.html','','',0),
   Array('229',1, Array(
     Array('423',1, null,'Vue d\'ensemble','/news/categoryfront.php/id/423/Vue_d_ensemble.html','','',0),
     Array('378',1, null,'Opportunités de marché','/news/categoryfront.php/id/378/Opportunit_E9s_de_march_E9.html','','',0),
     Array('379',1, null,'Stratégies nationales ','/news/categoryfront.php/id/379/Strat_E9gies_nationales_.html','','',0),
     Array('380',1, null,'Les TIC et le commerce','/news/categoryfront.php/id/380/Les_TIC_et_le_commerce.html','','',0),
     Array('382',1, null,'Sources d\'information','/news/categoryfront.php/id/382/Sources_d_information.html','','',0)),'E-commerce','/news/categoryfront.php/id/229/E-commerce.html','','',0),
   Array('187',1, Array(
     Array('392',1, null,'Changer l\'environnement','/news/categoryfront.php/id/392/Changer_l_environnement.html','','',0),
     Array('393',1, null,'Contrats types','/news/categoryfront.php/id/393/Contrats_types.html','','',0),
     Array('394',1, null,'Gestion des différends','/news/categoryfront.php/id/394/Gestion_des_diff_E9rends.html','','',0)),'Droit du commerce ','/news/categoryfront.php/id/187/Droit_du_commerce_.html','','',0),
   Array('587',1, Array(
     Array('588',1, null,'Sensibilisation du public','/news/categoryfront.php/id/588/Sensibilisation_du_public.html','','',0),
     Array('589',1, null,'Images de marque','/news/categoryfront.php/id/589/Images_de_marque.html','','',0),
     Array('590',1, null,'R\'ole des entreprises','/news/categoryfront.php/id/590/R_ole_des_entreprises.html','','',0),
     Array('630',1, null,'Environnement commercial','/news/categoryfront.php/id/630/Environnement_commercial.html','','',0)),'Éloge du commerce','/news/categoryfront.php/id/587/_C9loge_du_commerce.html','','',0),
   Array('582',1, Array(
     Array('583',1, null,'Collaborer avec les ONG','/news/categoryfront.php/id/583/Collaborer_avec_les_ONG.html','','',0),
     Array('584',1, null,'Se faire entendre','/news/categoryfront.php/id/584/Se_faire_entendre.html','','',0),
     Array('585',1, null,'Développement des communautés','/news/categoryfront.php/id/585/D_E9veloppement_des_communaut_E9s.html','','',0)),'ONG','/news/categoryfront.php/id/582/ONG.html','','',0),
   Array('131',1, Array(
     Array('360',1, null,'Vue d\'ensemble','/news/categoryfront.php/id/360/Vue_d_ensemble.html','','',0),
     Array('361',1, null,'Opportunités de marché','/news/categoryfront.php/id/361/Opportunit_E9s_de_march_E9.html','','',0),
     Array('586',1, null,'Dossiers commerciaux','/news/categoryfront.php/id/586/Dossiers_commerciaux.html','','',0),
     Array('362',1, null,'Exigences à l\'exportation','/news/categoryfront.php/id/362/Exigences__E0_l_exportation.html','','',0)),'Commerce et environnement','/news/categoryfront.php/id/131/Commerce_et_environnement.html','','',0),
   Array('578',1, Array(
     Array('579',1, null,'Gestion de la competitivité','/news/categoryfront.php/id/579/Gestion_de_la_competitivit_E9.html','','',0),
     Array('580',1, null,'La promotion commerciale en action','/news/categoryfront.php/id/580/La_promotion_commerciale_en_action.html','','',0)),'Appui au commerce','/news/categoryfront.php/id/578/Appui_au_commerce.html','','',0)),'Thèmes ','/news/categoryfront.php/id/125/Th_E8mes_.html','','',0),
 Array('20',1, Array(
   Array('21',1, Array(
     Array('27',1, null,'Produits agroalimentaires','/news/categoryfront.php/id/27/Produits_agroalimentaires.html','','',0),
     Array('188',1, null,'Aide humanitaire','/news/categoryfront.php/id/188/Aide_humanitaire.html','','',0),
     Array('22',1, null,'Animaux, accessoires','/news/categoryfront.php/id/22/Animaux,_accessoires.html','','',0),
     Array('25',1, null,'Chimie et pharmacie','/news/categoryfront.php/id/25/Chimie_et_pharmacie.html','','',0),
     Array('23',1, null,'Industries créatives','/news/categoryfront.php/id/23/Industries_cr_E9atives.html','','',0),
     Array('28',1, null,'Technologies de l\'information','/news/categoryfront.php/id/28/Technologies_de_l_information.html','','',0),
     Array('216',1, null,'Cuir','/news/categoryfront.php/id/216/Cuir.html','','',0),
     Array('26',1, null,'Emballages','/news/categoryfront.php/id/26/Emballages.html','','',0),
     Array('29',1, null,'Textiles et vêtements','/news/categoryfront.php/id/29/Textiles_et_v_EAtements.html','','',0),
     Array('24',1, null,'Bois','/news/categoryfront.php/id/24/Bois.html','','',0),
     Array('568',1, null,'Café','/news/categoryfront.php/id/568/Caf_E9.html','','',0)),'Produits','/news/categoryfront.php/id/21/Produits.html','','',0),
   Array('30',1, Array(
     Array('435',1, null,'Vue d\'ensemble','/news/categoryfront.php/id/435/Vue_d_ensemble.html','','',0),
     Array('31',1, null,'Services d\'appui','/news/categoryfront.php/id/31/Services_d_appui.html','','',0),
     Array('32',1, null,'Assurance','/news/categoryfront.php/id/32/Assurance.html','','',0),
     Array('35',1, null,'Tourisme','/news/categoryfront.php/id/35/Tourisme.html','','',0)),'Services aux entreprises','/news/categoryfront.php/id/30/Services_aux_entreprises.html','','',0),
   Array('44',1, Array(
     Array('436',1, null,'Vue d\'ensemble','/news/categoryfront.php/id/436/Vue_d_ensemble.html','','',0),
     Array('330',1, null,'Afrique','/news/categoryfront.php/id/330/Afrique.html','','',0),
     Array('47',1, null,'Afrique du Sud','/news/categoryfront.php/id/47/Afrique_du_Sud.html','','',0),
     Array('138',1, null,'Australie','/news/categoryfront.php/id/138/Australie.html','','',0),
     Array('48',1, null,'Bangladesh','/news/categoryfront.php/id/48/Bangladesh.html','','',0),
     Array('49',1, null,'Barbade','/news/categoryfront.php/id/49/Barbade.html','','',0),
     Array('508',1, null,'Botswana','/news/categoryfront.php/id/508/Botswana.html','','',0),
     Array('51',1, null,'Burkina Faso','/news/categoryfront.php/id/51/Burkina_Faso.html','','',0),
     Array('52',1, null,'Burundi','/news/categoryfront.php/id/52/Burundi.html','','',0),
     Array('539',1, null,'Cambodge','/news/categoryfront.php/id/539/Cambodge.html','','',0),
     Array('273',1, null,'Cameroun','/news/categoryfront.php/id/273/Cameroun.html','','',0),
     Array('567',1, null,'Chine','/news/categoryfront.php/id/567/Chine.html','','',0),
     Array('55',1, null,'Canada','/news/categoryfront.php/id/55/Canada.html','','',0),
     Array('56',1, null,'Colombie','/news/categoryfront.php/id/56/Colombie.html','','',0),
     Array('140',1, null,'Côte d\'Ivoire','/news/categoryfront.php/id/140/C_F4te_d_Ivoire.html','','',0),
     Array('197',1, null,'Cuba','/news/categoryfront.php/id/197/Cuba.html','','',0),
     Array('506',1, null,'Émirats arabes unis','/news/categoryfront.php/id/506/_C9mirats_arabes_unis.html','','',0),
     Array('135',1, null,'États-Unis','/news/categoryfront.php/id/135/_C9tats-Unis.html','','',0),
     Array('80',1, null,'Éthiopie','/news/categoryfront.php/id/80/_C9thiopie.html','','',0),
     Array('58',1, null,'Gambie','/news/categoryfront.php/id/58/Gambie.html','','',0),
     Array('59',1, null,'Ghana','/news/categoryfront.php/id/59/Ghana.html','','',0),
     Array('60',1, null,'Guinée','/news/categoryfront.php/id/60/Guin_E9e.html','','',0),
     Array('61',1, null,'Haïti','/news/categoryfront.php/id/61/Ha_EFti.html','','',0),
     Array('137',1, null,'Hong-Kong','/news/categoryfront.php/id/137/Hong-Kong.html','','',0),
     Array('62',1, null,'Inde','/news/categoryfront.php/id/62/Inde.html','','',0),
     Array('136',1, null,'Japon','/news/categoryfront.php/id/136/Japon.html','','',0),
     Array('63',1, null,'Kenya','/news/categoryfront.php/id/63/Kenya.html','','',0),
     Array('65',1, null,'Madagascar','/news/categoryfront.php/id/65/Madagascar.html','','',0),
     Array('507',1, null,'Malaisie','/news/categoryfront.php/id/507/Malaisie.html','','',0),
     Array('66',1, null,'Mali','/news/categoryfront.php/id/66/Mali.html','','',0),
     Array('134',1, null,'Maroc','/news/categoryfront.php/id/134/Maroc.html','','',0),
     Array('331',1, null,'Mexique','/news/categoryfront.php/id/331/Mexique.html','','',0),
     Array('332',1, null,'Mongolie','/news/categoryfront.php/id/332/Mongolie.html','','',0),
     Array('552',1, null,'Mozambique','/news/categoryfront.php/id/552/Mozambique.html','','',0),
     Array('274',1, null,'Népal','/news/categoryfront.php/id/274/N_E9pal.html','','',0),
     Array('275',1, null,'Nigéria','/news/categoryfront.php/id/275/Nig_E9ria.html','','',0),
     Array('68',1, null,'Oman','/news/categoryfront.php/id/68/Oman.html','','',0),
     Array('198',1, null,'Ouganda','/news/categoryfront.php/id/198/Ouganda.html','','',0),
     Array('503',1, null,'Pakistan','/news/categoryfront.php/id/503/Pakistan.html','','',0),
     Array('70',1, null,'Pays-Bas','/news/categoryfront.php/id/70/Pays-Bas.html','','',0),
     Array('504',1, null,'Pérou','/news/categoryfront.php/id/504/P_E9rou.html','','',0),
     Array('69',1, null,'PMA','/news/categoryfront.php/id/69/PMA.html','','',0),
     Array('139',1, null,'République de Corée','/news/categoryfront.php/id/139/R_E9publique_de_Cor_E9e.html','','',0),
     Array('72',1, null,'Rép.-Unie de Tanzanie','/news/categoryfront.php/id/72/R_E9p.-Unie_de_Tanzanie.html','','',0),
     Array('71',1, null,'Roumanie','/news/categoryfront.php/id/71/Roumanie.html','','',0),
     Array('628',1, null,'Rwanda','/news/categoryfront.php/id/628/Rwanda.html','','',0),
     Array('73',1, null,'Samoa','/news/categoryfront.php/id/73/Samoa.html','','',0),
     Array('631',1, null,'Sierra Leone','/news/categoryfront.php/id/631/Sierra_Leone.html','','',0),
     Array('67',1, null,'Singapour','/news/categoryfront.php/id/67/Singapour.html','','',0),
     Array('553',1, null,'Sri Lanka','/news/categoryfront.php/id/553/Sri_Lanka.html','','',0),
     Array('632',1, null,'Tanzanie','/news/categoryfront.php/id/632/Tanzanie.html','','',0),
     Array('75',1, null,'Togo','/news/categoryfront.php/id/75/Togo.html','','',0),
     Array('629',1, null,'Tunisie','/news/categoryfront.php/id/629/Tunisie.html','','',0),
     Array('77',1, null,'Union européenne','/news/categoryfront.php/id/77/Union_europ_E9enne.html','','',0),
     Array('78',1, null,'Zambie','/news/categoryfront.php/id/78/Zambie.html','','',0),
     Array('79',1, null,'Zimbabwe','/news/categoryfront.php/id/79/Zimbabwe.html','','',0)),'Pays/Région','/news/categoryfront.php/id/44/Pays_R_E9gion.html','','',0)),'Secteurs/pays','/news/categoryfront.php/id/20/Secteurs_pays.html','','',0),
 Array('210',1, Array(
   Array('211',1, null,'Vue d\'ensemble du CCI','http://www.intracen.org/menus/itc-f.htm','','',0),
   Array('355',1, null,'Cas du dévéloppement du commerce','/news/categoryfront.php/id/355/Cas_du_d_E9v_E9loppement_du_commerce.html','','',0),
   Array('482',1, null,'Services et produits','/news/categoryfront.php/id/482/Services_et_produits.html','','',0),
   Array('170',1, null,'Publications','/news/categoryfront.php/id/170/Publications.html','','',0),
   Array('212',1, null,'E-Shop','http://www.intracen.org/eshop/welcome.asp','','',0)),'À propos du CCI','/news/categoryfront.php/id/210/_C0_propos_du_CCI.html','','',0),
 Array('120',1, Array(
   Array('122',1, null,'Reproduction','/news/fullstory.php/aid/256.html#link','','',0),
   Array('121',1, null,'Info/Contact','/info/about_us.php','','',0),
   Array('123',1, null,'S\'abonner','/subscription.php','','',0),
   Array('647',1, null,'Rencontre avec notre lectorat','/news/categoryfront.php/id/647/Rencontre_avec_notre_lectorat.html','','',0),
   Array('652',1, null,'Collection du <i><b>Forum du commerce</i></b>','/news/categoryfront.php/id/652/Collection_du_Forum_du_commerce.html','','',0)),'À propos du <i>Forum</i>','/news/categoryfront.php/id/120/_C0_propos_du_Forum.html','','',0),
 Array('437',1, Array(
   Array('748',1, null,'2009','/news/categoryfront.php/id/748/2009.html','','',0),
   Array('674',1, null,'2008','/news/categoryfront.php/id/674/2008.html','','',0),
   Array('601',1, null,'2007','/news/categoryfront.php/id/601/2007.html','','',0),
   Array('527',1, null,'2006','/news/categoryfront.php/id/527/2006.html','','',0),
   Array('444',1, null,'2005','/news/categoryfront.php/id/444/2005.html','','',0),
   Array('443',1, null,'2004','/news/categoryfront.php/id/443/2004.html','','',0),
   Array('442',1, null,'2003','/news/categoryfront.php/id/442/2003.html','','',0),
   Array('441',1, null,'2002','/news/categoryfront.php/id/441/2002.html','','',0),
   Array('440',1, null,'2001','/news/categoryfront.php/id/440/2001.html','','',0),
   Array('439',1, null,'2000','/news/categoryfront.php/id/439/2000.html','','',0),
   Array('438',1, null,'1999','/news/categoryfront.php/id/438/1999.html','','',0)),'Numéros précédents','/news/categoryfront.php/id/437/Num_E9ros_pr_E9c_E9dents.html','','',0));
NavbarItems[1] = Array(
);
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%%<ul class="navbar">%%SUB%%</ul>',
   '',
   '<div class="header navbar visual"><a href="%%LINK%%"><img src="%%IMG_URL%%" alt="" border="0"></a></div>',
   '<div class="header navbar">%%TEXT%%</div>'),

   Array('%%ITEMS%%', 
   '%%ITEM%%%%SUB%%',
   '',
   '<li class="navbar item">%%PADLOCK%%<a class="button" href="%%LINK%%"><img src="%%IMG_URL%%" alt="" border="0"></a></li>',
   '<li class="navbar item item_%%ID%%">%%PADLOCK%%<a class="button" href="%%LINK%%">%%TEXT%%</a></li>',
   '<li class="navbar item haschild">%%PADLOCK%%<a class="button" href="%%LINK%%" onClick="toggleNavbarItem(\'%%ID%%\');return false;"><img src="http://www.forumducommerce.org/themes/itc2/bullet-open.gif" hspace=0 vspace=1 border=0>%%TEXT%%</a></li>',
   '<li class="navbar item haschild">%%PADLOCK%%<a class="button" href="%%LINK%%" onClick="toggleNavbarItem(\'%%ID%%\');return false;"><img src="http://www.forumducommerce.org/themes/itc2/bullet-close.gif" hspace=0 vspace=1 border=0>%%TEXT%%</a></li>'),

   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%%<ul class="navbar">%%SUB%%</ul>',
   '',
   '<div class="header navbar visual"><a href="%%LINK%%"><img src="%%IMG_URL%%" alt="" border="0"></a></div>',
   '<div class="header navbar">%%TEXT%%</div>'),

   Array('%%ITEMS%%', 
   '%%ITEM%%%%SUB%%',
   '',
   '<li class="navbar item">%%PADLOCK%%<a class="button" href="%%LINK%%"><img src="%%IMG_URL%%" alt="" border="0"></a></li>',
   '<li class="navbar item">%%PADLOCK%%<a class="button" href="%%LINK%%">%%TEXT%%</a></li>',
   '<li class="navbar item haschild">%%PADLOCK%%<a class="button" href="%%LINK%%" onClick="toggleNavbarItem(\'%%ID%%\');return false;"><img src="http://www.forumducommerce.org/themes/itc2/bullet-open.gif" hspace=0 vspace=1 border=0>%%TEXT%%</a></li>',
   '<li class="navbar item haschild">%%PADLOCK%%<a class="button" href="%%LINK%%" onClick="toggleNavbarItem(\'%%ID%%\');return false;"><img src="http://www.forumducommerce.org/themes/itc2/bullet-close.gif" hspace=0 vspace=1 border=0>%%TEXT%%</a></li>'),

   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='<img src="http://www.forumducommerce.org/pixmaps/padlock.gif" border="0" align="right" hspace="1" vspace="1">';
