/* IMAGE SWAPS  example of usage: give img the .buttonswap class and make sure to get the on (mouse on) and off (mouse off) */
$(document).ready(function(){
	$(".buttonSwap").hover(
	function()
	 {this.src = this.src.replace("_up","_down");},
	 function()
	 {this.src = this.src.replace("_down","_up");}
	);
});


/* Fade images on rollover */
$(document).ready(function(){
	$(".fadeImage").hover(function(){
	    $(this).stop().animate({"opacity": .4},200);
	},function(){
	    $(this).stop().animate({"opacity": 1},600);
	});
});



/* Pop Up Box */
$(function() {
		$("img[rel]").overlay({mask: '#000000',closeOnClick: true,top:'5%'});
});

