function AdicionaFlash1()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="552" height="192" VIEWASTEXT>');
document.write('    <param name="movie" value="flash/anim_left2.swf">');
document.write('    <param name="quality" value="high">');
document.write('    <param name="wmode" value="opaque">');
document.write('    <embed wmode="transparent" src="flash/anim_left2.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="552" height="192"></embed>');
document.write('</object>');
}

function AdicionaFlash2()
{
document.write('<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT style="height: 192px">');
document.write('    <PARAM NAME="_cx" VALUE="5689">');
document.write('    <PARAM NAME="_cy" VALUE="6985">');
document.write('    <PARAM NAME="FlashVars" VALUE="">');
document.write('    <PARAM NAME="Movie" VALUE="flash/random2.swf">');
document.write('    <PARAM NAME="Src" VALUE="flash/random2.swf">');
document.write('    <PARAM NAME="WMode" VALUE="Window">');
document.write('    <PARAM NAME="Play" VALUE="-1">');
document.write('    <PARAM NAME="Loop" VALUE="-1">');
document.write('    <PARAM NAME="Quality" VALUE="High">');
document.write('    <PARAM NAME="SAlign" VALUE="">');
document.write('    <PARAM NAME="Menu" VALUE="-1">');
document.write('    <PARAM NAME="Base" VALUE="">');
document.write('    <PARAM NAME="AllowScriptAccess" VALUE="always">');
document.write('    <PARAM NAME="Scale" VALUE="ShowAll">');
document.write('    <PARAM NAME="DeviceFont" VALUE="0">');
document.write('    <PARAM NAME="EmbedMovie" VALUE="0">');
document.write('    <PARAM NAME="BGColor" VALUE="">');
document.write('    <PARAM NAME="SWRemote" VALUE="">');
document.write('    <PARAM NAME="MovieData" VALUE="">');
document.write('    <PARAM NAME="SeamlessTabbing" VALUE="1">');
document.write('    <embed src="flash/random2.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="215" height="100%"> </embed>');
document.write('</OBJECT>');
}

function AdicionaFlash3()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="206" VIEWASTEXT>');
document.write('<param name="movie" value="flash/synapsehome2.swf">');
document.write('<param name="quality" value="high">');
document.write('<embed src="flash/synapsehome2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="206"></embed>');
document.write('</object>');
}

function MostraProdutos()
{
document.getElementById('ListaProdutos').style.visibility='visible';
}

function EscondeProdutos()
{
document.getElementById('ListaProdutos').style.visibility='hidden';
}

function MudaImagemRotador(documento)
{
    var CboRotador = documento.getElementById('CboRotador');
    var i
    
    documento.getElementById('imgBanner').src='imagens/products/thumbSmall/' + CboRotador.options[CboRotador.selectedIndex].text;
    documento.getElementById('imgBannerTitu').value=CboRotador.options[CboRotador.selectedIndex].value;
    i=CboRotador.selectedIndex+1;
    if (i>=CboRotador.length)
    {
        CboRotador.selectedIndex=0;
        i=0; 
    }
    else
    {
        CboRotador.selectedIndex=i;
    }
    
    //documento.getElementById('imgBanner').src='imagens/products/thumbSmall/' + documento.getElementById('ListaRotador').Text;
}