//------------------------------------------------------------------------
// Web Service CEP, desenvolvido por Evanil Rosano de Paula.
// Este Web Service está habilitado para funcionar em qualquer servidor, 
// no entanto terá melhor desempenho em sites hospedados pela Via Virtual.
// Visite nosso site e conheça nossos serviços.
// Via Virtual - Solucões WEB
// http://www.viavirtual.com.br
//-------------------------------------------------------------------------

function getHTTPObject() {
  var xmlhttp;
  /*@cc_on
  @if (@_jscript_version >= 5)
    try {
      xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
      } catch (e) {
      try {
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        } catch (E) {
        xmlhttp = false;
        }
      }
  @else
  xmlhttp = false;
  @end @*/
  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
    try {
      xmlhttp = new XMLHttpRequest();
      } catch (e) {
      xmlhttp = false;
      }
    }
  return xmlhttp;
  }
var http = getHTTPObject();




function funcaoport(totpags,pg,cat) 
{


	http.open("GET", 'inc/completarportfolio.php?pg='+pg+'&cat='+cat, true);
	http.onreadystatechange = handleHttpResponse;
	http.send(null);

	var arr; //array com os dados retornados
	function handleHttpResponse() 
	{
		if(http.readyState != 4){
			
			document.getElementById("carregando").style.display="block";
			document.getElementById("carregando").innerHTML = "<div style=\"float:left\"><img src=\"images/loading2.gif\"></div> <div style=\"float:left;\"><img src=\"images/carregando_txt.jpg\"></div>";//INSERE A FIGURA '' loading NO SPAN AO LADO DO BOTÃO
			
			document.getElementById("portfolio").style.display="none";
			document.getElementById("nada").style.display="block";
		
		}else if (http.readyState == 4){
			

			document.getElementById("carregando").style.display="none";
			document.getElementById("carregando").innerHTML = "";

			document.getElementById("portfolio").style.display="block";
			document.getElementById("nada").style.display="none";


			//PARA AS PAGINAS
			//----------------------------------------------------------------------------
			GroupAtual = "";
			if(GroupAtual == "" || GroupAtual != pg){
				 for(i=1; i<=totpags; i++){
					 document.getElementById("pag_"+i).className= "link_pag"; 
					 document.getElementById("pag_roda_"+i).className= "link_pag"; 
				 }
			  
				 GroupAtual = pg;
				 if(parseInt(pg) + 1<totpags){
					 proxima = parseInt(pg) + 1;
					 document.getElementById("next").innerHTML = "<a href=\"javascript:funcaoport('"+totpags+"','"+proxima+"','"+cat+"');\"><img src=\"images/prox.jpg\" alt=\"Next\" border=\"0\" /></a>";
					 document.getElementById("next_roda").innerHTML = "<a href=\"javascript:funcaoport('"+totpags+"','"+proxima+"','"+cat+"');\"><img src=\"images/prox.jpg\" alt=\"Next\" border=\"0\" /></a>";
				 }else{
					 document.getElementById("next").innerHTML = "";
					 document.getElementById("next_roda").innerHTML = "";
				 }
				 
			}
			
			
			
			if(GroupAtual == pg){
			  var prox = parseInt(pg) + 1;
			  document.getElementById("pag_"+prox).className= "link_pag_atual";  
			  document.getElementById("pag_roda_"+prox).className= "link_pag_atual";  
			  GroupAtual = "";

			  anterior = parseInt(pg) - 1;
			  if((parseInt(pg) + 1<=totpags) ){
				 document.getElementById("prev").innerHTML = "<a href=\"javascript:funcaoport('"+totpags+"','"+anterior+"','"+cat+"');\"><img src=\"images/ant.jpg\" alt=\"Previous\" border=\"0\" /></a>";
				 document.getElementById("prev_roda").innerHTML = "<a href=\"javascript:funcaoport('"+totpags+"','"+anterior+"','"+cat+"');\"><img src=\"images/ant.jpg\" alt=\"Previous\" border=\"0\" /></a>";
			  }
			  if(anterior==-1){
				 document.getElementById("prev").innerHTML = "";
				 document.getElementById("prev_roda").innerHTML = "";
			  }
  
			}
			//----------------------------------------------------------------------------


			
			
			var response = http.responseText;
			eval("var arr = "+response); //cria objeto com o resultado
			

			
			<!-- SITE 1 -->
			if(arr.tit_cliente_1!=''){
				document.getElementById("tudo1").style.display = 'block';
				document.getElementById("tit_cliente_1").innerHTML = arr.tit_cliente_1;
				document.getElementById("pic1").innerHTML = "<img src=\"images/sites/"+arr.pic1+"\" alt=\""+arr.alt1+"\" border=\"0\" />";
				
				if(arr.tem_depoimento1==1){
					document.getElementById("depoimento_outros1").innerHTML = '<div style="float:left; padding-left:85px; padding-top:20px; width:255px; height:298px; background-image: url(images/quote.gif);background-repeat:no-repeat; background-position:60px 0px;" class="depoimento"><div style="clear:both;">'+arr.depoimento_txt1+'</div><div style="clear:both; text-align:right; padding-top:15px;">- '+arr.depoimento_nome1+'<br /> <span style="color:#4D9BAF;">'+arr.depoimento_cargo1+'</span></div></div>';
				}else if(arr.tem_depoimento1==0){
					document.getElementById("depoimento_outros1").innerHTML = '<div style="float:left; padding-left:85px; width:255px; height:318px;"><div style="clear:both;"><span class="tit_atividades">SERVICES</span></div><div style="clear:both; padding-top:15px; padding-left:20px; " class="txt_atividades" >'+arr.txt_atividades1+'</div></div>';
				}
				document.getElementById("url1").innerHTML = '<div style="float:left; padding-right:10px;"><a href="conta-cliques-'+arr.idc1+'" target="_blank" class="lk_site" onmouseover="javascript:window.status=\''+arr.alt1+'\'; return true;">View Live Site</a> <img src="images/icon_seta.jpg" alt="" border="0" /></div><div style="float:left; font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,Trebuchet MS,sans-serif;font-size:10px; color:#666; text-decoration:none; padding-top:3px;"><div style="float:left; padding-right:8px;">|</div> <div style="float:left">'+arr.cliques1+' visualiza'+arr.s1+'</div></div>';
				document.getElementById("txt_projeto1").innerHTML = arr.txt_projeto1;
				document.getElementById("tecnologias1").innerHTML = arr.tecnologias1;
				document.getElementById("data_completa1").innerHTML = arr.data1;
				document.getElementById("categoria1").innerHTML = arr.categoria1;
			}else{
				document.getElementById("tudo1").style.display = 'none';
			}
			<!-- SITE 1 -->

			<!-- SITE 2 -->
			if(arr.tit_cliente_2!=''){
				document.getElementById("tudo2").style.display = 'block';
				document.getElementById("tit_cliente_2").innerHTML = arr.tit_cliente_2;
				document.getElementById("pic2").innerHTML = '<img src="images/sites/'+arr.pic2+'" alt="'+arr.alt2+'" border="0" />';
				
				if(arr.tem_depoimento2==1){
					document.getElementById("depoimento_outros2").innerHTML = '<div style="float:left; padding-left:85px; padding-top:20px; width:255px; height:298px; background-image: url(images/quote.gif);background-repeat:no-repeat; background-position:60px 0px;" class="depoimento"><div style="clear:both;">'+arr.depoimento_txt2+'</div><div style="clear:both; text-align:right; padding-top:15px;">- '+arr.depoimento_nome2+'<br /> <span style="color:#4D9BAF;">'+arr.depoimento_cargo2+'</span></div></div>';
				}else if(arr.tem_depoimento2==0){
					document.getElementById("depoimento_outros2").innerHTML = '<div style="float:left; padding-left:85px; width:255px; height:318px;"><div style="clear:both;"><span class="tit_atividades">SERVICES</span></div><div style="clear:both; padding-top:15px; padding-left:20px; " class="txt_atividades" >'+arr.txt_atividades2+'</div></div>';
				}
				document.getElementById("url2").innerHTML = '<div style="float:left; padding-right:10px;"><a href="conta-cliques-'+arr.idc2+'" target="_blank" class="lk_site" onmouseover="javascript:window.status=\''+arr.alt2+'\'; return true;">View Live Site</a> <img src="images/icon_seta.jpg" alt="" border="0" /></div><div style="float:left; font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,Trebuchet MS,sans-serif;font-size:10px; color:#666; text-decoration:none; padding-top:3px;"><div style="float:left; padding-right:8px;">|</div> <div style="float:left">'+arr.cliques2+' visualiza'+arr.s2+'</div></div>';
				document.getElementById("txt_projeto2").innerHTML = arr.txt_projeto2;
				document.getElementById("tecnologias2").innerHTML = arr.tecnologias2;
				document.getElementById("data_completa2").innerHTML = arr.data2;
				document.getElementById("categoria2").innerHTML = arr.categoria2;
			}else{
				document.getElementById("tudo2").style.display = 'none';
			}
			<!-- SITE 2 -->

			<!-- SITE 3 -->
			if(arr.tit_cliente_3!=''){
				document.getElementById("tudo3").style.display = 'block';
				document.getElementById("tit_cliente_3").innerHTML = arr.tit_cliente_3;
				document.getElementById("pic3").innerHTML = '<img src="images/sites/'+arr.pic3+'" alt="'+arr.alt3+'" border="0" />';
				
				if(arr.tem_depoimento3==1){
					document.getElementById("depoimento_outros3").innerHTML = '<div style="float:left; padding-left:85px; padding-top:20px; width:255px; height:298px; background-image: url(images/quote.gif);background-repeat:no-repeat; background-position:60px 0px;" class="depoimento"><div style="clear:both;">'+arr.depoimento_txt3+'</div><div style="clear:both; text-align:right; padding-top:15px;">- '+arr.depoimento_nome3+'<br /> <span style="color:#4D9BAF;">'+arr.depoimento_cargo3+'</span></div></div>';
				}else if(arr.tem_depoimento3==0){
					document.getElementById("depoimento_outros3").innerHTML = '<div style="float:left; padding-left:85px; width:255px; height:318px;"><div style="clear:both;"><span class="tit_atividades">SERVICES</span></div><div style="clear:both; padding-top:15px; padding-left:20px; " class="txt_atividades" >'+arr.txt_atividades3+'</div></div>';
				}
				document.getElementById("url3").innerHTML = '<div style="float:left; padding-right:10px;"><a href="conta-cliques-'+arr.idc3+'" target="_blank" class="lk_site" onmouseover="javascript:window.status=\''+arr.alt3+'\'; return true;">View Live Site</a> <img src="images/icon_seta.jpg" alt="" border="0" /></div><div style="float:left; font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,Trebuchet MS,sans-serif;font-size:10px; color:#666; text-decoration:none; padding-top:3px;"><div style="float:left; padding-right:8px;">|</div> <div style="float:left">'+arr.cliques3+' visualiza'+arr.s3+'</div></div>';
				document.getElementById("txt_projeto3").innerHTML = arr.txt_projeto3;
				document.getElementById("tecnologias3").innerHTML = arr.tecnologias3;
				document.getElementById("data_completa3").innerHTML = arr.data3;
				document.getElementById("categoria3").innerHTML = arr.categoria3;
			}else{
				document.getElementById("tudo3").style.display = 'none';
			}
			<!-- SITE 3 -->

			<!-- SITE 4 -->
			if(arr.tit_cliente_4!=''){
				document.getElementById("tudo4").style.display = 'block';
				document.getElementById("tit_cliente_4").innerHTML = arr.tit_cliente_4;
				document.getElementById("pic4").innerHTML = '<img src="images/sites/'+arr.pic4+'" alt="'+arr.alt4+'" border="0" />';
				
				if(arr.tem_depoimento4==1){
					document.getElementById("depoimento_outros4").innerHTML = '<div style="float:left; padding-left:85px; padding-top:20px; width:255px; height:298px; background-image: url(images/quote.gif);background-repeat:no-repeat; background-position:60px 0px;" class="depoimento"><div style="clear:both;">'+arr.depoimento_txt4+'</div><div style="clear:both; text-align:right; padding-top:15px;">- '+arr.depoimento_nome4+'<br /> <span style="color:#4D9BAF;">'+arr.depoimento_cargo4+'</span></div></div>';
				}else if(arr.tem_depoimento4==0){
					document.getElementById("depoimento_outros4").innerHTML = '<div style="float:left; padding-left:85px; width:255px; height:318px;"><div style="clear:both;"><span class="tit_atividades">SERVICES</span></div><div style="clear:both; padding-top:15px; padding-left:20px; " class="txt_atividades" >'+arr.txt_atividades4+'</div></div>';
				}
				document.getElementById("url4").innerHTML = '<div style="float:left; padding-right:10px;"><a href="conta-cliques-'+arr.idc4+'" target="_blank" class="lk_site" onmouseover="javascript:window.status=\''+arr.alt4+'\'; return true;">View Live Site</a> <img src="images/icon_seta.jpg" alt="" border="0" /></div><div style="float:left; font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,Trebuchet MS,sans-serif;font-size:10px; color:#666; text-decoration:none; padding-top:3px;"><div style="float:left; padding-right:8px;">|</div> <div style="float:left">'+arr.cliques4+' visualiza'+arr.s4+'</div></div>';
				document.getElementById("txt_projeto4").innerHTML = arr.txt_projeto4;
				document.getElementById("tecnologias4").innerHTML = arr.tecnologias4;
				document.getElementById("data_completa4").innerHTML = arr.data4;
				document.getElementById("categoria4").innerHTML = arr.categoria4;
			}else{
				document.getElementById("tudo4").style.display = 'none';
			}
			<!-- SITE 4 -->

			<!-- SITE 5 -->
			if(arr.tit_cliente_5!=''){
				document.getElementById("tudo5").style.display = 'block';
				document.getElementById("tit_cliente_5").innerHTML = arr.tit_cliente_5;
				document.getElementById("pic5").innerHTML = '<img src="images/sites/'+arr.pic5+'" alt="'+arr.alt5+'" border="0" />';
				
				if(arr.tem_depoimento5==1){
					document.getElementById("depoimento_outros5").innerHTML = '<div style="float:left; padding-left:85px; padding-top:20px; width:255px; height:298px; background-image: url(images/quote.gif);background-repeat:no-repeat; background-position:60px 0px;" class="depoimento"><div style="clear:both;">'+arr.depoimento_txt5+'</div><div style="clear:both; text-align:right; padding-top:15px;">- '+arr.depoimento_nome5+'<br /> <span style="color:#4D9BAF;">'+arr.depoimento_cargo5+'</span></div></div>';
				}else if(arr.tem_depoimento5==0){
					document.getElementById("depoimento_outros5").innerHTML = '<div style="float:left; padding-left:85px; width:255px; height:318px;"><div style="clear:both;"><span class="tit_atividades">SERVICES</span></div><div style="clear:both; padding-top:15px; padding-left:20px; " class="txt_atividades" >'+arr.txt_atividades5+'</div></div>';
				}
				document.getElementById("url5").innerHTML = '<div style="float:left; padding-right:10px;"><a href="conta-cliques-'+arr.idc5+'" target="_blank" class="lk_site" onmouseover="javascript:window.status=\''+arr.alt5+'\'; return true;">View Live Site</a> <img src="images/icon_seta.jpg" alt="" border="0" /></div><div style="float:left; font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,Trebuchet MS,sans-serif;font-size:10px; color:#666; text-decoration:none; padding-top:3px;"><div style="float:left; padding-right:8px;">|</div> <div style="float:left">'+arr.cliques5+' visualiza'+arr.s5+'</div></div>';
				document.getElementById("txt_projeto5").innerHTML = arr.txt_projeto5;
				document.getElementById("tecnologias5").innerHTML = arr.tecnologias5;
				document.getElementById("data_completa5").innerHTML = arr.data5;
				document.getElementById("categoria5").innerHTML = arr.categoria5;
			}else{
				document.getElementById("tudo5").style.display = 'none';
			}
			<!-- SITE 5 -->


			<!-- SITE 6 -->
			if(arr.tit_cliente_6!=''){
				document.getElementById("tudo6").style.display = 'block';
				document.getElementById("tit_cliente_6").innerHTML = arr.tit_cliente_6;
				document.getElementById("pic6").innerHTML = '<img src="images/sites/'+arr.pic6+'" alt="'+arr.alt6+'" border="0" />';
				
				if(arr.tem_depoimento6==1){
					document.getElementById("depoimento_outros6").innerHTML = '<div style="float:left; padding-left:85px; padding-top:20px; width:255px; height:298px; background-image: url(images/quote.gif);background-repeat:no-repeat; background-position:60px 0px;" class="depoimento"><div style="clear:both;">'+arr.depoimento_txt6+'</div><div style="clear:both; text-align:right; padding-top:15px;">- '+arr.depoimento_nome6+'<br /> <span style="color:#4D9BAF;">'+arr.depoimento_cargo6+'</span></div></div>';
				}else if(arr.tem_depoimento6==0){
					document.getElementById("depoimento_outros6").innerHTML = '<div style="float:left; padding-left:85px; width:255px; height:318px;"><div style="clear:both;"><span class="tit_atividades">SERVICES</span></div><div style="clear:both; padding-top:15px; padding-left:20px; " class="txt_atividades" >'+arr.txt_atividades6+'</div></div>';
				}
				document.getElementById("url6").innerHTML = '<div style="float:left; padding-right:10px;"><a href="conta-cliques-'+arr.idc6+'" target="_blank" class="lk_site" onmouseover="javascript:window.status=\''+arr.alt6+'\'; return true;">View Live Site</a> <img src="images/icon_seta.jpg" alt="" border="0" /></div><div style="float:left; font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,Trebuchet MS,sans-serif;font-size:10px; color:#666; text-decoration:none; padding-top:3px;"><div style="float:left; padding-right:8px;">|</div> <div style="float:left">'+arr.cliques6+' visualiza'+arr.s6+'</div></div>';
				document.getElementById("txt_projeto6").innerHTML = arr.txt_projeto6;
				document.getElementById("tecnologias6").innerHTML = arr.tecnologias6;
				document.getElementById("data_completa6").innerHTML = arr.data6;
				document.getElementById("categoria6").innerHTML = arr.categoria6;
			}else{
				document.getElementById("tudo6").style.display = 'none';
			}
			<!-- SITE 6 -->

			<!-- SITE 7 -->
			if(arr.tit_cliente_7!=''){
				document.getElementById("tudo7").style.display = 'block';
				document.getElementById("tit_cliente_7").innerHTML = arr.tit_cliente_7;
				document.getElementById("pic7").innerHTML = '<img src="images/sites/'+arr.pic7+'" alt="'+arr.alt7+'" border="0" />';
				
				if(arr.tem_depoimento7==1){
					document.getElementById("depoimento_outros7").innerHTML = '<div style="float:left; padding-left:85px; padding-top:20px; width:255px; height:298px; background-image: url(images/quote.gif);background-repeat:no-repeat; background-position:60px 0px;" class="depoimento"><div style="clear:both;">'+arr.depoimento_txt7+'</div><div style="clear:both; text-align:right; padding-top:15px;">- '+arr.depoimento_nome7+'<br /> <span style="color:#4D9BAF;">'+arr.depoimento_cargo7+'</span></div></div>';
				}else if(arr.tem_depoimento7==0){
					document.getElementById("depoimento_outros7").innerHTML = '<div style="float:left; padding-left:85px; width:255px; height:318px;"><div style="clear:both;"><span class="tit_atividades">SERVICES</span></div><div style="clear:both; padding-top:15px; padding-left:20px; " class="txt_atividades" >'+arr.txt_atividades7+'</div></div>';
				}
				document.getElementById("url7").innerHTML = '<div style="float:left; padding-right:10px;"><a href="conta-cliques-'+arr.idc7+'" target="_blank" class="lk_site" onmouseover="javascript:window.status=\''+arr.alt7+'\'; return true;">View Live Site</a> <img src="images/icon_seta.jpg" alt="" border="0" /></div><div style="float:left; font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,Trebuchet MS,sans-serif;font-size:10px; color:#666; text-decoration:none; padding-top:3px;"><div style="float:left; padding-right:8px;">|</div> <div style="float:left">'+arr.cliques7+' visualiza'+arr.s7+'</div></div>';
				document.getElementById("txt_projeto7").innerHTML = arr.txt_projeto7;
				document.getElementById("tecnologias7").innerHTML = arr.tecnologias7;
				document.getElementById("data_completa7").innerHTML = arr.data7;
				document.getElementById("categoria7").innerHTML = arr.categoria7;
			}else{
				document.getElementById("tudo7").style.display = 'none';
			}
			<!-- SITE 7 -->

			<!-- SITE 8 -->
			if(arr.tit_cliente_8!=''){
				document.getElementById("tudo8").style.display = 'block';
				document.getElementById("tit_cliente_8").innerHTML = arr.tit_cliente_8;
				document.getElementById("pic8").innerHTML = '<img src="images/sites/'+arr.pic8+'" alt="'+arr.alt8+'" border="0" />';
				
				if(arr.tem_depoimento8==1){
					document.getElementById("depoimento_outros8").innerHTML = '<div style="float:left; padding-left:85px; padding-top:20px; width:255px; height:298px; background-image: url(images/quote.gif);background-repeat:no-repeat; background-position:60px 0px;" class="depoimento"><div style="clear:both;">'+arr.depoimento_txt8+'</div><div style="clear:both; text-align:right; padding-top:15px;">- '+arr.depoimento_nome8+'<br /> <span style="color:#4D9BAF;">'+arr.depoimento_cargo8+'</span></div></div>';
				}else if(arr.tem_depoimento8==0){
					document.getElementById("depoimento_outros8").innerHTML = '<div style="float:left; padding-left:85px; width:255px; height:318px;"><div style="clear:both;"><span class="tit_atividades">SERVICES</span></div><div style="clear:both; padding-top:15px; padding-left:20px; " class="txt_atividades" >'+arr.txt_atividades8+'</div></div>';
				}
				document.getElementById("url8").innerHTML = '<div style="float:left; padding-right:10px;"><a href="conta-cliques-'+arr.idc8+'" target="_blank" class="lk_site" onmouseover="javascript:window.status=\''+arr.alt8+'\'; return true;">View Live Site</a> <img src="images/icon_seta.jpg" alt="" border="0" /></div><div style="float:left; font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,Trebuchet MS,sans-serif;font-size:10px; color:#666; text-decoration:none; padding-top:3px;"><div style="float:left; padding-right:8px;">|</div> <div style="float:left">'+arr.cliques8+' visualiza'+arr.s8+'</div></div>';
				document.getElementById("txt_projeto8").innerHTML = arr.txt_projeto8;
				document.getElementById("tecnologias8").innerHTML = arr.tecnologias8;
				document.getElementById("data_completa8").innerHTML = arr.data8;
				document.getElementById("categoria8").innerHTML = arr.categoria8;
			}else{
				document.getElementById("tudo8").style.display = 'none';
			}
			<!-- SITE 8 -->

			<!-- SITE 9 -->
			if(arr.tit_cliente_9!=''){
				document.getElementById("tudo9").style.display = 'block';
				document.getElementById("tit_cliente_9").innerHTML = arr.tit_cliente_9;
				document.getElementById("pic9").innerHTML = '<img src="images/sites/'+arr.pic9+'" alt="'+arr.alt9+'" border="0" />';
				
				if(arr.tem_depoimento9==1){
					document.getElementById("depoimento_outros9").innerHTML = '<div style="float:left; padding-left:85px; padding-top:20px; width:255px; height:298px; background-image: url(images/quote.gif);background-repeat:no-repeat; background-position:60px 0px;" class="depoimento"><div style="clear:both;">'+arr.depoimento_txt9+'</div><div style="clear:both; text-align:right; padding-top:15px;">- '+arr.depoimento_nome9+'<br /> <span style="color:#4D9BAF;">'+arr.depoimento_cargo9+'</span></div></div>';
				}else if(arr.tem_depoimento9==0){
					document.getElementById("depoimento_outros9").innerHTML = '<div style="float:left; padding-left:85px; width:255px; height:318px;"><div style="clear:both;"><span class="tit_atividades">SERVICES</span></div><div style="clear:both; padding-top:15px; padding-left:20px; " class="txt_atividades" >'+arr.txt_atividades9+'</div></div>';
				}
				document.getElementById("url9").innerHTML = '<div style="float:left; padding-right:10px;"><a href="conta-cliques-'+arr.idc9+'" target="_blank" class="lk_site" onmouseover="javascript:window.status=\''+arr.alt9+'\'; return true;">View Live Site</a> <img src="images/icon_seta.jpg" alt="" border="0" /></div><div style="float:left; font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,Trebuchet MS,sans-serif;font-size:10px; color:#666; text-decoration:none; padding-top:3px;"><div style="float:left; padding-right:8px;">|</div> <div style="float:left">'+arr.cliques9+' visualiza'+arr.s9+'</div></div>';
				document.getElementById("txt_projeto9").innerHTML = arr.txt_projeto9;
				document.getElementById("tecnologias9").innerHTML = arr.tecnologias9;
				document.getElementById("data_completa9").innerHTML = arr.data9;
				document.getElementById("categoria9").innerHTML = arr.categoria9;
			}else{
				document.getElementById("tudo9").style.display = 'none';
			}
			<!-- SITE 9 -->

			<!-- SITE 10 -->
			if(arr.tit_cliente_10!=''){
				document.getElementById("tudo10").style.display = 'block';
				document.getElementById("tit_cliente_10").innerHTML = arr.tit_cliente_10;
				document.getElementById("pic10").innerHTML = '<img src="images/sites/'+arr.pic10+'" alt="'+arr.alt10+'" border="0" />';
				
				if(arr.tem_depoimento10==1){
					document.getElementById("depoimento_outros10").innerHTML = '<div style="float:left; padding-left:85px; padding-top:20px; width:255px; height:298px; background-image: url(images/quote.gif);background-repeat:no-repeat; background-position:60px 0px;" class="depoimento"><div style="clear:both;">'+arr.depoimento_txt10+'</div><div style="clear:both; text-align:right; padding-top:15px;">- '+arr.depoimento_nome10+'<br /> <span style="color:#4D9BAF;">'+arr.depoimento_cargo10+'</span></div></div>';
				}else if(arr.tem_depoimento10==0){
					document.getElementById("depoimento_outros10").innerHTML = '<div style="float:left; padding-left:85px; width:255px; height:318px;"><div style="clear:both;"><span class="tit_atividades">SERVICES</span></div><div style="clear:both; padding-top:15px; padding-left:20px; " class="txt_atividades" >'+arr.txt_atividades10+'</div></div>';
				}
				document.getElementById("url10").innerHTML = '<div style="float:left; padding-right:10px;"><a href="conta-cliques-'+arr.idc10+'" target="_blank" class="lk_site" onmouseover="javascript:window.status=\''+arr.alt10+'\'; return true;">View Live Site</a> <img src="images/icon_seta.jpg" alt="" border="0" /></div><div style="float:left; font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,Trebuchet MS,sans-serif;font-size:10px; color:#666; text-decoration:none; padding-top:3px;"><div style="float:left; padding-right:8px;">|</div> <div style="float:left">'+arr.cliques10+' visualiza'+arr.s10+'</div></div>';
				document.getElementById("txt_projeto10").innerHTML = arr.txt_projeto10;
				document.getElementById("tecnologias10").innerHTML = arr.tecnologias10;
				document.getElementById("data_completa10").innerHTML = arr.data10;
				document.getElementById("categoria10").innerHTML = arr.categoria10;
			}else{
				document.getElementById("tudo10").style.display = 'none';
			}
			<!-- SITE 10 -->

			
		}
	}
}






