<!--
function checkrequiredfields() {
    for(i=0; i < checkrequiredfields.arguments.length; i++) {
        if (document.main.elements[checkrequiredfields.arguments[i]].value == "") {
            alert("Ce champ est obligatoire");
            document.main.elements[checkrequiredfields.arguments[i]].className='required';
            document.main.elements[checkrequiredfields.arguments[i]].focus();
            return false;
        } 
    }
    return true;
}

function GetCommonFla7(id, src, width, height) {
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + width + '" height="' + height + '" id="' + id + '" align="middle">\n');
    document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
    document.write('<param name="Movie" value="' + src + '">\n');
    document.write('<param name="Quality" value="High" />\n');
    document.write('<param name="bgcolor" value="#ffffff" />\n');
    document.write('<embed src="' + src + '" quality="high" bgcolor="#ffffff" width="' + width + '" height="' + height + '" name="' + id + '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
    document.write('</embed>\n');
    document.write('</object>\n');
}

function getSwf(id, src, width, height, color) {
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + width + '" height="' + height + '" id="' + id + '" align="middle">\n');
    document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
    document.write('<param name="movie" value="' + src + '" />\n');
    document.write('<param name="quality" value="high" />\n');
    document.write('<param name="wmode" value="transparent" />\n');
    document.write('<param name="bgcolor" value="' + color + '" />\n');
    document.write('<embed src="' + src + '" quality="high" wmode="transparent" bgcolor="' + color + '" width="' + width + '" height="' + height + '" name="' + id + '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
    document.write('</object>\n');
}


//-->