$(document).ready(function() {
		/* for top navigation */
		$("ul.navigation ul").css({display: "none"}); // Opera Fix
		$("ul.navigation li").hover(function(){
		$(this).find('ul:first').css({visibility: "visible",display: "none"}).slideDown(400);
                var liX = $(this).offset().left;
                $(this).find('ul:first').css('left','0px');
               
                $(this).addClass('liHover');
		},function(){
		$(this).find('ul:first').css({visibility: "hidden"});
                $(this).removeClass('liHover');
                
		});
		
});
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.getAttribute("rel") == "external nofollow"
         )
      anchor.target = "_blank";
      }
    }
window.onload = externalLinks;
	

