//slideshow demo
	//counter
	var bild = 0;
	//store some images in an array
	var homePageShowArray = ["images/bg/bg_01.jpg", "images/bg/bg_02.jpg", "images/bg/bg_03.jpg", "images/bg/bg_04.jpg", "images/bg/bg_05.jpg", "images/bg/bg_06.jpg", "images/bg/bg_07.jpg", "images/bg/bg_08.jpg", "images/bg/bg_09.jpg"];
	
	//background image loading functions, loads first image on page load
	$(document).ready(function() {		
		//start gallery
		homePageShow();			  
	});
	
	//simple method for calling the npFullBgImg methods and loading in a new image.
	function homePageShow() {
		 //request an image, with a call back to start the gallery timer each time the image is loaded and displayed  
		 $('#imgContainer').npFullBgImg(homePageShowArray[bild], {fadeInSpeed: 2000, center: true, callback:function(){startGalleryTimer()}});
		 //increment counter
		 bild++;
		 //loop gallery here
		 if(bild == homePageShowArray.length) bild=0;
	}
	
	function startGalleryTimer() {
		//set up timer for gallery, set here to 5 seconds.
		setTimeout("homePageShow()", 5000);
	}
