var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056101&docid=71153918&x=4337',
		'title': '',
		'imageId': '71153918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056101&docid=71153919&x=4337',
		'title': '',
		'imageId': '71153919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056101&docid=71153920&x=4337',
		'title': '',
		'imageId': '71153920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056101&docid=71153923&x=4337',
		'title': '',
		'imageId': '71153923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056101&docid=71153924&x=4337',
		'title': '',
		'imageId': '71153924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056101&docid=71153925&x=4337',
		'title': '',
		'imageId': '71153925',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056101&docid=71153926&x=4337',
		'title': '',
		'imageId': '71153926',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056101&docid=71153927&x=4337',
		'title': '',
		'imageId': '71153927',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056101';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
