public function getScript()
    {
        $this->useSingleQuotes();
        foreach($this->aArguments as $xArgument)
        {
            if($xArgument instanceof Element)
            {
                $this->addParameter(Jaxon::JS_VALUE, $xArgument->getScript());
            }
            else if($xArgument instanceof Parameter)
            {
                $this->addParameter($xArgument->getType(), $xArgument->getValue());
            }
            else if($xArgument instanceof Request)
            {
                $this->addParameter(Jaxon::JS_VALUE, 'function(){' . $xArgument->getScript() . ';}');
            }
            else if(is_numeric($xArgument))
            {
                $this->addParameter(Jaxon::NUMERIC_VALUE, $xArgument);
            }
            else if(is_string($xArgument))
            {
                $this->addParameter(Jaxon::QUOTED_VALUE, $xArgument);
            }
            else if(is_bool($xArgument))
            {
                $this->addParameter(Jaxon::BOOL_VALUE, $xArgument);
            }
            else if(is_array($xArgument) || is_object($xArgument))
            {
                $this->addParameter(Jaxon::JS_VALUE, $xArgument);
            }
        }
        return $this->sMethod . '(' . implode(', ', $this->aParameters) . ')';
    }