http://www.w3schools.com/php/func_math_mt_rand.asp
Also, why not link directly to the php site? http://php.net/mt_srand
http://www.w3schools.com/php/func_math_mt_rand.asp