﻿    // JScript File
    ////////////////



    // V1.0 23/07/2008
    /////////////////////////////////




    // C G Cleaning js functions..
    /////////////////////////////////


    
    // Set parameters for given object/s . Obj and Params are given as string arguments to the function
    // in groups of 3. ie 'ID', 'Method', 'Arg' ect. 
    /////////////////////////////////
    function SetParamsOfObjects()
    {
        //debugger;
        // Loop through the additional arguments
        for (var i=0; i<(arguments.length); i+=3)
        {
            // Build str in the form of ID.Method.Arg.
            var Str = 'document.getElementById(\'' + arguments[i] + '\').' + arguments[i+1] + ' = ' + '\'' + arguments[i+2] + '\''; 
            eval( Str ); // Run str as java code
        }
    } 

    
