help={a:[],s:[],write:function(d,t){y=' style="font:11px sans-serif';dom.objById(d).write('<p'+y+';margin:2 2 2 2">'+t.replace(/<li/g,'<li'+y+'"').replace(/<a/g,'<a'+y+'"')+'</p>')},r:{50:'Help Topics',51:'Begin Using the Site',52:'Paying Respects',53:'Offering Condolences',54:'Dialog Issues',55:'Sharing Memories',56:'Write a Tribute',57:'Write a Memory/Condolence',58:'Send a Sympathy Card',59:'Contact Site Administrator',60:'Administrator Help Topics',61:'Edit a Memorial',62:'Memorial Name and Layout',63:'Memorial Content',64:'Upload/Select Images',65:'Example Obit',66:'Edit Slides',67:'Edit Memories/Condolences',68:'Edit Tributes',69:'Editing Images',70:'Sponsor'},parse:function(t,i){while((i=t.indexOf('~'))>=0)t=t.substr(0,i)+this.href(CInt(t.substr(i+1,3)))+t.substr(i+4);return t},href:function(n){return '<a href=javascript:void onclick="help.get('+n+');return false">'+help.r[(n>100?n-100:n)]+'</a>'},get:function(i,d){if(d==null)d='dlgHelpt';var j,t=this.a[i],p='';if(!t)eval("rpc.call('action=tiphelp&id='+i,function(o){if(o.status==2){help.a["+i+"]=o.response;help.get("+i+",'"+d+"')}else{alert('Help is not available.')}},null,0)");if(t){if(i>49){if(i>100){this.s[this.s.length-1]=(i-=100)}else{for(j=0;j<this.s.length;j++)if(this.s[j]==i)this.s.length=j;this.s[this.s.length]=i}
for(j=0;j<this.s.length-1;j++)p+=this.href(this.s[j])+'::';t=p+this.r[i]+'<br><br>'+this.parse(t);dlg.show('dlgHelp')}}
this.write(d,t||'Loading...')},tip:function(o,t,l){if(!Ini())return false;var h=dom.objById('cHlp0');if(o==null)return h.bg(0)
h.move(t||0,l||50,dom.objById(o.name));this.get(o.name.split('_')[1],'cHlp');h.bg(1)}}
