// Set Cookie Expiration in Days
num_days = 30;
// Set random number upper limit
rnd_upper_limit = 9;
// Set cookie name
thiscookie = "randomQuote";
// Call function to read cookie
readCookie(thiscookie);

// Read Cookie and Display Appropriate Movie
function readCookie(cookieName){
    var start = document.cookie.indexOf(cookieName);
    if (start == -1){ 
		 // FIRST VISIT
        // Set cookie and expiration
        document.cookie = cookieName + "=yes; expires=" + ged(num_days);
		
		//Display Quote 1
			document.write('<p>&nbsp;</p><p><span class="link">Janice help Rick regain his confidence  and power through an image makeover:</span></p><p>&nbsp;</p><p>&quot;Janice provides an  &quot;ah-ha&quot; experience as she points out important principles to enhance  your image that you can\'t see about yourself. Her presentation style is  professional as well as entertaining, and her program is designed to capture  her audiences attention and to help them envision the possibilities....&quot;</p><p>&nbsp;</p><p><strong>Rick Willeford, MBA, CPA/CFP</strong></p>');      		
		
    } else {
		// RETURN VISIT
		// Generate random number
		var randomnumber = Math.floor(Math.random()*(rnd_upper_limit));

	
		switch(randomnumber+1)
			{
			case 1:
				//Display Quote 1
				document.write('<p>&nbsp;</p><span class="link">Get back the past 20 years just like Colleen did with a makeover by Janice: </span></p><p>&nbsp;</p> <p>&quot;Janice Hurley has an innate ability  to bring out the best in everyone! &nbsp;Her professional makeovers reveal what  you dare to be! &nbsp;Searching within each of her clients, she uncovers the  most attractive features and brings them to light. &quot;</p><p>&nbsp;</p><p><span class="link">Colleen Rutledge, RDH</span> </p>');  
			  break;
			case 2:
				//Display Quote 2
				document.write('<p>&nbsp;</p><span class="link">Janice helped Christopher perfect his image: </span></p><p>&nbsp;</p><p>&quot;After several frustrating attempts with other  &quot;stylists&quot; Janice was the clarity I needed. &nbsp;I am extremely grateful I  found her and made an appointment. Her strong point of view transformed my  image and self-esteem about what was possible with clothing and I learned that  my body was the right size, only my clothing was wrong.  Part intuition, part science - Janice taught me to bring my style sense to the next level and now it\'s amazing how many people comment on how great I look.  More than this - I feel extremely confident in my own clothing and I noticed that I don\'t  worry about my clothing choices when packing for a trip or picking out my clothes for the office in the morning. &nbsp;Now I can spend my shopping and  dress time more efficiently.  With great respect for quality work -  I LOVED my work time with Janice.  Thank you Janice!&quot;</p><p>&nbsp;</p><p><span class="link">Christopher Montoya, Corporate Trainer / Public Speaker</span> </p>');     
			  break;
			case 3:
			  	//Display Quote 3
				document.write('<p>&nbsp;</p><span class="link">Janice brings out Dr. Benson\'s charm:</span></p><p>&nbsp;</p><p>&quot;Aside from being extremely valuable  by implementing guidelines that will create an efficient and productive  practice, Janice has a special talent to generate the appropriate staff attire  to reflect a very professional atmosphere. &nbsp;plus, she did a great &quot;makeover&quot;  for me. &nbsp;Thanks, Janice!&quot;</p><p>&nbsp;</p><p><span class="link">Dr. David Benson</span> </p>');      
			  break;
			case 4:
				//Display Quote 4
				document.write('<p>&nbsp;</p><span class="link">Janice helped Jennifer see what she\'s been missing:</span> </p><p>&nbsp;</p><p>&quot;It has been a wonderful year of  growth. Janice Hurley was the water that made me sprout. I had the opportunity  to spend an intense &quot;makeover&quot; weekend with Janice. The visual  transformation the she created became a life transformation. I met Janice at a  Speaking and Consulting Network workshop last year at a time in my career when  I was to consider becoming a consultant. I asked for her expertise in giving me  some &quot;image&quot; advice. The most amazing experience was not that she  changed my image -- she exposed me. I now am immediately seen as the  &quot;professional&quot; that I am.  I  have worked as a dental assistant and administrator for 15 years. I returned to  the office as the &quot;executive&quot; assistant, suit and heels. The  extraordinary changes began to take place around me. Slowly the attire went  from scrubs to duds! We look great! This was really an asset to the practice  because as our confidence radiated the patient population evolved also. The  practice is known for its quality, integrity and professionalism.&quot;</p><p>&nbsp;</p><p class="link">Jennifer Hallaway Co, MSO</p>');       
			  break;
			 case 5:
				//Display Quote 5
				document.write('<p>&nbsp;</p><span class="link">Dr. Dennis Ikuta finds new direction with Janice Hurley: &nbsp;</span></p><p>&nbsp;</p><p>&quot;Up until the time I first met  Janice... I felt something was missing. &nbsp;I thought perhaps it was a need  of a facility upgrade, efficiency enhancement, organizational or communication  skills improvement, staff training, absence of needed systems... Janice was an  expert in all of those areas. &nbsp;The thing that I am most grateful for is  that she has helped me to enjoy my work. &nbsp;Her common sense, no nonsense,  action/result oriented management style, sprinkled with humor and that needed  bit of the human touch, has been inspirational to me to help find passion in my  profession. I must emphasize that Janice has helped involve the entire  staff. &nbsp;I find her to be efficient and intelligent, with a good sense of  humor. &nbsp;I have a great respect for her knowledge and her ability to  communicate it. &nbsp;She gets things done. &nbsp;I highly recommend Janice for  anyone looking for a top-notch consultant.&quot;</p><p>&nbsp;</p><p class="link">Dr. Dennis Ikuta</p>');       
			  break;
		    case 6:
				//Display Quote 6
				document.write('<p>&nbsp;</p><span class="link">Dr. Buzza\'s staff took Janice\'s Online  Makeover, and feels like a &quot;million bucks&quot;:</span></p><p>&nbsp;</p><p>&quot;Janice has the uncanny ability to see the hidden professional in each individual. &nbsp;She transformed our team,  in an efficient and cost effective manner, so that their presence and  presentation exude professionalism, quality, and integrity. Whether your team  is already looking sharp, or you want to make the jump to light speed, (The  program) will be the best investment you can make in achieving the goals that  you desire.&quot;</p><p>&nbsp;</p><p class="link">Dr. John Buzza</p><p class="link">&nbsp;</p>');       
			  break;
			  case 7:
				//Display Quote 7
				document.write('<p>&nbsp;</p><p><span class="link">Janice helped Leo get the edge he needed:</span></p><p>&nbsp;</p><p>&quot;I recently spent time with Janice working on my Image - not just the  visual (clothing or appearance) but my business presence - the verbal, the  voice tone and body language.  I am stunned by the response I am getting from the adjustments I made after spending  time with Janice.  I have been paying particular attention to my posture and voice tone and using as few words as  possible to communicate.  This has g iven  me virtually instant credibility.  As Janice predicted, this new confidence has spilled over into all aspects of my life. I am adjusting to the new me and I  believe as I get more comfortable with these changes, I will continue to  improve.  I have a completely new point  of view right now and I am so grateful to Janice!&quot;</p><p>&nbsp;</p> <p class="link">Leo Bachicha<br /></p>');       
			  break;
			    case 8:
				//Display Quote 8
				document.write('<p>&nbsp;</p><span class="link">Janice helped to Brittany to look and feel great:</span></p><p>&nbsp;</p><p>&quot;Words cannot explain how thankful and appreciative I am for what Janice has done for me.  I am a more confident person in and outside of work.  The compliments have been many.  As a young Office Manager, I now look and feel the part for which I was hired.  I had the ability to do my job but I didn\'t have the look to go with it!  Janice helped me see that I can still have fun - wearing current styles, while looking professional in the office.  This was a wonderful and rewarding experience that I won\'t forget.&quot;</p><p>&nbsp;</p><p><span class="link">Brittany Goss<br />Office Manager and Yankee Dental Congress Makeover Contest Winner</span></p>');       
			  break;
			  case 9:
			  	//Display Quote 9
				document.write('<p>&nbsp;</p><span class="link">Julia\'s difference in confidence and new understanding:</span></p><p>&nbsp;</p><p>&quot;My experience with the image make  over was wonderful. I work for a high-end dentist and my position requires me  to look professional. Before I went to Janice for the image makeover, I did not  feel right with the clothing and styles that I had been wearing for our office.  I felt very bland and looked over weight -- not confident for the position that  I was hired for. I knew something was wrong, but I did not know what I needed  to do. Janice Hurley\'s image consulting helped me to understand how to use my  skin tones and make the best decision on clothing, makeup and hairstyle to look  the most professional in our office. Not only did it give a boost in confidence  at work, but my family has seen a difference in how I present myself and said I  have more confidence and no longer tend to be shy. My doctor and co-workers  were so impressed when they saw the difference that the right colors and style  of clothing could make, all they could say was &quot;wow!&quot;. I am very  thankful to my wonderful doctor for sending me to Janice Hurley for this image  makeover -- it has given me confidence that I was lacking and has made it  easier to shop for the right image for me.&quot;</p><p>&nbsp;</p><p class="link">Julia Stone, office of Dr. Thomas Frank</p>');              break;	
			default:
			  //code to be executed if randomnumber is out of scope of cases
			  alert("out of scope of random numbers");
			}
    }
}
 
// Set Date for Cookie Expiration - no editing necessary
function ged(noDays){
    var today = new Date();
    var expr = new Date(today.getTime() + noDays*24*60*60*1000);
    return  expr.toGMTString();
}
