
$(document).ready(function(){
								   
			$(".intro .content").click(function(){
		    	window.location=$(this).find("a").attr("href");return false;
			});
			
			$(".feature-box").click(function(){
		    	window.location=$(this).find("a").attr("href");return false;
			});
			
			$(".panel-list li #attractie-name").click(function(){
		    	window.location=$(this).find("a").attr("href");return false;
			});
			
			$(".panel-list #attractie-location").click(function(){
		    	window.location=$(this).find("a").attr("href");return false;
			});
			
			$(".panel-list #data-name").click(function(){
		    	window.location=$(this).find("a").attr("href");return false;
			});
			
			$(".feature-box").hover(function(){
		    	$(this).find("a").stop().animate({ backgroundColor: "#b5246a" }, 600);
				},function() {
				$(this).find("a").stop().animate({ backgroundColor: "#ffb00a" }, 400);
				});
				
			$(".feature-box").hover(function() {
				$(this).find(".feature-arrow").animate({opacity: "hide", top: "100"}, "fast");
			}, function() {
				$(this).find(".feature-arrow").animate({opacity: "show", top: "80"}, "slow");
				});
			
			$(".feature-box").hover(function() {
				$(this).find(".feature-arrow-hover").animate({opacity: "show", top: "80"}, "slow");
			}, function() {
				$(this).find(".feature-arrow-hover").animate({opacity: "hide", top: "91"}, "fast");
				});
			
			$(".intro .content").hover(function(){
		    	$(this).find("a").stop().animate({ backgroundColor: "#ffb00a" }, 600);
				},function() {
				$(this).find("a").stop().animate({ backgroundColor: "#b5246a" }, 400);
				});
				
			$(".intro .content").hover(function(){
		    	$(this).find("p").stop().animate({ color: "#ffffff" }, 600);
				},function() {
				$(this).find("p").stop().animate({ color: "#adadad" }, 400);
				});
				
			$(".menu a").hover(function(){
		    	$(this).animate({ color: "#ffb00a" }, 600);
				},function() {
				$(this).animate({ color: "#e0d4e2" }, 400);
				});
			
			$("#default-email").DefaultValue("Email");
			$("#default-password").DefaultValue("Wachtwoord");
			
			$("#newsletter-name").DefaultValue("Naam");
			$("#newsletter-email").DefaultValue("Email");
			
			$("#news-items #various").fancybox({
				'width'				: '75%',
				'height'			: '75%',
				'autoScale'			: false,
              	'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe',
               	'overlayColor'		: '#000'
			});
			
			$("#tabs").tabs();
			
			$(".dates span").hover(function() {
				$(this).next("div").stop().animate({opacity: "show", bottom: "30"}, "fast");
				}, function() {
					$(this).next("div").animate({bottom: "20"}, "fast");
					$(this).next("div").hide();
				});
				
			$("#accordion").accordion({
				autoHeight: false
			});
			
			
				
			
		
		}); //close doc ready
        

jQuery.cookie = function(name, value, options) {
    if (typeof value != 'undefined') { // name and value given, set cookie
        options = options || {};
        if (value === null) {
            value = '';
            options.expires = -1;
        }
        var expires = '';
        if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
            var date;
            if (typeof options.expires == 'number') {
                date = new Date();
                date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
            } else {
                date = options.expires;
            }
            expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
        }
        // CAUTION: Needed to parenthesize options.path and options.domain
        // in the following expressions, otherwise they evaluate to undefined
        // in the packed version for some reason...
        var path = options.path ? '; path=' + (options.path) : '';
        var domain = options.domain ? '; domain=' + (options.domain) : '';
        var secure = options.secure ? '; secure' : '';
        document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
    } else { // only name given, get cookie
        var cookieValue = null;
        if (document.cookie && document.cookie != '') {
            var cookies = document.cookie.split(';');
            for (var i = 0; i < cookies.length; i++) {
                var cookie = jQuery.trim(cookies[i]);
                // Does this cookie string begin with the name we want?
                if (cookie.substring(0, name.length + 1) == (name + '=')) {
                    cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
                    break;
                }
            }
        }
        return cookieValue;
    }
};

