var imageA=new Array();
var imageData=new Array();
var curThumb=0;
var numThumbs;
var breadcrumb='';
function init(images) {for(i=0; i < imageA.length; i++) {imageData[i]=imageA[i];}}
function findObj(k){return imageData[k];}
function PopupRatings(){window.open('/ratings.html', 'rates', 'width=430,height=660,toolbar=no,fullscreen=no,top=300,left=400' );}
function NextThumb(){var nextt=(parseInt(curThumb) + 1);if( nextt > numThumbs ) {nextt	=	0;}showPic('', nextt);}
function PrevThumb(){var prev=(parseInt(curThumb) - 1);if( prev < 0 ) {prev	=	numThumbs;} showPic('', prev);}
function showPic(whichpic, thumb){curThumb = parseInt(thumb);var placeholder=document.getElementById("mainPropImage");if(whichpic){var source = whichpic.getAttribute("href");}else{var source=findObj(thumb);}placeholder.setAttribute("src",source);}
function breadCrumb(id){div=document.getElementById(id);if(div){div.innerHTML=breadcrumb;}}
function _void(){}