code=0;

 function checkEventObj ( _event_ ){
	// --- IE explorer
	if ( window.event )
		return window.event;
	// --- Netscape and other explorers
	else
		return _event_;
   }

function rntaupe(evenement)
   {
        var touche = window.event ? evenement.keyCode : evenement.which;
	//alert(touche);

	var winObj = checkEventObj(evenement);
	var touche_sys = winObj.keyCode;

	if(touche == 38 && code ==0) { code++; }else if(touche == 38 && code ==1) { code++; }else if(touche == 40 && code ==2) { code++; }else if(touche == 40 && code ==3) { code++; }else if(touche == 37 && code ==4) { code++; }else if(touche == 39 && code ==5) { code++; }else if(touche == 37 && code ==6) { code++; }else if(touche == 39 && code ==7) { code++; }else if(touche == 66 && code ==8) { code++; }else if(touche == 65 && code ==9) { code++; }else{ code=0; }

	if(code == 10) {
		var fond_page = document.createElement("div");
		fond_page.setAttribute("style","position:fixed;top:50%;left:50%;width:640px;height:380px;margin-left:-340px;margin-top:-190px;background-color:black;");
		fond_page.setAttribute("id","renet");
		fond_page.innerHTML = '<object type="text/html" data="http://www.youtube.com/embed/Ja1R5dJFt9g" style="width:640px;height:385px;"></object>';
		document.body.appendChild(fond_page);
		code = 0;
	}

	if(touche_sys == 27) {
		if(document.getElementById('renet')) {
			document.body.removeChild(document.getElementById('renet'));
		}
	}
		
   }
