<!--
 var imagecount = 0;
 var start=0;
 var end = 0;
 
 function getprevious()
 {
    if (start <= 0)
    {
        document.getElementById("banner-image").innerHTML=headerimage[0];
	    document.getElementById("banner-info").innerHTML=imageinfo[0];
	    document.getElementById("banner-nav").innerHTML= '<div class="left-div"><input type="button" class="nav-prev" onclick="getprevious();"/><a href="/?page=PhotographView&amp;itemid=' + productid[0] + '&amp;itemid2=' + catid[0] + '">' + 'Photo 1 of ' + imagecount + '</a></div><div class="right-div"><input type="button" class="nav-next" onclick="getnext();"/></div>';
	}
	else
	{
	    start--;
	    document.getElementById("banner-image").innerHTML=headerimage[start];
	    document.getElementById("banner-info").innerHTML=imageinfo[start];
	    document.getElementById("banner-nav").innerHTML= '<div class="left-div"><input type="button" class="nav-prev" onclick="getprevious();"/><a href="/?page=PhotographView&amp;itemid=' + productid[start] + '&amp;itemid2=' + catid[start] + '">' + 'Photo ' + (start + 1) + ' of ' + imagecount + '</a></div><div class="right-div"><input type="button" class="nav-next" onclick="getnext();"/></div>';
	}
 }
function getnext()
 {
    if(start >= imagecount -1)
    {
        document.getElementById("banner-image").innerHTML=headerimage[imagecount-1];
	    document.getElementById("banner-info").innerHTML=imageinfo[imagecount-1];
	    document.getElementById("banner-nav").innerHTML= '<div class="left-div"><input type="button" class="nav-prev" onclick="getprevious();"/><a href="/?page=PhotographView&amp;itemid=' + productid[imagecount-1] + '&amp;itemid2=' + catid[imagecount-1] + '">' + 'Photo ' + (start + 1) + ' of ' + imagecount + '</a></div><div class="right-div"><input type="button" class="nav-next" onclick="getnext();"/></div>';
	}
	else
	{
	    start++;
	    document.getElementById("banner-image").innerHTML=headerimage[start];
	    document.getElementById("banner-info").innerHTML=imageinfo[start];
	    document.getElementById("banner-nav").innerHTML= '<div class="left-div"><input type="button" class="nav-prev" onclick="getprevious();"/><a href="/?page=PhotographView&amp;itemid=' + productid[start] + '&amp;itemid2=' + catid[start] + '">' + 'Photo ' + (start + 1) + ' of ' + imagecount + '</a></div><div class="right-div"><input type="button" class="nav-next" onclick="getnext();"/></div>';
	}
 }
-->
