var scroller1 = new scrollObject("scroller1", "quotes", 375, 150, "#f5f5dc", "up", 5.0, 5.0, 30, 4500, "scrollClass", "#800080", "#f5f5dc");

scroller1.block[0]="The healing that can grow out of the simple act of telling our stories is often quite remarkable. Even more remarkably, this healing is not just our own healing, it is the healing of all women. That's why, as we tell our stories to ourselves, it is also important to share them with others. This sharing brings a sense of kinship, of sisterhood. We understand that we are not alone in our efforts to become conscious, whole, healthy persons.<br><br>&mdash;Susan Wittig Albert"
scroller1.block[1]="We are the only ones who can tell our stories because we are the only ones who have lived them.<br><br>&mdash;Susan Wittig Albert"
scroller1.block[2]="I wrote for twelve years and collected 250 rejection slips before getting any fiction published, so I guess outside reinforcement isn't all that important to me.<br><br>&mdash;Lisa Alther"
scroller1.block[3]="I will write on the pages of history what I want them to say. I will be myself. I will speak my own name.<br><br>&mdash;Maya Angelou"
scroller1.block[4]="When the storyteller tells the truth, she reminds us that human beings are more alike than unalike... A story is what it's like to be a human being&mdash;to be knocked down and to miraculously arise. Each one of us has arisen, awakened. We do rise.<br><br>&mdash;Maya Angelou"
scroller1.block[5]="Our desires teach us who we are and who we want to become. Our desires shape our stories.<br><br>&mdash;Christina Baldwin"
scroller1.block[6]="One function of the imagination in autobiographical writing is to allow the writer to try out different versions of the self.<br><br>&mdash;Marilyn Chandler"
scroller1.block[7]="All I needed was a steady table and a typewriter. A marble topped bedroom washstand table made a good place; the dining room table between meals was also suitable.<br><br>&mdash;Agatha Christie"
scroller1.block[8]="Appealing workplaces are to be avoided. One wants a room with no view, so imagination can meet memory in the dark.<br><br>&mdash;Annie Dillard"
scroller1.block[9]="The stories were remembered for a reason. Family stories, they were told and retold because they contained essential truths. Life and ourselves were in these stories, whether they were flattering or not, straightforward or opaque, legend or history. They showed us, in one way or another, how to live.<br><br>&mdash;Elizabeth Ehrlich"
scroller1.block[10]="What makes me feel that I have the right to live this life I live, and then to write about it? I am where I want to be, where I have always wanted to be. I might have longed for temporary sojourns in one or another of the great capitals of this world, but this is the place I've always wanted to call home.<br><br>&mdash;Mary Gordon"
scroller1.block[11]="The memoirist, like the poet and the novelist, must engage the world, because engagement makes experience, experience makes wisdom, and finally it's the wisdom&mdash;or rather the movement toward it&mdash;that counts.<br><br>&mdash;Vivian Gornick"
scroller1.block[12]="Forget all the rules. Forget about being published. Write for yourself and celebrate writing.<br><br>&mdash;Melinda Haynes"
scroller1.block[13]="I need to write my story, and read it out loud. I want to hear other women's stories. I crave this chorus of women's voices, the sad and sentimental, the angry and the bitter, the happy, the joyful. My voice is stronger when it is joined to the voices of my sister.<br><br>&mdash;Amy J."
scroller1.block[14]="We write our own destiny; we become what we do.<br><br>&mdash;Madame Chiang Kai-Shek"
scroller1.block[15]="Close the door. Write with no one looking over your shoulder. Don't try to figure out what other people want to hear from you; figure out what you have to say. It's the one and only thing you have to offer.<br><br>&mdash;Barbara Kingsolver"
scroller1.block[16]="There is no perfect time to write. There's only now.<br><br>&mdash;Barbara Kingsolver"
scroller1.block[17]="Now I have to begin. I sit in front of my typewriter, aware of this moment as the center around which all of my preparations have swirled. I'm here to understand myself, deliberately to turn myself open to my own view. I know, as I sit here, what I must have known for many years: that I can recognize what's true about myself when I see it. It's whatever I find myself refusing to admit, whatever I say no to very fast. That blanket admission right at the start may save me a lot of time. May save me, period. I'm using that 'no' to protect myself from something. What? I'll find out. I'll write down everything I can remember, so that I can see the full extent of it, pick out some patterns in what I've been denying for so long. So that's first: to get it all written...<br><br>&mdash;Alice Koller"
scroller1.block[18]="We are, each of us, our own prisoner. We are locked up in our own story.<br><br>&mdash;Maxine Kumin"
scroller1.block[19]="Our truest response to the irrationality of the world is to paint or sing or write, for only in such response do we find truth.<br><br>&mdash;Madeline L'Engle"
scroller1.block[20]="The one thing a writer has to have is a pencil and some paper. That's enough, so long as she knows that she and she alone is in charge of that pencil, and responsible, she and she alone, for what it writes on that paper.<br><br>&mdash;Ursula K. Le Guin"
scroller1.block[21]="In the writing process, the more the story cooks, the better. The brain works for you even when you are at rest. I find dreams particularly useful.<br><br>&mdash;Doris Lessing"
scroller1.block[22]="To name the world in your own terms, to tell your own story, is an act of authority and power. When you write, you are saying, in effect, 'I have a voice. I have a story. This is what I have to say.'<br><br>&mdash;Rebecca McClanahan"
scroller1.block[23]="The way we tell our life story is the way we begin to live our life.<br><br>&mdash;Maureen Murdock"
scroller1.block[24]="The role of a writer is not to say what we all can say, but what we are unable to say.<br><br>&mdash;Anais Nin"
scroller1.block[25]="We write to taste life twice, in the moment, and in retrospection... We write to be able to transcend our life, to reach beyond it. We write to teach ourselves to speak with others, to record the journey into the labyrinth.<br><br>&mdash;Anais Nin"
scroller1.block[26]="Writing became such a process of discovery that I couldn't wait to get to work in the morning: I wanted to know what I was going to say.<br><br>&mdash;Sharon O'Brien"
scroller1.block[27]="And by the way, everything in life is writable about if you have the outgoing guts to do it, and the imagination to improvise. The worst enemy to creativity is self-doubt.<br><br>&mdash;Sylvia Plath"
scroller1.block[28]="The central character [in a life story] should have a clear desire line...Your desire is the engine of your story and your desire line is the track it runs on.<br><br>&mdash;Tristine Rainer"
scroller1.block[29]="Symbols give us our identity, our self image, our way of explaining ourselves to ourselves and to others. Symbols in turn determine the kinds of stories we tell, and the stories we tell determine the kind of history we make and remake.<br><br>&mdash;Mary Robinson"
scroller1.block[30]="It is necessary to write, if the days are not to slip emptily by. How else, indeed, to clap the net over the butterfly of the moment? For the moment passes, it is forgotten; the mood is gone; life itself is gone. That is where the writer scores over his fellows: he catches the changes of his mind on the hop.<br><br>&mdash;Vita Sackville-West"
scroller1.block[31]="We have to make myths of our lives, the point being that if we do, then every grief or inexplicable seizure by weather, woe, or work can&mdash;if we discipline ourselves and think hard enough&mdash;be turned to account, be made to yield further insight into what it is to be alive, to be a human being.<br><br>&mdash;May Sarton"
scroller1.block[32]="Since the beginning of time, language has stretched and tweaked and wound itself like vines around the sweet reality of those who use it. This works both ways. Human beings shape the language. Then the language shapes them in turn.<br><br>&mdash;Beate Sigriddaughter"
scroller1.block[33]="Writing is the only thing that, when I do it, I don't feel I should be doing something else.<br><br>&mdash;Gloria Steinem"
scroller1.block[34]="I only wish I could write with both hands, so as not to forget one thing while I am saying another.<br><br>&mdash;St. Teresa"
scroller1.block[35]="I learned that you should feel when writing, not like Lord Byron on a mountain top, but like a child stringing beads in kindergarten&mdash;happy, absorbed and quietly putting one bead on after another.<br><br>&mdash;Brenda Ueland"
scroller1.block[36]="Long before I wrote stories, I listened for stories. Listening for them is something more acute than listening to them. When their elders sit and begin, children are just waiting and hoping for one to come out, like a mouse from its hole.<br><br>&mdash;Eudora Welty"
scroller1.block[37]="Storytelling is at the heart of life... In finding our own story, we assemble all the parts of ourselves. Whatever kind of mess we have made of it, we can somehow see the totality of who we are and recognize how our blunderings are related. We can own what we did and value who we are, not because of the outcome but because of the soul story that propelled us.<br><br>&mdash;Marion Woodman"
/*
*
* The arguments for this object are as follows:
*  a. - The variable name you are giving this scrollObject
*  b. - ID of the target tag (from step 1)
*  c. - Width (in pixels) of your scroller
*  d. - Height (in pixels) of your scroller
*  e. - Default background colour of the outer tag, can also be hexcode in the form: #rrggbb
*  f. - Scroll direction: one of "up", "down", "left" or "right"
*  g. - Decceleration index as block is moved (nominal range: 1 => 2)
*  h. - Initial speed of a block at beginning of slide:
*         Maximum speed as this value approaches one
*         Minimum speed as this value approaches scroller height
*  i. - Delay between each incremental movement upwards (milliseconds)
*  j. - Amount of time to pause before next scroll begins (milliseconds)
*  k. - CSS class name for blocks (from step 2)
*
* By adjusting the values for g and h you can dramatically change the animation style of your scroller.
*
* For example, if you make h = 1, you won't even see the "slide" effect; new
* blocks will simply *appear* over the old ones.  By contrast, if you set h
* to the height (if scrolling up or down) or width (if scrolling left or
* right) of your block, there will be no "slowdown" effect, and new blocks
* will slide in one pixel at a time.
*
* A low g value (less than 1.2) will weaken the slowdown effect, while a high
* g value (greater than 1.2) will increase it.
*/
function scrollObject(objName, main, width, height, bkgcol, direct, deccel, begin, speed, pause, classname, bordercol, backg) {
  this.objName = objName;
  this.main = main;
  this.one = main + "Block1";
  this.two = main + "Block2";
  this.block = new Array();
  this.blockup = 1;
  this.divup = 1;
  this.height = height;
//  this.height -= 5;
  this.width = width;
//  this.width -= 5;
  this.bkgcol = bkgcol;
  this.direct = direct;
  this.deccel = Math.max(deccel, 1);
  this.begin = Math.max(Math.min(begin, (direct == "up" || direct == "down") ? height : width), 1);
  this.speed = speed;
  this.pause = pause;
  this.slide = ((direct == "up" || direct == "down") ? height : width) / this.begin;
  this.table = "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" background=" + backg + " bordercolor=" + bordercol + "><tr><td class=\"" + classname + "\" style=\"width:" + width + "px;height:" + height + "px;\">";
  this.active = false;
  this.moving = false;
  this.process = 0;
  this.mouse = false;
  this.scroll = function() {
    if (!document.getElementById) return false;
    document.getElementById(this.main).innerHTML = "<div id=\"" + this.one + "\"></div><div id=\"" + this.two + "\"></div>";
    var divList = [document.getElementById(this.main), document.getElementById(this.one), document.getElementById(this.two)];
    for (var i = 0; i <= 2; i++) {
      if (i > 0) {
        divList[i].style.position = "absolute";
        if (this.direct == "up" || this.direct == "down") {
          divList[i].style.left = "0px";
          divList[i].style.top = (i == 1) ? "0px" : ((this.direct == "up") ? "" : "-") + this.height + "px";
        } else {
          divList[i].style.left = (i == 1) ? "0px" : ((this.direct == "left") ? "" : "-") + this.width + "px";
          divList[i].style.top = "0px";
        } divList[i].innerHTML = this.table + this.block[i - 1] + "</td></tr></table>";
      } else {
        divList[i].style.position = "relative";
        divList[i].style.background = this.bkgcol;
        if (this.block.length > 1) {
          divList[i].onmouseover = new Function("if (" + this.objName + ".active) setTimeout(\"" + this.objName + ".scrollWait();\", " + this.objName + ".pause); " + this.objName + ".active = false; " + this.objName + ".mouse = true;");
          divList[i].onmouseout = new Function(this.objName + ".mouse = false;");
        }
      } divList[i].style.overflow = "hidden";
      divList[i].style.width = this.width + "px";
      divList[i].style.height = this.height + "px";
    } this.active = true;
    if (this.block.length > 1) this.process = setTimeout(this.objName + ".scrollLoop();", this.pause);
  }
  this.scrollLoop = function() {
    clearTimeout(this.process);
    if (this.moving == false && this.active == false) return false;
    var divList = [document.getElementById(this.main), document.getElementById(this.one), document.getElementById(this.two)];
    this.slide = Math.max(this.slide / this.deccel, 1);
    var slideInc = (this.direct == "up" || this.direct == "left") ? -parseInt(this.slide) : parseInt(this.slide);
    if ((this.direct == "up" && Math.max(parseInt(divList[1].style.top) + slideInc, parseInt(divList[2].style.top) + slideInc) <= 0) ||
        (this.direct == "down" && Math.min(parseInt(divList[1].style.top) + slideInc, parseInt(divList[2].style.top) + slideInc) >= 0) ||
        (this.direct == "left" && Math.max(parseInt(divList[1].style.left) + slideInc, parseInt(divList[2].style.left) + slideInc) <= 0) ||
        (this.direct == "right" && Math.min(parseInt(divList[1].style.left) + slideInc, parseInt(divList[2].style.left) + slideInc) >= 0)) {
      this.slide = ((this.direct == "up" || this.direct == "down") ? this.height : this.width) / this.begin;
      if (++this.blockup >= this.block.length) this.blockup = 0;
      this.divup = (this.divup == 1) ? 2 : 1;
      if (this.direct == "up" || this.direct == "down") {
        divList[3 - this.divup].style.top = ((this.direct == "down") ? "-" : "") + this.height + "px";
        divList[this.divup].style.top = "0px";
      } else {
        divList[3 - this.divup].style.left = ((this.direct == "right") ? "-" : "") + this.width + "px";
        divList[this.divup].style.left = "0px";
      } divList[3 - this.divup].innerHTML = this.table + this.block[this.blockup] + "</td></tr></table>";
      this.moving = false;
      this.process = setTimeout(this.objName + ".scrollLoop();", this.pause);
    } else {
      this.moving = true;
      for (var j = 1; j <= 2; j++) {
        if (this.direct == "up" || this.direct == "down") {
          divList[j].style.top = (parseInt(divList[j].style.top) + slideInc) + "px";
        } else divList[j].style.left = (parseInt(divList[j].style.left) + slideInc) + "px";
      } this.process = setTimeout(this.objName + ".scrollLoop();", this.speed);
    }
  }
  this.scrollWait = function() {
    clearTimeout(this.process);
    if (this.active) return false;
    if (!this.mouse) {
      this.active = true;
      this.process = setTimeout(this.objName + ".scrollLoop();", this.pause / 2);
    } else this.process = setTimeout(this.objName + ".scrollWait();", this.pause);
  }
}

