is this possible?
to populate the gallery.buildpagination below with data from a mysql database?
<script type="text/javascript">
var gallery=new virtualpaginate("virtualpage4", 1)
gallery.buildpagination("galleryalt", ["Home", "Products", "Deals", "Services"])
</script>