function showCalque(monCalque, action) {
	if (action == 'show') {
		document.getElementById(monCalque).style.display = "block";
		document.getElementById(monCalque).style.visibility = "visible";		
		document.getElementById('pg_video').style.visibility = "hidden";
	} else {
		document.getElementById(monCalque).style.display = "none";		
		document.getElementById(monCalque).style.visibility = "hidden";	
		document.getElementById('pg_video').style.visibility = "visible";	
	}
}

function pop(url) {
	//window.open(url, 'popup', 'height=300,width=600,status=no,scrollbars=no,toolbar=no,menubar=no,location=no,resizable=yes,left=250,top=250');
	mypop = window.open(url, 'pop', 'height=600,width=860,status=no,scrollbars=no,toolbar=no,menubar=no,location=no,resizable=no');
	mypop.moveTo(screen.width/2 - 400,screen.height / 2 - 300);
}
function pleinePage(url) {
	//chromWin=open(url,"principale","fullscreen=yes"); 
	pop = window.open(url, 'popup', 'height=600,width=960,status=no,scrollbars=no,toolbar=no,menubar=no,location=no,resizable=no');
	pop.moveTo(screen.width/2 - 450,screen.height / 2 - 300); 
}

function showOnglet(monCalque, action) {
	if (action == 'show') {
		document.getElementById(monCalque+'On').style.display = "block";
		document.getElementById(monCalque+'On').style.visibility = "visible";		
		document.getElementById(monCalque+'Off').style.display = "none";
		document.getElementById(monCalque+'Off').style.visibility = "hidden";	
		document.getElementById('pg_video').style.visibility = "hidden";	
	} else {
		document.getElementById(monCalque+'On').style.display = "none";
		document.getElementById(monCalque+'On').style.visibility = "hidden";		
		document.getElementById(monCalque+'Off').style.display = "block";
		document.getElementById(monCalque+'Off').style.visibility = "visible";	
		document.getElementById('pg_video').style.visibility = "visible";
	}
}
function printAccueil() {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="955" height="600" id="accueil" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="images/accueil.swf" />');
	document.write('<param name="loop" value="false" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="bgcolor" value="#f3f3f3" />');
	document.write('<embed src="images/accueil.swf?url=?op=ident" loop="false" quality="high" bgcolor="#f3f3f3" width="955" height="600" name="accueil" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}
function printDemo() {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="499" id="demoV1" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="images/demo.swf" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="bgcolor" value="#ffffff" />');
	document.write('<embed src="images/demo.swf" quality="high" bgcolor="#ffffff" width="800" height="499" name="demoV1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}


