// ---------------------------
// -- TICKER TESTIMONIAL ITEMS
// ---------------------------

// Add new testominials items to the list below.  Ensure the items are encased in single-quotes and that all items (except the last) are terminated with a comma at the end of the line
var tickerText = [
'<img class="logo" src="js/logos/siebel_logo.gif" height="35" width="60" alt="Siebel Systems Inc Logo"/><a href="testimonials.asp">&quot;Our company deals with brokers around the world, but Real Facilities’ service, attention to detail, market awareness, and precision timing in capturing opportunities were second to none.&quot; - <strong>Siebel Systems Inc.,</strong> JOHN TENANES, <em>Sr. Dir. of Real Estate Worldwide</em></a>',

'<img class="logo" src="js/logos/corby_logo.gif" height="35" width="60" alt="Corby Distilleries Limited Logo"/><a href="testimonials.asp">&quot;We have a high level of confidence knowing that Real Facilities are highly trained and skillful negotiators, and as their client, know that they acted solely on behalf of tenants, not the landlords.&quot; - <strong>Corby Distilleries Limited.,</strong> CON CONSTANDIS, <em>President & Chief Executive Officer</em></a>',

'<img class="logo" src="js/logos/hrpa.gif" height="28" width="56" alt="HRPA Logo"/><a href="testimonials.asp">&quot;We commend you on your highly skilled consensus building process. I appreciated the fact that you were squarely on our side of the negotiation table at all times.&quot; - <strong>HRPA,</strong> WILLIAM (BILL) GREENHALGH, <em>Chief Executive Officer</em></a>',

'<img class="logo" src="js/logos/stantec_logo.gif" height="35" width="60" alt="Stantec Inc Logo"/><a href="testimonials.asp">&quot;With Real Facilities, no detail went unnoticed. As an engineering firm, we can appreciate that even a millimeter is a lot. Real Facilities thinks the same way, and we look forward to a long relationship with them.&quot; - <strong>Stantec Inc.,</strong> MARK MITCHELL, <em>Regional Leader, NA</em></a>',

'<img class="logo" src="js/logos/Ombudsman_logo.gif" height="35" width="60" alt="Ombudsman Ontario Logo"/><a href="testimonials.asp">&quot;Real Facilities’ overall strength is project management for sure. There was nothing we asked that they were unable or unwilling to manage for us. We see great value in their consultative approach.&quot; - <strong>Ombudsman Ontario,</strong> PETER ALLEN, <em>Corporate Services</em></a>',

'<img class="logo" src="js/logos/kia_logo.gif" height="35" width="60" alt="KIA Canada Logo"/><a href="testimonials.asp">&quot;Real Facilities’ innovative process in managing numerous competitive bids ensured we got the biggest bang for the buck. Thanks to the team’s expertise, dedication, and commitment to excellence, we moved in, on time and on budget – how refreshing!&quot; - <strong>KIA Canada,</strong> DONALD KNOWLES, <em>Real Estate</em></a>',

'<img class="logo" src="js/logos/hrpa.gif" height="28" width="56" alt="HRPA Logo"/><a href="testimonials.asp">&quot;<em>&acute;Stop working Friday afternoon and start working Monday morning&acute;</em> sounded like a tag line, but Real Facilities helped make it a reality. No question, your FLOW™ process works! &quot; - <strong>HRPA,</strong> WILLIAM (BILL) GREENHALGH, <em>Chief Executive Officer</em></a>',

'<img class="logo" src="js/logos/brightspark_logo.gif" height="35" width="60" alt="BrightSpark Logo"/><a href="testimonials.asp">&quot;We believe we should be focusing on building technology expertise, not focusing on real estate or facilities issues.  We outsource our real estate function to Real Facilities, eliminating hassles and making it easier to focus on what we do best: launching technology companies.&quot; - <strong>BrightSpark,</strong> STEVEN BLOOM, <em>CFO</em></a>',

'<img class="logo" src="js/logos/echo_logo.gif" height="35" width="60" alt="Echo Advertising & Marketing Inc Logo"/><a href="testimonials.asp">&quot;I don’t make any real estate decisions without counsel from Real Facilities – they are simply the best corporate real estate advisors in Canada!&quot; - <strong>Echo Advertising & Marketing Inc.,</strong> LEN GILL, <em>President</em></a>',

'<img class="logo" src="js/logos/siebel_logo.gif" height="35" width="60" alt="Siebel Systems Inc Logo"/><a href="testimonials.asp">&quot;Real Facilities was able to help us select and secure a strategic property in the midst of uncertainty associated with a major acquisition. The results were outstanding and a key factor in a successful merger.&quot; - <strong>Siebel Systems Inc.,</strong> LINDA JANSEN, <em>Vice President of Facilities and Real Estate</em></a>',

'<img class="logo" src="js/logos/fujilm_logo.gif" height="35" width="90" alt="Fuji Photo Film Canada Inc Logo"/><a href="testimonials.asp">&quot;We would not hesitate to recommend Stan Krawitz and Real Facilities Inc. to anyone looking for first class, highly competent, corporate real estate service and advice.&quot; - <strong>Fuji Photo Film Canada Inc.,</strong> BRIAN BOULANGER, <em>Vice President & General Manager</em></a>',

'<img class="logo" src="js/logos/troquest_logo.gif" height="35" width="60" alt="TorQuest Partners Logo"/><a href="testimonials.asp">&quot;We would use this company again and again.&quot; - <strong>TorQuest Partners,</strong> BRENT BELZBERG, <em>Managing Partner</em></a>',

'<img class="logo" src="js/logos/swatch_logo.gif" height="35" width="90" alt="Swatch Logo"/><a href="testimonials.asp">&quot;With a long history in our building, the prospect of being a ‘captive tenant’ was of major concern to us. Real Facilities was successful in eliminating this issue and securing a renewal below our existing rates.&quot; - <strong>Swatch,</strong> NICUSOR (NIC) AFLOROAEI, <em>Director of Finance</em></a>',

'<img class="logo" src="js/logos/crownhill_logo.gif" height="35" width="90" alt="Crownhill Packaging Ltd Logo"/><a href="testimonials.asp">&quot;We were vividly aware that we were dealing with skilled specialists as opposed to mere salespersons or brokers. We felt secure in the knowledge that their advice was unbiased and independent.&quot; - <strong>Crownhill Packaging Ltd.,</strong> JOHN PONZO, <em>Founder & President</em></a>',

'<img class="logo" src="js/logos/stantec_logo.gif" height="35" width="60" alt="Stantec Inc Logo"/><a href="testimonials.asp">&quot;Once we engaged Real Facilities, it became abundantly clear that we’d made the right decision after our very extensive evaluation of competing firms. As leaders in the field, Real Facilities quickly found us the right premises, allowing us to consolidate our operations across the GTA.&quot; - <strong>Stantec Inc.,</strong> BRIAN SIRBOVAN, <em>Senior Principle Stantec GTA</em></a>',

'<img class="logo" src="js/logos/tsh_logo.gif" height="35" width="60" alt="Totten Sims Hubicki Assoc Logo"/><a href="testimonials.asp">&quot;What appealed to us about Real Facilities is that it brought much more than just real estate experience to the table. Their holistic approach to the whole real estate process, and their long list of satisfied clients, sealed the deal for us.&quot; - <strong>Totten Sims Hubicki Assoc.,</strong> JIM MCEWAN, <em>Vice President, Municipal Division</em></a>',

'<img class="logo" src="js/logos/robins_logo.gif" height="35" width="60" alt="Robins Appleby & Taub LLP Logo"/><a href="testimonials.asp">&quot;Real Facilities brought tremendous added value to the table with its ability to deliver in-depth financial, consolidating all available market information, as well as the ability to project manage the entire move.&quot; - <strong>Robins Appleby & Taub LLP,</strong> LEOR MARGULIES, <em>Partner</em></a>',

'<img class="logo" src="js/logos/corby_logo.gif" height="35" width="60" alt="Corby Distilleries Limited Logo"/><a href="testimonials.asp">&quot;Real Facilities’ FLOW™ process led us seamlessly through the consulting phase, the space search, the lease negotiation, and finally the design, construction, project management, furniture and move management phase.&quot; - <strong>Corby Distilleries Limited.,</strong> CON CONSTANDIS, <em>President & Chief Executive Officer</em></a>',

'<img class="logo" src="js/logos/stantec_logo.gif" height="35" width="60" alt="Stantec Inc Logo"/><a href="testimonials.asp">&quot;Thanks to Real Facilities, rapidly becoming a Green Building/ LEED expert, our new facility at Wellington and Spadina in Toronto will be fully compliant — a major step in our joint visions.&quot; - <strong>Stantec Inc.,</strong> MARK MITCHELL, <em>Regional Leader, NA</em></a>',

'<img class="logo" src="js/logos/siebel_logo.gif" height="35" width="60" alt="Siebel Systems Inc Logo"/><a href="testimonials.asp">&quot;Real Facilities was not simply transaction oriented, but focused on overall client services. They always placed our relationship ahead of the transaction.&quot; - <strong>Siebel Systems Inc.,</strong> JOHN TENANES, <em>Sr. Dir. of Real Estate Worldwide</em></a>',

'<img class="logo" src="js/logos/corby_logo.gif" height="35" width="60" alt="Corby Distilleries Limited Logo"/><a href="testimonials.asp">&quot;In a nutshell, Real Facilities and their team “hit a home run’ by doing a spectacular job in bringing all aspects of the project together exactly as I envisioned and exactly as they promised.&quot; - <strong>Corby Distilleries Limited.,</strong> CON CONSTANDIS, <em>President & Chief Executive Officer</em></a>',

'<img class="logo" src="js/logos/korn_logo.gif" height="35" width="120" alt="Korn/Ferry Canada Logo"/><a href="testimonials.asp">&quot;Real Facilities attention to detail, their responsiveness to our needs and their excellent project management skills allowed me to concentrate on running the business, not running the projects.&quot; - <strong>Korn/Ferry Canada,</strong> GARY REWALD, <em>Vice President, Administration</em></a>',

'<img class="logo" src="js/logos/farber_logo.gif" height="35" width="120" alt="A. Farber & Partners Logo"/><a href="testimonials.asp">&quot;Being faced with renegotiation of our head offices and relocation of a major portion of our firm, we worked with Real Facilities to develop a negotiating strategy … they executed very effectively and achieved the end results we were aiming for. We value our ongoing relationship with Real Facilities.&quot; - <strong>A. Farber & Partners,</strong> ALAN FARBER</a>',

'<img class="logo" src="js/logos/corby_logo.gif" height="35" width="60" alt="Corby Distilleries Limited Logo"/><a href="testimonials.asp">&quot;I am really impressed and extremely pleased with how Real Facilities’ team took our business Vision and created a real estate plan that aligned to it both strategically and functionally.&quot; - <strong>Corby Distilleries Limited.,</strong> CON CONSTANDIS, <em>President & Chief Executive Officer</em></a>',

'<img class="logo" src="js/logos/stantec_logo.gif" height="35" width="60" alt="Stantec Inc Logo"/><a href="testimonials.asp">&quot;We are sold on Real Facilities’ approach. And as for doing the deal, Real Facilities are the best I’ve seen. They have a gift and very practiced skills.&quot; - <strong>Stantec Inc.,</strong> ALAN KENNEDY, <em>Project Consultant</em></a>',

'<img class="logo" src="js/logos/trillium_logo.gif" height="35" width="120" alt="Trillium Health Centre Logo"/><a href="testimonials.asp">&quot;The Real Facilities team offered innovative, skillful, and objective analyses with recommendations for incorporating short-, medium-, and long-term goals into our Master Plan.&quot; - <strong>Trillium Health Centre,</strong> ERIC J. VANDEWALL, <em>Planning & Corporate Services</em></a>',

'<img class="logo" src="js/logos/crownhill_logo.gif" height="35" width="90" alt="Crownhill Packaging Ltd Logo"/><a href="testimonials.asp">&quot;The Real Facilities Industrial group offered an authentic team approach, a collective breadth and depth of resources that surpassed conventional brokerage proficiency.&quot; - <strong>Crownhill Packaging Ltd.,</strong> JOHN PONZO, <em>Founder & President</em></a>',

'<img class="logo" src="js/logos/corby_logo.gif" height="35" width="60" alt="Corby Distilleries Limited Logo"/><a href="testimonials.asp">&quot;With the entire Real Facilities’ team involved from day one, this saved us time and money and we always knew that Real Facilities was completely accountable, and accepted that responsibility.&quot; - <strong>Corby Distilleries Limited.,</strong> CON CONSTANDIS, <em>President & Chief Executive Officer</em></a>',

'<img class="logo" src="js/logos/troquest_logo.gif" height="35" width="60" alt="TorQuest Partners Logo"/><a href="testimonials.asp">&quot;We found the location we wanted, but what Real Facilities brought to the table was the skill and savvy to get the lease we wanted. Real Facilities had the market knowledge to negotiate and put together a lease, saving us the hassle, and putting us, the tenant, first.  We would use this company again and again.&quot; - <strong>TorQuest Partners,</strong> BRENT BELZBERG, <em>Managing Partner</em></a>',

'<img class="logo" src="js/logos/siebel_logo.gif" height="35" width="60" alt="Siebel Systems Inc Logo"/><a href="testimonials.asp">&quot;Real Facilities’ ability to handle projects from beginning to end including project management and post transaction services offered us one available point of contact. Their skillful professionalism, throughout the entire project from site selection, lease negotiation, and overall project management, was incomparable.&quot; - <strong>Siebel Systems Inc.,</strong> JOHN TENANES, <em>Sr. Dir. of Real Estate Worldwide</em></a>',

'<img class="logo" src="js/logos/corby_logo.gif" height="35" width="60" alt="Corby Distilleries Limited Logo"/><a href="testimonials.asp">&quot;Working with Real Facilities allowed us to focus on our core business as their transaction management, design and project management team guided us through the detailed, time-consuming, and resource draining relocation process.&quot; - <strong>Corby Distilleries Limited.,</strong> CON CONSTANDIS, <em>President & Chief Executive Officer</em></a>',

'<img class="logo" src="js/logos/crownhill_logo.gif" height="35" width="90" alt="Crownhill Packaging Ltd Logo"/><a href="testimonials.asp">&quot;We knew these professionals were right up our alley, right from beginning to end. They handled all the negotiations, managed the builders, and got us settled when it was time to make the big move. It was simple, allowing us to focus on our core business.&quot; - <strong>Crownhill Packaging Ltd.,</strong> JOHN PONZO, <em>Founder & President</em></a>',

'<img class="logo" src="js/logos/corby_logo.gif" height="35" width="60" alt="Corby Distilleries Limited Logo"/><a href="testimonials.asp">&quot;I am pleased to highly recommend them to any prospective client. Real Facilities has a specialized group of consultants who are exceptionally capable of meeting every client’s needs in all aspect of corporate real estate brokerage, negotiation, project management and design.&quot; - <strong>Corby Distilleries Limited.,</strong> CON CONSTANDIS, <em>President & Chief Executive Officer</em></a>',

'<img class="logo" src="js/logos/farber_logo.gif" height="35" width="120" alt="A. Farber & Partners Logo"/><a href="testimonials.asp">&quot;We appreciate the analytical approach Real Facilities took in comparing the various alternatives available for us.  Using our cash flow model to evaluate any financial decision, Real Facilities readily work with us to access options.&quot; - <strong>A. Farber & Partners,</strong> ALAN FARBER</a>',

'<img class="logo" src="js/logos/korn_logo.gif" height="35" width="120" alt="Korn/Ferry Canada Logo"/><a href="testimonials.asp">&quot;As obvious leaders in their field, it was truly a pleasure to deal with Real Facilities.&quot; - <strong>Korn/Ferry Canada,</strong> GARY REWALD, <em>Vice President, Administration</em></a>',

'<img class="logo" src="js/logos/kia_logo.gif" height="35" width="60" alt="KIA Canada Logo"/><a href="testimonials.asp">&quot;We needed a facility capable of supporting our anticipated growth over the next decade. Real Facilities was with us every step of the way.&quot; - <strong>KIA Canada,</strong> DONALD KNOWLES, <em>Real Estate</em></a>',

'<img class="logo" src="js/logos/stantec_logo.gif" height="35" width="60" alt="Stantec Inc Logo"/><a href="testimonials.asp">&quot;The Real Facilities team are a pleasure to deal with. From the get-go, they provided us with the strategic counsel we required. Nothing was out of scope or additional.&quot; - <strong>Stantec Inc.,</strong> MARK MITCHELL, <em>Regional Leader, NA</em></a>',

'<img class="logo" src="js/logos/sport_logo.gif" height="35" width="60" alt="Sport Alliance of Ontario Logo" ><a href="testimonials.asp">&quot;Real Facilities’ advice and guidance helped the SAO to secure a facility which will be a wonderful new home for amateur sport for the next fifteen years.&quot; - <strong>Sport Alliance of Ontario,</strong> DOUGLAS R. ROSSER, <em>Chairman</em></a>'
];

// ---------------------------
// -- TICKER FUNCTIONALITY
// ---------------------------

// This is the function for shuffling/randomizing the testmonials
Array.prototype.shuffle = function (){ for(var rnd, tmp, i=this.length; i; rnd=parseInt(Math.random()*i), tmp=this[--i], this[i]=this[rnd], this[rnd]=tmp); };

// This line shuffles the testimonials into a random order - add a "//" in front of the line to "comment it out" and prevent the testimonials from being shuffled
//tickerText.shuffle();

// Now we append all the ticker items to the appropriate element of the document and start the scrolling
$(document).ready(function(){
  if ($('#makeMeScrollable').length){
    for (i = 0; i < tickerText.length; i++){
      var thisText = tickerText[i];
      $('#makeMeScrollable div.scrollableArea').append('<div class="item">'+thisText+'</div>');
      }
    $("#makeMeScrollable").smoothDivScroll({
      autoScroll: "always",
      autoScrollDirection: "endlessloopright",
      autoScrollStep: 1,
      autoScrollInterval: 15
      }).smoothDivScroll('stopAutoScroll');     
    $('#makeMeScrollable div.item img').load(function(){
      window.setTimeout(function(){
        $("#makeMeScrollable").smoothDivScroll('startAutoScroll');
        }, 2000);   
      });
    }  
});
