<!--
// ==============================================
// 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://www.nau.edu/ctc/assets/banners/1.jpg'
theImages[1] = 'http://www.nau.edu/ctc/assets/banners/2.jpg'
theImages[2] = 'http://www.nau.edu/ctc/assets/banners/3.jpg'
theImages[3] = 'http://www.nau.edu/ctc/assets/banners/4.jpg'
theImages[4] = 'http://www.nau.edu/ctc/assets/banners/5.jpg'
theImages[5] = 'http://www.nau.edu/ctc/assets/banners/6.jpg'
theImages[6] = 'http://www.nau.edu/ctc/assets/banners/7.jpg'
theImages[7] = 'http://www.nau.edu/ctc/assets/banners/8.jpg'
theImages[8] = 'http://www.nau.edu/ctc/assets/banners/9.jpg'
theImages[9] = 'http://www.nau.edu/ctc/assets/banners/10.jpg'
theImages[10] = 'http://www.nau.edu/ctc/assets/banners/11.jpg'
theImages[11] = 'http://www.nau.edu/ctc/assets/banners/12.jpg'
theImages[12] = 'http://www.nau.edu/ctc/assets/banners/13.jpg'
theImages[13] = 'http://www.nau.edu/ctc/assets/banners/14.jpg'
theImages[14] = 'http://www.nau.edu/ctc/assets/banners/15.jpg'
theImages[15] = 'http://www.nau.edu/ctc/assets/banners/16.jpg'
theImages[16] = 'http://www.nau.edu/ctc/assets/banners/17.jpg'
theAlts[0] = 'Aspen Trees'
theAlts[1] = 'Aspen Trees'
theAlts[2] = 'Flowered Cactus'
theAlts[3] = 'Blooming Cactus'
theAlts[4] = 'Cactus'
theAlts[5] = 'CC Counselor Derya Suzen'
theAlts[6] = 'CC Counselor Derya Suzen'
theAlts[7] = 'CC Building and Aspen Trees'
theAlts[8] = 'San Francisco Peaks'
theAlts[9] = 'San Francisco Peaks'
theAlts[10] = 'Pine Needles'
theAlts[11] = 'Beautiful NAU Sky'
theAlts[12] = 'Blooming Cactus'
theAlts[13] = 'CC Got Balance Banner'
theAlts[14] = 'CC Got Balance Banner'
theAlts[15] = 'CC Got Balance Banner'
theAlts[16] = 'CC 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] = '(Counseling) has been beneficial because I am learning how to deal with stress in a healthy way and fix my home relationships'
theQuotes[1] = '(Counseling) has helped me realize what has hindered me in my academic performance.'
theQuotes[2] = '(Counseling) has helped me to identify problems that can be eliminated and improving my overall state of health/well-being.'
theQuotes[3] = 'Counseling has helped me to be healthy and happy again.'
theQuotes[4] = '(Counseling) is definitely helping me work through issues that have plagued me for all my life.'
theQuotes[5] = '(Counseling) has decreased my anxiety and made me more confident.'
theQuotes[6] = 'My (counseling) experience has helped me to feel less stressed and cope with the challenges in life.'
theQuotes[7] = '(Counseling) has helped me to manage my anxiety and panic attacks which were greatly interfering with my schooling.'
theQuotes[8] = '(Counseling) has helped me in feeling more confident and in my relationships with others.'
theQuotes[9] = '(Counseling) has helped me to cope with stressful situations and has made it able for me to continue at NAU to get my degree.'
theQuotes[10] = '(Counseling) has helped me get over my fears.  I have been able to branch out and meet people.'
theQuotes[11] = 'I feel more related and competent, two big struggles for me.'
theQuotes[12] = '(Counseling) has helped with my relationship and communication skills.'
theQuotes[13] = 'I have learned to live life on life’s terms.'


// ======================================
// 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>');
}
//-->