// JavaScript Document
/**
 * @author Sebastian Pastor
 * @version 1.0
 * @copyright Sebastian Pastor 
 * @projectDescription weitersehen weiterbilden weiterkommen
 * @since 09.02.2010
 * @changed 09.02.2010
 */
jQuery(function($) {
$(document).ready(function() {
	   

	
	// Socialicons
	$('.socials a').bind("mouseover mouseout", function(event){
		var text = $(this).attr('title');
		if (event.type == "mouseover") {$('.socialstext').html(text);} 
		else {$('.socialstext').html('');}
	}); 

	//Suchfeld leeren
	$('input.query').bind('focus',function(event){
		if($(this).val() == "Suche"){$(this).val('');}
	});
	$('input.query').bind('blur',function(event){
		if($(this).val() == ""){$(this).val('Suche');}
	});

	
	// Cufón als Schriftersatz mit Canvas und VML 
	Cufon.replace('h1');
	Cufon.replace('.aktuelles h2');
	Cufon.replace('.contactform h3');
	Cufon.replace('.render');
	Cufon.replace('ul.faq h3');
	Cufon.replace('h3.render a',{hover: true});
	Cufon.replace('.ajaxSearch_resultLink',{hover: true});
	
	
	
	/*
	$("#galerie a").fancybox({
		'hideOnContentClick':false,'overlayShow':true,'zoomSpeedIn':600,'zoomSpeedOut':500,'easingIn':'easeOutBack','easingOut':'easeInBack'});	
	*/  

});
});



