function printqoute(pCategory){
var quotes=new Array()
var qouteauthors=new Array()
var qoutetitles=new Array()
var qoutecategories=new Array()
var qoutescategory=pCategory

//*************************************************
// To update qoutes change information below.  If 
//    leaving a field blank, you must still have 
//    single qoutes.  
//*************************************************
// Three avaliable categories are EVID, MR, and LEGACY.
// To insert a quotation mark withing a quote (e.g., It's), use &#39; (e.g., It&#39;s)
//

quotes[0]='It&#39;s hard to put a dollar value on all the process improvements we&#39;ve realized because of using Decision Support&#39;s technology.  I can say that it&#39;s paid for itself many times over.'
qouteauthors[0]='Jeff Stark'
qoutetitles[0]='Systems Specialist, Allvac, Inc.'
qoutecategories[0]='LEGACY'

quotes[1]='Whenever we&#39;ve needed help, we&#39;ve always been able to get support right away.  We&#39;ve always received excellent support from the Decision Support team.'
qouteauthors[1]='John Kern'
qoutetitles[1]='Information Systems, Anchorage Police Dept.'
qoutecategories[1]='LEGACY'

quotes[2]='Our customers can intuitively build reports using pre-determined fields, calculated fields and selection criteria.  Our customers are able to make better and faster decisions.'
qouteauthors[2]='Kerry James'
qoutetitles[2]='Software Engineering Manager, Computer Services Inc.'
qoutecategories[2]='MR'


//*************************************************
// END OF CHANGABLE CONTENT!!!! 
// DO NOT CHANGE TEXT BELOW HERE!!!!
//*************************************************





// Must set var qoutescategory in page for filtering

var tmpquotes=new Array()
var tmpqouteauthors=new Array()
var tmpqoutetitles=new Array()
var tmparrayindex = 0

switch (qoutescategory)
{
case '':
    for (i=0;i<quotes.length;i++)
    {
        tmpquotes[tmparrayindex] = quotes[i]
        tmpqouteauthors[tmparrayindex] = qouteauthors[i]
        tmpqoutetitles[tmparrayindex] = qoutetitles[i]
        tmparrayindex++    
    }
    break

case 'EVID':
    for (i=0;i<quotes.length;i++)
    {
        if (qoutecategories[i] == 'EVID')
        {
            tmpquotes[tmparrayindex] = quotes[i]
            tmpqouteauthors[tmparrayindex] = qouteauthors[i]
            tmpqoutetitles[tmparrayindex] = qoutetitles[i]
            tmparrayindex++    
        }
    }
    break

case 'MR':
    for (i=0;i<quotes.length;i++)
    {
        if (qoutecategories[i] == 'MR')
        {
            tmpquotes[tmparrayindex] = quotes[i]
            tmpqouteauthors[tmparrayindex] = qouteauthors[i]
            tmpqoutetitles[tmparrayindex] = qoutetitles[i]
            tmparrayindex++    
        }
    }
    break

case 'LEGACY':
    for (i=0;i<quotes.length;i++)
    {
        if (qoutecategories[i] == 'LEGACY')
        {
            tmpquotes[tmparrayindex] = quotes[i]
            tmpqouteauthors[tmparrayindex] = qouteauthors[i]
            tmpqoutetitles[tmparrayindex] = qoutetitles[i]
            tmparrayindex++    
        }
    }
    break

case 'BIR':
    for (i=0;i<quotes.length;i++)
    {
        if (qoutecategories[i] == 'MR' || qoutecategories[i] == 'LEGACY')
        {
            tmpquotes[tmparrayindex] = quotes[i]
            tmpqouteauthors[tmparrayindex] = qouteauthors[i]
            tmpqoutetitles[tmparrayindex] = qoutetitles[i]
            tmparrayindex++    
        }
    }
    break
}

var whichquote=Math.floor(Math.random()*(tmpquotes.length))

document.write('<p><span class="qoutetext">' + tmpquotes[whichquote] + '</p>')
document.write('<p style="text-align:right;"></span><br/><span class="qouteauthor">' + tmpqouteauthors[whichquote])
document.write('</span><br/><span class="qoutetitle">' + tmpqoutetitles[whichquote] + '</span></p>')

}
