// JavaScript Document
var movieName = "testcommand";
function thisMovie(movieName) {
    // IE and Netscape refer to the movie object differently.
    // This function returns the appropriate syntax depending on the browser.
    if (navigator.appName.indexOf("Microsoft") != -1) {
        return document[movieName]
    } else {
        return window[movieName]
    }
}

function movieIsLoaded(theMovie) {
    if (typeof (theMovie) != "undefined") {
        return theMovie.PercentLoaded() == 100;
    } else {
        return false;
    }
}

function go(theFrame) {
    if (movieIsLoaded(thisMovie(movieName))) {
        thisMovie(movieName).GotoFrame(theFrame);
    }
}
function fromff(argsm) {
    SetValue(argsm);
}

function doPassVar(args) {
    if (movieIsLoaded(thisMovie(movieName))) {
        var sendText = args;
        thisMovie(movieName).SetVariable("mysession", sendText);
    }
}
function pp() {
    myvari = GetValue();
    doPassVar(myvari);
}

function medresult() {
    myvari2 = GetValue();
    return myvari2;
}