﻿function addScrollers() {
    // code each scroller as follows:
    // startScroll('id of scroller div','content of scroller');
    startScroll('testimonials',
    '<p class="testimonial_txt">Onyx Info Solutions has maintained several projects for us in the U.S., working hand-in-hand with us every day for more than four years. They have handled desktop applications and website databases equally well. Their responsiveness on a daily basis has become an invaluable asset in maintaining and upgrading our sites. I highly recommend their services!<\/p>' +
    '<p class="testimonial">' +
    '<span class="testimonial_name">Robert Kolsters<\/span>' +
    '<br \/>' +
    '<span class="testimonial_company">CEO - Applied Solutions<\/span>' +
    '<\/p>' +
    '<p class="testimonial_txt">I have been working with Onyx Info Solutions for over two years now and have been very pleased with their availability, communication, and completed work. I would highly recommend this organization for your application development and maintenance needs.<\/p>' +
    '<p class="testimonial">' +
    '<span class="testimonial_name">Michelle Archer<\/span>' +
    '<\/p>' +
    '<p class="testimonial_txt">Team Onyx really knows their stuff. Their help was invaluable, and working with them allows me to take on projects that I would\'ve never done otherwise.<\/p>' +
    '<p class="testimonial">' +
    '<span class="testimonial_name">Ilya Goldman<\/span>' +
    '<br \/>' +
    '<span class="testimonial_company">Internet Exposure<\/span>' +
    '<\/p>' +
    '<p class="testimonial_txt">I have used Onyx several times for easy as well as very complicated task and they have been able to deliver each time. And withing the deadline. Highly recommended!<\/p>' +
    '<p class="testimonial">' +
    '<span class="testimonial_name">Amin Gharehchaie<\/span>' +
    '<\/p>' +
    '<p class="testimonial_txt">We needed a new website fast. A friend of mine suggested I try Team Onyx. He said they did work for him and it worked out great. I contacted the team, sent my requirements and it short order had the new site. They are very friendly and easy to work with.<\/p>' +
    '<p class="testimonial">' +
    '<span class="testimonial_name">Tiffany Ghiselin<\/span>' +
    '<br \/>' +
    '<span class="testimonial_company">CEO - Sochai Consulting<\/span>' +
    '<br \/>' +
    '<a class="testimonial_website" href="http:\/\/www.sochaiconsulting.com\/">www.sochaiconsulting.com<\/a>' +
    '<\/p>' +
    '<p class="testimonial_txt">I am an entrepreneur, who just began with my long sought dream of starting my own education venture. In present day scenario of competitiveness, it is essential to have an appealing website which is a vital marketing tool for the organization. I choose Onyx Info Solutions after a brief market study. Onyx Info Solutions have not only created and hosted my web site but also provided extended support many times, which made me a 100% satisfied client for them. Dealing with Onyx Info Solutions was much more than buying or selling a service. I will therefore recommend Onyx Info Solutions as an excellent company for web site development services. I can be contacted at 92160-90050.<\/p>' +
    '<p class="testimonial">' +
    '<span class="testimonial_name">Avtar Singh Shahi<\/span>' +
    '<br \/>' +
    '<span class="testimonial_company">Director - Scholars International<\/span>' +
    '<br \/>' +
    '<a class="testimonial_website" href="http:\/\/www.scholars-international.com\/">www.scholars-international.com<\/a>' +
    '<\/p>'
    );
}

var speed = 12; // scroll speed (bigger = faster)
var dR = false; // reverse direction
var step = 1; function objWidth(obj) { if (obj.offsetWidth) return obj.offsetWidth; if (obj.clip) return obj.clip.width; return 0; } function objHeight(obj) { if (obj.offsetHeight) return obj.offsetHeight; if (obj.clip) return obj.clip.height; return 0; } function scrF(i, sH, eH) { var x = parseInt(i.top) + (dR ? step : -step); if (dR && x > sH) x = -eH; else if (x < 2 - eH) x = sH; i.top = x + 'px'; } function startScroll(sN, txt) { var scr = document.getElementById(sN); var sW = objWidth(scr) - 0; var sH = objHeight(scr); scr.innerHTML = '<div id="' + sN + 'in" style="position:absolute; left:3px; width:' + sW + ';">' + txt + '<\/div>'; var sTxt = document.getElementById(sN + 'in'); var eH = objHeight(sTxt); sTxt.style.top = (dR ? -eH : sH) + 'px'; sTxt.style.clip = 'rect(0,' + sW + 'px,' + eH + 'px,0)'; setInterval(function() { scrF(sTxt.style, sH, eH); }, 1000 / speed); }
window.onload = addScrollers;
                  