var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071091&docid=71482054&x=107',
		'title': '',
		'imageId': '71482054',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071091&docid=71482058&x=107',
		'title': '',
		'imageId': '71482058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071091&docid=71482056&x=107',
		'title': '',
		'imageId': '71482056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071091&docid=71482057&x=107',
		'title': '',
		'imageId': '71482057',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071091&docid=71482052&x=107',
		'title': '',
		'imageId': '71482052',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071091&docid=71482055&x=107',
		'title': '',
		'imageId': '71482055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071091&docid=71483099&x=107',
		'title': '',
		'imageId': '71483099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071091&docid=71483100&x=107',
		'title': '',
		'imageId': '71483100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071091&docid=71482051&x=107',
		'title': '',
		'imageId': '71482051',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071091&docid=71482059&x=107',
		'title': '',
		'imageId': '71482059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071091&docid=71482053&x=107',
		'title': '',
		'imageId': '71482053',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071091';

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";
	})
}
