﻿
function refresh()
{

    var myArray=['<a href="http://www.powerweave.com/customer-quote/">&ldquo;Powerweave has been able to provide a high volume output of retouching while maintaining the aesthetics of the Michael C. Fina brand.&rdquo;</a> <div>Zhoe Garcia</div>','<a href="http://www.powerweave.com/customer-quote/">&ldquo;We are using their supplier solution to great advantage. We have been able to... respond to distributor requirements quickly. More importantly we have reduced our fixed costs substantially.&rdquo;</a> <div>Rick Perlmutter</div>','<a href="http://www.powerweave.com/customer-quote/">&ldquo;I was pleasantly surprised at the quality of my website and the customer service I received. They were able to meet all my needs and requests. The website looks and works great.&rdquo;</a> <div>Josh Levy</div>','<a href="http://www.powerweave.com/customer-quote/">&ldquo;The most essential aspect of Powerweave is their support after the site is completed, and all the staff are readily available and knowledgeable and execute all requests in a timely manner.&rdquo;</a> <div>Vicky Elmore</div>']; // literal array
    var len= myArray.length;
    var count = document.getElementById('Hidden1').value;
    
    if(count == "")
    {
        count = 1;
    }
    
    if(parseInt(count) < parseInt(len))
    {
        elem = document.getElementById('divId');
        elem.innerHTML = myArray[count];
        count = parseInt(count) + 1;
        document.getElementById('Hidden1').value = count;
    }
    else
    {
        count =0;
        elem = document.getElementById('divId');
        elem.innerHTML = myArray[count];
        count = parseInt(count) + 1;
        document.getElementById('Hidden1').value = count;
    }
}


function refPowerFacts()
{
    var myArray=['<span>43% increase in online traffic</span>from <span>Google</span> & <span>Bing</span> to web business of New Jersey-based client during a 6-month period','<span>2000+ new registered users </span>to website of New Jersey-based client over an 18-month period','<span>30.91% increase in visits </span>and <span>13.64% increase in page views</span> &ndash; just some of the amazing results that our client in Nevada enjoyed over a 6-month period', '<span>22% increase in online orders</span> for web-based business of client in Nevada after an impressive <span>increase in registrations by 87%</span>', '<span>75% increase in visitors</span> and an <span>80% increase in absolute unique visitors</span> to website of our client in Texas, within period of 6 months', '<span>67% increase in traffic from Google</span> and <bing>100% increase in traffic from Bing</bing> to website of our Texas-based client, over a 6-month period', 'Our highly evolved understanding of image editing have delivered <span>over 150,000 images.</span>','<span>2 million</span> art files delivered, with quality, reliability, and innovation.','We design and turn around <span>1500 pages</span> every week.','Our teams delivered <span>80,000</span> print ready <span>catalog pages</span> last year.']; // literal array
    
    var len= myArray.length;
    var count = document.getElementById('Hidden2').value;
    
    if(count == "")
    {
        count = 1;
    }
    
    if(parseInt(count) < parseInt(len))
    {
        elem = document.getElementById('divPowerFacts');
        elem.innerHTML = myArray[count];
        count = parseInt(count) + 1;
        document.getElementById('Hidden2').value = count;
    }
    else
    {
        count =0;
        elem = document.getElementById('divPowerFacts');
        elem.innerHTML = myArray[count];
        count = parseInt(count) + 1;
        document.getElementById('Hidden2').value = count;
    }
}

