<script src="/js/gallery.js" type="text/javascript"></script>
<script type="text/javascript">

var GalleryPageNum = {{$pageNum}};
var GalleryPerPage = {{$perPage}};
var GalleryCollectionID = {{$collectionID}};
var GalleryOrderBy = '{{$orderby}}';

var GalleryFilterColumns = '{{$filterID}}';
var GalleryCurentImage   = 0;

var GalleryTnailColumn   = '3';
var GalleryImageColumn   = '2';
var GalleryAltColumn     = '4';

{{assign var=TnailColumn value=3}}
{{assign var=ImageColumn value=2}}
{{assign var=AltColumn   value=4}}

</script>
<div id="mediaList">
{{o2templateDisplay template=2}}
</div>