/***********************************************
* Fading 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
***********************************************/

var delay = 7000; //set delay between message change (in miliseconds)
var maxsteps=30; // number of steps to take to change from start color to endcolor
var stepdelay=60; // time in miliseconds of a single step
//**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect
var startcolor= new Array(151,148,129); // start color (red, green, blue)
var endcolor=new Array(76,46,74); // end color (red, green, blue)

var fcontent=new Array();
begintag='<div id="quoteDiv">'; //set opening tag, such as font declarations

// ARRAY BEGINS
fcontent[0]="<div class='message'> Diana allows the actor to create and have ownership of the work that they present, therefore it enables them to live less in fear and more in the moment.            <div class='attrib'>Christian Kaplan,<br />              Senior VP of Feature Casting, 20th Century Fox</div></div>";          
fcontent[1]="<div class='message'> Diana Castle is a phenomenal teacher. I recommend her to all my clients, and when studying with her, the quality of their work directly reflects on her incredible skills.              <div class='attrib'>Julie Colbert<br />                Talent Agent, William Morris Endeavor Agency</div></div>";          
fcontent[2]="<div class='message'> I cannot say enough about Diana Castle's talent and generosity of spirit.  She conveys vulnerability and wisdom helping others to do the tough work to grow as artists and human beings.  Whenever I hire one of her students I am impressed by their ability to tap into the truth and humor of the character they are playing.  She is truly one of the best acting teachers/coaches working today.  I count myself lucky to know her as a professional and as a friend.              <div class='attrib'>Elizabeth Boykewich, C.S.A.<br />                VP of Talent and Casting, ABC Family</div></div>";          
fcontent[3]="<div class='message'> Diana Castle is an integral part of the success of my business. Working with her has been a rewarding and successful experience. She gives my clients the tools to go in the room and get the job.              <div class='attrib'>Dana Sims<br />                Agent</div></div>";          
fcontent[4]="<div class='message'> Diana has a unique ability to understand the artistic essence in an actor and to help that actor harvest it for his/her work.              <div class='attrib'>Hannah Roth<br />                Agent, Don Buchwald & Associates</div></div>";          
fcontent[5]="<div class='message'> I have been working with Diana with clients at all levels for several years. Every client has felt that she has &lsquo;changed their life.&rsquo;              <div class='attrib'>Sara Ramaker<br />                Agent, Paradigm</div></div>";          
fcontent[6]="<div class='message'>I recommend Diana Castle to anyone who is serious about acting.  Her approach is deeply reliable.  She teaches something you can trust for the rest of your life.            <div class='attrib'>Irene Cagen<br>			Casting Director</div>		  </div>";
fcontent[7]="<div class='message'> Working with Diana is a  divine lesson on acting and on life.&nbsp;  She not only inspires the fun in the art, but in the process you also  become a better person.              <div class='attrib'> Common<br>                Actor/Musician</div></div>";          
fcontent[8]="<div class='message'> Diana goes straight for  the heart.&nbsp; She&rsquo;s razor focused and  devoted to good work which inspired me to be completely raw in front of her and  honest in my responses.            <div class='attrib'> Moon Bloodgood<br>              Actress</div></div>";          
fcontent[9]="<div class='message'> Diana has a healthy and grounded approach to &lsquo;the work.&rsquo; If I see an actor who really wants to do the work &#8212; I know I can send them to Diana and that it is safe and ethical.              <div class='attrib'>Kathleen Quinlan<br>                Actress/Academy Award Nominee</div></div>";          
fcontent[10]="<div class='message'> Without sounding corny,  I genuinely would never want to attend one of Diana&rsquo;s classes without a  notebook.&nbsp; Her many lessons are an  inspiration.&nbsp; She truly is a gifted teacher  and coach.              <div class='attrib'> Tony Hale<br>                Actor</div></div>";          
fcontent[11]="<div class='message'> Diana&rsquo;s work has affected me deeply.  I&rsquo;ve come to learn that there is something I can rely on -- and that&rsquo;s my imagination and the endless fuel and inspiration it has to offer.  Working with Diana has truly been one of life&rsquo;s great gifts.              <div class='attrib'> Daniela Sea<br>                Actress</div></div>";          
fcontent[12]="<div class='message'>I love being around Diana.  She has a special way of guiding and inspiring each of her students to open up to their own unique creativity.  Her excitement is contagious.            <div class='attrib'>Jordana Spiro<br />Actress</div></div>";          
fcontent[13]="<div class='message'> Diana approaches the work with both child-like wonder and a mystic's gravity--she imbues the work with great joy and deep reverence and I count myself lucky to call her my teacher.              <div class='attrib'>Misha Collins<br>                Actor</div></div>";          
fcontent[14]="<div class='message'> Diana has inspired me  to take steps that have made me a better actor, a better artist and a better  human being.&nbsp; Her depth of knowledge and  passion for the art has inspired me to use my imagination in ways I never knew  were possible.              <div class='attrib'> J. August Richards<br>                Actor</div></div>";          
fcontent[15]="<div class='message'> Diana is real, she is passionate and she is brilliant.  Today I consider her a real friend.              <div class='attrib'> Wynonna Judd<br>                Musician/Actress</div></div>";          
fcontent[16]="<div class='message'> There are not many times in your life that you get to see true greatness at work. I have had the opportunity to watch Diana not just teach but transform actors into artists. She inspires, motivates and creates atmospheric safety so the actor is free to take great risks with both passion, commitment and the ability to attack any piece of material with total ease. Diana is the only one I send my clients to.              <div class='attrib'>Barbara Stark<br />                Talent Manager</div></div>";          
fcontent[17]="<div class='message'> Diana is a highly intuitive and gifted teacher.  The power of what she teaches transcends stage and camera: The Imagined Life connects actors to the ancient and necessary role of storyteller, which has changed not only my work but the way I see the world.              <div class='attrib'> Rosalie Ward<br>                Actress</div></div>";          
fcontent[18]="<div class='message'> Words cannot describe the experience you will receive when entering the world of Diana Castle&rsquo;s The Imagined Life! The results are humbling and breathtaking. The world as I knew it is no longer! Now-it's a limitless world of play.              <div class='attrib'> Shondrella Avery<br>                Actress</div></div>";          
fcontent[19]="<div class='message'> Working with Diana is consistently inspiring.&nbsp;  She encourages individual expression while finding deeper meaning in your work  and your world. She&rsquo;s a gifted teacher!            <div class='attrib'>Danny Pudi<br />Actor</div></div>";
fcontent[20]="<div class='message'> Diana&rsquo;s no-nonsense and  inspirational approach to the art of acting is stimulating and practical &ndash; she  manages to do in a few short months what few teachers are able to accomplish in  years.              <div class='attrib'> Lora Zane<br>                Senior Lecturer, USC  School of Theatre</div></div>";          
fcontent[21]="<div class='message'> Diana helps connect the practical needs of performance, with the joy and artistry of acting.              <div class='attrib'>Steven Nash<br />                Producer/Talent Manager</div></div>";          
fcontent[22]="<div class='message'> The Magic of Diana  Castle&rsquo;s brilliant teachings has opened a floodgate of creativity in my life I  never imagined possible.              <div class='attrib'> Kim Wayans<br>                Actress</div></div>";          
fcontent[23]="<div class='message'> I taught a workshop with Diana Castle and was amazed at her clarity as a teacher. I felt like I could act because she made the process so understandable. I highly recommend her.            <div class='attrib'>Jackie Burch<br />              Casting Director</div></div>";          
fcontent[24]="<div class='message'> With Diana's encouragement, I have found purpose in the art of storytelling- this has had profound effects on every area of my life.            <div class='attrib'>Charlie Carver<br>			Actor</div></div>";          
fcontent[25]="<div class='message'> My work with Diana Castle is and will always be a constant reminder of my decision to choose a creative life. She exudes eternal love and compassion for who and what she teaches. Through Diana, my mentor and friend, I've discovered the passion, peace, and purpose of my authentic human spirit. Gratitude does not begin to express how I feel about this amazing humanist and teacher!            <div class='attrib'>David Weidoff<br>			Actor</div></div>";          
fcontent[26]="<div class='message'> I&rsquo;ve been in Los Angeles for six years now and I&rsquo;ve been in Diana&rsquo;s class for almost a month.  My life has never been so full.  Therefore my work has never been better.            <div class='attrib'>Dorian Brown<br />Actress</div></div>";          
fcontent[27]="<div class='message'> Working with Diana Castle opens up a world where you are capable of anything.  She&rsquo;s helped me expand my creative capabilities and opened up my imagination.  She makes acting fun again.            <div class='attrib'>Sarah Adina<br />Actress</div></div>";          
fcontent[28]="<div class='message'> Diana&rsquo;s class is a transformational journey of the soul where actors create, play and blossom in a productive and nurturing environment.            <div class='attrib'>Jaime Ferrar<br />              Agent, Jaime Ferrar Agency</div></div>";          
fcontent[29]="<div class='message'>Diana Castle is an amazing teacher who has transformed my acting experience. She gets into your heart and soul and  gets you into the heart and soul of any character you may play.'            <div class='attrib'>Tamyra Gray<br>			Singer/Actress</div></div>";          
fcontent[30]="<div class='message'> This way of working  affects your creative life and your personal life too.&nbsp; It&rsquo;s like seeing for the first time what&rsquo;s  right in front of you!            <div class='attrib'> Lela Lee<br>              Actress/Producer</div></div>";          
fcontent[31]="<div class='message'> Diana Castle teaches  what &lsquo;cannot be taught.&rsquo;&nbsp; She teaches  poetry of the soul.            <div class='attrib'> Faline England<br>              Actress</div></div>";          
fcontent[32]="<div class='message'> Diana has been the  single most important influence in my work and in my life.            <div class='attrib'> Gerald McCullouch<br>              Actor</div></div>";          
fcontent[33]="<div class='message'> There is no greater  freedom than approaching any audition, sometimes with only a moment&rsquo;s notice,  knowing that you know exactly what you need to do.            <div class='attrib'> Yasmine Delawari<br>              Actress</div></div>";          
fcontent[34]="<div class='message'> Diana is a true  mentor.&nbsp; Before Diana I only dreamed the  dream.&nbsp; Now I live it.            <div class='attrib'> Maureen Flannigan<br>              Actress</div></div>";          
fcontent[35]="<div class='message'> Diana Castle is that  rarest of things in the business of show.&nbsp;  An instructor and person of enormous intelligence, heart and most  importantly to me, spirit.&nbsp; I adore  her!            <div class='attrib'> Ken Page<br>              Actor/Director</div></div>";          
fcontent[36]="<div class='message'> Diana is the most  unique and revolutionary teacher out there today.&nbsp; The message is simple, the results are transforming.&nbsp; She equips every actor with the tools to  live in limitless imagination and freedom.            <div class='attrib'> Wynn Everett<br>              Actress</div></div>";          
fcontent[37]="<div class='message'> Diana&rsquo;s warmth,  encouragement and insights have really re-inspired me and reminded why I love  doing what I do.            <div class='attrib'> Jamie Elman<br>              Actor</div></div>";          
fcontent[38]="<div class='message'> She is  warm, open  and an inviting gatekeeper to a world that is far more beautiful, fun, exciting  and playful than what you thought existed prior to her acting class.&nbsp; She has also inspired me to a higher and  deeper creativity in my song writing.            <div class='attrib'> Mary Jean McAdams<br>              Actress</div></div>";          
fcontent[39]="<div class='message'> Diana Castle has a  magic wand.&nbsp; She picks out your core  strength and enables you to zero in on that which makes you unique and  special.&nbsp; Hers is an inspirational  approach.            <div class='attrib'> Jennifer Siebel Newsom<br>              Actress/Producer</div></div>";          
fcontent[40]="<div class='message'> Diana takes the  pressure out of acting without losing sensitivity to detail and makes it fun.            <div class='attrib'> Evan Parke<br>              Actor</div></div>";          
fcontent[41]="<div class='message'> Diana Castle is  magic!&nbsp; She helped me go to a more  honest and authentic place within, with ease and an expanded imagination.            <div class='attrib'> Iona Morris<br>              Actress/Director/Writer</div></div>";          
fcontent[42]="<div class='message'> Diana&rsquo;s unique way of  teaching strengthens focus, creativity &amp; self-reliance and she keeps acting  fun!            <div class='attrib'> Crystal Carson<br>              Actress/Acting Coach</div></div>";          
fcontent[43]="<div class='message'> I used to get coached  on every single audition.&nbsp; After having  been in Diana&rsquo;s class, I have experienced a shift that has allowed me to truly  emerge as an artist and ultimately, land more parts.            <div class='attrib'> Emily Liu<br>              Actress</div></div>";          
fcontent[44]="<div class='message'> Diana Castle leads her  students on an extraordinary journey.&nbsp;&nbsp;  She dismantles old notions of &lsquo;performance&rsquo; and unveils the human being  within each artist.&nbsp; This class is a must  for all actors serious in authentic expression and a more subtle, specific and  honest work aesthetic.            <div class='attrib'> Brent Blair<br>              Senior Lecturer, USC  School of Theatre</div></div>";          
fcontent[45]="<div class='message'> Diana has shown me the  way to a world of alternatives &ndash; through exploration, discovery and  expression.&nbsp; She has led me into the  adventures of imagination by teaching me how to become a child again.            <div class='attrib'> Colby Donaldson<br>              Actor</div></div>";          
fcontent[46]="<div class='message'> Working with Diana has  undeniably changed my career.&nbsp; I have  been working for the past six months straight since meeting her.            <div class='attrib'> Lanny Kim<br>              Actor</div></div>";          
fcontent[47]="<div class='message'> Diana came into my life  when I needed to be reminded why I was an actor.&nbsp; Her workshop is not only about acting, it&rsquo;s about US as  individuals.&nbsp; She reminds us of the  simple truths that make us such rich and wholesome personalities as actors, as  storytellers.&nbsp; Her technique is so  intense that you can&rsquo;t help but be committed a hundred percent!            <div class='attrib'> Farah Bala<br>              Actress</div></div>";          
fcontent[48]="<div class='message'> Diana makes the art of  acting fun, imaginative, inspiring and deeply fulfilling.&nbsp; She brings out places in you that you never  knew existed.            <div class='attrib'> Erika Rose<br>              Actress</div></div>";          
fcontent[49]="<div class='message'> Diana and her class  have changed and elevated my creativity, my career, my sense of self, my  confidence and ultimately, my life.&nbsp; She  is a poet in action.            <div class='attrib'> Mary Beth Manning<br>              Actress</div></div>";          
fcontent[50]="<div class='message'> Diana Castle is a true  maverick among acting teachers.&nbsp; My  career has really moved forward because of Diana&rsquo;s amazing ability to inspire  and to teach.            <div class='attrib'> Judith Hoag<br>              Actress</div></div>";          
fcontent[51]="<div class='message'> For the dedicated  student, Diana is more than a teacher; she is an institute for the development  and preservation of art.            <div class='attrib'> Royale Watkins<br>              Actor</div></div>";          
fcontent[52]="<div class='message'> How to put into words  the impact Diana&rsquo;s teachings have had on my work as a teacher and as an  actress?&nbsp; It&rsquo;s all I know now.&nbsp; All else that I learned for all those many  years no longer applies.&nbsp; She inspires  everyone she teaches.            <div class='attrib'> Annie Grindlay<br>              Teacher/Actress</div></div>";          
fcontent[53]="<div class='message'> Diana&rsquo;s approach to  acting has transformed my work as an actor and as a teacher/coach.&nbsp; The accessibility, specificity and FREEDOM  to create that this work has to offer is profound.            <div class='attrib'> Tracy Winters<br>              Actor/Coach</div></div>";          
fcontent[54]="<div class='message'> Since studying with  Diana, I&rsquo;ve received consistent praise for my work from directors, producers  and casting directors.&nbsp; I always leave  Diana&rsquo;s class feeling inspired.            <div class='attrib'> Angie Ruiz<br>              Actress</div></div>";          
fcontent[55]="<div class='message'> You know the light at  the end of the tunnel&hellip;? <br>            It now has a name, Diana  Castle.            <div class='attrib'> Leila Arcieri<br>              Actress</div></div>";          
fcontent[56]="<div class='message'> As an artist, as a  human being, really, one hopes for a guide in life.&nbsp; Someone to come in and demand a constant awakening of our deepest  truths and understandings.&nbsp; I found this  at seventeen years old when I met Diana.&nbsp;  It is seven years later, and Diana&rsquo;s demand of an elevated consciousness  only deepens every day.            <div class='attrib'> Ariana Delawari<br>              Actress</div></div>";          
fcontent[57]="<div class='message'> I learned from Diana in  one hour more than I&rsquo;ve learned from other acting teachers in months.            <div class='attrib'> Amy Hunter<br>              Actress</div></div>";
// ARRAY ENDS

closetag='</div>';

var fwidth='480px'; //set scroller width
var fheight='150px'; //set scroller height

var fadelinks=1;  //should links inside scroller content also fade like text? 0 for no, 1 for yes.

///No need to edit below this line/////////////////


var ie4=document.all&&!document.getElementById;
var DOM2=document.getElementById;
var faderdelay=0;
var index=0;


/*Rafael Raposo edited function*/
//function to change content
function changecontent(){
  if (index>=fcontent.length)
    index=0
  if (DOM2){
    document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
    document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
    if (fadelinks)
      linkcolorchange(1);
    colorfade(1, 15);
  }
  else if (ie4)
    document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
  index++
}

// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
// Modified by Dynamicdrive.com

function linkcolorchange(step){
  var obj=document.getElementById("fscroller").getElementsByTagName("A");
  if (obj.length>0){
    for (i=0;i<obj.length;i++)
      obj[i].style.color=getstepcolor(step);
  }
}

/*Rafael Raposo edited function*/
var fadecounter;
function colorfade(step) {
  if(step<=maxsteps) {	
    document.getElementById("fscroller").style.color=getstepcolor(step);
    if (fadelinks)
      linkcolorchange(step);
    step++;
    fadecounter=setTimeout("colorfade("+step+")",stepdelay);
  }else{
    clearTimeout(fadecounter);
    document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
    setTimeout("changecontent()", delay);
	
  }   
}

/*Rafael Raposo's new function*/
function getstepcolor(step) {
  var diff
  var newcolor=new Array(3);
  for(var i=0;i<3;i++) {
    diff = (startcolor[i]-endcolor[i]);
    if(diff > 0) {
      newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
    } else {
      newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
    }
  }
  return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")");
}

if (ie4||DOM2)
  document.write('<div id="fscroller"></div>');

if (window.addEventListener)
window.addEventListener("load", changecontent, false)
else if (window.attachEvent)
window.attachEvent("onload", changecontent)
else if (document.getElementById)
window.onload=changecontent

