//jQuery functions

jQuery(document).ready(function() {
	jQuery(".icnPrnt").hover(function(){
		jQuery(this).attr({src: '/agv/templates/html/master/img/'+project+'/icon_drucken_h.gif'});
	}, function(){
		jQuery(this).attr({src: '/agv/templates/html/master/img/'+project+'/icon_drucken_l.gif'});
	});
	jQuery(".icnTaf").hover(function(){
		jQuery(this).attr({src: '/agv/templates/html/master/img/'+project+'/icon_weiterempfehlen_h.gif'});
	}, function(){
		jQuery(this).attr({src: '/agv/templates/html/master/img/'+project+'/icon_weiterempfehlen_l.gif'});
	});

	jQuery("#veranstaltung_von_datebutton").hover(function(){
		jQuery(this).attr({src: '/agv/templates/html/master/img/'+project+'/icon_veranstaltungssuche_h.gif'});
	}, function(){
		jQuery(this).attr({src: '/agv/templates/html/master/img/'+project+'/icon_veranstaltungssuche_l.gif'});
	});
	jQuery("#veranstaltung_to_datebutton").hover(function(){
		jQuery(this).attr({src: '/agv/templates/html/master/img/'+project+'/icon_veranstaltungssuche_h.gif'});
	}, function(){
		jQuery(this).attr({src: '/agv/templates/html/master/img/'+project+'/icon_veranstaltungssuche_l.gif'});
	});

	jQuery("#pandemic").find("#columnized").each(function(){
		var thisLink = window.location.href;
		jQuery("#columnized").columnview();
		jQuery("#columnize a").live("click",function(){
			window.location = jQuery(this).attr('href');
		});
	});

	jQuery("a.loginLink").tooltip({
		tip: "#loginTip",
		position: "top right"
	});
	jQuery(".rememberBox .pointer").tooltip({
		tip: "#rememberBoxTip",
		position: "top right"
	});
	jQuery("#clearCache a.emptyCache[title]").tooltip({
		tip: "#clearCacheTip",
		position: "center left",
		offset: [40, 10]
	});

	jQuery(".mngSearchOutput div.box:odd").addClass("listAlternate");
});