var gal = 1;
function verGnext(){
	
	if(gal!=21){
		gal++;
		if (gal <10){
			document.sample.src=("gallery/gall-00" + gal + ".jpg");
			}
		else {
			document.sample.src=("gallery/gall-0" + gal + ".jpg");
			}
		document.prev.src="images/prev.gif";
		if(gal==21){document.next.src="images/trans.gif";}
	}
}
function verGprev(){
	if(gal!=1){
		gal--;
		if (gal >9){
			document.sample.src=("gallery/gall-0" + gal + ".jpg");
			}
		else {
			
			document.sample.src=("gallery/gall-00" + gal + ".jpg");
		}
		if(gal==20){document.next.src="images/next.gif";}
		if(gal==1){document.prev.src="images/trans.gif";}
	}	
}