
stepcarousel.setup({
				galleryid: 'image-gallery', //id of carousel DIV
				beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
				panelclass: 'panel', //class of panel DIVs each holding content
				autostep: {enable:true, moveby:1, pause:7000},
				panelbehavior: {speed:500, wraparound:true, persist:false},
				defaultbuttons: {enable: false, moveby: 1, leftnav: ['http://i34.tinypic.com/317e0s5.gif', -5, 80], rightnav: ['http://i38.tinypic.com/33o7di8.gif', -20, 80]},
				statusvars: ['statusA', 'statusB', 'statusC', 'statusD'], //register 3 variables that contain current panel (start), current panel (last), and total panels
				contenttype: ['inline'] //content setting ['inline'] or ['ajax', 'path_to_external_file']
			});		
	window.onload = function(){
		initMenu();
		initMap("google-map");
	};
	
	function initMenu() {
		var urlString = ""+window.location;
		var activeMenu = "";
		switch(urlString)
		{
			case "http://knallers.m-designz.nl/": activeMenu = "home"; break;
			case "http://knallers.m-designz.nl/wintersport-zoeken/": activeMenu = "zoek"; break;
			case "http://knallers.m-designz.nl/wintersportland/andorra.html": activeMenu = "wintersportlanden"; break;
			case "http://knallers.m-designz.nl/wintersportland/frankrijk.html": activeMenu = "wintersportlanden"; break;
			case "http://knallers.m-designz.nl/wintersportland/italie.html": activeMenu = "wintersportlanden"; break;
			case "http://knallers.m-designz.nl/wintersportland/oostenrijk.html": activeMenu = "wintersportlanden"; break;
			case "http://knallers.m-designz.nl/wintersportland/zwitserland.html": activeMenu = "wintersportlanden"; break;
		}
		var el = document.getElementById(activeMenu);
		if (el != null)
			el.className = "active";
		//$(activeMenu).addClass("active");
	}
