I have a problem with passing parameters to the function. Apparently the parameter being passed to the function is type "system._object". I have been scratching my head with this and going no where. Here's a sample code:
function getGradingPolicy(sqrFoot, TotInfraction)
{
if (sqrFoot > 10)
...