~~~thumbnails_head_code~~~ ~~flowplayer_head_code~~
~~title~~
~~run_slideshow_text~~   ~~sizes~~ | ~~
~~ifmultiplepages?~~

~~multiplepagesstuff~~

~~fi~~
~~iterate1_open~~ ~~iterate2_open_maxN~~ ~~iterate2_close~~ ~~iterate1_close~~
~~image_iteration~~
~~ifimage?~~
~~fi~~ ~~caption_iteration~~
~~ifmultiplepages?~~

~~multiplepagesstuff~~

~~fi~~