<!--
// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// ==============================================
//
// Rotation Script file for Family Matters Website
//
// Set up the Arrays to be used.

var theImages = new Array()
var theAlts = new Array()
var theQuotes = new Array()

// To add more image files, continue with the
// pattern below, adding to the array. Rememeber
// to increment the theImages[x] index!

theImages[0] = 'http://www4.nau.edu/fronske/banners/1.jpg'
theImages[1] = 'http://www4.nau.edu/fronske/banners/2.jpg'
theImages[2] = 'http://www4.nau.edu/fronske/banners/3.jpg'
theImages[3] = 'http://www4.nau.edu/fronske/banners/4.jpg'
theImages[4] = 'http://www4.nau.edu/fronske/banners/5.jpg'
theImages[5] = 'http://www4.nau.edu/fronske/banners/6.jpg'
theImages[6] = 'http://www4.nau.edu/fronske/banners/7.jpg'
theImages[7] = 'http://www4.nau.edu/fronske/banners/8.jpg'
theImages[8] = 'http://www4.nau.edu/fronske/banners/9.jpg'
theImages[9] = 'http://www4.nau.edu/fronske/banners/10.jpg'
theImages[10] = 'http://www4.nau.edu/fronske/banners/11.jpg'
theImages[11] = 'http://www4.nau.edu/fronske/banners/12.jpg'
theImages[12] = 'http://www4.nau.edu/fronske/banners/13.jpg'
theImages[13] = 'http://www4.nau.edu/fronske/banners/14.jpg'
theImages[14] = 'http://www4.nau.edu/fronske/banners/15.jpg'
theImages[15] = 'http://www4.nau.edu/fronske/banners/16.jpg'
theImages[16] = 'http://www4.nau.edu/fronske/banners/17.jpg'
theAlts[0] = 'Professor Teaching Students'
theAlts[1] = 'Business College Students'
theAlts[2] = 'NAU Graduates'
theAlts[3] = 'Recreating Students'
theAlts[4] = 'NAU Students'
theAlts[5] = 'NAU Students'
theAlts[6] = 'CC Test Takers'
theAlts[7] = 'Aspen Trees'
theAlts[8] = 'Smiling Student'
theAlts[9] = 'NAU Students'
theAlts[10] = 'Graduating Students Celebrate'
theAlts[11] = 'The Grand Canyon'
theAlts[12] = 'CHS Online Banner'
theAlts[13] = 'Got Balance Banner'
theAlts[14] = 'Got Balance Banner'
theAlts[15] = 'Got Balance Banner'
theAlts[16] = 'Got Balance Banner'

// ======================================
// do not change anything below this line
// ======================================

var j = 0
var p = theImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'" alt="'+theAlts[whichImage]+'">');
}


//-->
//  Code for Changing Campus Health DID YOU KNOW Quotations //
//
theQuotes[0] = 'Fronske has quick and easy service: Great options for students.'
theQuotes[1] = 'They treat health problems for lower cost than other places.'
theQuotes[2] = 'I can schedule an appointment any time, anywhere that I have internet access.'
theQuotes[3] = 'It’s very convenient if you don’t have a doctor in Flagstaff.'
theQuotes[4] = 'Fronske has exceptional service and a friendly staff.'
theQuotes[5] = 'It’s a lot easier to go to Fronske for health needs than to go to Phoenix.'
theQuotes[6] = '94% of surveyed students rated Fronske very good to excellent for ease of getting a referral when you needed one.'
theQuotes[7] = '96% of surveyed students rated Fronske health care providers very good to excellent for taking time to answer their questions.'
theQuotes[8] = '97% of surveyed students rated Fronske health care provider very good to excellent for their willingness to listen carefully to students.'
theQuotes[9] = '96% of surveyed students rated Fronske’s overall quality of medical care very good to excellent.'
theQuotes[10] = 'Dr. Armstrong is one of the nicest doctors I’ve ever met. He really cared.'
theQuotes[11] = 'Thank you for offering the low-cost therapeutic massage. It benefited me tremendously while at NAU.'
theQuotes[12] = 'When I was in pain, the nurse at Fronske was very friendly and professional.'
theQuotes[13] = 'I have had really good experiences at Fronske. Thank you so much for all you have done for me.'
theQuotes[14] = 'Karen Busch (nurse practitioner) was excellent. I was extremely impressed.'
theQuotes[15] = 'The entire staff at the health center were caring and willing to help in any way during my son’s serious illness.'
theQuotes[16] = 'You all (Fronske) made my day. This is what makes NAU feel like home to me.'


// ======================================
// do not change anything below this line
// ======================================

var q = theQuotes.length;

var whichQuote = Math.round(Math.random()*(q-1));
function showQuote(){
document.write('<p>"'+theQuotes[whichQuote]+'"</p>');
}
//-->