	prev1 = new Image (82,22);
	prev1.src = "images/slideshow_prev.gif";
	prev2 = new Image (82,22);
	prev2.src = "images/slideshow_prev_on.gif";
	
	next1 = new Image (82,22);
	next1.src = "images/slideshow_next.gif";
	next2 = new Image (82,22);
	next2.src = "images/slideshow_next_on.gif";
	
	go1 = new Image (82,22);
	go1.src = "images/slideshow_zoom.gif";
	go2 = new Image (82,22);
	go2.src = "images/slideshow_zoom_on.gif";
	
	count = 1; 
	function next() {
		count++;
		if (count > maxPic) {
		 count = 1;
		 }
		eval("document.p.src=p" + count + ".src"); 
	}
	
	function back() {
		count--;
		if (count == -1) {
		 count = maxPic;
		 }
		eval("document.p.src=p" + count + ".src");
	}
	
	function link() { 
		location.href=eval("link" + count); 
	}
	
	function linkpopup() { 
		popupWindow(eval("link" + count));
	}
	
	function popupWindow(url) {
		window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=820,height=550,screenX=150,screenY=150,top=150,left=150')
	}