Three JS Make my funtion rotate-able

Job ID: 32687349

Budget: €8 – €30 EUR

I got a three js projects and now want to have the onclick-function that when I click, the positions of the moved cubes are named arrocdingly.

Please look here and click testlink to see what I mean:
http://carqi.de/threejs/index.php
Related categories: JavaScript CSS HTML jQuery / Prototype Three.js