<?php

#-------------------------------------------------------------------------
# Project [iPad 3D]
# Version: [activeproject_activever]  Alan Ryan www.codecrunchers.ie
# 2:17:50 AM -  Nov 4, 2010

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$i=1;
$THUMB_COLS  = $IS_LANDSCAPE_PUB?3:$COLSINROW;
$THUMBPATH = "";

if(_3DGENERATORVERSION >= 40){
	$THUMBPATH = "../pages/thumbs/";
}else{	
	$THUMBPATH = "../thumbs/";
}
 
?>
<div id="thumbnailnav">
<div id="cpLoader" class="hidden"></div>
<ul id="IIIDcarousel" class="jcarousel-skin-tango">	
	<li>
		<?php while($i <= $totalPageCount && $i <= $THUMB_COLS * 2){ ?>
			<img  height="<?php echo $thumbHeight ?>" width="<?php echo $thumbWidth ?>" onClick="goTo(<?php echo $i ?>);activateMap();" id="t<?php echo $i?>" class="thumbimg" src="<?php echo $THUMBPATH  . $i++?>.jpg">
			<?php if($i == $THUMB_COLS+1) echo "</li><li>".NEWLINE ?>
		<?php  
			}		
		?>
	</li>		
</ul>
</div>