Randomly picking text from external textfile

hi, i’m trying to display text from a textfile in a dynamic textfield, i have a text file called “quotes.txt” wich has variables set like this:
q0=text&q1=text2&q3=text3 etc.

so how can i pick these q’s at random and place it in my textbox?

i’ve tried this:

loadText = new loadVars();
loadText.load(“quotes.txt”);
quotes=“q”+Math.round(random(10))
loadText.onLoad = function() {

tester.text = this.quotes;

i thought i could replace the direct reference to q0 or q1 etc into a variable “qoutes”, so how can i do this so it does work?