/* Quicklinks Menu */

var pages = new Array();
pages[0]="";
pages[1]="/how-to-become-member.asp";
pages[2]="/membership-dues.asp";
pages[3]="/member-status.asp";
pages[4]="/accreditation-process.asp";
pages[5]="/requirements-for-candidacy-status.asp";
pages[6]="/requirements-for-accreditation.asp";
pages[7]="/mentoring-program.asp";
pages[8]="/costs-fees.asp";
pages[9]="/sponsorship-opportunities.asp";
pages[10]="/faqs.asp";

function getPage() {
var num = document.menu.quicklinks.selectedIndex;
if (num !== 0) {
document.location.href = pages[num];}
}

/* Regional Assemblies Menu */

var assemblies = new Array();
assemblies[0]="";
assemblies[1]="/new-england-regional-assembly.asp";
assemblies[2]="/middle-states-regional-assembly.asp";
assemblies[3]="/southern-regional-assembly.asp";
assemblies[4]="/great-lakes-regional-assembly.asp";
assemblies[5]="/north-central-regional-assembly.asp";
assemblies[6]="/south-central-regional-assembly.asp";
assemblies[7]="/northwest-regional-assembly.asp";
assemblies[8]="/western-regional-assembly.asp";
assemblies[9]="/european-regional-assembly.asp";
assemblies[10]="/asian-regional-assembly.asp";
assemblies[11]="/latin-american-regional-assembly.asp";

function getMembers() {
var i = document.menu2.regionals.selectedIndex;
if (i !== 0) {
document.location.href = assemblies[i];}
}

/* Annual Conference Rotating Images */

var confPic = new Array();
confPic[0]="img/annual-conference-kc-a.jpg";
confPic[1]="img/annual-conference-kc-b.jpg";
confPic[2]="img/annual-conference-kc-c.jpg";
confPic[3]="img/annual-conference-kc-d.jpg";
confPic[4]="img/annual-conference-kc-e.jpg";
confPic[5]="img/annual-conference-kc-f.jpg";
confPic[6]="img/annual-conference-kc-g.jpg";
confPic[7]="img/annual-conference-kc-h.jpg";

function rotatePic() {
rotate = setInterval("changePic()",3000);
}

picnum = 1;

function changePic() {
if (picnum < confPic.length-1) {
document.images['annual-conference-image'].src=confPic[picnum];
picnum++;}
else if (picnum == confPic.length-1) {
document.images['annual-conference-image'].src=confPic[picnum];
picnum=0;}
}

/* Quotations */

var rQuote = new Array();
rQuote[0] = 'Only those who risk going too far will ever know how far they can go.<br /><br /><em>&ndash; Unknown</em>';
rQuote[1] = 'It is easier to go down a hill than up, but the view is from the top.<br /><br /><em>&ndash; Unknown</em>';
rQuote[2] = 'If there is no wind, row.<br /><br /><em>&ndash; Unknown</em>';
rQuote[3] = 'Wheresoever you go, go with all your heart.<br/ ><br /><em>&ndash; Confucius</em>';
rQuote[4] = 'Do not follow where the path may lead. Go instead where there is no path and leave a trail.<br /><br /><em>&ndash; Muriel Strode</em>';
rQuote[5] = 'One of the secrets of life is to make stepping stones out of stumbling blocks.<br /><br /><em>&ndash; Jack Penn</em>';
rQuote[6] = 'Faced with what is right, to leave it undone shows a lack of courage.<br /><br /><em>&ndash; Confucius</em>';
rQuote[7] = 'I hear and I forget. I see and I remember. I do and I understand.<br /><br /><em>&ndash; Confucius</em>';
rQuote[8] = 'Our greatest glory is not in never falling, but in rising every time we fall.<br /><br /><em>&ndash; Confucius</em>';
rQuote[9] = 'Study the past if you would divine the future.<br /><br /><em>&ndash; Confucius</em>';
rQuote[10] = 'They must often change who would remain constant in happiness and wisdom.<br /><br /><em>&ndash; Confucius</em>';
rQuote[11] = 'When it is obvious that the goals cannot be reached, do not adjust the goals, adjust the action steps.<br /><br /><em>&ndash; Confucius</em>';
rQuote[12] = 'The art of being wise is the art of knowing what to overlook.<br /><br /><em>&ndash; William James</em>';
rQuote[13] = 'Do not be afraid to take big steps. You cannot cross a chasm in two small jumps.<br /><br /><em>&ndash; David Lloyd George</em>';
rQuote[14] = 'Well done is better than well said.<br /><br /><em>&ndash; Benjamin Franklin</em>';
rQuote[15] = 'A mind once stretched by a new idea never regains its original dimension.<br /><br /><em>&ndash; Oliver Wendell Holmes</em>';
rQuote[16] = 'Imagination is more important than knowledge.<br /><br /><em>&ndash; Albert Einstein</em>';
rQuote[17] = 'In the middle of difficulty lies opportunity.<br /><br /><em>&ndash; Albert Einstein</em>';
rQuote[18] = 'Success comes before work only in the dictionary.<br /><br /><em>&ndash; Unknown</em>';
rQuote[19] = 'We make a living by what we get, but we make a life by what we give.<br /><br /><em>&ndash; Norman MacEwan</em>';
rQuote[20] = 'Choose a job you love, and you will never have to work a day in your life.<br /><br /><em>&ndash; Confucius</em>';
rQuote[21] = 'A diamond is a chunk of coal that made good under pressure.<br /><br /><em>&ndash; Unknown</em>';
rQuote[22] = 'Even if you are on the right track, you will get run over if you just sit there.<br /><br /><em>&ndash; Will Rogers</em>';
rQuote[23] = 'It does not matter how slowly you go, so long as you do not stop.<br /><br /><em>&ndash; Confucius</em>';
rQuote[24] = 'A journey of thousand miles begins with a single step.<br /><br /><em>&ndash; Confucius</em>';
rQuote[25] = 'Creative thinking may simply mean the realization that there is no particular virtue in doing things the way they have always been done.<br /><br /><em>&ndash; Rudolph Flesch</em>';
rQuote[26] = 'If you do not expect the unexpected, you will not find it.<br /><br /><em>&ndash; Heraclitus</em>';
rQuote[27] = 'It is no disgrace to start over. It is usually an opportunity.<br /><br /><em>&ndash; George M. Adams</em>';
rQuote[28] = 'Anyone who graduates today and stops learning tomorrow is uneducated the day after.<br /><br /><em>&ndash; Newton D. Baker</em>';
rQuote[29] = 'I cannot understand why people are frightened of new ideas; I am frightened of old ones.<br /><br /><em>&ndash; John Cage</em>';
rQuote[30] = 'We are what we repeatedly do. Excellence, then, is not an act, but a habit.<br /><br /><em>&ndash; John Cage</em>';
rQuote[31] = 'An essential aspect of creativity is not being afraid to fail.<br /><br /><em>&ndash; Edwin Land</em>';
rQuote[32] = 'Mistakes are the portals of discovery.<br /><br /><em>&ndash; James Joyce</em>';
rQuote[33] = 'Progress means taking risks; for you cannot steal home and keep your foot on third base.<br /><br /><em>&ndash; Herbert V. Prochnow</em>';
rQuote[34] = 'If we knew what we were doing, it would not be called research.<br /><br /><em>&ndash; Albert Einstein</em>';
rQuote[35] = 'Learning is a treasure that will follow its owner everywhere.<br /><br /><em>&ndash; Chinese Proverb</em>';

function writeQuote() {
var ranNumber = Math.floor(Math.random() * 36);
document.write(rQuote[ranNumber]);
}


