
$accDC([

// Temp dialog
{
id: 'dialog',
role: 'Status',
allowReopen: true,
allowMultiple: true,
returnFocus: false,
targetObj: $('#feedDiv').get(0),
showHiddenClose: false,
autoFix: 5,
cssObj: {
zIndex: 1000
},
source: $('<img width="36" height="50" src="/images/sand_clock_indigo.png" alt="Please wait..." title="Please wait..." />'),
runAfter: function(dc){
$accDC.fn.announce(dc.source.attr('alt'));
}
},

// Load main
{
id: 'main',
role: 'News Feed',
showHiddenClose: false,
allowReopen: true,
allowMultiple: true,
isStatic: '#feedDiv',
mode: 1,
increment: 0,
runBefore: function(dc){
var d = $accDC.reg.dialog.dc;
d.open(d);
dc.source += '&increment=' + dc.increment;
dc.increment += 1;
},
runAfter: function(dc){
var d = $accDC.reg.dialog.dc;
d.close(d);
if (!dc.forceFocus)
dc.forceFocus = true;
}
}

], null, true);

$('.feedLinks a').live('click', function(ev){
var c = $accDC.reg.main.dc;
c.source = this.href + '&htmlEncoding=UTF-8&stripHTML=1';
c.open(c);
ev.preventDefault();
});

$(document).ready(function(){
$('.feedLinks a').first().trigger('click');
});
