//This is for the update to IE that breaks <object> tags.

//Write the home page movie
function writeHome() {
    //alert('writeHome() called!');
    var header = document.getElementById('headercontent');
    if(header != null) {
        header.innerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="550" height="100" id="M3_ROIin1Day" align="middle">' +
            '<param name=movie value="../flash/M3_ROIin1DayV2.swf">' +
            '<param name=quality value=high>' +
            '<param name="LOOP" value="false">' +
            '<embed src="../flash/M3_ROIin1DayV2.swf"  width="550" height="100" loop="false" align="" quality=high name="M3_ROIin1Day" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>' +
            '</object>';
        //alert(header.innerHTML);
    } else {
        //alert('var header is null');
    }
}

//Write the MissionFire flash movie
function writeMissionFire() {
    //alert('writeMissionFire() called!');
    var header = document.getElementById('headercontent');
    if(header != null) {
        header.innerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="550" height="100" id="MissionFire" align="MIDDLE" VIEWASTEXT>' +
            '<param name=movie value="../flash/MissionFire.swf">' +
            '<param name=quality value=high>' +
            '<param name=bgcolor value=#666666>' +
            '<param name="LOOP" value="false">' +
            '<embed src="../flash/MissionFire.swf"  width="550" height="100" loop="false" quality=high bgcolor=#666666 name="MissionFire" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>' +
            '</object>';
    } else {
        //alert('var header is null');
    }
}