function sortFlash(){
// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) {
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
var content = AC_FL_RunContent(
                                "src", "/flash/banner",
                                "width", "768",
                                "height", "415",
                                "align", "middle",
                                "id", "detectionExample",
                                "quality", "high",
                                "bgcolor", "#FFFFFF",
                                "name", "detectionExample",
                                "allowScriptAccess","sameDomain",
                                "type", "application/x-shockwave-flash",
                                'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
                                "pluginspage", "http://www.adobe.com/go/getflashplayer"
);
//document.getElementById('flash').innerHTML = content;
document.write(content);
} else {  // flash is too old or we can't detect the plugin
//document.getElementById('flash').innerHTML = document.getElementById('noflash').innerHTML
document.write('<img src="/images/flash.jpg" alt="Prodec Networks" />');
}
}

sortFlash();
