var scObj1 = new scrollObject("d0", 324, 90, "#FFFFFF", "up", 1.35, 2.7, 30, 11000, "scroll");
scObj1.block[13] = "Our past experience with the IT industry have in general not been good. It is refreshing to be able to say that Jason and Rodin have reversed that trend. We have no hesitation in recommending Rodin to any other organisation or practice seeking similar support.<br><p align='right'><i>E.H. Rigby. Forbes Rigby Pty Ltd</i>";
scObj1.block[14] = "I think Rodin did an excellent job in getting the office up and running.  Everything went very smoothly and we've had no real problems since.  Aaron did a great job in making the transition very seamless for everybody.<br><p align='right'><i>Neil Mercer. Douglas Partners</i>";
scObj1.block[15] = "The ongoing assistance, advice and guidance provided by you and your team members to all of the staff in The Hardware Man group is very much appreciated.<br><p align='right'><i>Terry Bruce. The Hardware Man</i>";
scObj1.block[16] = "I would recommend RODIN to any professional firm that is seeking to make their IT systems reliable and an effective tool in their businesses.<br><p align='right'><i>Doug Tarrant. Doug Tarrant & Co</i>";
scObj1.block[17] = "RODIN has provided an excellent service that has always supported our needs and interests and we would recommend their services to other businesses.<br><p align='right'><i>Andrew Stephenson. Daley & Co. Chartered Accountants</i>";
scObj1.block[18] = "The WEC would recommend the use of Rodin for all your computing needs... their staff will provide a friendly, reliable and knowledgeable service every time.<br><p align='right'><i>Peter Lanyon. Wollongong Sportsground Trust</i>";
scObj1.block[19] = "Leussink Engineering has no hesitation in recommending the Team at Rodin for all your IT requirements.<br><p align='right'><i>Ray Leussink. C&M Leussink Engineering</i>";
scObj1.block[20] = "They provided great advice, cost cutting measures and innovative ideas. Their hourly rate was very reasonable. Our visit rate has almost tripled, and we sell much more online. I can thoroughly recommend them to anyone who wishes to improve their web presence.<br><p align='right'><i>Mark Allison. Balgownie Vet</i>";
scObj1.block[21] = "We are very happy with our new system and the following back up provided by Rodin. Help is only ever a phone call away no matter how big or small the problem. <br><p align='right'><i>Kerren Britton. Livestock and Business Centre</i>";
scObj1.block[22] = "The trick with getting business infrastructure working is not only to get a good design, but for it also to be the right design for your processes and environment. Rodin managed this very well, providing first class components and a structure that was able to handle the way we wanted to do business.<br><p align='right'><i>Greg Caleo. The Outdoor Education Group</i>";
scObj1.block[23] = "Our moto is “The Gateway Advantage” – “Above and Beyond” that is how we run our business, it’s reassuring to see a company like Rodin with the same drive, ambition and total dedication to its clients just as we do..<br><p align='right'><i>Ray Grant. Gateway Motors</i>";
scObj1.block[24] = "Rodin's performance was commendable, often prompting COI of issues that should be addressed immediately.<br><p align='right'><i>Irene Wade. Community Options Illawarra Inc.</i>";
scObj1.block[0] = "Rodin staff performed extremely well and gave us the solution we needed.<br><p align='right'><i>Peter Shoemark. Cardno Forbes Rigby</i>";
scObj1.block[1] = "Rodin has wonderful, friendly and very capable staff that has always been able to answer and solve any problem we may have encountered. I wouldn’t hesitate to recommend them to any person or business requiring the services they offer.<br><p align='right'><i>Cathy Bedford. Engadine Bowling Club</i>";
scObj1.block[2] = "Our office computer network now works a lot more effectively and efficiently. We now have a reliable backup system that gives us great peace of mind. When we do have an IT problem, RODIN are quick to respond and are also able to provide clear instructions over the phone.<br><p align='right'><i>Allison Walsh. Greg Walsh & Associates.</i>";
scObj1.block[3] = "We have been pleased with the service provided by Rodin’s staff in providing service and computer hardware that is appropriate to our needs.<br><p align='right'><i>David Whitelaw. Beacon Wealth Solutions</i>";
scObj1.block[4] = "Very happy with the path Rodin took us down in getting to our goal of being paperless - happy with the service, the timeliness and the cost.<br><p align='right'><i>Anthony Ritter. Investment and Planning Services.</i>";
scObj1.block[5] = "Rodin have been a long-term supplier to RetireInvest, Wollongong. Delivery is always timely and installation professional. I am more than happy to recommend Rodin.<br><p align='right'><i>Ian Williamson. Retire Invest Wollongong.</i>";
scObj1.block[6] = "Rodin advised us of our needs to meet my expectations, which have been exceeded. They have always sorted any problems swiftly and professionally. I would have no hesitation in referring Rodin to my colleagues.<br><p align='right'><i>Tony Hunt. Ray White Oak Flats</i>";
scObj1.block[7] = "Rodin carried out the work in a timely manner and we have found the staff at Rodin to be helpful whenever we have had the need to ask a question or resolve a problem.<br><p align='right'><i>Tracey Fulton. Arcstone Financial Services.</i>";
scObj1.block[8] = "Rodin perform solidly with all enquiries that our staff give to them and I would have no hesitation in recommending Rodin to other Businesses for IT related issues. I would also like to add that Rodin have excellent helpdesk and after sales service.<br><p align='right'><i>Rodney Brown. Arrow Electrical</i>";
scObj1.block[9] = "I would certainly recommend Rodin to any new customer, not only for initial installation work but also their on-going support.<br><p align='right'><i>Noelene Sturman. Sturman Electronics</i>";
scObj1.block[10] = "Your ongoing support and assistance with the new Time Minder card system was appreciated. The new card system has been a great time saver and is a very accurate way to account for all employees time. Thank you again.<br><p align='right'><i>Noel Oliver. Scobie and Glover Engineering</i>";
scObj1.block[11] = "I have used the services of Rodin for many years now.  The Firm has always been able to solve any problem that I may have encountered over that period including recovering all data that I managed to corrupt.  Their service is fast, friendly and efficient.<br><p align='right'><i>Julie Williams. Williams Mitre 10</i>";
scObj1.block[12] = "We've been using Rodin for all our computer hardware, software and IT support for the past 8 years. They have always been there for us for price, service and performance. There is no IT company in the Illawarra that I trust as much as Jason and the team at Rodin.<br><p align='right'><i>Michael O'Neill. UTJ Interiors</i>";
var scObj2 = new scrollObject("sPics", 200, 80, "transparent", "left", 1.37, 2.65, 30, 3000, "NOTUSED");
scObj2.block[0] = "<img src=\"img/scr/banner200.jpg\" alt=\"GreyWyvern.com\" style=\"width:200px;height:42px;\" />";

function scrollObject(main, width, height, bkgcol, direct, deccel, begin, speed, pause, classname) {
  var self = this;

  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.width = width;
  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\"><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 = function() {
            if (this.active) setTimeout(function() { self.scrollWait(); }, this.pause);
            this.mouse = true;
          }
          divList[i].onmouseout = function() {
            this.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(function() { self.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(function() { self.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(function() { self.scrollLoop(); }, this.speed);
    }
  }
  this.scrollWait = function() {
    clearTimeout(this.process);
    if (this.active) return false;
    if (!this.mouse) {
      this.active = true;
      this.process = setTimeout(function() { self.scrollLoop(); }, this.pause / 2);
    } else this.process = setTimeout(function() { self.scrollWait(); }, this.pause);
  }
}