var rdcQuo = {

    quotes : new Array(),
    quotenum : 0,
    
    init : function() {
        var i = 0;
        
        this.quotes[i++]=new Array("Coastal Pathology is now the only pathologist owned and operated laboratory on the Sunshine Coast.","<strong>Dr. Tim McNamara,</strong><br />Partner, Coastal Pathology");
        this.quotes[i++]=new Array("Dr Joe Gatto is a Queensland native and a renowed expert in his field with over 10 years of experience as a pathologist.","<strong>Dr. Tim McNamara,</strong><br />Partner, Coastal Pathology");
        this.quotes[i++]=new Array("Dr Tim McNamara is an adopted Queenslander and a renowed expert in his field with over 10 years experience as a pathologist.","<strong>Dr. Joe Gatto,</strong><br />Partner, Coastal Pathology");
        this.quotes[i++]=new Array("We felt that the time was right for us to expand our range of services. Most specimens referred to other labs on the Coast usually end up in Brisbane.","<strong>Drs. Joe Gatto and Tim McNamara,</strong><br />Owner Managers, Coastal Pathology");
        this.quotes[i++]=new Array("We noted that many doctors and patients are dissatisfied with the service they receive from our corporate competitors. We decided we could offer a better.","<strong>Dr. Tim McNamara,</strong><br />Partner, Coastal Pathology");
        this.quotes[i++]=new Array("We offer a personal service to our valued customers up and down the coast, from Noosa to Caloundra as well as the hinterland. Our customers appreciate our commitment to service excellence and quality.","<strong>Dr. Joe Gatto,</strong><br />Partner, Coastal Pathology");
        this.quotes[i++]=new Array("There is simply no better service available on the Coast today. No other local lab offers the advisory service to the medical community that we do. Our interpretative expertise is only a phone call away.","<strong>Dr. Tim McNamara,</strong><br />Partner, Coastal Pathology");
    
        this.quotenum = Math.floor(Math.random() * (this.quotes.length));
    
    },
    
    setQuote : function(tQuote, tCite) {
        
        
        //alert(tQuote.innerHTML);
        
        //for (i=0;i<this.quotes.length;i++) {
            //tQuote.innerHTML += this.quotes[this.quotenum][0];
            //tCite.innerHTML += this.quotes[this.quotenum][1] + ",<br />" + this.quotes[this.quotenum][2];
        //}
    },

    writeQuote : function() {
        document.write(this.quotes[this.quotenum][0]);
    },
    
    writeCite : function() {
        document.write(this.quotes[this.quotenum][1]);
    }
    
    
}

rdcQuo.init();