function loadQuestion(xmlFile) { 
    $.ajax({
        url: xmlFile, 
        dataType: 'xml',
        success: function(xmlDoc) {
            question=xmlDoc.documentElement; 
	        questions=$(question).find('question');
	        randNo = Math.floor(Math.random()*questions.length+1) - 1;
            $('.question span.qotd').text(questions[randNo].getAttribute('title'));
            $('.question span.answer1').text(questions[randNo].getAttribute('answerA'));
            $('.question img:first').attr('src', questions[randNo].getAttribute('image'));
            $('.question img:first').attr('title', questions[randNo].getAttribute('title'));
            $('.question img:first').attr('alt', questions[randNo].getAttribute('title'));
            $('.question a:first').attr('href', questions[randNo].getAttribute('link'));
            $('.question span.answer2').text(questions[randNo].getAttribute('answerB'));
        }
    });
};
