if (AC_FL_RunContent == 0) {
	alert("This page requires AC_RunActiveContent.js.");
} else {
	if (!GetSwfVer()) {
	 startHome(100);
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '950',
			'height', '600',
			'src', 'melle',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'melle',
			'bgcolor', '#ffffff',
			'name', 'melle',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'melle',
			'salign', ''
			); //end AC code
	}
			
}


jQuery.fn.center = function () {
    this.css("position","absolute");
    this.css("top", ( $(window).height() - this.height() ) / 2+$(window).scrollTop() + "px");
    this.css("left", ( $(window).width() - this.width() ) / 2+$(window).scrollLeft() + "px");
    return this;
}

$('embed').center();

function startHome (secs) {
	if (typeof secs == 'undefined') secs = 3000;
	
	$('embed').css('display','none');
	$('#intro').fadeOut(secs);
	startSlides();
}
