	<%if request("idpaginainst") = "principal" then%>
	<a style="color:#ffffff" href="../home">Página Inicial</a>&nbsp;&nbsp;&#62;&nbsp;&nbsp;Produtos em Destaque
	<%elseif Request.QueryString("url_comp")<>"" or request("log")="in" and (request("loja")<>"formadepagamento") then%>
	<a style="color:#ffffff" href="../home">Página Inicial</a>&nbsp;&nbsp;&#62;&nbsp;&nbsp;Produtos em Destaque
	<%else%>
	<a style="color:#ffffff" href="/home">Página Inicial</a>
	<%end if%>
	
	
	<%if request("idpagina")<>"" then%>
	  <%if pagina("mn_esubpasta")=0 then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?idpagina=<%=pagina("mn_codigo")%>"><%=pagina("mn_titulo")%></a>
	  <%else %>	
	    <%
	    subpag_sql = "select * from tab_menu where mn_codigo="&pagina("mn_esubpasta")
	    set subpag = objconexao.execute(subpag_sql)
	    %>
	      &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?idpagina=<%=subpag("mn_codigo")%>"><%=subpag("mn_titulo")%></a>	
	      &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?idpagina=<%=pagina("mn_codigo")%>"><%=pagina("mn_titulo")%></a>	
	    <%
	    subpag.close
	    set subpag=nothing
	    %>
	  <%end if%>
	<%end if%>
	

	<%if request("idpaginainst")="contato" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="/contato">Fale Conosco</a>
	<%end if%>
	<%if request("idpaginainst")="noticias" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?idpaginainst=noticias">Publicações</a>
	<%end if%>
	<%if request("idpaginainst")="noticias2" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?idpaginainst=noticias2">Últimas Notícias</a>
	<%end if%>
	
<!-- Produtos  -->
	<%if request("produto")="catalogo" or request("produto")="departamento" or request("produto")="produto" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?produto=catalogo">Produtos</a>
	<%end if%>
	
	<%if request("produto")="busca" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?produto=catalogo">Produtos</a>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; Busca
	<%end if%>
	
	<%if request("produto")="departamento" then%>
		<%
		dep_sql = "select * from tab_produtodepartamento where dep_codigo = "&request("depcodigo")
		set dep = objconexao.execute(dep_sql)
		%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?produto=departamento&amp;depcodigo=<%=dep("dep_codigo")%>"><%=dep("dep_nome")%></a>
		<%
		dep.close
		set dep=nothing
		%>
	<%end if%>

	<!-- Condição criado pois o produto não precisa ficar vinculado em determinada categoria, se for ele faz de um jeito caso não seja faz de outro jeito -->
	
	<%if request("produto")="produto" then%>
	
	<% depcodigo=request("depcodigo") %>
	
	  <%if depcodigo<>"" then %>
		<%
		diretoriopro_sql = "select * from tab_produtoitens where pro_codigo = "&request("procodigo")
		set diretoriopro = objconexao.execute(diretoriopro_sql)
			diretoriodep_sql = "select relp.*, dep.* from tab_produtodepartamento dep left join tab_produtorelacionado relp on dep.dep_codigo=relp.relp_departamento where relp.relp_departamento="&request("depcodigo")&" and relp_produto = "&diretoriopro("pro_codigo")
			set diretoriodep = objconexao.execute(diretoriodep_sql)
		%>
	    &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=departamento&amp;depcodigo=<%=diretoriodep("dep_codigo")%>"><%=diretoriodep("dep_nome")%></a>
	    &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=produto&amp;procodigo=<%=diretoriopro("pro_codigo")%>"><%=replace(replace(replace(replace(diretoriopro("pro_nome"),"&quot;",Chr(34)),"&#39;",Chr(39)),"&#44;",Chr(44)),"&amp;",Chr(38))%></a>
		<%
			diretoriodep.close
			set diretoriodep=nothing
		diretoriopro.close
		set diretoriopro=nothing
		%>
		
	  <%else%>
	
		<%
		diretoriopro_sql = "select * from tab_produtoitens where pro_codigo = "&request("procodigo")
		set diretoriopro = objconexao.execute(diretoriopro_sql)
		%>
	    &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=produto&amp;procodigo=<%=diretoriopro("pro_codigo")%>"><%=replace(replace(replace(replace(diretoriopro("pro_nome"),"&quot;",Chr(34)),"&#39;",Chr(39)),"&#44;",Chr(44)),"&amp;",Chr(38))%></a>
		<%
		diretoriopro.close
		set diretoriopro=nothing
		%>
		
	  <% end if %>
	  
	<% end if %>
	
<!-- Fotos  -->
	<%if request("galerias_fotos")="albuns" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?galerias_fotos=albuns&amp;idp=0">Fotos</a>
	<%end if%>
	<%if request("galerias_fotos")="fotos" then%>
		<%
		cfoto_sql = "select * from tab_c_arvore where a_codigo="&request("idp")
		set cfoto = objconexao.execute(cfoto_sql)
		%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?galerias_fotos=albuns&amp;idp=0">Fotos</a>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?galerias_fotos=fotos&amp;idp=<%=cfoto("a_codigo")%>"><%=cfoto("a_nome")%></a>
		<%
		cfoto.close
		set cfoto=nothing
		%>
	<%end if%>
	
<!-- Vídeos  -->
	<%if request("galerias_videos")="albuns" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?galerias_videos=albuns&idp=0">Vídeos</a>
	<%end if%>
	<%if request("galerias_videos")="assistir" and request("albumid")=0 then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?galerias_videos=albuns&idp=0">Vídeos</a>
	<%elseif request("galerias_videos")="assistir" and request("albumid")<>0 then%>
		<%
		cvideo_sql = "select * from tab_videos where a_codigo="&request("albumid")
		set cvideo = objconexao.execute(cvideo_sql)
		%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?galerias_videos=albuns&idp=0">Vídeos</a>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?galerias_videos=assistir&amp;albumid=<%=cvideo("a_codigo")%>"><%=cvideo("a_nome")%></a>
		<%
		cvideo.close
		set cvideo=nothing
		%>
	<%end if%>
	
<!-- Loja Virtual -->	
	<%if request("loja")="catalogo" or request("loja")="departamento" or request("loja")="produto" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=catalogo">Produtos</a>
	<%end if%>
	<%if request("loja")="cliente" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=cliente">Editar Cliente</a>
	<%end if%>
	<%if request("loja")="cadastrar" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=cadastrar">Cadastre-se</a>
	<%end if%>
	<%if request("loja")="pedido" or request("loja")="pedidomostrar" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=pedido">Pedidos</a>
	<%end if%>
	<%if request("loja")="formadepagamento"  then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="loja/loja_carrocompras.asp?">Loja Virtual</a>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=formadepagamento&log=in">Pagamento</a>
	<%end if%>
	<%if Request.QueryString("url_comp")<>"" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="loja_carrocompras.asp?url_comp=<%=Server.UrlEncode(Request.QueryString("url_comp"))%>">Loja Virtual</a>
	<%end if%>
	<%if request("log")="in" and request("loja")<>"formadepagamento" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="loja_carrocompras.asp?">Loja Virtual</a>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="../capa.asp?loja=formadepagamento&log=in">Pagamento</a>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="loja_fecharpedido.asp?log=in">Identifique-se</a>
	<%end if%>

	<%if request("loja")="busca" then%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; Busca
	<%end if%>
	<%if request("loja")="departamento" then%>
		<%
		diretoriodep_sql = "select * from tab_produtodepartamento where dep_codigo = "&request("depcodigo")
		set diretoriodep = objconexao.execute(diretoriodep_sql)
		%>
	  &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=departamento&amp;depcodigo=<%=diretoriodep("dep_codigo")%>"><%=diretoriodep("dep_nome")%></a>
		<%
		diretoriodep.close
		set diretoriodep=nothing
		%>
	<%end if%>
	<%if request("loja")="produto" then%>
	
	<% depcodigo=request("depcodigo") %>
	
	<!-- Condição criado pois o produto não precisa ficar vinculado em determinada categoria, se for ele faz de um jeito caso não seja faz de outro jeito -->
	
	  <%if depcodigo<>"" then %>
		<%
		diretoriopro_sql = "select * from tab_produtoitens where pro_codigo = "&request("procodigo")
		set diretoriopro = objconexao.execute(diretoriopro_sql)
			diretoriodep_sql = "select relp.*, dep.* from tab_produtodepartamento dep left join tab_produtorelacionado relp on dep.dep_codigo=relp.relp_departamento where relp.relp_departamento="&request("depcodigo")&" and relp_produto = "&diretoriopro("pro_codigo")
			set diretoriodep = objconexao.execute(diretoriodep_sql)
		%>
	    &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=departamento&amp;depcodigo=<%=diretoriodep("dep_codigo")%>"><%=diretoriodep("dep_nome")%></a>
	    &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=produto&amp;procodigo=<%=diretoriopro("pro_codigo")%>"><%=replace(replace(replace(replace(diretoriopro("pro_nome"),"&quot;",Chr(34)),"&#39;",Chr(39)),"&#44;",Chr(44)),"&amp;",Chr(38))%></a>
		<%
			diretoriodep.close
			set diretoriodep=nothing
		diretoriopro.close
		set diretoriopro=nothing
		%>
		
	  <%else%>
	
		<%
		diretoriopro_sql = "select * from tab_produtoitens where pro_codigo = "&request("procodigo")
		set diretoriopro = objconexao.execute(diretoriopro_sql)
		%>
	    &nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="capa.asp?loja=produto&amp;procodigo=<%=diretoriopro("pro_codigo")%>"><%=replace(replace(replace(replace(diretoriopro("pro_nome"),"&quot;",Chr(34)),"&#39;",Chr(39)),"&#44;",Chr(44)),"&amp;",Chr(38))%></a>
		<%
		diretoriopro.close
		set diretoriopro=nothing
		%>
		
	  <%end if%>
	
	<%end if%>
	


<%if request("info") = "principal" then%>
	<a style="color:#ffffff" href="capa.asp?info=principal">Informações Online</a>
<%end if%>

<%if request("infoid")<>"" then%>

	<% 
	set info_diretorio=ocinfo.execute("select mn_titulo, mn_codigo, mn_esubpasta from tab_menu where mn_codigo="&request("infoid")) 
	dir_titulo = info_diretorio("mn_titulo")
	dir_codigo = info_diretorio("mn_codigo")
	dir_esubpasta = info_diretorio("mn_esubpasta")
	%>

	<% if dir_esubpasta=0 then %>
	&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="<%=dir_codigo%>/<%=abrev(dir_titulo)%>"><%=dir_titulo%></a>
	<% else %>

		<% 
		set info_diretorio2=ocinfo.execute("select mn_titulo, mn_codigo, mn_esubpasta from tab_menu where mn_codigo="&dir_esubpasta) 
		dir2_titulo = info_diretorio2("mn_titulo")
		dir2_codigo = info_diretorio2("mn_codigo")
		dir2_esubpasta = info_diretorio2("mn_esubpasta")
		%>
		<% if dir2_esubpasta=0 then %>
		&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="<%=dir2_codigo%>/<%=abrev(dir2_titulo)%>"><%=dir2_titulo%></a>
		&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="<%=dir_codigo%>/<%=abrev(dir_titulo)%>"><%=dir_titulo%></a>
		<%else%>

			<% 
			set info_diretorio3=ocinfo.execute("select mn_titulo, mn_codigo, mn_esubpasta from tab_menu where mn_codigo="&info_diretorio2("mn_esubpasta")) 
			dir3_titulo = info_diretorio3("mn_titulo")
			dir3_codigo = info_diretorio3("mn_codigo")
			dir3_esubpasta = info_diretorio3("mn_esubpasta")
			%>
			<% if dir3_esubpasta=0 then %>
			&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="<%=dir3_codigo%>/<%=abrev(dir3_titulo)%>"><%=dir3_titulo%></a>
			&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="<%=dir2_codigo%>/<%=abrev(dir2_titulo)%>"><%=dir2_titulo%></a>
			&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="<%=dir_codigo%>/<%=abrev(dir_titulo)%>"><%=dir_titulo%></a>
			<%else%>
			
				<% 
				set info_diretorio4=ocinfo.execute("select mn_titulo, mn_codigo, mn_esubpasta from tab_menu where mn_codigo="&info_diretorio3("mn_esubpasta")) 
				dir4_titulo = info_diretorio4("mn_titulo")
				dir4_codigo = info_diretorio4("mn_codigo")
				dir4_esubpasta = info_diretorio4("mn_esubpasta")
				%>
				&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="<%=dir4_codigo%>/<%=abrev(dir4_titulo)%>"><%=dir4_titulo%></a>
				&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="<%=dir3_codigo%>/<%=abrev(dir3_titulo)%>"><%=dir3_titulo%></a>
				&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="<%=dir2_codigo%>/<%=abrev(dir2_titulo)%>"><%=dir2_titulo%></a>
				&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="<%=dir_codigo%>/<%=abrev(dir_titulo)%>"><%=dir_titulo%></a>

				<%
				info_diretorio4.close
				set info_diretorio4=nothing
				%>
			<%end if%>

			<%
			info_diretorio3.close
			set info_diretorio3=nothing
			%>
		<%end if%>

		<%
		info_diretorio2.close
		set info_diretorio2=nothing
		%>
	<%end if%>

	<%
	info_diretorio.close
	set info_diretorio=nothing
	%>

<%end if%>


<% if request("infoid_noticia")="geral" then %>
	&nbsp;&nbsp;<a style="color:#ffffff" href="noticias">Notícias</a>
<% end if %>

<%if request("infoid_noticia")<>"" and request("infoid_noticia")<>"geral" then%>

	<% 
	set infon_diretorio=ocinfo.execute("select mn_titulo, mn_codigo, mn_esubpasta from tab_noticias where mn_codigo="&request("infoid_noticia")) 
	
	dir_not_titulo = infon_diretorio("mn_titulo")
	dir_not_codigo = infon_diretorio("mn_codigo")
	%>

	<% if infon_diretorio("mn_esubpasta")=0 then %>
	&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="noticias">Notícias</a>
	&nbsp;&nbsp;<b>&gt;</b>&nbsp;&nbsp; <a style="color:#ffffff" href="noticia/<%=dir_not_codigo%>/<%=abrev(dir_not_titulo)%>"><%=infon_diretorio("mn_titulo")%></a>
	<%end if%>

	<%
	infon_diretorio.close
	set infon_diretorio=nothing
	%>

<%end if%>