<!--[115,93,3154] published at 2008-10-24 20:05:07 from #221 by 2300-->


var index = 1;
var goto_no =1;
all_no = new Array(0);
all_url = new Array(0);


function next_pic(my_no)
{
	for (i=1;i<index;i++){
		if (all_no[i] == my_no){
			goto_no = i;
		}
	}
	goto_no = goto_no + 1;
	if (goto_no == index){
		goto_no = 1;
	}
	window.location.href=all_url[goto_no];
}
function last_pic(my_no)
{
	for (i=1;i<index;i++){
		if (all_no[i] == my_no){
			goto_no = i;
		}
	}
	goto_no = goto_no - 1;
	if (goto_no == 0){
		goto_no = index - 1;
	}
	window.location.href=all_url[goto_no];
}