﻿var preloadedLot = new Array();

function preloadLotImages(locationFolder) {
    if(document.images) {
       var i, args = preloadLotImages.arguments; 
        for(i=1; i<args.length; i++) {
            preloadedLot[args[i]] = new Image(); 
            preloadedLot[args[i]].src   = locationFolder + args[i];
        }
    }
}

function ShowLotPicture(imageId,imageName) {
     if(document.images)
     {
        document.images['large_lot_foto'].src = preloadedLot[imageName].src;
     }
     var obj;
     obj = document.getElementById("imgid");
     obj.value=imageId;
     /*ShowLotInfo('small_foto_info_'+imageId);*/
}

function ShowLotInfo(divId)
{
    /*var obj = document.getElementById(divId);
    obj.style.display='block';*/
}

function HideLotInfo(divId)
{
    /*var obj = document.getElementById('small_foto_info_'+divId);
    obj.style.display='none';*/
}



