

	var src		= new Array();
	var link	= new Array();
		
	src[1]		= "photosplan/1-thumb.jpg";
	link[1]		= "photosplan/1-full.jpg";
	
	src[2]		= "photosplan/2-thumb.jpg";
	link[2]		= "photosplan/2-full.jpg";
	
	src[3]		= "photosplan/3-thumb.jpg";
	link[3]		= "photosplan/3-full.jpg";
	
	src[4]		= "photosplan/4-thumb.jpg";
	link[4]		= "photosplan/4-full.jpg";
	
	src[5]		= "photosplan/5-thumb.jpg";
	link[5]		= "photosplan/5-full.jpg";
	
	src[6]		= "photosplan/6-thumb.jpg";
	link[6]		= "photosplan/6-full.jpg";
	
	src[7]		= "photosplan/7-thumb.jpg";
	link[7]		= "photosplan/7-full.jpg";
	
	src[8]		= "photosplan/8-thumb.jpg";
	link[8]		= "photosplan/8-full.jpg";
	
	src[9]		= "photosplan/9-thumb.jpg";
	link[9]		= "photosplan/9-full.jpg";
	
	src[10]		= "photosplan/10-thumb.jpg";
	link[10]	= "photosplan/10-full.jpg";
	
	src[11]		= "photosplan/11-thumb.jpg";
	link[11]	= "photosplan/11-full.jpg";
	
	src[12]		= "photosplan/12-thumb.jpg";
	link[12]	= "photosplan/12-full.jpg";
	
	src[13]		= "photosplan/13-thumb.jpg";
	link[13]	= "photosplan/13-full.jpg";
	
	src[14]		= "photosplan/14-thumb.jpg";
	link[14]	= "photosplan/14-full.jpg";
	
	src[15]		= "photosplan/15-thumb.jpg";
	link[15]	= "photosplan/15-full.jpg";
	
	src[16]		= "photosplan/16-thumb.jpg";
	link[16]	= "photosplan/16-full.jpg";
	
	maxImages	= 4;
	count		= 1;


	function precedente() {
		count--;
		if( count == 0 ) {
			count = maxImages;
		}
		redim();
	}

	function suivante() {
		count++;
		if( count > maxImages ) {
			count	= 1;
		}
		redim();
	}

	function redim() {
		document.curImg.src = src[ count ];
		curLocation			= link[ count ];
	
	}

	function imgPopUp() {
		redim();
		var top		= "100";
		var left	= "100";
		imgBrowser = window.open( curLocation, 'imgBrowser',
			'scrollbars=0,resizable=0,directories=0,titlebar=0,toolbar=0,menubar=0,location=0,status=0,' +
			'width=620,height=420,' + 'top=' + top + ',' + 'left=' + left );
	}

	prev = new Image (32,18);
	next = new Image (32,18);
	go = new Image (48,24);
	

