<!--
/*
  This function will round a number to the specified decimal places.

  Arguments:
    num - the number to round
    places - the number of decimal places to round to - defaults to 2
*/
function roundit(num,places) {
places = (!places ? 2 : places);
return Math.round(num*Math.pow(10,places))/Math.pow(10,places);
}
//-->