// Navigation handler, when viewing more than 1 record. var array_id = id.split(','); var array_ids = ids.split(','); if (array_id.length > 2) { document.location = '?_page='+module+':view&id='+array_id[0]+'&ids='+id; } else if (array_ids.length > 2) { document.write(view_nav_top(array_ids,id,ids)); } function view_jump(jmp_to,ids) { var url = '?_page='+module+':view&id='+jmp_to +'&ids='+ids; if (pgescape==true) url += '&_escape=true'; window.location = url; } function view_nav_top(array,id,ids) { var rw = ''; var ff = ''; var jmp= ''; var t=array.length-1; var last = false; var next = false; var last_id = array[t]; jmp = ' '; if (array[0] != id) { rw = ' '; rw += '    '; } else { rw = '   '; rw += '    '; } if (last_id != id) { ff = '   '; ff += '   '; } else { ff = '   '; ff += '   '; } var ret = '
'; ret += ''; ret += ''; ret += ''; ret += '
'+rw+''+jmp+'
'+ff+'
'; return ret; }