var fader = new Array();

var item = 1;
var fadein = true;
var olditem = 0;
function throb() {
  
  if (fadein) {
     item=Math.floor(Math.random()*10)+1;
     if (item==olditem) {
        item=Math.floor(Math.random()*10)+1;
     }
     if (item==olditem) {
        item=Math.floor(Math.random()*10)+1;
     }
     if (item==olditem) {
        item=Math.floor(Math.random()*10)+1;
     }
     olditem = item;
  }

  // Send a fade command, using the hash array to tell us what parameters we should use
  fader[0].fade(item, fadein);

  if (fadein) {
     setTimeout(function() { throb(); }, 18000);
     fadein = false;
  } else {
     setTimeout(function() { throb(); }, 100);
     fadein = true;
  }
}

fader[0] = new fadeObject('fade0', '886e34', '000000', 30, 30);
// fader[0].msg[3] = "\"text\"<br><br>author<br><i>Book title</i>";
fader[0].msg[1] = "\"Heather's knowledge ... of book publishing, her general business acumen and her confidence in all parties involved have brought self-publishing to a new and appealing level. She is the glue that binds a successful book together!\"<br><br>Myrna Guymer<br><i>The Canadian Shield Alphabet</i>";
fader[0].msg[2] = "\"Heather at Your Nickels Worth Publishing provides a wonderful service to aspiring writers trying to get their work into print.  She is there every step of the way and is an absolute joy to work with.\"<br><br>Lori Punshon<br><i>He Who Flies By Night: The Story of Grey Owl</i>";
fader[0].msg[3] = "\"Heather Nickel and Your Nickel's Worth Publishing have been the answer to this newbie author's prayers! Heather ... recognizes the fears and fragility of a first-time (or close-to-first-time) author, and treats each of us with TLC, honest encouragement, and a lot of business know-how. For me (and many, many others!) Your Nickel's Worth is priceless!!\"<br><br>Jean Freeman<br><i>Where Does Your Dog Sleep?</i>";
fader[0].msg[4] = "\"Having worked with Heather for several years, I cannot give a more hearty endorsement of Your Nickel's Worth Publishing. She not only is very professional in the work she produces but has a wonderful sense of the intention of an author, depicting a writing so well in design and and in how and where to promote it and its author. It is a great pleasure to work with her.\"<br><br>Florence Driedger<br><i>Jakob, Out of the Village</i>";
fader[0].msg[5] = "\"Your Nickel's Worth Publishing was invaluable in editing, designing layout and publishing my first book; Heather made what I wrote look good and I have had many positive compliments on it from friends and professionals alike. I am very proud to see it sitting on shelves in libraries and Canada's leading book stores.\"<br><br>Shirley Harris<br><i>Forgotten Gardens, Abandoned Landscapes & Remarkable Restorations</i>";
fader[0].msg[6] = "\"Heather Nickel of Your Nickel's Worth Publishing is a perfectionist who knows what she's doing, follows writers' protocol for getting works published and gives great assistance to get your books sold...my book was published by Your Nickel's Worth...[and] has been well received by the public...Heather is a knowledgeable and approachable person who takes what you have, corrects your mistakes, showcases the good and turns your work into a masterpiece...\"<br><br>Diane Armstrong<br><i>You're Going Where?!</i>";
fader[0].msg[7] = "\"If you are looking for someone to work with you on publishing a book, I would recommend Heather without hesitation. I would use the words \"dedicated,\" \"hard-working,\" \"professional,\" \"creative,\" \"timely,\" \"pleasant\" and \"tactful.\" It doesn't get any better than that. I am very proud of what we did together.\"<br><br>Marcia Frid<br><i>I Like You, I Like Me, Too!</i>";
fader[0].msg[8] = "\"Competent, creative, thorough, helpful and available - a pleasure to work with!\"<br><br>Mercedes Montgomery<br><i>www.walkwithapolarbear.com</i>";
fader[0].msg[9] = "\"Heather opened doors for me that I didn't even know were there.  I was very impressed with the professional layout of the book as well as the cover design.  I would not hesitate to recommend Heather of Your Nickel's Worth Publishing to any author.\"<br><br>Olga Stefaniuk";
fader[0].msg[10] = "\"Working with Heather is a delight. She is knowledgeable, resourceful, responsive and a team player. It was a pleasure to work with Heather in the creation of <i>The Canadian Shield Alphabet</i> book.\"<br><br>RoseMarie Condon";

// Start this fader
setTimeout(function() { throb(); }, 2000);