;(function($) {
	/**
	 * Simple jQuery hover image extension.
	 */
	$.fn.hoverImage = function(sNewSrc) {
		// Preload the image
		var jImg = $('<img />');
		jImg.attr('src', sNewSrc);
		
		// Bind the hover event
		this.each(function() {
			var sOldSrc = $(this).attr('src');
			$(this).hover(function() {
				$(this).attr('src', sNewSrc);
			}, function() {
				$(this).attr('src', sOldSrc);
			});
		});
	};
	
	$.fn.openBioPopup = function() {
		this.each(function() {
			$(this).click(function(e) {
				e.preventDefault();
				window.open($(this).attr('href'), 'bio', 'status=0,width=500,height=600,location=1,toolbar=0,scrollbars=1,resizable=1');
			});
		});
	};
	
	$.fn.openManufacturePopup = function() {
		this.each(function() {
			$(this).click(function(e) {
				e.preventDefault();
				window.open($(this).attr('href'), 'manufacture', 'status=0,width=915,height=700,location=0,toolbar=0,scrollbars=1,resizable=0');
			});
		});
	};
})(jQuery);
