// JavaScript Document
function showSubActu(){
	var elm = document.getElementById('mActu');
	if (navigator.appName!="Microsoft Internet Explorer"){
		if (document.body.clientWidth < 845){
			elm.style.left = "571px";
		}
		else {
			var lx = 568+((document.body.clientWidth-845)/2);
			elm.style.left = lx+'px';
		}
	} else {
		elm.style.top = "523px";
		if (document.body.clientWidth < 845){
			elm.style.left = "573px";
		}
		else {
			var lx = 570+((document.body.clientWidth-844)/2);
			elm.style.left = lx+'px';
		}
	}
	elm.style.visibility = "visible";
}

function showSubContact(){
	var elm = document.getElementById("mContact");
	if (navigator.appName!="Microsoft Internet Explorer"){
		if (document.body.clientWidth < 845){
			elm.style.left = "643px";
		}
		else {
			var lx = 640+((document.body.clientWidth-845)/2);
			elm.style.left = lx+'px';
		}
	} else {
		elm.style.top = "523px";
		if (document.body.clientWidth < 845){
			elm.style.left = "645px";
		}
		else {
			var lx = 642+((document.body.clientWidth-844)/2);
			elm.style.left = lx+'px';
		}
	}
	elm.style.visibility = "visible";
}

function hideSub(id){
	var elm = document.getElementById(id);
	elm.style.visibility = "hidden";
}

function hideSubs(){
	hideSub('mActu');
	hideSub('mContact');
}

window.onload = function()
{
   hideSubs();
}

window.onresize = function()
{
   hideSubs();
}
