Cufon.replace('h1, h2, h3, .hypatia');
//Cufon.replace('#content p');
Cufon.replace('#topNav li, #nav2 ul li', {hover:true});

Cufon.replace('#headerB p, #headerB .eventContainer')
Cufon.replace('#headerB #otherLinks li a', { hover:true })


function LightBox(src,alt){
  var lightboxImage = new Image();
  lightboxImage.onload = function(){
    // get document width and place image in center
    var offsetLeft = (jQuery(window).width() - lightboxImage.width) / 2;
    var offsetTop = (jQuery(window).height() - lightboxImage.height) / 2;
    var overlay = '<div class="lightbox-overlay" onClick="CloseLightBox()" style="height:'+ jQuery(document).height() +'px"></div>';
    var image = '<div class="lightbox-image" style="left:' + offsetLeft + 'px;top:' + offsetTop + 'px;"><div class="inner"><img src="' + lightboxImage.src + '" alt="' + alt + '" /><div class="image-title">' + alt + '</div></div></div>';
    jQuery('body').append(image + overlay)
  }
  lightboxImage.src = src;
}
function CloseLightBox(){
  jQuery('.lightbox-overlay, .lightbox-image').remove()
}

