


this.imagePreview = function(){	
	/* CONFIG */
		
		xOffset = -20;
		yOffset = -380;
		
		// these 2 variable determine popup's distance from the cursor
		// you might want to adjust to get the right result
		
	/* END CONFIG */
	jQuery("a.preview").hover(function(e){
		this.t = this.rel;	
		var c = (this.t != "") ? "<br/>" + this.t : "";
		jQuery("body").append("<p id='preview'><span>" + this.rel + "</span></p>");								 
		jQuery("#preview")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.show("fast");						
    },
	function(){
			
		jQuery("#preview").remove();
    });	
	jQuery("a.preview").mousemove(function(e){
		jQuery("#preview")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};



jQuery(document).ready(function(){
		
imagePreview();
		
		jQuery('a#pigNavOne').mouseover(function() {
			jQuery('a#pigNavThree').css('height','90px');
			jQuery('a#pigNavThree').css('top','93px');
			});
		
		jQuery('a#pigNavOne').mouseout(function() {
			jQuery('a#pigNavThree').css('height','99px');
			jQuery('a#pigNavThree').css('top','88px');
			});
			
		jQuery('a#pigNavTwo').mouseover(function() {
			jQuery('a#pigNavFour').css('height','90px');
			jQuery('a#pigNavFour').css('top','93px');
			});
		
		jQuery('a#pigNavTwo').mouseout(function() {
			jQuery('a#pigNavFour').css('height','99px');
			jQuery('a#pigNavFour').css('top','88px');
			});


});