function highlight(field) {
	field.focus();
	field.select();
}
function perpagechange(e) {
	var ppb = document.getElementById('perpagebox');
	if (ppb != null)
	{
		var spp = document.getElementsByName('setperpage')[0];
		if (spp.options[e.selectedIndex].value != 0)
			ppb.submit();
	}
}
function clearlightbox() {
	if (confirm('{lang_delete_lightbox_confirm}'))
		location.href = "{url_delete_lightbox}";
}
