// Common functions for www.michaelweinhardt.com

function LoadSSP(loaderPath, divId, width, height)
{
    // load pre-configured SSP parameters
    var flashvars = { paramXMLPath: "param.xml" }
    
    // set initial params
    // Note: set base to "." since images.xml is configured to point to images using a relative path
    var params =  { base: ".", allowFullScreen: true }
    
    // set initial attributes
    var attributes = {}

    // show SSP
    swfobject.embedSWF(loaderPath, divId, width, height, "9.0.0", false, flashvars, params, attributes);
}