﻿//check for linux.
//alert (country);
var chkSystem = "";
				
if (BrowserDetect.OS == "Linux")
	{
		chkLinux = "true";
	}else{
		chkLinux = "false";	
	}
	if(BrowserDetect.browser == "Konqueror")
		{
			chkKDE = "true"	
		}else{
			chkKDE = "false";
		}
		
		if (chkLinux == "false")
		{

		document.write('<div class="menu">');
		document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
		document.write('<ul id="nav">');
			document.write('<li>');
				document.write('<div id="menu1">');
					if (level == "results"){
						document.write('<a href="'+country+'/results/" class="selected"></a></div>');
					}else{
						document.write('<a href="'+country+'/results/"></a></div>');
					}
					document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
						document.write('<ul>');
							document.write('<li><a href="'+country+'/results/">Visão Geral</a></li>');
							document.write('<li><a class="drop" href="'+country+'/results/solutions/">Soluções');
								document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
								document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
								document.write('<ul>');
									document.write('<li><a href="'+country+'/results/solutions/">Visão Geral</a></li>');
									document.write('<li><a href="'+country+'/results/solutions/">Otimização de WAN</a></li>');
									document.write('<li><a href="'+country+'/results/solutions/cloud_services/">Cloud Services</a></li>'); 
									document.write('<li><a class="drop-right2" href="'+country+'/results/solutions/accelerate/">Aceleração de Aplicativo');
										document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
										document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
										document.write('<ul class="right">');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/">Visão Geral</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/ssl.php">Aceleração de SSL</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/file_sharing.php">Aceleração de Compartilhamento de Arquivos</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/microsoft_exchange.php">Aceleração do Microsoft Exchange</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/microsoft_sharepoint.php">Microsoft Sharepoint</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/database_apps.php">Aceleração de Aplicativo de Banco de Dados</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/cad_apps.php">Aceleração de Aplicativo de CAD</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/erp_crm.php">Aceleração de ERP e CRM</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/erp_sap.php">Aceleração de SAP</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/lotus_notes.php">Aceleração de Lotus Notes</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/ftp.php">Aceleração de FTP</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/satellite_links.php">Aceleração de Link de Satélite</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/custom_apps.php">Aceleração de Aplicativo Interno ou Personalizado</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/accelerate/other_apps.php">Acelere Outros Aplicativos</a></li>');
										document.write('</ul>');
									document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
									document.write('</li>');
									document.write('<li><a class="drop-right2" href="'+country+'/results/solutions/optimize/">Otimização de Largura de Banda de WAN');
									document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->'); 
									document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->'); 
										document.write('<ul class="right">');
											document.write('<li><a href="'+country+'/results/solutions/optimize/">Visão Geral</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/optimize/better_use.php">Faça Melhor Uso da Largura de Banda Atual</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/optimize/avoid_upgrades.php">Evite Atualizações de WAN</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/optimize/make_room.php">Crie Espaço para VOIP e Citrix</a></li>');
										document.write('</ul>');
									document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
									document.write('</li>');
									document.write('<li><a class="drop-right2" href="'+country+'/results/solutions/site_consolidation/">Consolidação de TI');
									document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
									document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
										document.write('<ul class="right">');
											document.write('<li><a href="'+country+'/results/solutions/site_consolidation/">Visão Geral</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/site_consolidation/file_servers.php">Consolidação de Servidor de Arquivos</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/site_consolidation/exchange_servers.php">Consolidação de Exchange Server</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/site_consolidation/notes_servers.php">Consolidação de Servidor Notes</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/site_consolidation/nas.php">Consolidação de NAS</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/site_consolidation/remote_backup.php">Centralização de Backup de Escritório Remoto</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/site_consolidation/data_center.php">Consolidação de Centro de Dados</a></li>');
											document.write('</ul>');
										document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');          
									document.write('</li>');
									document.write('<li><a href="'+country+'/results/solutions/rsp/">RSP (RiOS Services Platform)</a></li>'); 									
									document.write('<li><a class="drop-right2" href="'+country+'/results/solutions/centralize_replicate/">Otimizar Recuperação de Desastre');
									document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
									document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
										document.write('<ul class="right">');
											document.write('<li><a href="'+country+'/results/solutions/centralize_replicate/">Visão Geral</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/centralize_replicate/centralize_backup.php">Centralize o Backup e a Recuperação</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/centralize_replicate/data_replication.php">Replicação de Dados Acelerada</a></li>');
										document.write('</ul>');
									document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
									document.write('</li>');
									document.write('<li><a href="'+country+'/results/solutions/mobile_workers/">Dê velocidade a funcionários móveis</a></li>');
									document.write('<li><a href="'+country+'/results/solutions/virtualization/">Virtualização</a></li>');
									document.write('<li><a href="'+country+'/results/solutions/managed_services/">Serviços gerenciados</a></li>');
									document.write('<li><a href="'+country+'/results/solutions/visibility/">Visibilidade e Análises</a></li>');
									document.write('<li><a class="drop-right2" href="'+country+'/results/solutions/compare/">Compare a Riverbed');
									document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
									document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
										document.write('<ul class="right">');
											document.write('<li><a href="'+country+'/results/solutions/compare/">Visão Geral</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/compare/caching.php">Cache</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/compare/compression.php">Compressão</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/compare/protocol.php">Otimização de Protocolo</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/compare/acceleration.php">Aceleração de Aplicativo na Web</a></li>');
											document.write('<li><a href="'+country+'/results/solutions/compare/wafs.php">Serviços de Arquivo de Longa Distância (WAFS)</a></li>');
										document.write('</ul>');
									document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
									document.write('</li>');
									document.write('<li><a href="'+country+'/results/solutions/chalk_talk/">Chalk Talks</a></li>');
								document.write('</ul>');
								document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
							document.write('</li>');
							document.write('<li><a class="drop" href="'+country+'/results/customers/">Clientes');
							document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
							document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
								document.write('<ul>');
									document.write('<li><a href="'+country+'/results/customers/">Visão Geral</a>');
									document.write('<li><a href="'+country+'/results/customers/aec/">Arquitetura/Engenharia/Construção</a></li>');
									document.write('<li><a href="'+country+'/results/customers/energy/">Energia</a></li>');
									document.write('<li><a class="drop-right2" href="'+country+'/results/customers/financial_services/">Serviços Financeiros');
									document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
									document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
										document.write('<ul class="right">');
											document.write('<li><a href="'+country+'/results/customers/financial_services/">Visão Geral</a>');
											document.write('<li><a href="'+country+'/results/customers/financial_services/accounting/">Contabilidade</a></li>');
											document.write('<li><a href="'+country+'/results/customers/financial_services/banking/">Bancos</a></li>');
											document.write('<li><a href="'+country+'/results/customers/financial_services/insurance/">Seguradoras</a></li>');
										document.write('</ul>'); 
									document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');         
									document.write('</li>');
									document.write('<li><a class="drop-right2" href="'+country+'/results/customers/government/">Governo');
									document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
									document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
										document.write('<ul class="right">');
											document.write('<li><a href="'+country+'/results/customers/government/">Visão Geral</a>');
											document.write('<li><a href="'+country+'/results/customers/government/military/">Militar</a></li>');
										document.write('</ul>'); 
									document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');         
									document.write('</li>');									
									document.write('<li><a href="'+country+'/results/customers/health_care/">Assistência Médica</a></li>');
									document.write('<li><a class="drop-right2" href="'+country+'/results/customers/manufacturing/">Manufatura');
									document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
									document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
										document.write('<ul class="right">');
											document.write('<li><a href="'+country+'/results/customers/manufacturing/">Visão Geral</a>');
											document.write('<li><a href="'+country+'/results/customers/manufacturing/consumer/">Consumo</a></li>');
											document.write('<li><a href="'+country+'/results/customers/manufacturing/hightech/">Alta Tecnologia</a></li>');
										document.write('</ul>');
									document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');          
									document.write('</li>');
									document.write('<li><a class="drop-right2" href="'+country+'/results/customers/professional_services/">Serviços Profissionais');
									document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
									document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
										document.write('<ul class="right">');
											document.write('<li><a href="'+country+'/results/customers/professional_services/">Visão Geral</a>');
											document.write('<li><a href="'+country+'/results/customers/professional_services/advertising/">Publicidade</a></li>');
											document.write('<li><a href="'+country+'/results/customers/professional_services/legal/">Jurídico</a></li>');
										document.write('</ul>');
									document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');          
									document.write('</li>');
									document.write('<li><a href="'+country+'/results/customers/software_development/">Desenvolvimento de Software</a></li>');
									document.write('<li><a href="'+country+'/results/customers/nonprofit/">Sem Fins Lucrativos</a></li>');
								document.write('</ul>');
							document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
						   document.write('</li>');
						  document.write('<li><a href="'+country+'/results/cost_savings/">Reduza custos</a></li>');						  
						  document.write('<li><a href="'+country+'/results/productivity/">Mais Produtividade</a></li>');						  
						document.write('</ul>');
						document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');  
					document.write('</li>'); 
					document.write('<li>');
					//menu 2 begin
					document.write('<div id="menu2">');
					if (level == "products"){
					document.write('<a href="'+country+'/products/" class="selected"></a></div>');
					}else{
					document.write('<a href="'+country+'/products/"></a></div>');
					}
						document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
						document.write('<ul>');
						  document.write('<li><a href="'+country+'/products/">Visão Geral</a></li>');
						  document.write('<li><a class="drop" href="'+country+'/products/appliances/">Steelhead Appliances');
						  document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
							document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
							document.write('<ul>');
								document.write('<li><a href="'+country+'/products/appliances/">Visão Geral</a>');
								document.write('<li><a href="'+country+'/products/appliances/index.php">Modelos para Escritórios Pequenos</a></li>');
								document.write('<li><a href="'+country+'/products/appliances/mid-size.php">Modelos para Escritórios Médios</a></li>');
								document.write('<li><a href="'+country+'/products/appliances/large-size.php">Modelos para escritórios grandes/Data Center</a></li>');
								document.write('<li><a href="'+country+'/products/appliances/virtual_steelhead.php">Virtual Steelhead</a></li>');
								document.write('<li><a href="'+country+'/products/appliances/upgrades.php">Atualizações para os Equipamentos Steelhead</a></li>');
								document.write('<li><a href="'+country+'/products/appliances/management.php">Gerenciamento de Equipamento Steelhead</a></li>');
							document.write('</ul>');
							document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
						  document.write('</li>');
						  document.write('<li><a class="drop" href="'+country+'/products/steelhead_mobile/">Steelhead Mobile 3.0');
						  document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
							document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->'); 
							document.write('<ul>');
								document.write('<li><a href="'+country+'/products/steelhead_mobile/">Visão Geral</a>');
								document.write('<li><a href="'+country+'/products/steelhead_mobile/shmc.php">Steelhead Mobile Controller</a></li>');
							document.write('</ul>');
							document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
						  document.write('</li>');
						  document.write('<li><a href="'+country+'/products/rios_services_platform/">RiOS Services Platform (RSP)</a></li>');						  
						  document.write('<li><a class="drop" href="'+country+'/products/cascade/">Cascade');
							document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
							document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
							document.write('<ul>');
								document.write('<li><a href="'+country+'/products/cascade/">Visão Geral</a>');
								document.write('<li><a href="'+country+'/products/cascade/assuring_application_delivery.php">Garantindo a entrega dos aplicativos</a></li>');
								document.write('<li><a href="'+country+'/products/cascade/cost_effective_compliance.php">Compatível com os seus custos</a></li>');
								document.write('<li><a href="'+country+'/products/cascade/datacenter_moves.php">Mudança de Data Center</a></li>');
								document.write('<li><a href="'+country+'/products/cascade/discovery.php">Discovery</a></li>');
								document.write('<li><a href="'+country+'/products/cascade/saves_you_money.php">Economize seu Dinheiro</a></li>');
								document.write('<li><a href="'+country+'/products/cascade/WAN_management.php">Gerenciamento da WAN</a></li>');
							document.write('</ul>');
							document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
						  document.write('</li>');	
						  document.write('<li><a href="'+country+'/products/interceptor/">Interceptor 9200</a></li>');
						  document.write('<li><a class="drop" href="'+country+'/products/cmc/">Console de Gerenciamento Central</a>');
						  document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
							document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
							document.write('<ul>');
								document.write('<li><a href="'+country+'/products/cmc/">Visão Geral</a>');
								document.write('<li><a href="'+country+'/products/cmc/cmc_ve.php">CMC - VE</a></li>');
							document.write('</ul>');
							document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
						  document.write('</li>');
						  document.write('<li><a class="drop" href="'+country+'/products/deployment/">Integração de Rede');
						  document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
							document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
							document.write('<ul>');
								document.write('<li><a href="'+country+'/products/deployment/">Visão Geral</a>');
								document.write('<li><a href="'+country+'/products/deployment/remote.php">Configurações In-Path e Out-of-Path</a></li>');
								document.write('<li><a href="'+country+'/products/deployment/high_availability.php">Configurações de Alta Disponibilidade</a></li>');
						   document.write('</ul>');
						   document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
						  document.write('</li>');
						  document.write('<li><a class="drop" href="'+country+'/products/compare/">Compare o Riverbed');
							document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
							document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
							document.write('<ul>');
								document.write('<li><a href="'+country+'/products/compare/">Visão Geral</a>');
								document.write('<li><a href="'+country+'/products/compare/caching.php">Cache</a></li>');
								document.write('<li><a href="'+country+'/products/compare/compression.php">Compressão</a></li>');
								document.write('<li><a href="'+country+'/products/compare/protocol.php">Otimização de Protocolo</a></li>');
								document.write('<li><a href="'+country+'/products/compare/acceleration.php">Aceleração de Aplicativo na Web</a></li>');
								document.write('<li><a href="'+country+'/products/compare/wafs.php">Serviços de Arquivo de Longa Distância (WAFS)</a></li>');
							document.write('</ul>');
							document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
						  document.write('</li>');
						  document.write('<li><a class="drop" href="'+country+'/products/technology/">Tecnologia');
						  document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
						  document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
						  document.write('<ul>');
							document.write('<li><a href="'+country+'/products/technology/">Visão Geral</a>');
							document.write('<li><a href="'+country+'/products/technology/">RiOS</a></li>');
							document.write('<li><a class="drop-right2" href="'+country+'/products/technology/whats_new/">Novidade - Equipamentos Steelhead');
							document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
								  document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
									document.write('<ul class="right">');
										document.write('<li><a href="'+country+'/products/technology/whats_new/">Visão Geral</a></li>');
										document.write('<li><a href="'+country+'/products/technology/whats_new/recap60.php">Recursos do RiOS 6,0</a></li>');
										document.write('<li><a href="'+country+'/products/technology/whats_new/recap55.php">Recursos do RiOS 5,5</a></li>');
										document.write('<li><a href="'+country+'/products/technology/whats_new/recap50.php">Recursos do RiOS 5,0</a></li>');
										document.write('<li><a href="'+country+'/products/technology/whats_new/recap41.php">Recursos do RiOS 4,1</a></li>');
										document.write('<li><a href="'+country+'/products/technology/whats_new/recap40.php">Recursos do RiOS 4,0</a></li>');
										document.write('<li><a href="'+country+'/products/technology/whats_new/recap.php">Recursos do RiOS 3,0</a></li>');
									document.write('</ul>');
								  document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');           
							document.write('</li>');
							document.write('<li><a class="drop-right2" href="'+country+'/products/technology/whats_new_mobile/">Novidade - Steelhead Mobile');
							document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
								  document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
									document.write('<ul class="right">');
										document.write('<li><a href="'+country+'/products/technology/whats_new_mobile/">Visão Geral</a></li>');
										document.write('<li><a href="'+country+'/products/technology/whats_new_mobile/recap21.php">Resumo do Recurso Steelhead Mobile 2,1</a></li>');
										document.write('<li><a href="'+country+'/products/technology/whats_new_mobile/recap20.php">Resumo do Recurso Steelhead Mobile 2,0</a></li>');
										document.write('<li><a href="'+country+'/products/technology/whats_new_mobile/recap10.php">Resumo do Recurso Steelhead Mobile 1,0</a></li>');
									document.write('</ul>');
								  document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');           
							document.write('</li>');
							document.write('<li><a href="'+country+'/products/technology/data_streamlining/">Otimização de Dados</a></li>');
							document.write('<li><a href="'+country+'/products/technology/trans_streamlining/">Otimização de Transporte</a></li>');
							document.write('<li><a href="'+country+'/products/technology/app_streamlining/">Otimização de Aplicativo</a></li>');
							document.write('<li><a href="'+country+'/products/technology/mgmt_streamlining/">Otimização de Gerenciamento</a></li>');
							document.write('<li><a href="'+country+'/products/technology/transparency/">Transparência e Facilidade de Uso</a></li>');
							document.write('<li><a href="'+country+'/products/technology/security_features/">Recursos de Segurança</a></li>');
							document.write('<li><a href="'+country+'/products/technology/additional_technology/">Tecnologia Adicional</a></li>');
							document.write('<li><a href="'+country+'/products/technology/features/">Resumo de Recursos Técnicos</a></li>');
							document.write('</ul>');
							document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
						  document.write('</li>');
					  document.write('</ul>');
					   document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');  
					document.write('</li>');
					//begin menu 3
					document.write('<li>');
					document.write('<div id="menu3">');
					if (level == "services"){
						document.write('<a href="'+country+'/services/" class="selected"></a></div>');
					}else{
						document.write('<a href="'+country+'/services/"></a></div>');
					}
					document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
					document.write('<ul>');
					  document.write('<li><a href="'+country+'/services/">Visão Geral</a></li>');
					  document.write('<li><a href="'+country+'/services/training/">Treinamento</a></li>');
					  document.write('<li><a href="'+country+'/services/ps/">Serviços Profissionais</a></li>');
					  //document.write('<li><a class="drop" href="'+country+'/services/certification/">Certificação');
					  document.write('<li><a href="'+country+'/services/certification/">Certificação');
					  document.write('<!--[if gte IE 7]><!--></a></li><!--<![endif]-->');
						//document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
						//document.write('<ul>');
							//document.write('<li><a href="'+country+'/services/certification/">Visão Geral</a>');
							//document.write('<li><a href="'+country+'/services/certification/offerings.php">Ofertas de Certificação</a></li>');
							//document.write('<li><a href="'+country+'/services/certification/exam.php">O Exame</a></li>');
							//document.write('<li><a href="'+country+'/services/certification/preparing.php">Preparando para o Exame</a></li>');
							//document.write('<li><a href="'+country+'/services/certification/registering.php">Registrando- se para o Exame</a></li>');
						//document.write('</ul>');
						//document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
					  //document.write('</li>');
					  //document.write('<li><a href="'+country+'/services/tam/">Gerente de Conta Técnica</a></li>');
				  document.write('</ul>');
				  document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
				  document.write('</li>');
				  //begin menu 4
				  document.write('<li>');
					document.write('<div id="menu4">');
					if (level == "support"){
						document.write('<a href="'+country+'/support/" class="selected"></a></div>');
					}else{
						document.write('<a href="'+country+'/support/"></a></div>');
					} 
					document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
					document.write('<ul>');
					  document.write('<li><a href="'+country+'/support/">Visão Geral</a></li>');
					  document.write('<li><a href="https://support.riverbed.com/">Site de Suporte ao Cliente</a></li>');
					  document.write('<li><a href="'+country+'/support/resources/">Recursos</a></li>');
					  document.write('<li><a href="'+country+'/support/team/">Equipe</a></li>');
					  document.write('<li><a href="'+country+'/support/plans/">Planos</a></li>');
					  document.write('<li><a href="'+country+'/support/cases/">Tratamento de Chamados</a></li>');
					  document.write('<li><a href="'+country+'/support/policies/">Políticas de Hardware e Software</a></li>');
					document.write('</ul>');
				  document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
				  document.write('</li>');
				  //begin menu 5
				  document.write('<li>');
				document.write('<div id="menu5">');
				if (level == "partners"){
					document.write('<a href="'+country+'/partners/" class="selected"></a></div>');
				}else{
					document.write('<a href="'+country+'/partners/"></a></div>');
				}
				document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
				document.write('<ul>');
				  document.write('<li><a href="'+country+'/partners/">Visão Geral</a></li>');
		  			document.write('<li><a href="'+country+'/partners/service_providers/">Prestadores de Serviços</a></li>');
		  			document.write('<li><a href="'+country+'/partners/systems_integrators/">Integradores de Sistemas</a></li>');	
				  	document.write('<li><a class="drop" href="'+country+'/partners/techalliance/">Riverbed Technology Alliance');
				  	document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
				  	document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
						document.write('<ul>');
						document.write('<li><a href="'+country+'/partners/techalliance/">Visão Geral</a></li>');
						document.write('<li><a href="'+country+'/partners/techalliance/benefits.php">Benefícios da RTA</a></li>');
						document.write('<li><a href="'+country+'/partners/techalliance/requirements.php">Requisitos da RTA</a></li>');
						document.write('<li><a href="'+country+'/partners/techalliance/apply.php">Inscrever-se para ser membro da RTA</a></li>');
						document.write('<li><a href="'+country+'/partners/techalliance/partner_showcase.php">Apresentação da RTA</a></li>');
						//document.write('<li><a href="/partners/partner_login/">Portal do Parceiro</a></li>');
					document.write('</ul>');
				  document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
				  document.write('</li>');
				  document.write('<li><a class="drop" href="'+country+'/partners/channel/">Parceiros de Canais');
				  document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
				  document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
				  document.write('<ul>');	
					  document.write('<li><a href="'+country+'/partners/channel/">Visão Geral</a></li>');
					  document.write('<li><a href="'+country+'/partners/channel/benefits.php">Benefícios e Requisitos</a></li>');
					  document.write('<li><a href="'+country+'/partners/channel/become.php">Torne-se um Parceiro</a></li>');
				  document.write('</ul>');
				  document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
				  document.write('</li>');
          			//  document.write('<li><a class="drop" href="'+country+'/partners/taxformsandrequirements/">Formulários e Requisitos Fiscais');	
		  			//document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
          			//	document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
          			//	document.write('<ul>');	
          	  		//		document.write('<li><a href="'+country+'/partners/taxformsandrequirements/">Visão Geral</a></li>');
              		//			document.write('<li><a href="'+country+'/partners/taxformsandrequirements/salestax/">Requisitos de Impostos sobre as Vendas</a></li>');				  
              		//			document.write('<li><a href="'+country+'/partners/taxformsandrequirements/resaletax/">Certificados de Impostos de Revenda</a></li>');
              		//			document.write('<li><a href="'+country+'/partners/taxformsandrequirements/vat/">Requisitos de VAT</a></li>');
          			//  document.write('</ul>');
          			//  document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
          			//  document.write('</li>');		  
				  document.write('<li><a href="'+country+'/partners/find_partner.php">Encontre um Parceiro</a></li>');
				  document.write('<li><a href="'+country+'/partners/partner_login/">Log-in no Site de Parceiro</a></li>');
			  document.write('</ul>');
			  document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
			document.write('</li>');
			//begin menu 6
			document.write('<li>');
				document.write('<div id="menu6">');
				if (level == "company"){
					document.write('<a href="'+country+'/company/" class="selected"></a></div>');
				}else{
					document.write('<a href="'+country+'/company/"></a></div>');
				}
					document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
						document.write('<ul class="left">');
						 document.write('<li><a href="'+country+'/company/">Visão Geral</a></li>');
						  document.write('<li><a class="drop-left" href="'+country+'/company/community/">Comunidade');
						  document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
							document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
							  document.write('<ul class="left">');
								document.write('<li><a href="'+country+'/company/community/">Visão Geral</a></li>');
								document.write('<li><a href="'+country+'/company/community/blog/">Blog</a></li>');
								document.write('<li><a href="'+country+'/company/community/podcasts/">Podcasts (em inglês)</a></li>');
								document.write('<li><a href="'+country+'/company/community/wdsforum/">Fórum de Usuários da Riverbed</a></li>');
								document.write('<li><a href="'+country+'/company/community/rvug/rvug.php">Grupo de Usuários do Riverbed</a></li>');
								document.write('<li><a href="'+country+'/company/community/beta-rios.php">Teste Beta do RiOS</a></li>');
							  document.write('</ul>');
							document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->'); 
						  document.write('</li>');
						  document.write('<li><a class="drop-left" href="'+country+'/company/news/">Notícias');
						  document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
							document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
							  document.write('<ul class="left">');
								document.write('<li><a href="'+country+'/company/news/">Visão Geral</a>');
								document.write('<li><a class="drop-left2" href="'+country+'/company/news/articles/">Artigos');
								document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
									document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
										document.write('<ul class="left">');
											document.write('<li><a href="'+country+'/company/news/articles/">Visão Geral</a>');
											document.write('<li><a href="'+country+'/company/news/articles/archive.php">Arquivo de Artigos 2002-2006</a></li>');
										document.write('</ul>');
									document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');           
									document.write('</li>');           	
								document.write('<li><a href="'+country+'/company/news/press_releases/">Press Releases</a></li>');
								document.write('<li><a href="'+country+'/company/news/reviews_reports/">Relatórios e Análises</a></li>');
								document.write('<li><a href="'+country+'/company/news/awards/">Prêmios</a></li>');
								document.write('<li><a href="'+country+'/company/news/rss/">Fluxos de RSS</a></li>');
							 document.write('</ul>');
						   document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->'); 
						  document.write('</li>');
						  //this displays the correct events landing page, depending on the country the user is browsing from.
								document.write('<li><a class="drop-left" href="'+country+'/company/events/emea">Eventos');
								document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
						  		document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
						  		document.write('<ul class="left">');
                    							document.write('<li><a href="'+country+'/company/events/emea/">Eventos em EMEA</a></li>');
                							document.write('<li><a href="'+country+'/company/events/">Eventos nas Américas</a></li>');
									document.write('<li><a href="'+country+'/company/events/apac/">Eventos - APAC</a></li>');
							document.write('<li class="left"><a class="drop-left2" href="'+country+'/company/events/web_seminars/">Seminários na Web (em inglês)');
							document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
							document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
							  document.write('<ul class="left">');
								document.write('<li><a href="'+country+'/company/events/web_seminars/">Próximos Seminários na Web</a></li>');
								document.write('<li><a href="'+country+'/company/events/web_seminars/accelerate_mobile.php">Aceleração móvel</a></li>');
								document.write('<li><a href="'+country+'/company/events/web_seminars/virtualization.php">Virtualização Móvel</a></li>');
								document.write('<li><a href="'+country+'/company/events/web_seminars/optimize_recovery.php">Otimizar Recuperação de Desastre</a></li>');
								document.write('<li><a href="'+country+'/company/events/web_seminars/consolidation.php">Consolidação de TI</a></li>');
								document.write('<li><a href="'+country+'/company/events/web_seminars/cost_savings.php">Economia</a></li>');
								document.write('<li><a href="'+country+'/company/events/web_seminars/app_acceleration.php">Aceleração de Aplicativo</a></li>');
								document.write('<li><a href="'+country+'/company/events/web_seminars/wan_optimization.php">Otimização de Largura de Banda de WAN</a></li>');
								document.write('<li><a href="'+country+'/company/events/web_seminars/visibility.php">Visibilidade</a></li>');
							  document.write('</ul>');
							document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
							document.write('</li>');
						  document.write('</ul>');
						 document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
						 document.write('<li><a class="drop-left" href="'+country+'/company/careers/">Carreiras');
						 document.write('<!--[if gte IE 7]><!--></a><!--<![endif]-->');
						  document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
						  document.write('<ul class="left">');
							document.write('<li><a href="'+country+'/company/careers/">Visão Geral</a></li>');
							document.write('<li><a href="'+country+'/company/careers/search.php">Pesquisar</a></li>');
							//document.write('<li><a href="'+country+'/company/careers/benefits.php">Benefícios</a></li>');
							document.write('<li><a href="'+country+'/company/careers/life.php">Vida na Riverbed</a></li>');
							document.write('<li><a href="'+country+'/company/careers/values.php">Valores</a></li>');
							document.write('<li><a href="'+country+'/company/careers/diversity.php">Diversidade</a></li>');
							document.write('<li><a href="'+country+'/company/contact_us/">Locais</a></li>');
						  document.write('</ul>');
						  document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
						  document.write('</li>');
				  		  document.write('<li><a href="/company/media_center/main.htm" target="_blank">Central de Mídia</a></li>');
						  document.write('<li><a href="http://ir.riverbed.com/phoenix.zhtml?c=198235&p=irol-irhome">Relações com o Investidor</a></li>');
						  document.write('<li><a href="'+country+'/company/advertising/">Publicidade</a></li>');
						  document.write('<li><a href="'+country+'/company/management/">Gerência</a></li>');
						  document.write('<li><a href="'+country+'/company/info_center/">Central de Informações</a></li>');
						  document.write('<li><a href="'+country+'/company/environmental/">Políticas Ambientais</a></li>');
						  document.write('<li><a href="'+country+'/company/contact_us/">Entre em Contato</a></li>');
					  document.write('</ul>');
				  document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->');
			document.write('</li>');
		  document.write('</ul>');
			document.write('<!--[if lte IE 6]></td></tr></table></a><![endif]-->'); 
		document.write('</div>');
		}else{
		document.write('<div class="menu">');
		document.write('<!--[if lte IE 6]><table><tr><td><![endif]-->');
			document.write('<ul id="nav">');
				document.write('<li>');
					document.write('<div id="menu1">');
						document.write('<a href="'+country+'/results/"></a>');
					document.write('</div>');     
				document.write('</li>');
				document.write('<li>');
					document.write('<div id="menu2">');
						document.write('<a href="'+country+'/products/"></a>');
					document.write('</div>');
				document.write('</li>');
				document.write('<li>');
					document.write('<div id="menu3">');
						document.write('<a href="'+country+'/services/"></a>');
					document.write('</div>');
				document.write('</li>');
				document.write('<li>');
					document.write('<div id="menu4">');
						document.write('<a href="'+country+'/support/"></a>');
					document.write('</div> ');   
				document.write('</li>');
				document.write('<li>');
					document.write('<div id="menu5">');
						document.write('<a href="'+country+'/partners/"></a>');
					document.write('</div>');
				document.write('</li>');
				document.write('<li>');
					document.write('<div id="menu6">');
						document.write('<a href="'+country+'/company/"></a>');
					document.write('</div>');
				document.write('</li>');
			document.write('</ul>');
		document.write('<!--[if lte IE 6]></td></tr></table><![endif]-->');  
		document.write('</div>');
	}
