Created the function using copy / paste / execute - no reported error then tested using the following:
DECLARE @Bdays AS INT
SET @Bdays = dbo.fn_GetBusinessDays('07/06/2008','07/27/2008')
SELECT @Bdays
Result returned 14 ..
Now counting on my fingers it is actually 15 days