/*
 * Image preview script 
 * powered by jQuery (http://www.jquery.com)
 * 
 * written by Alen Grakalic (http://cssglobe.com)
 * 
 * for more info visit http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery
 *
 */
 



// starting the script on page load
//$(document).ready(function(){
 
	
//	imagePreview();
	
//	$('.media').cycle({
//		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
//	});
	
$(document).ready(function(){
	
	
$('*').removeAttr("title"); // kill your fans
$('*').removeAttr("alt");

	
	$('img#logo').ifixpng(); 
	$('img.cr-rating').ifixpng(); 
	
	
	
	
	Cufon.replace('h2', { 'fontSize' : '20px'});
	Cufon.replace('a#knullig', { 'fontSize' : '20px', 'hover': 'true'});
	Cufon.replace('a#knulliger', { 'fontSize' : '20px', 'hover': 'true'});
	Cufon.replace('a#knulligst', { 'fontSize' : '20px', 'hover': 'true'});
	
	$("#feedback-form").validate({
		rules: {
			name: {
				required: true,
				minlength: 2
			},
			email: {
				required: true,
				email: true,
				minlength: 5
			},
			tel: {
				required: true,
				minlength: 9
			},
			msg: {
				required: true,
				minlength: 2
			},
			org: {
				required: true
			}
		},
		messages: {
		
			name: {
				required: "&uarr; Vul uw naam in",
				minlength: "&uarr; Minstens 2 letters"
			},
			email: {
				required: "&uarr; Vul uw Email-adres",
				email: "&uarr; Geen Correct Email-adres",
				minlength: "&uarr; Minstens 5 cijfers of letters"
			},
			tel: {
				required: "&uarr; Vul uw telefoonnumer in",
				minlength: "&uarr; Minstens 9 cijfers of letters"
			},
			msg: {
				required: "&uarr; Vul uw bericht in",
				minlength: "&uarr; Minstens 2 cijfers of letters"
			},
			org: {
				required: "&uarr; Vul uw bedrijf of organisatie in"
			}
		}
	});

	
});
   
