function showQuotes()
{
    if (isNaN(document.curQuote))
    {   document.curQuote = 0;
    } else
    if (++document.curQuote >1)
    {   document.curQuote = 0;
    }


//  var e = findElement("quote0");

//  if (e)
    {
        switch (document.curQuote)
        {
            case 0:
                quote0.innerHTML = '<a href="equ_viewconn.php"><img src="images/ad/index_bg_right_vc-6100.gif" width="347" height="173" alt=""></a>';
                break;
            case 1:
                quote0.innerHTML = '<a href="sifamfo.php"><img src="images/ad/index_bg_right_sifam.gif" width="347" height="173" alt=""></a>';
                break;
            //case 2:
            //    quote0.innerHTML = '<table border="0"><tr><td><a href="../components.php"><img src="images/items/sifam-pm-feature.gif" alt="" border="0"></a></td>'
            //                +'<td><a href="../components.php" class="feature">&nbsp;&#147; ... offers outstanding low insertion loss performance, manufactured using its unique fused technology.  With all fibre construction, no epoxies, coatings or parts to align in the optical path, these components efficiently combine, split and multiplex light, whilst manintaining high levels of polarisation ... &#148;</a></td></tr></table>'
            //                +'<a href="../components.php" class="featureBold">ULTRA LOW LOSS TAPS / WDM / PM COMPONENTS</a>';
            //    break;
            
			//case 3:
            //    quote0.innerHTML = '<img src="images/items/IMG_0451.jpg" height="50" alt="" border="0">'
            //                +'<span class="bodyGray">&nbsp;&#147;ITEM 5 Description. &#148;'
            //                +'<br><br>'
            //                +'Item 5';
            //    break;
        
        }
    }

    setTimeout("showQuotes()", 10000)
}


//
//
//
function showQuotesOld()
{
    if(!document.curQuote)
    {
    document.curQuote=1;
        }

    var e=findElement("quote" + document.curQuote);
    if(e)
    {
        hideElement(e);
    }

    document.curQuote++;
    var e=findElement("quote" + document.curQuote);
    if(e)
    {
        showElement(e);
    }
    else
    {
        document.curQuote=1;
        var e=findElement("quote" + document.curQuote);

        if(e)
        {
            showElement(e);
        }
    }

    setTimeoutOld("showQuotes()", 10000)
}

  