	function movepic(img_name,img_src) {
		document[img_name].src=img_src;
	}
	
	function changeColor(elem, color){
		elem.style.backgroundColor = color;
	}
	
	function goToUrl(nextUrl)
	{
		window.location.href=nextUrl;
	}
	function changeBigPicture(newPicture)
	{
		document.getElementById("bigPicture").src = newPicture;
	}
	
	var fotos;
	var counter = 0;
	var timer;

	
	function changeBPandUpdateCounter(){
		changeBigPicture(fotos[counter]);
		counter = counter + 1;
		counter = counter % fotos.length;
		
	}
	function tom(){
		alert("yet");		
	}

	function startSlideshow(){
		timer=setTimeout("changeBPandUpdateCounter();",2500);
	}

	function stopSlideshow(){
		clearTimeout(timer);
		timer = null;
	}

    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(50.090707, 7.137084),12);
        map.enableScrollWheelZoom();
        map.setMapType(G_HYBRID_MAP);
        map.enableInfoWindow();

        map.addOverlay(new GMarker(new GLatLng(50.090707, 7.137084)));
        //map.showMapBlowup(new GLatLng(50.090707, 7.137084));
        map.openInfoWindowHtml(map.getCenter(),  '<table><tr><td><img src="<?php echo $_SESSION[imagePath];?>/logo_monalisa.jpg" height="100"></td><td><img src="../image/vooraanzicht_klein.jpg" height="100"></td></tr></table>');
     }
    }


