// Menu's

ddsmoothmenu.init({
	mainmenuid: "smoothmenu1",
	orientation: 'h',
	classname: 'ddsmoothmenu',
	contentsource: "markup"
});


// Jquery

$(document).ready(function() {
	
	// Tooltips
	$('img.tooltip').qtip({
		content: {
			text: function() {
				return $(this).attr('qtip-content');
			}
		},
		style: {
			classes: 'ui-tooltip-blue',
			tip: {
				corner: 'top left',
				width: 10,
				height: 10
			}
		},
		position: {
			adjust: {
				y: 2
			}
		}

	});
	
	// Mouseover
	$("#tooltiphome").hover(function() {
		$(this).attr("src","fileadmin/templates/images/button-home-act.jpg");
			}, function() {
		$(this).attr("src","fileadmin/templates/images/button-home.jpg");
	});
	$("#tooltipprint").hover(function() {
		$(this).attr("src","fileadmin/templates/images/button-printen-act.jpg");
			}, function() {
		$(this).attr("src","fileadmin/templates/images/button-printen.jpg");
	});
	$("#tooltipsitemap").hover(function() {
		$(this).attr("src","fileadmin/templates/images/button-sitemap-act.jpg");
			}, function() {
		$(this).attr("src","fileadmin/templates/images/button-sitemap.jpg");
	});
	$("#tooltiprss").hover(function() {
		$(this).attr("src","fileadmin/templates/images/button-rss-act.jpg");
			}, function() {
		$(this).attr("src","fileadmin/templates/images/button-rss.jpg");
	});

});


