var fader = new Array();



var hash = new Array();

function throb(item) {



  // If the hash array does not have an entry for this item, initialise it at 2

  if (!hash[item]) hash[item] = 2;



  // Send a fade command, using the hash array to tell us what parameters we should use

  fader[item].fade(Math.floor(hash[item] / 2), !(hash[item] % 2));



  // Call this function again for this same item after a certain amount of time

  setTimeout(function() { throb(item); }, (hash[item] % 2) ? 450 : 4500);



  // If we have exceeded the number of messages in this fader, start over again at 2

  if (++hash[item] > fader[item].msg.length * 2 - 1) hash[item] = 2;

}



fader[2] = new fadeObject('fade2', 'bbbbbb', '7C1C1E', 30, 30);

  //  ***** MEHMET! HERE IS THE LEFT-HAND TEXT YOU CAN EDIT. CAREFUL NOT TO MISPLACE COMMAS AND QUOTES!  *****
  
fader[2].msg[1] = "Check our events page regularly for special dinners or menus";

fader[2].msg[2] = "Turkish wine now available!";

fader[2].msg[3] = "Meat, Fish, Chicken, Vegetarian, Vegan and Gluten-Free Dishes";

fader[2].msg[4] = "Available for Business Meetings and Private Parties, Up to 60-100 Guests";

fader[2].msg[5] = "Available for Holiday Parties and Taking Catering Orders";

fader[2].msg[6] = "Fresh Seasonal Cooking Everyday, Revolving Menu";

// Start this fader

setTimeout(function() { throb(2); }, 1000);



var hash = new Array();

function throb(item) {



  // If the hash array does not have an entry for this item, initialise it at 2

  if (!hash[item]) hash[item] = 3;



  // Send a fade command, using the hash array to tell us what parameters we should use

  fader[item].fade(Math.floor(hash[item] / 3), !(hash[item] % 3));



  // Call this function again for this same item after a certain amount of time

  setTimeout(function() { throb(item); }, (hash[item] % 3) ? 450 : 4500);



  // If we have exceeded the number of messages in this fader, start over again at 2

  if (++hash[item] > fader[item].msg.length * 2 - 1) hash[item] = 3;

}



fader[3] = new fadeObject('fade3', 'bbbbbb', '7C1C1E', 30, 30);

  //  ***** MEHMET! HERE IS THE RIGHT-HAND TEXT YOU CAN EDIT. CAREFUL NOT TO MISPLACE COMMAS AND QUOTES!  *****

fader[3].msg[1] = "Just a little bite of Heaven right here on Earth. Oh, yes! -Alice Dobson";

fader[3].msg[2] = "Going to Ayse's Turkish Cafe is like going to the best of home:  Good company, Good food, and Good cheer.  What a treasure! -Carol Tice";

fader[3].msg[3] = "Delicious, heartfelt home cooking is a rare treat these days.  The food from Ayse's kitchen not only fills hungry bellies, it warms the soul. -Beth Florea";

fader[3].msg[4] = "By the time you enter the small, bright place, it feels like a discovery, a secret passed from one adventurous besotted dinner to the next. -Ann Arbor Observer, 2008";

// Start this fader

setTimeout(function() { throb(3); }, 1000);
