function externalLinks() {
	if (!document.getElementsByTagName) return;
	var anchors = document.getElementsByTagName("a");
		for (var i=0; i<anchors.length; i++) {
			var anchor = anchors[i];
			if (anchor.getAttribute("href") && anchor.getAttribute("rel") == 'external')
			anchor.target = '_blank';
			}
		}
		
		

	
	$(document).ready(function() {

     $('div.faq2> div').hide(); 

       $('div.faq2> h5').click(function() {

     $(this).next('div').slideToggle('fast')

          .siblings('div:visible').slideUp('fast');

        });

      });
      
     $(document).ready(function() {

	$("#nav li").hover(function(){ $(this).addClass("over"); },function(){ $(this).removeClass("over"); });	
	
	$("ul.dropdown").hover(function(){ $(this).parent().find("a").addClass("over"); },function(){ $(this).parent().find("a").removeClass("over"); });		

	if (jQuery.browser.safari) { 	
			//$("#nav li a").mouseout(function(){ $(this).removeClass("over"); });	
			$("ul.dropdown").mouseout(function(){ $(this).parent().find("a").removeClass("over"); });
		}
	
	$(function() {
	  $('a[@href^=http]').not('[@href*=http://corp.zannel.com/]').addClass('external-link').click(function() {
	      window.open(this.href, '_blank');
	      return false;
	    	});
		});
	
	}); //ready
	
	$(document).ready(function(){
	
	$("a.tab").click(function () {
				// switch all tabs off
				$(".active").removeClass("active");

				// switch this tab on
				$(this).addClass("active");

				// slide all content up
				$(".content").hide();

				// slide this content up
				var content_show = $(this).attr("title");
				$("#"+content_show).show();
				$.scrollTo("#bottom", 800);
			});


			$("a.tab2").click(function () {
						// switch all tabs off
						$(".active2").removeClass("active2");

						// switch this tab on
						$(this).addClass("active2");

						// slide all content up
						$(".content2").hide();

						// slide this content up
						var content_show = $(this).attr("title");
						$("#"+content_show).show();
						$.scrollTo("#sidebar", 800);
					});


	
			$("#contact").click(function() { $.scrollTo("#bottom", 800); });
			
			
}); //ready




