-<script type="text/javascript">
-// $(document).ready(function() { setTimeout(NavUpdate,10 * 1000); });
-
-function NavUpdate()
- {
- $.get("ping",function(data)
- {
- $(data).find('result').each(function() {
- var net = $(this).find('net').text();
- alert(net);
- });
- }) ;
- setTimeout(NavUpdate,10 * 1000);
+ 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);
+ }
+ }
+ function commentClose(obj,id) {
+ if(obj.value == '') {
+ obj.value = '$comment';
+ obj.className="comment-edit-text-empty";
+ closeMenu("comment-edit-submit-wrapper-" + id);
+ }