-----------------------------------------
Ported by Pizza Supreme to TFC 02-10-2011
-----------------------------------------