    function thisMovie(movieName) {
        var isIE = navigator.appName.indexOf("Microsoft") != -1;
        return (isIE) ? window[movieName] : document[movieName];
    }
    function speak(str) {
        thisMovie("extint").speak(str);
    }
    function think(str) {
        thisMovie("extint").think(str);
    }
    function read(str) {
        thisMovie("extint").read(str);
    }
    function action(str) {
		//actions=show,hide,dance,sing,alarm,applaud,awe,clean,noway,think,worry,yawn, appear
        thisMovie("extint").action(str);
    }	
    function playMP3(file) {
        thisMovie("extint").speakMP3(file);
    }
    function speakMP3(file) {
        thisMovie("extint").playMP3(file);
    }	
    function stopMP3() {
        thisMovie("extint").stopMP3();
    }	
    function stopspeakMP3() {
        thisMovie("extint").stopspeakMP3();
    }	
    function go(x,y) {
        thisMovie("extint").go(x,y);
    }		
    function inputShow(legend, varurl, target, method) {
        thisMovie("extint").inputShow(legend, varurl, target, method);
    }			
    function inputShowAction(legend, varurl, target, method, action) {
        thisMovie("extint").inputShowAction(legend, varurl, target, method,action);
    }		
    function setResult(texte) {
        thisMovie("extint").setResult(texte);
    }	
    function getResult() {
        return thisMovie("extint").getResult();
    }		
    function removeActions() {
        thisMovie("extint").inputHide();
    }	
    function inputHide() {
        thisMovie("extint").removeActions();
    }	
    function getUrl(url,target) {
        thisMovie("extint").removeActions();
    }	
    function enableDrag() {
        thisMovie("extint").enableDrag();
    }	
    function disableDrag() {
        thisMovie("extint").disableDrag();
    }		
	function startAt(x, y) {
	thisMovie("extint").startAt(x,y);	
	}

	
document.write('<div id="LayerAgent" style="position:absolute; left:0px; top:0px; width:100%; height:100%; z-index:-0">');
document.write('  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  ');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"  ');
document.write('name="extint" width="100%" height="100%" id="extint"> ');
document.write('    <param name="movie" value="agent-karpet.swf">');
document.write('    <param name="quality" value="high">');
document.write('    <param name="WMODE" value="transparent">');
document.write('    <embed src="agent-karpet.swf" width="100%" height="100%" quality="high"  ');
document.write('pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="extint"  ');
document.write(' wmode="transparent"></embed>');
document.write('  </object>');
document.write('</div>');	
