dB.scripts = {

	init: function() {
		var newsLinkBubblePreLoader = new Image();
		newsLinkBubblePreLoader.src = "images/News_Bubble_03.jpg";
		var jewelryLinkBubblePreLoader = new Image();
		jewelryLinkBubblePreLoader.src = "images/Jewelry_Bubble_03.jpg";
		var catalogLinkBubblePreLoader = new Image();
		catalogLinkBubblePreLoader.src = "images/Catalog_bubble_03.jpg";
		var retailLinkBubblePreLoader = new Image();
		retailLinkBubblePreLoader.src = "images/Retail_bubble_03.jpg";
		var aboutLinkBubblePreLoader = new Image();
		aboutLinkBubblePreLoader.src = "images/About_bubble_03.jpg";
		var contactLinkBubblePreLoader = new Image();
		contactLinkBubblePreLoader.src = "images/Contact-bubble_03.jpg";

		$('#newsLink').hover(dB.scripts.newsLinkHoverOver, dB.scripts.hoverOut);
		$('#jewelryLink').hover(dB.scripts.jewelryLinkHoverOver, dB.scripts.hoverOut);
		$('#catalogLink').hover(dB.scripts.catalogLinkHoverOver, dB.scripts.hoverOut);
		$('#retailLink').hover(dB.scripts.retailLinkHoverOver, dB.scripts.hoverOut);
		$('#aboutLink').hover(dB.scripts.aboutLinkHoverOver, dB.scripts.hoverOut);
		$('#contactLink').hover(dB.scripts.contactLinkHoverOver, dB.scripts.hoverOut);
	},
	newsLinkHoverOver: function(event) {
		$('#header2').empty().append('<img id="newsLinkBubble" src="images/News_Bubble_03.jpg">');
	},
	jewelryLinkHoverOver: function(event) {
		$('#header2').empty().append('<img id="jewelryLinkBubble" src="images/Jewelry_Bubble_03.jpg">');
	},
	catalogLinkHoverOver: function(event) {
		$('#header2').empty().append('<img id="catalogLinkBubble" src="images/Catalog_bubble_03.jpg">');
	},
	retailLinkHoverOver: function(event) {
		$('#header2').empty().append('<img id="retailLinkBubble" src="images/Retail_bubble_03.jpg">');
	},
	aboutLinkHoverOver: function(event) {
		$('#header2').empty().append('<img id="aboutLinkBubble" src="images/About_bubble_03.jpg">');
	},
	contactLinkHoverOver: function(event) {
		$('#header2').empty().append('<img id="contactLinkBubble" src="images/Contact-bubble_03.jpg">');
	},
	hoverOut: function(event) {
		$('#header2').empty();
	}
};

$(dB.scripts.init);

