How to check if ScriptX is installed
Upon the window.onload event, test whether or not the object property of the ScriptX or Security Manager object returns as a valid object. The way to do that is shown in the script snippet below:
<!-- MeadCo Security Manager - using the evaluation license -->
<object id="secmgr" viewastext style="display:none"
        classid="clsid:5445be81-b796-11d2-b931-002018654e2e"
        codebase="smsx.cab#Version=8,3,0,4">
    <param name="GUID" value="{8f351de0-5990-45c3-8fd2-8037b878939f}">
    <param name="Path" value="sxlic.mlf">
    <param name="Revision" value="0">
</object>
<!-- MeadCo ScriptX -->
<object id="factory" viewastext style="display:none"
        classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"></object>
<script>
function window.onload() {
    if ( !factory.object ) {
        alert("MeadCo's ScriptX Control is not properly installed!");
        navigate("scriptx-install-error.htm");
        return;
    }
    if ( !secmgr.object ) {
        alert("MeadCo's Security Manager is not properly installed!");
        navigate("secmgr-install-error.htm");
        return;
    }
    if ( !secmgr.validLicense ) {
        alert("The license is invalid or has been declined by the user!");
        navigate("license-error.htm");
        return;
    }
    alert("Ready to script MeadCo's ScriptX!")
}
</script>