jQuery.fn.fadeSliderIn = function(settings) {
 	/* Damn you jQuery opacity:'toggle' that dosen't work!~!!!*/
 	 settings = jQuery.extend({
		speed:500,
		easing : "swing"
	}, settings)
	caller = this
 	if($(caller).css("display") == "none"){
 		$(caller).animate({
 			opacity: 1,
 			height: 'toggle'
 		}, settings.speed, settings.easing);
	}
};

jQuery.fn.fadeSliderOut = function(settings) {
 	/* Damn you jQuery opacity:'toggle' that dosen't work!~!!!*/
 	 settings = jQuery.extend({
		speed:500,
		easing : "swing"
	}, settings)
	caller = this
 	if($(caller).css("display") == "none"){
 		
	} else {
		$(caller).animate({
 			opacity: 0,
 			height: 'toggle'
 		}, settings.speed, settings.easing);
	}
};

jQuery.fn.slideUpFade = function(settings) {
	settings = jQuery.extend({
		speed: 1000,
		easing : "swing",
		opacity: 0
	}, settings)
	var caller = this
	$(caller).animate({
 		opacity: 'hide',
 		height: 'hide'
	}, settings.speed, settings.easing)
};


function skipIntro () {
	$("#fullflash").remove();
}

function doeDit () {
	$(document).ready(function() {
		$("#stuurook").fadeSliderIn()
		return false;
	});
}

function doeDat () {
	$(document).ready(function() {
		$("#stuurook").fadeSliderOut()
		return false;
	});
}

function displaySite () {
	var browser=navigator.appName;
	var navindex=navigator.userAgent.indexOf('Safari');
	$(document).ready(function() {
		$("#sitewrap").show()
		if (navindex != -1 || browser=='Safari') {
			//if Safari
			$("#fullflash").slideUpFade("slow", function () {
				$("#fullflash").css({top:'auto'});
			});
		} 
	});
}

