function addpage(formobj, lastpage){
var thisForm;
thisForm = eval(formobj);

	if(parseInt(thisForm.page.value) < parseInt(lastpage)){
		thisForm.page.value = (parseInt(thisForm.page.value)+1).valueOf();
		thisForm.action="";
		thisForm.target="_self";
		thisForm.submit();
	}

}
function uppage(formobj){
var thisForm;
thisForm = eval(formobj);

	if(parseInt(thisForm.page.value)>1){
		thisForm.page.value = (parseInt(thisForm.page.value)-1).valueOf();
	}
	thisForm.action="";
	thisForm.target="_self";
	thisForm.submit();
}

function firstpage(formobj){
var thisForm;
thisForm = eval(formobj);

	thisForm.page.value = "1";
	thisForm.action="";
	thisForm.target="_self";
	thisForm.submit();
}

function lastpage(formobj, lastpage){
var thisForm;
thisForm = eval(formobj);

	thisForm.page.value = lastpage;
	thisForm.action="";
	thisForm.target="_self";
	thisForm.submit();
}

function changepage(formobj){
var thisForm;
thisForm = eval(formobj);
	thisForm.action="";
	thisForm.target="_self";
	thisForm.submit();
}
