/*
filename:  noconflict.js
description:  "Sitewide" needed for top header image links (homepage excepted) call no conflict
last revision: june-21-2011
dependencies:  jQuery v1.2.2 or later
*/

// call no conflict
jQuery.noConflict();
     jQuery(function() {
      // set opacity to nill on page load
      jQuery("ul#menu span").css("opacity","0");
      // on mouse over
      jQuery("ul#menu span").hover(function () {
         // animate opacity to full
         jQuery(this).stop().animate({
            opacity: 1
         }, 'slow');
      },
      // on mouse out
      function () {
         // animate opacity to nill
         jQuery(this).stop().animate({
            opacity: 0
         }, 'slow');
      });
   });
function externalLinks() {
  if (!document.getElementsByTagName && document.getElementById) 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";
 }
}
//window.onload = externalLinks;

if (window.addEventListener) // W3C standard
{
  window.addEventListener('load', externalLinks, false); // NB **not** 'onload'
}
else if (window.attachEvent) // Microsoft
{
  window.attachEvent('onload', externalLinks);
}


