function lire(videoid){
	var xhr=null;

	if (window.XMLHttpRequest) { 
		xhr = new XMLHttpRequest();
	}if (window.ActiveXObject) {
		try {
			xhr = new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch (e) { }
	}

	//on définit l'appel de la fonction au retour serveur
	xhr.onreadystatechange = function() { lecteur(xhr); };
	//on appelle le fichier
	var fichier = window.location.protocol + '//' + window.location.host + "/demo_video/player-video_720x540.asp?videoid=" + videoid;
	xhr.open("GET", fichier, true);
	xhr.send(null);
}

function lecteur(xhr){
	if(xhr.readyState == 4){
		if(navigator.appName.indexOf('Microsoft') != -1){
			for(i=0;i < document.getElementsByTagName('select').length; i++){
				document.getElementsByTagName('select')[i].style.display = 'none';
			}
		}
		var nodes = document.getElementsByTagName('table');
		/*for(var i=0; i < nodes.length; i++){
			nodes[i].style.display = 'none';
		}*/
		nodes[0].style.display = 'none';
		var contenu = xhr.responseText;
		var apercu = document.createElement("div");
		if(window.location.href.indexOf('/EN/') > -1){
			contenu = contenu.replace('Fermer', 'Close');
		}
		
		apercu.innerHTML = contenu;
		apercu.style.position = 'absolute';
		apercu.style.backgroundColor = '#000';
		apercu.style.width = '100%';
		apercu.style.height = '100%';
		if(window.scrollY){
			apercu.style.top = window.scrollY;
		}else{
			apercu.style.top = document.body.scrollTop;
		}
		apercu.style.left = 0;
		apercu.style.textAlign = 'center';
		apercu.style.padding = '5px 0';
		document.body.appendChild(apercu);
		document.getElementById('fermer').onclick = function () {
			if(navigator.appName.indexOf('Microsoft') != -1){
				for(i=0;i < document.getElementsByTagName('select').length; i++){
					document.getElementsByTagName('select')[i].style.display = 'inline';
				}
			}
			/*for(var i=0; i < nodes.length; i++){
				nodes[i].style.display = 'block';
			}*/
			nodes[0].style.display = '';
			document.body.removeChild(apercu);
			return false;
		}
	}/*else{
		void();
		return false;
	}*/
}