var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4074059&docid=71551724&x=4017',
		'title': '',
		'imageId': '71551724',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074059&docid=71551725&x=4017',
		'title': '',
		'imageId': '71551725',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074059&docid=71551726&x=4017',
		'title': '',
		'imageId': '71551726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074059&docid=71551727&x=4017',
		'title': '',
		'imageId': '71551727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074059&docid=71551739&x=4017',
		'title': '',
		'imageId': '71551739',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074059&docid=71551740&x=4017',
		'title': '',
		'imageId': '71551740',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074059&docid=71551741&x=4017',
		'title': '',
		'imageId': '71551741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4074059';

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