<script type=text/javascript>
function ViewItemImage(imageId, imageView)
{
if (document.getElementById("ucImageNavigator_himgBig1"))
document.getElementById("ucImageNavigator_himgBig1").style.display = "none";
if (document.getElementById("ucImageNavigator_himgBig2"))
document.getElementById("ucImageNavigator_himgBig2").style.display = "none";
if (document.getElementById("ucImageNavigator_himgBig3"))
document.getElementById("ucImageNavigator_himgBig3").style.display = "none";
if (document.getElementById("ucImageNavigator_himgView1"))
document.getElementById("ucImageNavigator_himgView1").src = "http://pics.auction.co.kr/button/btn_view_dot.gif";
if (document.getElementById("ucImageNavigator_himgView2"))
document.getElementById("ucImageNavigator_himgView2").src = "http://pics.auction.co.kr/button/btn_view_dot.gif";
if (document.getElementById("ucImageNavigator_himgView3"))
document.getElementById("ucImageNavigator_himgView3").src = "http://pics.auction.co.kr/button/btn_view_dot.gif";
switch (imageId)
{
case 1 :
document.getElementById("ucImageNavigator_himgBig1").style.display = "inline";
break;
case 2 :
document.getElementById("ucImageNavigator_himgBig2").style.display = "inline";
break;
case 3 :
document.getElementById("ucImageNavigator_himgBig3").style.display = "inline";
break;
}
imageView.src = "http://pics.auction.co.kr/button/btn_view_doton.gif";
}
this.PrevItemImage = function(itemImgId, leftArrowImgId, rightArrowImgId)
{
if (!this.bItemImageLoaded || this.ItemImages.length <= 1)
return;
if (this.CurrentItemImageIndex == 0)
this.CurrentItemImageIndex = this.ItemImages.length;
var itemImg = document.getElementById(itemImgId);
if (itemImg) this.ChangeImage(itemImg, this.ItemImages[--this.CurrentItemImageIndex].src);
//this.SetArrowImage(leftArrowImgId, rightArrowImgId);
}
this.NextItemImage = function(itemImgId, leftArrowImgId, rightArrowImgId)
{
if (!this.bItemImageLoaded || this.ItemImages.length <= 1)
return;
if (this.CurrentItemImageIndex >= this.ItemImages.length-1)
this.CurrentItemImageIndex = -1;
var itemImg = document.getElementById(itemImgId);
if (itemImg) this.ChangeImage(itemImg, this.ItemImages[++this.CurrentItemImageIndex].src);
//this.SetArrowImage(leftArrowImgId, rightArrowImgId);
}
</script>