function flash (){
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="484" height="276">');
document.write ('<param name="movie" value="../swf/home.swf">');
document.write ('<param name="quality" value="high">')
document.write ('<embed src="../swf/home.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="484" height="276"></embed></object>');
}
function gae (){
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="480" height="300">');
document.write ('<param name="movie" value="../swf/gae.swf">');
document.write ('<param name="quality" value="high">')
document.write ('<embed src="../swf/gae.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="300"></embed></object>');
}
function blocks (){
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="480" height="300">');
document.write ('<param name="movie" value="../swf/bloks.swf">');
document.write ('<param name="quality" value="high">')
document.write ('<embed src="../swf/bloks.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="300"></embed></object>');
}
function visual (){
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="480" height="300">');
document.write ('<param name="movie" value="../swf/visual.swf">');
document.write ('<param name="quality" value="high">')
document.write ('<embed src="../swf/visual.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="300"></embed></object>');
}
function net (){
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="480" height="300">');
document.write ('<param name="movie" value="../swf/net.swf">');
document.write ('<param name="quality" value="high">')
document.write ('<embed src="../swf/net.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="300"></embed></object>');
}
function educacional (){
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="480" height="400">');
document.write ('<param name="movie" value="../swf/educacional.swf">');
document.write ('<param name="quality" value="high">')
document.write ('<embed src="../swf/educacional.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="400"></embed></object>');
}
function tecnologia (){
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="480" height="400">');
document.write ('<param name="movie" value="../swf/tecnologia.swf">');
document.write ('<param name="quality" value="high">')
document.write ('<embed src="../swf/tecnologia.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="400"></embed></object>');
}
function manutencao (){
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="480" height="400">');
document.write ('<param name="movie" value="../swf/manutencao.swf">');
document.write ('<param name="quality" value="high">')
document.write ('<embed src="../swf/manutencao.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="400"></embed></object>');
}

function robotica (){
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="480" height="400">');
document.write ('<param name="movie" value="../swf/robotica.swf">');
document.write ('<param name="quality" value="high">')
document.write ('<embed src="../swf/robotica.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="400"></embed></object>');
}

function downloads (){
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="484" height="276">');
document.write ('<param name="movie" value="../swf/downloads_.swf">');
document.write ('<param name="quality" value="high">')
document.write ('<embed src="../swf/downloads_.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="484" height="276"></embed></object>');
}















try{
    xmlhttp = new XMLHttpRequest();
	//alert("A");
}catch(ee){
    try{
        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
		//alert("B");
    }catch(e){
        try{
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
			//alert("C");
        }catch(E){
            xmlhttp = false;
        }
    }
}
function news_insert(a,b){
document.getElementById(b).innerHTML = "<img src='../img/34-1.gif'> Processando......";

    xmlhttp.open("GET", "../newsletter/insert.php?a="+a+"&b="+b,true);

    xmlhttp.onreadystatechange=function() {
 
    if (xmlhttp.readyState==4){
	
    var texto = unescape(xmlhttp.responseText.replace(/\+/g," ")); // coloca acentos
      document.getElementById(b).innerHTML = texto;
	    }
    }
    xmlhttp.send(null) 
}
