-function NavUpdate()
- {
- $.get("ping",function(data)
- {
- $(data).find('result').each(function() {
- var net = $(this).find('net').text();
- if(net == 0) { net = ''; }
- $('#net-update').html(net);
- var home = $(this).find('home').text();
- if(home == 0) { home = ''; }
- $('#home-update').html(home);
- var mail = $(this).find('mail').text();
- if(mail == 0) { mail = ''; }
- $('#mail-update').html(mail);
- var intro = $(this).find('intro').text();
- if(intro == 0) { intro = ''; }
- $('#notify-update').html(intro);
- });
- }) ;
- setTimeout(NavUpdate,30000);
+ function confirmDelete() { return confirm("$delitem"); }
+ function commentOpen(obj,id) {
+ if(obj.value == '$comment') {
+ obj.value = '';
+ obj.className = "comment-edit-text-full";
+ openMenu("comment-edit-submit-wrapper-" + id);
+ }