/*
function envoiActionScript(thecode)
{
    //alert("diaporama : "+thecode);
	// 2010-03-29 1003
    //document.getElementById("thediaporama").envoiActionScript(thecode);
	
	if(navigator.appName.indexOf("Microsoft") != -1){
		 window.getElementById("thediaporama").envoiActionScript(thecode);
	}else{
		 document.getElementById("thediaporama").envoiActionScript(thecode);
	}
	
}
*/
function getClip(clipName)
{
    if (navigator.appName.indexOf("Microsoft") != -1) {
        return window[clipName];
    } else {
        return document[clipName];
    }
}

function envoiActionScript(thecode) 
{
	getClip("thediaporama").envoiActionScript(thecode);
}


