/*
 * (c)2011 TuComidaChina.com
 * Global Javascript functions
 *
 */

// Uppercase the first character of every word in a string  

function ucwords (str)
{
    return (str + '').replace(/^([a-z])|\s+([a-z])/g, function ($1) {
        return $1.toUpperCase();
    });
}

