function navFoto(produto,sinal) {
		var rg = new RegExp(/o=([0-9]+)/);
        var img = FFW.g('foto-gall');
		var m = rg.exec(img.src);
		var newOffset;
		if (m == null) {
			newOffset = 1;
			var url = 'iss.php?iss=produtoimg&i='+produto+'&o='+newOffset;
		} else {
            if (sinal == '+')
                newOffset = parseInt(m[1])+1;
            else
                newOffset = parseInt(m[1])-1;
			
            var url = img.src.replace(rg, 'o='+newOffset);
		}
        img.src = url;
}
