﻿// Load flash objects
function loadFlash(fsrc, fwidth, fheight, fimg, map)
{
    document.write("<object type=\"application/x-shockwave-flash\" data=\"" + fsrc + "\" width=\"" + fwidth + "\" height=\"" + fheight + "\">");
    document.write("<param name=\"movie\" value=\"" + fsrc + "\">");
    document.write("<param name=\"wmode\" value=\"transparent\">");
    if (fimg != "") {
         document.write("<img src=\"" + fimg + "\" width=\"" + fwidth + "\" height=\"" + fheight + "\" usemap=\"#" + map + "\" />")
    }
    document.write('</object>');
}

