var mouseX = 0;
jQuery(document).ready(function(){
	$().mousemove(function(e){
		mouseX = e.pageX;
	}); 
})

function fadeInOverlay()
{
	$("#detailscontainer").width("100%");
	$("#detailscontainer").height("100%");
	$("#details").width("100%");
	$("#details").height(850);
	$("#blocker").show();
	$("#blocker").height(document.body.offsetHeight);
	$("#blocker").fadeTo("slow", 0.5 );
}

function fadeOutOverlay()
{
	$("#blocker").fadeTo("slow", 0, function() { $("#blocker").hide() } );
	$("#detailscontainer").width(1);
	$("#detailscontainer").height(1);
	$("#details").width(1);
	$("#details").height(1);
	
	getSWFByID("bios").resetSlider();
}

function configSlider()
{
	$("#detailscontainer").width(1);
	$("#detailscontainer").height(1);
	$("#details").width(1);
	$("#details").height(1);
	$("#blocker").fadeTo("fast", 0, function() { $("#blocker").hide(); } );
	
}

function getSWFByID(movieName) {
	if (navigator.appName.indexOf("Microsoft") != -1) {
		return window[movieName];
	} else {
		return document[movieName];
	}
}

function returnMouseX()
{
	return mouseX;
}

function thisSWF(movieName) {
	if (navigator.appName.indexOf("Microsoft") != -1) {
		return window[movieName];
	} else {
		return document[movieName];
	}
}
