Unfortunately, Due to a bug in CAL processing in the latest Sonar, the above script does not work. It gives an "Invalid value". It does work in Cakewalk Pro Audio 9, however.
In platinum, a way to adjust tempo map by percentage is to use the Fit to Time command.
1) Do a Select all , Make sure "from" is at the very start of your project.
2) Then menu item, Process | fit to time. make sure the format is set to MM:SS:FF
3) Change the value of "New Thru" to be a percentage of what ever was there originally. Make sure that modify by "tempo map" is selected.
Once you hit "OK", your tempo map should be adjust.
I know this is a convoluted work around, but at least it gives the intended result. The hardest part is working out the new Thru value, which is why I was hoping the CAL script would have worked.