
/***********************************************
* Pausing updown message scroller- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

//configure the below five variables to change the style of the scroller
var scrollerdelay='10000' //delay between msg scrolls. 3000=3 seconds.
var scrollerwidth='156px'
var scrollerheight='160px'
var scrollerbgcolor=''
//set below to '' if you don't wish to use a background image
var scrollerbackground=''

//configure the below variable to change the contents of the scroller
var messages=new Array()
messages[0]="Thank you for your excellent hair color and prompt service.<div align='center'><i>Gala M., Prudenville, MI</i></div>"
messages[1]="I just wanted to take a few minutes to thank you for such a WONDERFUL product. I have tried Clairol, Revlon, L'Oreal, and Garnier, and have not been completely happy with any of their products. I am VERY happy with the results of your hair color... It's a perfect product that did not dry out my hair, or leave an unnatural shimmer. I actually think it helped condition my hair a bit! Thank you again!<div align='center'><i>Christina B.</i></div>"
messages[2]="My hairdresser began ordering your haircolor for me when I realized that I was allergic to normal haircolor. I love Ecocolors and have used it for years now.<div align='center'><i>Bonnie, Brigham City UT</i></div>"
messages[3]="Love the color.<div align='center'><i>KEELY'S HAIR SALON, PASADENA, MD</i></div>"
messages[4]="I first heard of EcoColors on the forum for Sara Snow. It's so much better than what I was using, which was also natural, but very harsh. The color looks better than anything I've ever used, and my hair feels silky smooth! Thank you for making a great product!<div align='center'><i>April Z., Myrtle Beach, SC</i></div>"
messages[5]="Have visited a local salon that uses your products. Love them!!<div align='center'><i>Judy L., Santa Barbara CA</i></div>"
messages[6]="I love the color.<div align='center'><i>Lolita M., MERRILLVILLE, IN</i></div>"
messages[7]="I found EcoColors on the Internet. It is wonderful and I had no itching or rash type welts at all. The colors I used were exactly what I was looking for and I'm so pleased to find your product.<div align='center'><i>Meredith G., ABILENE, TX</i></div>"
messages[8]="I loved it and didn't have an allergic reaction for the first time in a year. My hairdresser also loved it.<div align='center'><i>Jackie P., Baton Rouge, LA</i></div>"
messages[9]="Found EcoColors on the internet. I am happy with the product.<div align='center'><i>Clarita S., Itasca, IL</i></div>"
messages[10]="Very gentle and natural looking color.<div align='center'><i>Julie B., Verona, WI</i></div>"
messages[11]="I found EcoColors when I developed an allergy (intense itching) to regular hair color products and didn't think I would be able to continue coloring my hair in order to cover my gray. I was so glad to find that I was not only not allergic to EcoColors, but it gave excellent gray coverage and beautiful color to my hair. I'm often asked about my hair color and complimented on it. I guess you can have your cake and eat it too!<div align='center'><i>Cathy G., Houston, TX</i></div>"
messages[12]="Thank you so much for your prompt service.  And I love your product, too! Regards, Kris.<div align='center'><i>Kris J., APO, AE</i></div>"
messages[13]="Found you on the internet. LOVE the results I get with your products! Am extremely chemical sensitive and you provided me with a fabulous lternative to salon and store hair color.<div align='center'><i>Andrea H., Williston, ND</i></div>"
messages[14]="My clients and I are really enjoying EcoColors...<div align='center'><i>Elizabeth B., Eugene, OR</i></div>"
messages[15]="My client has not had a migraine headache since we used your color. AMAZING! Thank you.<div align='center'><i>Leslie D., LAKEWOOD, CA</i></div>"
messages[16]="I found EcoColors when I was researching toxic hair color alternatives on the internet. I love the results I get from it. It actually looks more natural than the traditional color I was using. I tell everyone about it!<div align='center'><i>Melinda M., HOBE SOUND, FL</i></div>"
messages[17]="I was surprised that the color lasts as long as the regular hair color, but much more gentle on the hair. Thank you.<div align='center'><i>Monique M., New York.</i></div>"
messages[18]="This is a terrific product! I was amazed at how long the color lasted without fading. Thank you for developing a friendly hair color that looks very natural.<div align='center'><i>Margaret R., East Lansing, MI</i></div>"
messages[19]="My sister's hair salon uses EcoColors hair colors and she loves it!<div align='center'><i>Miriam S., Sparks, NV</i></div>"
messages[20]="I've used your product twice now (2 different colors) and am thrilled not to have an allergic reaction to. I really wasn't ready to be 50% gray at age 48. My ego thanks you.<div align='center'><i>Cathy G. Houston ,TX</i></div>"
messages[21]="I'm looking for a salon in the Salt Lake City, Utah area that has Eco Colors. My son works at a salon in Balitmore and used your product on my hair. It's fabulous! Now I'm spoiled. Please advise.<div align='center'><i>Julie J.</i></div>"
messages[22]="I've been using EcoColors for over a year and I am very pleased with the results! Thank you for offering such an effective and non-toxic hair color solution to the public!<div align='center'><i>Cathy F., Folsom, CA</i></div>"
messages[23]="I have found EcoColors covers my hard to cover gray and lasts 4 weeks like the permanent hair color I was using. It is great knowing it is natural and safe to use!<div align='center'><i>Diane B, Fox River Grove, IL.</i></div>"
messages[24]="I am extremely pleased with EcoColors! Color is great, hair is healthy and my scalp shows no signs of allergic reaction. Thank you for your products!<div align='center'><i>Carol D., Ligonier, PA</i></div>"
messages[25]="LOVE the results of my hair using ECOCOLORS...I shared ECOCOLORS with my friends and they also LOVE the ECOCOLORS.<div align='center'><i>Phyl S.,Traverse City, MI</i></div>"
messages[26]="Good coverage, no allergic reaction!!!<div align='center'><i>Denise L., Kingston, WA</i></div>"
messages[27]="I just love it. The color is true to the Wella I used to use. EcoColors leaves my hair so soft with a great shine. My hair stays that way till the next touch up which is in about a month<div align='center'><i>Theresa N, Long Beach, NY</i></div>"
messages[28]="I love ecocolors because they look natural and are non-toxic . Thank you for making this fine product available to the consumer.<div align='center'><i>Gala M., Prudenville, MI</i></div>"
messages[29]="I have many allergies and this is the first hair color that causes no adverse reaction and looks fantastic! It is sad that others continue to use products that contain chemicals that can harm their body when EcoColors is available.<div align='center'><i>Gala M, Prudenville, MI</i></div>"
messages[30]="I just LOVE EcoColors..<div align='center'><i>JoAnn O., Schenectady, NY</i></div>"
messages[31]="I am chemically sensitive and cannot handle strong odors and harsh chemicals. I googled and found ecocolors. I have used them for 6 months and am very pleased. The colors are true, hold up quite a while, and my hair is in much better condition than when using commercial colors, less dry and broken.<div align='center'><i>Beth L., Reading, PA</i></div>"
messages[32]="Been a customer for about 3 years. Wouldn't use anything else! Love it love it!!!! Thanks<div align='center'><i>Kathryn G., Mountain View, MO</i></div>"
messages[33]="Thank you!!! I LOVE your product! I just used it again, and everyone at the holiday parties was remarking how gorgeous and healthy my hair is!!! Thanks again!!!<div align='center'><i>Karen P., Newberry MI</i></div>"
messages[34]="So wonderful! I feel much more at peace using your product, and when I had a question, the response was so helpful and fast! I now have my mom hooked on Ecocolors as well! Thank you!<div align='center'><i>Karen P., Newberry MI</i></div>"
messages[35]="I found EcoColors 2 years ago on line and have been using it ever since. I love this color line. My hair has never been healthier.<div align='center'><i>Karyl M., Warwick, RI</i></div>"
messages[36]="I just wanted to tell you how much I love your EcoColors hair color...With your product, there is no smell and the gray coverage is extraordinary.  Your product is fantastic.  Thanks so much for enabling those who color their hair at home and those concerned with earth friendly products to be able to receive them from you.<div align='center'><i>Nancy, M., Midland MI.</i></div>"
messages[37]="Can you please tell me if your product is sold in Australia? My wife's used it while visiting Canada and thinks it is the best color she has ever used! Best Regards Mrs & Mr De Maria<div align='center'><i>Mrs & Mr De Maria, Carine, West Australia</i></div>"
messages[38]="This hair color is great! Thank you for this product.<div align='center'><i>Marsha B., Bloomfield NY</i></div>"
messages[39]="I've been using Ecocolors haircoloring for about two years, and it continues to provide great color without allergy problems that I used to encounter with commercial brands.<div align='center'><i>Shirley W., Simsbury, CT.</i></div>"
messages[40]="I just wanted to say thank you for your wonderful haircolor! I had SEVERE allergies to hairdyes and thought I would never be able to color my hair ever again. Your product works wonders!<div align='center'><i>Darlene C. , Ottawa CANADA</i></div>"
messages[41]="I love Ecocolors!!! All other haircolors I tried made my scalp burn and itch. I love the color too!!! I would probably look much older if Ecocolors didn't exist because I'd probably have to go without haircolor and have alot of gray. Thank you!!!<div align='center'><i>Mary L., Cinnaminson NJ</i></div>"
messages[42]="I LOVE your hair coloring!!!!!<br>So gentle on my hair & doesn't wash out.<div align='center'><i>Laura N., Rochester, MN</i></div>"
messages[43]="Thanks so much for having such a great product . For the first time in five years I was able to dye my hair without nervous system side effects. And what great color! I used medium brown and it was perfect. I have had so many comments from friends and co-workers.<div align='center'><i>Patty G.</i></div>"
messages[44]="It is a pleasure dealing with you. Your product is excellent and the service is great. Thank you.<div align='center'><i>Pam G., Staten Island , NY</i></div>"
messages[45]="Thank you so much for your hair coloring. You have no idea how much I appreciate finding EcoColors!<div align='center'><i>Kathryn G., Mountain View MO</i></div>"
messages[46]="I am very pleased with the result I got from using your product.My hair is 95&#37; gray, and the light brown shade produced a beautiful light gold brown color that will blend well when the gray begins to grow in.<div align='center'><i>Sylvia B., Willoughby OH</i></div>"
messages[47]="I thought i'd never color my hair again... now my hair feels great... and I had no allergic response to the color!<div align='center'><i>Laura R., MI</i></div>"
messages[48]="Just a note to tell you how happy I am with my hair color.<div align='center'><i>Wanda K., Atlanta GA</i></div>"
messages[49]="If your hair color was a soup, it would be the SOUP OF THE DAY!!!! By far the best hair color that I have ever tried in my entire hair coloring life - Thanks!!!! You guys rule!<div align='right'><i>Isela C.</i></div>"
///////Do not edit pass this line///////////////////////

var ie=document.all
var dom=document.getElementById

if (messages.length>2)
i=2
else
i=0

function move(whichdiv){
tdiv=eval(whichdiv)
if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){
tdiv.style.top=0+"px"
setTimeout("move(tdiv)",scrollerdelay)
setTimeout("move2(second2_obj)",scrollerdelay)
return
}
if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){
tdiv.style.top=parseInt(tdiv.style.top)-5+"px"
setTimeout("move(tdiv)",50)
}
else{
tdiv.style.top=parseInt(scrollerheight)+"px"
tdiv.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function move2(whichdiv){
tdiv2=eval(whichdiv)
if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){
tdiv2.style.top=0+"px"
setTimeout("move2(tdiv2)",scrollerdelay)
setTimeout("move(first2_obj)",scrollerdelay)
return
}
if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){
tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px"
setTimeout("move2(second2_obj)",50)
}
else{
tdiv2.style.top=parseInt(scrollerheight)+"px"
tdiv2.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function startscroll(){
first2_obj=ie? first2 : document.getElementById("first2")
second2_obj=ie? second2 : document.getElementById("second2")
move(first2_obj)
second2_obj.style.top=scrollerheight
second2_obj.style.visibility='visible'
}

if (ie||dom){
document.writeln('<div id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden;background-color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackground+')">')
document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0px;top:0px">')
document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:1px;">')
document.write(messages[0])
document.writeln('</div>')
document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:0px;visibility:hidden">')
document.write(messages[dyndetermine=(messages.length==1)? 0 : 1])
document.writeln('</div>')
document.writeln('</div>')
document.writeln('</div>')
}

if (window.addEventListener)
window.addEventListener("load", startscroll, false)
else if (window.attachEvent)
window.attachEvent("onload", startscroll)
else if (ie||dom)
window.onload=startscroll
