// *****
// Here the names of the buttons are defined.
// They correspond with the names used for the images
// You can add a button to the list but do NOT
// forget to add it to the navigation page as well.
// *****
butImages = new Array (	"bNieuws", 
			"bWelkom",
			"bCLpeeloffs",
			"bHome",
			"bOpendag",
			"bBeurzen",
			"bCursussen",
			"bContact",
			"bWelcome",
			"bWinkel",
			"bHome",
			"bAanbiedingen",
			"bKassa",			
			"bIntroductie",
			"bWebwinkel",
			"bBazzill",
			"bSimpleshortcuts",
			"bCashdesk",
			"bNews",
			"bIntroduction",
			"bWebshop",
			"bSpecialoffers",
			"bCrealiesstickers",
			"bGlazesoufflepennen",
			"bStardustMetallic",
			"bScrapline",
			"bMinibooks",
			"bCrealiesdoodle",
			"bCrealiesproducten",
			"bGroothandels",
			"bNieuwsbrief",
			"bWinkelier",
			"bGallery",
			"bCrealiespeeloffs",
			"bGlazesoufflépens",
			"bWorkshops",
			"bGroothandel",
			"bDesignteam",
			"bDoodleCo",
			"bStickystencils",
			"bCreativeborders",
			"bAlleCrealiesproducten",
			"bCLstickers",
			"bBackgroundembossing",
			"bCreativecorners",
			"bCreativeflowers",
			"bCreativeshapes",
			"bPaperplus",
			"bFlowerembossing",
			"bStempels",
			"bScrapdeco",
			"bScrapflowers",
			"bStamps",
			"bEmboZZ",
			"bLayouts2010",
			"bLayouts2009",
			"bKaarten2ehelft2010",
			"bOpop",
			"bSale",
			"bBlog",
			"b2002",
			"b2003",
			"b2004",
			"b2005",
			"b2006",
			"b2007",
			"b2008",
			"b2009"
		      );

// Sets the active images for the button.
// knopsrc contains e.g. "bNieuws.src" value of the active button
// active  is true when active, meaning load a different image.
function getActiveImage (knopsrc, active, evt){   var activeSrcName;   var knopName;
   var i, found = 0;
   if (active == true)
   {
      activeSrcName = knopsrc.substring(0, knopsrc.indexOf (".gif"));      knopName = activeSrcName;      activeSrcName = activeSrcName + "_a.gif";   }
   else
   {
      activeSrcName = knopsrc.substring(0, knopsrc.indexOf ("_a.gif"));      knopName = activeSrcName;      activeSrcName = activeSrcName + ".gif";   }
   for (i = 0; found == 0 && i < butImages.length; i++)
   {
      if (knopsrc.indexOf (butImages[i]) >= 0)
      {
         if (document.all) 		//MSIE
         {
            document.all[butImages[i]].src = activeSrcName;
         }
         else if (document.layers) 	// NN4
         {
	    // Not available.
         }
         else  				// NN6
	 {
            document[butImages[i]].src = activeSrcName;
	 }
 	 found = 1;
      }   }
}