(function() {

/* Keep everything in BG variable
    augment existing variable if it exists.
*/
if ( !window.BG || typeof window.BG !== 'object') {
    window.BG = {};
}
var BG = window.BG;

BG.votdWriteCallback = function(json) {
    var votd = json.votd;
    document.write('<div>' + votd.text);
    document.write('<br><br><div align="right"><b><i>' + votd.reference + '</i></b></div>');
    
};

window.BG = BG;


})();

