GMIEngine.js 1 KB
Newer Older
nextime's avatar
nextime committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
function GMI(){
    var pagedoc = document;

    //Get top level window's document
    if (top != this)
    {
        pagedoc = parent.document;
    }

    this.getNetWorkInfo = function()
    {
        pagedoc.title = "null";
        pagedoc.title = "getNetWorkInfo";
    }

    this.getCurrentLanguage = function()
    {
        pagedoc.title = "null";
        pagedoc.title = "getCurrentLanguage";
    }

    this.getCountry = function()
    {
        pagedoc.title = "null";
        pagedoc.title = "getCountry";
    }

    this.getAccountInfo = function()
    {
        pagedoc.title = "null";
        pagedoc.title = "getAccountInfo";
    }

    this.put = function( family, valuelist)
    {
        pagedoc.title = "null";
        pagedoc.title = "put";
    }

    this.get = function( family, keylist)
    {
        pagedoc.title = "null";
        pagedoc.title = "get";
    }
    this.gotoURL = function ( url)
    {
        pagedoc.title = "null";
        pagedoc.title = "gotoURL";
    }
}

GMIEngine = new GMI();