var quote = new Array;
quote.push('<P>"Processor power and battery life are two fundamental criteria... Next generation load management techniques, such as the one developed by Packet Digital, are of particular importance"<BR><BR> - <I><B>Prismark Partners LLC</B></I>');
quote.push('<P>"Packet Digital is an industry leader with world-class expertise in system-level power analysis and management."<BR><BR> - <I><B>Mentor Graphics</B></I>');
quote.push('<P>"Packet Digital\'s contributions in antenna design, RF design, FPGA logic, power management and system design were a critical part of the success of a significant research effort with Corning Incorporated.  Their system and technology expertise led to innovations and new capabilities for an advanced RF solution that enabled a substantial laboratory demonstration."<BR><BR> - <I><B>Corning Incorporated</B></I>');
quote.push('<P>"Impressed with the quality of the products and service provided by Packet Digital."<BR><BR> - <I><B>American Crystal Sugar</B></I>');
quote.push('<P>"...we have determined that Packet Digital has several unique and innovative methods that show great promise in solving some of our current technological challenges.  BCBL-H is highly encouraged by Packet Digital\'s work ... Access to these leading edge technologies would aid in our efforts to enhance the systems that are currently deployed, as well as quicken the pace of deployment of our future prototype system."<BR><BR> - <I><B>Battle Command Battle Laboratory</B></I>');

// #003366

var colors = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e");
var fade_speed = 50;

function fade_out(x) {
    mydiv = document.getElementById('fade_text');
    mydiv.style.color = "#" + colors[x] + colors[x] + colors[x];
	++x;
    if (x < colors.length) {
        setTimeout('fade_out(' + x + ');', fade_speed);
    }
}

function fade_in(x) {
    mydiv = document.getElementById('fade_text');
    mydiv.style.color = "#" + colors[x] + colors[x] + colors[x];
    --x;
	if (x > 0) {
        setTimeout('fade_in(' + x + ');', fade_speed);
    }
}

function loop_fade_text(x) {
    var fade_text = document.getElementById('fade_text');

    fade_text.style.color = "#" + colors[0] + colors[0] + colors[0];
    fade_in((colors.length-1));
    fade_text.innerHTML = quote[x];

    var pause = quote[x].length * 70;
    //pause = 1000;

    ++x;
    if (x >= quote.length) {
        x = 0;
    }
    setTimeout('loop_fade_out_text(' + x + ')', pause);
}

function loop_fade_out_text(x) {
    fade_out(0);
    setTimeout('loop_fade_text(' + x + ')', (fade_speed * colors.length));
}
