/* <![CDATA[ */


function blankTargetFix(){
  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";
    }
  }
}

Cufon.replace('.toplinks dd, #content .gallery dd .title',{hover:'true'});



$(document).ready(function(){
/*Jquery Fancybox */ 
  $(".fancypic").fancybox({
    'titleShow'		: false,
    'transitionIn'	: 'elastic',
    'transitionOut'	: 'elastic'
  });

	$(".toplinks a span").ready(function(){
			$(".toplinks a span").animate({opacity:"0.2",speed:"fast"});
		});
	
	$(".gallery dt a em").ready(function(){
			$(".gallery dt a em").animate({opacity:"0.2",speed:"fast"});
		});
		

	
	
});

/* ]]> */
