function go(){
	with (document.post) {
		PageNo.value = parseInt(page.value);
		if (parseInt(page.value) > 0) {
			submit(); 
			return true;
		}
	}
}

function fNav(go) {
	with(document.post) {
		if (go=="next")
			PageNo.value = parseInt(PageNo.value) + 1
		else if (go=="prev")
			PageNo.value = parseInt(PageNo.value) - 1		
		submit(); 
		return true;
	}
}

function ffilter() {
	with (document.post) {
		PageNo.value = 1; 
		submit(); 
		return true;
	}
}

var buttontarget = ""
function jumpto2(url){ 
	if (buttontarget=="") window.location=url
	else if (buttontarget=="_new") window.open(url)
	else parent[buttontarget].location=url
}

function selectOptionRedirect(targ,selObj,restore){ 
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");      
  if (restore) selObj.selectedIndex=0; 
}

function popwin(lokasi,feat,tipe) {
	var wtype;
	if (tipe == '0') {
		wtype=window.open(lokasi,'',feat + '' +', scrollbars=yes, resizable=no');
	}
	else {
		wtype=window.open(lokasi,'',feat + '' +', scrollbars=yes, resizable=no');
	}
	return;
}
