public static function addJsVars($vars)
    {
        
        
    	if(is_array($vars)){
	    	foreach($vars as $name => $value){
	    		if(is_int($name)){
	    			$name = 'var_'.$name;
	    		}
				self::addJsVar($name, $value);
			}
    	}
        
        
    }