var daysCounter = 0;
var quotesCounter = 0;

var days = new Array();
var quotes = [];

days[daysCounter++] = "June 28, 2011";
quotes[quotesCounter++] = ["Marty Walsh", ", OTR/L, CHT<br />International Committee Chair", "&ldquo;I have volunteered for both HTCC and ASHT since 1998 in many capacities and have served as both a committee member and chair-person. I volunteer because I want to give back to the profession of hand therapy but as an added side benefit I have met so many people and made so many close friends from all over the country and even the world. My work as a volunteer for HTCC eventually led to a career opportunity as a staff member for the organization.  My volunteer work with ASHT and my involvement as a medical volunteer in developing countries with an agency called Resurg, contributed in large part to my receiving the high honor of being the Paul Brand Award recipient in 2010. I think we owe it to our profession to volunteer. The work can be hard but the rewards are worth it.&rdquo;", "Marty_Walsh.jpg"];

days[daysCounter++] = "June 29, 2011";
quotes[quotesCounter++] = ["Kim McVeigh", ", OTR/L, CHT<br />Practice Commission Chair", "&ldquo;I chose to volunteer for ASHT, not only to give back to my profession that has given so much to me as a therapist, but for the networking that has created life long friends and many professional contacts. I have also been surprised to learn more about my practice issues from legislation changes, to coding and proper documentation lingo. Although I am a &lsquo;volunteer&rsquo; for ASHT, I feel as if they have given me just as much if not more than I have ever given to them. It has been a win-win situation.&rdquo;", "Kim_McVeigh.jpg"];

days[daysCounter++] = "June 30, 2011";
quotes[quotesCounter++] = ["Jerry J. Coverdale", ", OT, CHT<br />ASHT President", "&ldquo;I volunteer as I know I can make a difference in ensuring that my beloved profession of hand therapy is solidly grounded.  I certainly get back more than I give in this process.  Not only has my professional development exploded, it is amazing how I have developed personally by becoming more confident, focused, and able to make more sound decisions in my professional and personal life.&rdquo;", "Jerry_Coverdale.jpg"];

days[daysCounter++] = "July 1, 2011";
quotes[quotesCounter++] = ["Linda Klein", ", OTR, CHT<br />ASHT Secretary/Treasurer-elect", "&ldquo;I volunteer with ASHT because I want to support the association that supports us as hand and upper extremity specialists. I want to be engaged in the growth and development of the association that will help our injured clients in their recovery by providing us with the best possible knowledge, research, and skills. Volunteering has given me the opportunity to meet therapists from all over the country with a similar passion, has broadened my awareness of the issues facing our profession, and has motivated me to a higher level of personal growth and vision.&rdquo;", "Linda_Klein.jpg"];

days[daysCounter++] = "July 5, 2011";
quotes[quotesCounter++] = ["Missy Thurlow", ", MBA, OTR/L, CHT<br />Member of 2011 Annual Meeting Committee<br />Past ASHT Secretary/Treasurer", "&ldquo;I volunteer for ASHT because I enjoy working on projects that can better hand therapists and also to give back to ASHT.  Volunteering can be challenging but getting to know new people, and understanding the importance of promoting our organization is so key to our survival.  I have volunteered in many different ways for ASHT. I have been on the board of directors, and assisted with conferences and have enjoyed all the aspects of volunteerism. It is important to become involved.&rdquo;", "Missy_Thurlow.jpg"];

days[daysCounter++] = "July 6, 2011";
quotes[quotesCounter++] = ["William (Bill) Walsh", "<br />Chairman, American Hand Therapy Foundation<br />2004 ASHT President", "&ldquo;I volunteer as a way to connect with my colleagues both personally and professionally.  Hand therapists are exceptionally talented individuals with whom I share an irreplaceable bond. Volunteering provides a treasured opportunity to embrace our profession while sharing life&rsquo;s journey with peers from whom we learn so much. The Society and its members are the beneficiaries of a profound collaboration of individuals who care enough to volunteer their time, talent and vision. In return, we receive an enhanced possibility for ourselves and our profession.&rdquo;", "Bill_Walsh.jpg"];

days[daysCounter++] = "July 7, 2011";
quotes[quotesCounter++] = ["Mike Cricchio", ", MBA, OTR/L,CHT<br />Practice Division Director<br />Web Development Task Force Chair", "&ldquo;I volunteer because&hellip;volunteering brings with it a sense, and unique level, of purpose, friendship and meaning not found in traditional employment.&rdquo;", "Mike_Cricchio.jpg"];

days[daysCounter++] = "July 8, 2011";
quotes[quotesCounter++] = ["Paige Kurtz", ", MS, OTR/L, CHT<br />2008 ASHT Past President", "&ldquo;A professional society exists to protect, further, and promote the interests of its members and profession. In effect, ASHT exists to ensure that we have the ability to do our jobs and get paid for doing them. If we want the society to continue to protect and advance our interests, I believe we need to be involved. I initially volunteered with ASHT because I wanted the opportunity to give back to the society that furthers and promotes our profession, and I wanted the society to continue to move forward. I believe it is important that we all be involved stakeholders in furthering our profession, via networking and communication, increasing knowledge and education, and ensuring that we are reimbursed. ASHT gave so much to me early in my career that I didn&rsquo;t just want to be a &lsquo;mailbox member&rsquo;, I wanted to give back. The more I gave to ASHT, the more I got back over the years - professional growth, knowledge, great fun, challenges, new friends. All of these things have improved my life in every aspect. I have grown as a person and a therapist. My experiences have been invaluable.&rdquo;", "Paige_Kurtz.jpg"];

days[daysCounter++] = "July 11, 2011";
quotes[quotesCounter++] = ["Sue Michlovitz", ", PT, PhD, CHT<br />ASHT Vice President", "&ldquo;I have benefited from mentors and friends. I am paying it forward.&rdquo;", "Sue_Michlovitz.jpg"];

days[daysCounter++] = "July 12, 2011";
quotes[quotesCounter++] = ["Marta Brinkley", ", OTR/L, CHT<br />Annual Meeting Committee Chair", "&ldquo;The reason I volunteer is simple:  I am paying back.  This profession has provided me with a career I LOVE, opportunities to grow professionally in the most remarkable ways, with mentors and peers who have enriched my life beyond measure.  I owe so much to ASHT and to the incredibly dedicated, talented, and generous therapists who have given literally thousands of hours that have benefitted me and my patients directly.  The L-Code project is one perfect example.  How could I not try to pay back????&rdquo;", "Marta_Brinkley.jpg"];

days[daysCounter++] = "July 13, 2011";
quotes[quotesCounter++] = ["Maureen Hardy", "<br />ASHT Secretary/Treasurer", "&ldquo;A cobble by itself is just a small stone, but when many of them lay together, they create a path.&rdquo;<br />&ndash;Sandra Tayler<br />&ldquo;My path was made easier by those who trod before.&rdquo;", "Maureen_Hardy.jpg"];

days[daysCounter++] = "July 14, 2011";
quotes[quotesCounter++] = ["Jeanine (Biese) Beasley", ", EdD, OTR, CHT<br />Annual Meeting Task Force Chair", "&ldquo;I volunteer because of<br /><strong>V</strong>ery special friendships<br /><strong>O</strong>ver and above what I give I receive<br /><strong>L</strong>ifelong learning<br /><strong>U</strong>nderstanding how an organization works<br /><strong>N</strong>ever fail to be impressed<br /><strong>T</strong>ake time to give back<br /><strong>E</strong>njoy the mentor ship<br /><strong>E</strong>nthusiasm for ASHT is contagious<br /><strong>R</strong>ealize my potential!&rdquo;", "Jeanine_Beasley.jpg"];

days[daysCounter++] = "July 15, 2011";
quotes[quotesCounter++] = ["Jane Fedorczyk", ", PT, PhD, CHT, ATC<br />ASHT Board Member-at-Large<br />Member of Nominations Committee<br />Member of Awards Committee", "&ldquo;I have volunteered for more than 20 yrs either to ASHT, ASSH, or APTA.  What I can say for sure, is that I have always received more in return for my volunteer service than I gave to the organization.  Volunteering is a wonderful way to understand your professional organization and all that it has to offer the member.  It is also a wonderful way to get to meet, network, and know other members.  I have made many close friends through my volunteer efforts.&rdquo;", "Jane_Fedorczyk.jpg"];

days[daysCounter++] = "July 18, 2011";
quotes[quotesCounter++] = ["Tim Mullen", ", PhD, OTR, CHT<br />Legislative Committee Chair", "&ldquo;I would like to copy Letterman&rsquo;s top 10 list format:<br />10. Gain professional experience, which might not otherwise be possible<br />9. Promote personal growth<br />8. Strengthens your profession<br />7. You get to make a difference<br />6. Being part of something successful is fulfilling<br />5. Resume builder<br />4. Make connections that you otherwise would not<br />3. Discover hidden talents<br />2. Break up your routine<br />1. The hope of some day meeting Jerry Coverdale ;-)&rdquo;", "Tim_Mullen.jpg"];

days[daysCounter++] = "July 19, 2011";
quotes[quotesCounter++] = ["Kristin Valdes", ", OTD, OTR, CHT<br />Hand Therapy Chair for 2012 Electives in Hand Surgery<br />Journal Chat Moderator", "&ldquo;I have been a hand therapist for many years and I can still say I love my profession! I enjoy the opportunity to give back to a profession that has given me so much. I have met some of my very closest friends volunteering. It is true that you get back so much more than you give!&rdquo;", "Kristin_Valdes.jpg"];

days[daysCounter++] = "July 20, 2011";
quotes[quotesCounter++] = ["Mary Mundrane-Zweiacher", ", MPT, ATC, CHT<br />Member of Nominations Committee", "&ldquo;I volunteer because none of us have gotten here by ourselves.  We have all received guidance and help in the past even if it is just building on what has come beforehand.  Our profession is stronger when we work as a group rather than just as individuals.&rdquo;", "Mary_Mundrane-Zweiacher.jpg"];

days[daysCounter++] = "July 21, 2011";
quotes[quotesCounter++] = ["Chris Muhleman", ", OTR/L, CHT<br />2006 ASHT President", "&ldquo;I really first volunteered when I was approached by the ASHT President and President elect at the time to take a position as State Chapters Chairperson.  It was at a time of new initiatives and I was told it was an important job. It gave me a sense of pride, knowing that I could do something to make a positive impact. I also saw the fruit of our labor.  With this project, I could see a finished product. I think having a vested interest and stake in our organization and profession of hand therapy, and knowing it was making a difference were my leading motivators to stay involved.&rdquo;", "Chris_Muhleman.jpg"];

days[daysCounter++] = "July 22, 2011";
quotes[quotesCounter++] = ["Manisha Sharma", "<br />Board Member-at-Large", "&ldquo;I volunteer for ASHT as I take pride in being part of an organization from the inside, that serves as pillar and backbone for hand therapy professionals. It is with a great sense of accomplishment that I use my skills and experience to help and enrich ASHT and give something back to our great society.  It is a fulfilling experience and fun to meet new people/pioneers of our field and make some lifelong friendships. Serving on the ASHT board has enhanced my opportunities to explore my horizons within the field of hand therapy. It has given me insight into what it takes to run such a big organization.&rdquo;", "Manisha_Sharma.jpg"];

days[daysCounter++] = "July 25, 2011";
quotes[quotesCounter++] = ["Dan Bash", ", MS, OTR/L, CHT", "&ldquo;I believe I volunteer for growth in an additional area of my work and life.  It is a new role to learn, that exposes me to more information and learning in the profession, delegates responsibilities to me that may contribute to the survival and growth of the profession, and helps me keep my finger on the pulse of what is going on in hand therapy during dynamic times in the health care industry.  There is also a level of learning and mentorship experienced just by being involved in the process with the pioneers and authorities of the profession.&rdquo;", "Dan_Bash.jpg"];

days[daysCounter++] = "July 26, 2011";
quotes[quotesCounter++] = ["Mike Szekeres", ", OT, CHT<br />Website Development Task Force Member<br />2010 Education Division Director", "&ldquo;It is easy to become a &lsquo;member&rsquo; of an organization by filling out a registration form and sending in a check. That is often the only level of commitment needed in order to add it to your resume. Unfortunately for me, that was my level of participation in ASHT for the first several years of my career. My increased participation as a volunteer in ASHT over the last 5 years has made me realize that the more active you become, the more you receive. My volunteer efforts for ASHT have led to an increased sense of belonging, a feeling that I was able to make a difference within the profession, and a huge development of collegial relationships and friendships. For those that are sitting on the sidelines and writing their check every year - the return on investment for actually getting involved is more than words can say.&rdquo;", "Mike_Szekeres.jpg"];

days[daysCounter++] = "July 27, 2011";
quotes[quotesCounter++] = ["Judith Bell Krotoski", ", MA, OTR, CHT, FAOTA<br />ASHT President 1988<br />Immediate Past Chair, AHTF", "&ldquo;I have contributed service activities because I believe in the specialty, and personally benefited from opportunity to work with outstanding mentors, I believe service to be a part of practice that pays off in return through friendships and improved practice, and it is rewarding to see the benefits of what we have been able to accomplish. I have been amazed what can be accomplished by dedicated and talented individuals who put their talents together for a specific need or goal, and find it rewarding although at time taxing.&rdquo;", "Judith_Bell_Krotoski.jpg"];

days[daysCounter++] = "July 28, 2011";
quotes[quotesCounter++] = ["Dorit Aaron", ", MA, OTR, CHT, FAOTA<br />ASHT President-elect", "&ldquo;I volunteer because I value what ASHT does for me professionally, so I feel that I need to do something back for ASHT. As a secondary gain, I learn and grow professionally, I meet amazing people and I feel that I am with my finger on the beat of the profession&hellip;and it is just plain&hellip;fun!&rdquo;", "Dorit_Aaron.jpg"];

//days[daysCounter++] = "date";
//quotes[quotesCounter++] = ["name", "title", "quote", "picture"];



var months = new Array("","January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

var today = new Date(); // today
var mon = months[today.getMonth() + 1]; // month
var day = today.getDate(); // day
var year = today.getFullYear(); // year

function showQuote() {
	for (i = 0; i < days.length; i++) {
		tempdate = new Date(days[i]);
		tempmonth = months[tempdate.getMonth() + 1];
		tempday = tempdate.getDate();
		tempyear = tempdate.getFullYear();
		
		if (year == tempyear && mon == tempmonth && day == tempday)
			// returns quote
			return('<img src="../images/' + quotes[i][3] + '" width="90" height="120" alt="" align="right" style="margin: 0 0 10px 10px; border: 2px solid #8dc365;" /><p><em>' + quotes[i][2] + '</em></p><p><strong>' + quotes[i][0] + quotes[i][1] + '</strong></p>');
	}
	return(randomQuote()); // returns default
}



function randomQuote() {
	var whichQuote = Math.round(Math.random()*(quotes.length-1));
	var quote = quotes[whichQuote];
	
	return('<img src="../images/' + quote[3] + '" width="90" height="120" alt="" align="right" style="margin: 0 0 10px 10px; border: 2px solid #8dc365;" /><p><em>' + quote[2] + '</em></p><p><strong>' + quote[0] + quote[1] + '</strong></p>');
}



function whichQuote(x) {
	return('<img src="../images/' + quotes[x][3] + '" width="90" height="120" alt="" align="right" style="margin: 0 0 10px 10px; border: 2px solid #8dc365;" /><p><em>' + quotes[x][2] + '</em></p><p><strong>' + quotes[x][0] + quotes[x][1] + '</strong></p>');
}
