﻿jQuery(document).ready(function() {

	var c = jQuery.cookie('SeenIntro');

	if (!c) {
		setTimeout("ShowIntro()", 100);
	}
});


function ShowIntro() {
	var w = jQuery(window).width();
	var h = jQuery(window).height();
	var xw = jQuery("#flashIntro").width();
	var xh = jQuery("#flashIntro").height();

	var nTop = (h - xh) / 2;
	var nWidth = (w - xw) / 2;

	jQuery.cookie('SeenIntro', 'yes');
	jQuery.blockUI({ message: jQuery('#flashIntro'), centerY: false, fadeIn: 1000, fadeOut: 1000, css: { top: '118px', left: nWidth + 'px', border: '0px' }, overlayCSS: { backgroundColor: '#000', opacity: 0.0} });
}


function KillFlashIntro() {
	jQuery.unblockUI();
}