function showImage(){
	
	var theImages = Array();
	
	theImages[0] = 'a1.jpg';
	theImages[1] = 'a2.jpg';
	theImages[2] = 'a3.jpg';
	theImages[3] = 'a4.jpg';
	theImages[4] = 'a5.jpg';
	theImages[5] = 'aq1.jpg';
	theImages[6] = 'aq2.jpg';
	theImages[7] = 'aq3.jpg';
	theImages[8] = 'aq4.jpg';
	theImages[9] = 'aq5.jpg';
	theImages[10] = 'aq6.jpg';
	theImages[11] = 'b1.jpg';
	theImages[12] = 'b2.jpg';
	theImages[13] = 'b3.jpg';
	theImages[14] = 'b4.jpg';
	theImages[15] = 'f1.jpg';
	theImages[16] = 'f2.jpg';
	theImages[17] = 'f3.jpg';
	theImages[18] = 'f4.jpg';
	theImages[19] = 'f5.jpg';
	theImages[20] = 'f6.jpg';
	theImages[21] = 'f7.jpg';
	theImages[22] = 'o1.jpg';
	theImages[23] = 'o2.jpg';
	theImages[24] = 'o3.jpg';
	theImages[25] = 'o4.jpg';
	theImages[26] = 'o5.jpg';
	theImages[27] = 'o6.jpg';
	theImages[28] = 'p1.jpg';
	theImages[29] = 'p2.jpg';
	theImages[30] = 'p3.jpg';
	theImages[31] = 'p4.jpg';
	theImages[32] = 'p5.jpg';
	theImages[33] = 'r1.jpg';
	theImages[34] = 'r2.jpg';
	theImages[35] = 'r3.jpg';
	theImages[36] = 'r4.jpg';
	theImages[37] = 'r5.jpg';
	theImages[38] = 'r6.jpg';
	theImages[39] = 'r7.jpg';
	theImages[40] = 'r8.jpg';
	theImages[41] = 'r9.jpg';
	
	// bepaal pad naar afbeelding
	currPath		= window.location.toString();
	aantalSlashes	= currPath.split('/').length;
	echteSlashes	= 4;
	aantalKeerPunt	= aantalSlashes - echteSlashes;
	punten			= '';
	for(i=0; i<aantalKeerPunt ; i++){
		punten		+= '../';
	}
	
	//alert (currPath)
	
	//---------------------------------------------------
	// bepaal foto bij application pagina's
	if (currPath.indexOf('animalfeed.htm') > -1){
		var theImages = Array();
		theImages[0] = 'a1.jpg';
		theImages[1] = 'a2.jpg';
		theImages[2] = 'a3.jpg';
		theImages[3] = 'a4.jpg';
		theImages[4] = 'a5.jpg';
	}
	if (currPath.indexOf('animalfeed_expandate.htm') > -1){
		var theImages = Array();
		theImages[0] = 'a3.jpg';
	}
	if (currPath.indexOf('animalfeed_flakes.htm') > -1){
		var theImages = Array();
		theImages[0] = 'a2.jpg';
	}
	if (currPath.indexOf('animalfeed_mash.htm') > -1){
		var theImages = Array();
		theImages[0] = 'a4.jpg';
	}
	if (currPath.indexOf('animalfeed_pellet.htm') > -1){
		var theImages = Array();
		theImages[0] = 'a1.jpg';
	}
	if (currPath.indexOf('animalfeed_pulp.htm') > -1){
		var theImages = Array();
		theImages[0] = 'a5.jpg';
	}
	if (currPath.indexOf('aquaticfeed.htm') > -1){
		var theImages = Array();
		theImages[0] = 'aq1.jpg';
		theImages[1] = 'aq2.jpg';
		theImages[2] = 'aq3.jpg';
		theImages[3] = 'aq4.jpg';
		theImages[4] = 'aq5.jpg';
		theImages[5] = 'aq6.jpg';
	}
	if (currPath.indexOf('aquaticfeed_extrusion.htm') > -1){
		var theImages = Array();
		theImages[0] = 'aq3.jpg';
	}
	if (currPath.indexOf('aquaticfeed_pellet.htm') > -1){
		var theImages = Array();
		theImages[0] = 'aq5.jpg';
	}
	if (currPath.indexOf('biofuels.htm') > -1){
		var theImages = Array();
		theImages[0] = 'b1.jpg';
		theImages[1] = 'b2.jpg';
		theImages[2] = 'b3.jpg';
		theImages[3] = 'b4.jpg';
	}
	if (currPath.indexOf('biofuels_ddgs.htm') > -1){
		var theImages = Array();
		theImages[0] = 'b4.jpg';
	}
	if (currPath.indexOf('biofuels_wood.htm') > -1){
		var theImages = Array();
		theImages[0] = 'b1.jpg';
		theImages[1] = 'b2.jpg';
		theImages[2] = 'b3.jpg';
	}
	if (currPath.indexOf('food.htm') > -1){
		var theImages = Array();
		theImages[0] = 'f1.jpg';
		theImages[1] = 'f2.jpg';
		theImages[2] = 'f3.jpg';
		theImages[3] = 'f4.jpg';
		theImages[4] = 'f5.jpg';
		theImages[5] = 'f6.jpg';
		theImages[6] = 'f7.jpg';
	}
	if (currPath.indexOf('food_breadcrumbs.htm') > -1){
		var theImages = Array();
		theImages[0] = 'f1.jpg';
	}
	if (currPath.indexOf('food_cacao.htm') > -1){
		var theImages = Array();
		theImages[0] = 'f3.jpg';
	}
	if (currPath.indexOf('food_couscous.htm') > -1){
		var theImages = Array();
		theImages[0] = 'f2.jpg';
	}
	if (currPath.indexOf('food_extrudedfood.htm') > -1){
		var theImages = Array();
		theImages[0] = 'f4.jpg';
		theImages[1] = 'f6.jpg';
		theImages[2] = 'f7.jpg';
	}
	if (currPath.indexOf('oilseeds.htm') > -1){
		var theImages = Array();
		theImages[0] = 'o1.jpg';
		theImages[1] = 'o2.jpg';
		theImages[2] = 'o3.jpg';
		theImages[3] = 'o4.jpg';
		theImages[4] = 'o5.jpg';
		theImages[5] = 'o6.jpg';
	}
	if (currPath.indexOf('oilseeds_expandatedcollets.htm') > -1){
		var theImages = Array();
		theImages[0] = 'o2.jpg';
	}
	if (currPath.indexOf('oilseeds_expellercake.htm') > -1){
		var theImages = Array();
		theImages[0] = 'o4.jpg';
	}
	if (currPath.indexOf('oilseeds_meal.htm') > -1){
		var theImages = Array();
		theImages[0] = 'o3.jpg';
	}
	if (currPath.indexOf('oilseeds_pellets.htm') > -1){
		var theImages = Array();
		theImages[0] = 'o5.jpg';
	}
	if (currPath.indexOf('petfood.htm') > -1){
		var theImages = Array();
		theImages[0] = 'p1.jpg';
		theImages[1] = 'p2.jpg';
		theImages[2] = 'p3.jpg';
		theImages[3] = 'p4.jpg';
		theImages[4] = 'p5.jpg';
	}
	if (currPath.indexOf('petfood_extrusion.htm') > -1){
		var theImages = Array();
		theImages[0] = 'p1.jpg';
		theImages[1] = 'p2.jpg';
		theImages[2] = 'p3.jpg';
		theImages[3] = 'p4.jpg';
		theImages[4] = 'p5.jpg';
	}
	if (currPath.indexOf('recycling.htm') > -1){
		var theImages = Array();
		theImages[0] = 'r1.jpg';
		theImages[1] = 'r2.jpg';
		theImages[2] = 'r3.jpg';
		theImages[3] = 'r4.jpg';
		theImages[4] = 'r5.jpg';
		theImages[5] = 'r6.jpg';
		theImages[6] = 'r7.jpg';
		theImages[7] = 'r8.jpg';
		theImages[8] = 'r9.jpg';
	}
	if (currPath.indexOf('recycling_fertiliser.htm') > -1){
		var theImages = Array();
		theImages[0] = 'r2.jpg';
		theImages[1] = 'r3.jpg';
	}
	if (currPath.indexOf('recycling_householdwaste.htm') > -1){
		var theImages = Array();
		theImages[0] = 'r1.jpg';
	}
	if (currPath.indexOf('recycling_paper.htm') > -1){
		var theImages = Array();
		theImages[0] = 'r4.jpg';
	}
	if (currPath.indexOf('recycling_plastics.htm') > -1){
		var theImages = Array();
		theImages[0] = 'r6.jpg';
	}
	if (currPath.indexOf('recycling_sewagesludge.htm') > -1){
		var theImages = Array();
		theImages[0] = 'r7.jpg';
	}
	if (currPath.indexOf('recycling_rubbershreds.htm') > -1){
		var theImages = Array();
		theImages[0] = 'r5.jpg';
	}
	//---------------------------------------------------
	
	// bepaal random foto
	fotoNr			= Math.floor(Math.random( ) * (theImages.length));
	// bepaal compleet pad
	fotoPath		= punten + 'images/menu/img_applications/' + theImages[fotoNr];
	
//	document.write(currPath + '<br/>' + aantalSlashes  + '<br/>' +  fotoPath);
	document.write('<img src="'+fotoPath+'" />');
//	document.write(fotoNr);

}